MediaWiki:Common.css:修订间差异

来自Age Of History 2 Chinese Wiki
跳转至:导航、​搜索
撤销Obtusecat讨论)的修订版本865
标签撤销
无编辑摘要
 
(未显示同一用户的113个中间版本)
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
/* 这里放置的CSS将应用于所有皮肤 */
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-16px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url("https://fastly.jsdelivr.net/gh/hoah2333/Fonts@main/Typeface-VonwaonBitmap-12px.css");
@import url("https://fonts.googleapis.com/css2?family=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 {
:root {
  /* 保留原始配色变量 */
--link-color: #0645ad;
  --link-color: #0645ad;
--link-color-active: #faa700;
  --link-color-active: #faa700;
--custom-background-blue: #ccf;
  --custom-background-blue: #ccf;
--custom-background-cyan: #cef;
  --custom-background-cyan: #cef;
--custom-background-green: #cfc;
  --custom-background-green: #cfc;
--custom-background-gray: #d2d2d2;
  --custom-background-gray: #d2d2d2;
--custom-background-grey: var(--custom-background-gray);
  --custom-background-grey: var(--custom-background-gray);
--custom-background-magenta: #fdf;
  --custom-background-magenta: #fdf;
--custom-background-orange: #fdb;
  --custom-background-orange: #fdb;
--custom-background-purple: #ecf;
  --custom-background-purple: #ecf;
--custom-background-red: #fcc;
  --custom-background-red: #fcc;
--custom-background-yellow: #ffc;
  --custom-background-yellow: #ffc;
--custom-border-blue: #36e;
  --custom-border-blue: #36e;
--custom-border-cyan: #9df;
  --custom-border-cyan: #9df;
--custom-border-green: #5d5;
  --custom-border-green: #5d5;
--custom-border-gray: #bbb;
  --custom-border-gray: #bbb;
--custom-border-grey: var(--custom-border-gray);
  --custom-border-grey: var(--custom-border-gray);
--custom-border-magenta: #f9f;
  --custom-border-magenta: #f9f;
--custom-border-orange: #f90;
  --custom-border-orange: #f90;
--custom-border-purple: #96c;
  --custom-border-purple: #96c;
--custom-border-red: #e44;
  --custom-border-red: #e44;
--custom-border-yellow: #fc3;
  --custom-border-yellow: #fc3;
--custom-closed-topic-neutral: #eef;
  --custom-closed-topic-neutral: #eef;
--custom-closed-topic-no: #fee;
  --custom-closed-topic-no: #fee;
--custom-closed-topic-yes: #efe;
  --custom-closed-topic-yes: #efe;
--custom-code-background: #f8f9fa;
  --custom-code-background: #f8f9fa;
--custom-load-page-button-color: #fff8;
  --custom-load-page-button-color: #fff8;
--custom-main-page-background: #fcfcfc;
  --custom-main-page-background: #fcfcfc;
--custom-main-page-border: var(--custom-border-gray);
  --custom-main-page-border: var(--custom-border-gray);
--custom-main-page-edition-subheader: #333;
  --custom-main-page-edition-subheader: #333;
--custom-mcwiki-header-color: #bcd4f5;
  --custom-mcwiki-header-color: #bcd4f5;
--custom-navbox-background: #fff;
  --custom-navbox-background: #fff;
--custom-navbox-top: #ccc;
  --custom-navbox-top: #ccc;
--custom-navbox-middle: #ddd;
  --custom-navbox-middle: #ddd;
--custom-navbox-thru: #eee;
  --custom-navbox-thru: #eee;
--custom-nbt-inherit-color: #e6e6fa;
  --custom-nbt-inherit-color: #e6e6fa;
--custom-table-background: #f8f9fa;
  --custom-table-background: #f8f9fa;
--custom-table-alternate-background: #f0f1f2;
  --custom-table-alternate-background: #f0f1f2;
--custom-table-choice-always: #003600;
  --custom-table-choice-always: #003600;
--custom-table-choice-always-background: #80d080;
  --custom-table-choice-always-background: #80d080;
--custom-table-choice-default: #fff;
  --custom-table-choice-default: #fff;
--custom-table-choice-in-off-background: #060;
  --custom-table-choice-in-off-background: #060;
--custom-table-choice-in-on-background: #0c0;
  --custom-table-choice-in-on-background: #0c0;
--custom-table-choice-na: #000;
  --custom-table-choice-na: #000;
--custom-table-choice-na-background: #fff;
  --custom-table-choice-na-background: #fff;
--custom-table-choice-neutral: #634800;
  --custom-table-choice-neutral: #634800;
--custom-table-choice-neutral-background: #ffeb9c;
  --custom-table-choice-neutral-background: #ffeb9c;
--custom-table-choice-never: #3c0404;
  --custom-table-choice-never: #3c0404;
--custom-table-choice-never-background: #ff8080;
  --custom-table-choice-never-background: #ff8080;
--custom-table-choice-no: #840606;
  --custom-table-choice-no: #840606;
--custom-table-choice-no-background: #ffc7ce;
  --custom-table-choice-no-background: #ffc7ce;
--custom-table-choice-out-off-background: #900;
  --custom-table-choice-out-off-background: #900;
--custom-table-choice-out-on-background: #f00;
  --custom-table-choice-out-on-background: #f00;
--custom-table-choice-partial: #665400;
  --custom-table-choice-partial: #665400;
--custom-table-choice-partial-background: #ffd;
  --custom-table-choice-partial-background: #ffd;
--custom-table-choice-planned: #0131b7;
  --custom-table-choice-planned: #0131b7;
--custom-table-choice-planned-background: #dfdfff;
  --custom-table-choice-planned-background: #dfdfff;
--custom-table-choice-rarely: #533400;
  --custom-table-choice-rarely: #533400;
--custom-table-choice-rarely-background: #fdce5e;
  --custom-table-choice-rarely-background: #fdce5e;
--custom-table-choice-unknown: #222;
  --custom-table-choice-unknown: #222;
--custom-table-choice-unknown-background: #ccc;
  --custom-table-choice-unknown-background: #ccc;
--custom-table-choice-yes: #005600;
  --custom-table-choice-yes: #005600;
--custom-table-choice-yes-background: #c6efce;
  --custom-table-choice-yes-background: #c6efce;
--custom-table-header-background: #eaecf0;
  --custom-table-header-background: #eaecf0;
--custom-topic-30-days: #bbb;
  --custom-topic-30-days: #bbb;
--custom-topic-7-days: #ddd;
  --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));
}
    
    
   /* 增强CRT效果相关变量 */
   .notaninfobox {
  --crt-primary-scanline-alpha: 0.14;      /* 主扫描线透明度 */
position: relative;
  --crt-secondary-scanline-alpha: 0.08;    /* 副扫描线透明度 */
clear: right;
  --crt-fast-scanline-alpha: 0.3;          /* 快速扫描线透明度 */
margin: 0 0 1em 1em;
  --crt-flicker-alpha: 0.04;              /* 屏幕闪烁强度 */
width: 350px;
  --crt-noise-alpha: 0.04;                /* 噪点强度 */
font-size: 90%;
  --crt-glow-radius: 0.08em;
background-color: var(--custom-table-background);
  --crt-glow-color: rgba(0, 255, 100, 0.2); /* 辉光颜色和强度 */
float: right;
  --crt-text-shadow: 0 0 var(--crt-glow-radius) var(--crt-glow-color);
border: 1px solid var(--custom-border-gray);
  --crt-vignette-opacity: 0.15;            /* 暗角效果强度 */
padding: 2px;
  --crt-rgb-shift-amount: 1px;             /* RGB颜色偏移量 */
overflow: auto;
  --crt-curvature: 8;                     /* CRT曲率(数值越大曲率越大)*/
z-index: 1;
 
overflow-wrap: anywhere;
  /* 网格背景相关变量 */
}
  --grid-color: rgba(0, 0, 0, 0.08);
@media all and (max-width: 511px) {
  --grid-size: 40px;
.notaninfobox {
  --grid-line-width: 1px;
float: none;
 
margin-left: 0;
  /* 字体设置 - 保持不变 */
width: auto;
  --pixel-font-16: 'VonwaonBitmap 16px', monospace;
}
  --pixel-font-12: 'VonwaonBitmap 12px', monospace;
  --title-font: var(--pixel-font-16);
  --body-font: var(--pixel-font-16);
  --small-font: var(--pixel-font-12);
  --UI-font: var(--pixel-font-12);
 
  /* 字体大小设置 */
  --base-font-size: 15px;
  --small-font-size: 13px;
  --title-scale: 1.3;
  --code-scale: 0.9;
 
  /* 边框和内间距设置 */
  --side-border-thickness: 0.1rem;
  --main-border-thickness: 0.05rem;
 
  /* 启用/禁用CRT效果 - 默认启用 */
  --crt-effects-display: block;
 
  /* 质感相关变量 */
  --glass-opacity: 0.92;
  --glass-blur: 0px;              /* 模糊效果 - 如果浏览器支持 */
  --inset-shadow-depth: 25px;
  --border-shine: rgba(255, 255, 255, 0.1);
  --box-depth: 1px 1px 3px rgba(0, 0, 0, 0.15);
 
  /* 侧边栏相关变量 - 新增 */
  --sidebar-max-height: 85vh;      /* 侧边栏最大高度 */
  --sidebar-width: 14rem;         /* 侧边栏宽度 */
  --sidebar-top-offset: 3rem;      /* 侧边栏顶部偏移 */
 
  /* 控制台相关变量 - 新增 */
  --console-indicator-color: rgba(0, 255, 100, 0.8);
  --console-text-color: rgba(0, 255, 0, 0.9);
  --terminal-bg: rgba(16, 24, 32, 0.8);
}
}


/* CRT效果动画 - 增强版 */
.infobox tr:not(:first-child) td {
@keyframes flicker {
    border-bottom: 1px solid #ddd;
  0%, 100% { opacity: 0.98; }
}
  25% { opacity: 0.94; }
@media all and (max-width: 337px) {
  50% { opacity: 0.99; }
.notaninfobox {
  75% { opacity: 0.95; }
margin-left: -16px;
  83% { opacity: 0.98; }
margin-right: -16px;
  90% { opacity: 0.91; }
border-left: none;
  93% { opacity: 0.99; }
border-right: none;
  97% { opacity: 0.93; }
}
}
}


/* 极微弱闪烁效果 - 用于文本和UI元素 */
.notaninfobox > .infobox-title {
@keyframes micro-flicker {
font-weight: bold;
  0%, 100% { opacity: 1; }
text-align: center;
  25% { opacity: 0.99; }
font-size: 120%;
  50% { opacity: 0.98; }
background-color: #BCD4F5;
  75% { opacity: 0.99; }
}
}
 
.infobox-imagearea {
/* 主扫描线动画 - 更逼真 */
text-align: center;
@keyframes primary-scanline {
padding: 4px;
  0% { transform: translateY(-5vh); }
}
  100% { transform: translateY(110vh); }
.infobox-imagearea > div:not(:first-child) {
padding-top: 1em;
}
}
 
/* Horizontally centre animated images */
/* 副扫描线动画 - 较慢移动 */
.infobox-imagearea .animated {
@keyframes secondary-scanline {
display: inline-flex;
  0% { transform: translateY(-100vh); }
align-items: center;
  100% { transform: translateY(100vh); }
}
}


/* 快速扫描线动画 - 闪烁通过 */
.notaninfobox .infobox-rows {
@keyframes fast-scanline {
display: grid;
  0%, 5% { opacity: 0; transform: translateY(-100vh); }
grid-template-columns: max-content 1fr;
  8% { opacity: var(--crt-fast-scanline-alpha); }
gap: 1px;
  25% { opacity: var(--crt-fast-scanline-alpha); }
  30% { opacity: 0; }
  100% { opacity: 0; transform: translateY(100vh); }
}
}
 
.infobox .plainlinks a {
/* 噪点效果动画 */
    color: #0000EE !important;
@keyframes noise {
    text-decoration: underline;
  0%, 100% { background-position: 0 0; }
  25% { background-position: 100% 0; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0 100%; }
}
}
 
.infobox .plainlinks a:visited {
/* RGB颜色偏移动画 */
     color: #551A8B !important;
@keyframes rgb-shift {
  0%, 100% {
    text-shadow:
      var(--crt-rgb-shift-amount) 0 0 rgba(255, 0, 0, 0.3),
      calc(-1 * var(--crt-rgb-shift-amount)) 0 0 rgba(0, 255, 255, 0.3);
  }
  25% {
    text-shadow:
      calc(0.8 * var(--crt-rgb-shift-amount)) 0 0 rgba(255, 0, 0, 0.3),
      calc(-0.8 * var(--crt-rgb-shift-amount)) 0 0 rgba(0, 255, 255, 0.3);
  }
  50% {
     text-shadow:
      var(--crt-rgb-shift-amount) 0 0 rgba(255, 0, 0, 0.3),
      calc(-1 * var(--crt-rgb-shift-amount)) 0 0 rgba(0, 255, 255, 0.3);
  }
  75% {
    text-shadow:
      calc(1.2 * var(--crt-rgb-shift-amount)) 0 0 rgba(255, 0, 0, 0.3),
      calc(-1.2 * var(--crt-rgb-shift-amount)) 0 0 rgba(0, 255, 255, 0.3);
  }
}
}
 
.notaninfobox .infobox-rows .infobox-row {
@keyframes crt-on {
display: contents;
  0% { opacity: 0; filter: brightness(5) saturate(0); }
  10% { opacity: 0.3; filter: brightness(3) saturate(0.2); }
  30% { opacity: 0.7; filter: brightness(2) saturate(0.5); }
  50% { opacity: 0.8; filter: brightness(1.5) saturate(0.8); }
  100% { opacity: 1; filter: brightness(1) saturate(1); }
}
}


/* 控制台指示灯闪烁效果 */
.notaninfobox .infobox-row .infobox-row-label,
@keyframes console-blink {
.notaninfobox .infobox-row .infobox-row-field {
  0%, 100% { opacity: 1; }
padding: 4px;
  50% { opacity: 0.3; }
}
}


/* 打字机效果 */
.notaninfobox .infobox-row .infobox-row-label {
@keyframes typing {
font-weight: bold;
  from { width: 0; }
display: flex;
  to { width: 100%; }
align-items: center;
}
}
 
.community-updates {
/* 滚动指示动画 */
   background: #fff0e6;
@keyframes scroll-indicator {
  padding: 15px;
   0%, 100% { transform: translateY(0); }
   border-radius: 10px;
   50% { transform: translateY(10px); }
  margin-top: 20px;
}
}
 
.community-updates ul li {
/* 光感效果 - 模拟CRT显示器对周围光线的反应 */
  list-style: none;
@keyframes light-response {
  padding: 10px;
   0%, 100% { filter: brightness(1); }
  background: #fff;
   50% { filter: brightness(1.03); }
   margin: 5px 0;
  border-radius: 5px;
   box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
}
 
.community-updates ul li a {
/* 全局和背景样式 - 增强CRT显示器质感 */
   color: #337ab7;
html {
   text-decoration: none;
   min-height: 100%;
   font-weight: bold;
  background-color: #111; /* 更暗的背景,衬托CRT效果 */
   background-image:
    /* 网格线 */
    linear-gradient(var(--grid-color) var(--grid-line-width), transparent var(--grid-line-width)),
    linear-gradient(90deg, var(--grid-color) var(--grid-line-width), transparent var(--grid-line-width)),
    /* 精细噪点纹理 */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%239C92AC' fill-opacity='0.08' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  background-size: var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
   background-position: center center;
  animation: crt-on 2s ease-out;
  position: relative;
  overflow-x: hidden; /* 防止水平滚动条出现 */
  padding: 0;
  margin: 0;
}
}
 
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-label,
/* CRT显示器边框模拟 */
.notaninfobox .infobox-rows .infobox-row:nth-child(2n) .infobox-row-field {
.crt-monitor-frame {
background-color: var(--custom-table-alternate-background);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
  background: transparent;
  box-shadow: inset 0 0 100px 20px rgba(0, 0, 0, 0.7); /* 内阴影创造边框效果 */
  border-radius: 15% / 8%; /* 创造CRT显示器的弧度 */
}
}


/* CRT面板反光效果 */
/* Infoboxes with tabber */
.crt-reflection {
.tabber-container-infobox .tabber .tabbertab,
  position: fixed;
.tabber-container-infobox ul.tabbernav li a,
  top: 0;
.tabber-container-infobox ul.tabbernav li.tabberactive a {
  left: 0;
background: none;
  width: 100%;
border: none;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 40%
  );
  pointer-events: none;
  z-index: 10001;
  opacity: 0.3;
  border-radius: 15% / 8%;
}
}


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


/* CRT曲面效果 - 使页面内容看起来像在CRT上显示 */
.tabber-container-infobox ul.tabbernav {
.crt-curve-effect {
font: inherit;
  position: fixed;
font-size: 100%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9997;
  background: transparent;
  box-shadow: inset 0 0 calc(var(--crt-curvature) * 8px) rgba(0, 0, 0, 0.3);
  border-radius: 50% / 10%;
  opacity: 0.5;
}
}


/* 添加暗角效果 - 增强CRT显示器质感 */
.tabber-container-infobox ul.tabbernav li a:hover {
body::before {
color: #000;
  content: "";
  display: var(--crt-effects-display);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9990;
  background: radial-gradient(
    circle at center,
    transparent 40%,
    rgba(0, 0, 0, var(--crt-vignette-opacity)) 140%
  );
  mix-blend-mode: multiply;
}
}


/* 添加纹理噪点 - 模拟CRT颗粒感 */
.tabber-container-infobox ul.tabbernav > li {
body::after {
margin-bottom: 5px;
  content: "";
padding: 0;
  display: var(--crt-effects-display);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9991;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AcGEgUHbZ0MhgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAHeUlEQVRo3u1aTY8cRxU9r6q7enpmdvbDu951MF6vE2MsRwpCChKRkCNEhAQSF4TgADdO/BguXJD4A+HAH+DMj+AMCBGJ2MJJiCwhx3a8ttfeZe2Z7enu6o+q9zjUzKzX3l1r1l4SzqGlUku9XdX1+r36eO+9V0QphdddBF6D4o1x5OTkZGFxcfGQt956a77VasHzPICZi4cQAFAA4Pv+S3sGAIwxYIxBmqbY39/H2toa7969+/djx449PDw8XE2S5PNXrlz55uzs7KWrV6/+ZWlpaePChQuLcRxnNU3zzszMzPvHjh37V6fTWQeANE3fFBGICFzXRZ7nYGbEcYwoipDnOZRSGA6HIhJ8JiIjhCilhm6apkxEBYCaiDiZ/aSUYiL6Vr/f/56ISJI4MxwO35+ZOfazdrs9WF9fdwFgenoaMzOz3N3d/UYYhs/v3bt3OgiCJWvtB9vb29/q9S6d7vV6l7vd7pt7e3vvBkEwaDabf15fX//x+vr6D/M8/66IuK1Wi8MwJADgnMt5nj/yfU9ns9l2o9H4qeu6RhRVfd8fk1JKiBRqInJ+q7fJ/f19NRgMnDRND4goEBHV7XbDWvtBHMf/qdfrr9y+ffsjAG4Q+AiCCM1mhCDw0Ww2oLXC6urqLxYXF39grT1vjMFoNEKe52g2mwjDgJIk6wFQzWazIyI/iaLoL/1+/wEROUop5xLn8XgKAKSUIofImYsZZVkGrbUwM9bW1p6GYfiHu3fv3vA89c75+flvTk8vXp6ZeePCzMziW0opLC4u0tmzZ+n8+fM4d+4cTp06xa7rgjGOra0tXlx8k3u9c3Tu3FmcPHmCFhYWqNPp4MSJE1hZWcHc3Bw2NjbgOA4nSRKDKE3TdCfP8/tElGRZVpFlBEdARMQEiBZVURQCEJgZeZ7D932MRiMzMzODJEk+6na7D8Pw4k+ttR84jnNWKQWj9dhwAiklaLVaWFlZwfLyMh1VHpXCcRycPXsW58+fx/T0NG1ubtrxfQb7+/uPnz17tsXMDwDsOiJimLlEZJgZzBxYa1UURQUAGGMgItRsNmCMIQA4c+YMms0mrS9Offf+/fu/jeP4X1NTU+9Yazul52utSURQSoGI4DgOlpeXCcBRnSClFBYWFnDjxg0qigLGGGitKQgCFZH/xcrKyneMMbDWKgACwDjGmKIoClAFrTWPbSqDOI6R5zlqtRqICGma/kBEYIxBFEXfr9VqV5NkmDrOpOpTPNHjr2k/YL2Znz3eL2JnZmYAAHmeo9VqcRAEtLW1BWvtRwB+DYAcInILY9LiMDNUURTG9/3xVVkGpZVzLMuytN/vP261WnAch9vtNnwfRZbln25smFjrIdqt8z9sND68ND2t32q1GuXVnSrvmKZDpGn6NE3TFACCIECWZUjTdLyBZVma5zlcX1//bGdn51etVmu71WqVDy6MsYwcZiRaa8Vaj6IoKp7jtdYoimK70+mc9TzPdfgpXlBa27VabVcpNSeisASDcy6NMXnZ+bnWWq21RZZlKIoCSZJsM/O/wzAshsOhBkCu6yJN0w+LotgWEfJcl7K8gDFZXl5wkiRFURSaMSYA5HkOx3EYAKIo+l2SJMjzHEQEIgqttdvW2sdJkmwPBgOICNVqNSRJ8ttOp7ObZdnfnXl77Zdf+T4ajYbeGI7SZI9rtVWxdkCuuyppdkBK7Vf7JHsvEq3SOHcGcE8/yYYbjuNsW2v/aIwZAaDxPRFJlmX3rbXGcRx0Oh3s7e3BWjvd7XbDa0sv+Ln+heu6ZIzB0Z2VpwV2d3dBRBgOh/B9H9ZapGmKyliMK2dnZ4cGg8EzAM5RsZxSKrPWNgCciOP4N1EU/dzzPOq0W7h27RpazeY/pqen/9jtdk8updnSB+G95+Pv3Og0m+b8lUnN/wcivXv37ng00FoXzCxElFtrNYBAKZVaa8dV5fs+tdvtLQE+McaYoigYAPf7fWRZxvV6HWmatj2Pv5Xn5onpTm1rNEr/leXDJ1lB947Vk9txnP8yvn+n3+vvHKF1z1rbY+awvCsiUlhrS5QmETEAeJ7H9Xr9ThzHz6y1ZYoWIgJrbaGUwsHBwUoU+VNJMmp2G42Pun3cD4P04Bfp6Md/3dqLPo6j+PZe/CxWfn6wuN///fzc/N0fX3SzL0tQ/98iooyIQCklkwg2AAgzoyiKsI/8i51OZxCAZFlmXdftl3cdhyUnCE8+rMDz6A9pml6jTwsGKX4yEUgKrA0A8KtY4xVLxC9pPOcVIzLegwQAMmttI4qi/Z2dHeR5PiEiWutS2RtJkhyMgxJNzz3+ZIY/D8Kf0w2aRBXPOeKc95tZfnyudqX33WwG9BXv9JcDFoCIiBhjAsdxTJIkYK2FiFRKKUdE4DgOrLUeAPfLTvevIiLwPOQDwPNAlvlXPvqfTLGBKEJVtR/AlwMWALTWIqUjzHx4XqjKmYiKPM/XADz6qokQEfjLAosoAlEHzGd5yP1P5Yg5YIwkJ+Ry1bI/pM0vmBpTVZlDTPtq1Fqf7JJYazmKIuR5DmNM2W6PZxulFJg5q8qfRQRKKdJak+u6ElSzeYlmlFJijGHXdVFxVJSmKZIkIWMMHMdBvV5HGIYQkbLakiRJNMbUpPx+LdwpqrD8a+tI9SXrPwHt6TNRvZCHAAAAAElFTkSuQmCC");
  background-repeat: repeat;
  background-size: 200px;
  opacity: var(--crt-noise-alpha);
  animation: noise 0.5s steps(2) infinite;
  mix-blend-mode: overlay;
}
}
.console-input {
.announcement-content span {
   background-color: var(--terminal-bg);
   display: inline-block;
  padding: 10px 15px;
   white-space: nowrap;
  display: flex;
   animation: marquee 15s linear infinite;
   align-items: center;
   border: 1px solid rgba(0, 255, 100, 0.5);
}
}
 
.mw-mainpage-header {
.console-prompt {
    background: linear-gradient(to bottom right, #B9A3FF, #8C47E7);
  color: rgba(0, 255, 100, 0.9);
    box-shadow: grey 0px 0px 5px;
  margin-right: 10px;
    border-radius: 20px;
  font-family: var(--pixel-font-12);
    color: #000;
  font-weight: bold;
    font-size: 1.5em;
  animation: console-blink 1s infinite;
    text-shadow: white 0px 0px 10px, white 0px 0px 10px;
    padding: 20px;
    text-align: center;
}
}


.console-command {
.mw-mainpage-header h1 {
  background: transparent;
    font-size: 2.5em;
  border: none;
    margin-bottom: 10px;
  color: rgba(0, 255, 100, 0.9);
  font-family: var(--pixel-font-12);
  font-size: 16px;
  width: 100%;
  outline: none;
}
}


.console-command::placeholder {
.mw-mainpage-header p {
  color: rgba(0, 255, 100, 0.4);
    font-size: 1.2em;
    margin: 5px 0;
}
}
/* CRT扫描线效果 - 更逼真 */
.tabber-container-infobox ul.tabbernav > li > a {
/* 1. 主扫描线 - 明显且速度和密度适中的扫描线 */
color: #595959;
.crt-primary-scanline {
padding-bottom: 1px;
  content: "";
display: block;
  display: var(--crt-effects-display);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 9px; /* 主扫描线较宽 */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, var(--crt-primary-scanline-alpha)) 40%,
    rgba(0, 0, 0, calc(var(--crt-primary-scanline-alpha) * 1.5)) 50%,
    rgba(0, 0, 0, var(--crt-primary-scanline-alpha)) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 9995;
  opacity: 0.85;
  animation: primary-scanline 8s linear infinite;
}
}


/* 2. 副扫描线 - 持续存在的细小扫描线纹理 */
/* To prevent the tabs from jumping around when they become active or inactive
.crt-secondary-scanline {
* due to the font-weight changing from normal to bold and vice versa, add an
  content: "";
* invisible ::before which contains the same text as the tab's text, but
  display: var(--crt-effects-display);
* bolded. This way the element in which unbolded text sits is sized according
  position: fixed;
* to the bolded text, preventing it from resizing upon being selected.
  top: 0;
*/
  left: 0;
.tabber-container-infobox ul.tabbernav > li > a::before {
  width: 100%;
display: block;
  height: 100%;
content: attr(alt);
  background: repeating-linear-gradient(
font-weight: bold;
    to bottom,
height: 0;
    transparent 0px,
color: transparent;
    transparent 3px,
overflow: hidden;
    rgba(0, 0, 0, var(--crt-secondary-scanline-alpha)) 4px,
visibility: hidden;
    rgba(0, 0, 0, var(--crt-secondary-scanline-alpha)) 4px
  );
  background-size: 100% 8px;
  pointer-events: none;
  z-index: 9994;
  opacity: 0.7;
}
}


/* 3. 快速扫描线 - 闪烁通过的亮条 */
.tabber-container-infobox ul.tabbernav > li.tabberactive {
.crt-fast-scanline {
border: none;
  content: "";
  display: var(--crt-effects-display);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px; /* 快速扫描线很窄 */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 9996;
  opacity: 0;
  animation: fast-scanline 4s cubic-bezier(0.15, 0.85, 0.5, 1) infinite;
}
}


/* 额外扫描线阴影 - 增强3D效果 */
.modulebox {
.crt-scanline-shadow {
   border: 1px solid #ccc;
   content: "";
   padding: 10px;
  display: var(--crt-effects-display);
   margin: 10px 0;
  position: fixed;
   background-color: #f9f9f9;
   top: 0;
   left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9992;
   background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.01) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.01) 100%
  );
  opacity: 0.4;
}
}


/* 标题样式 - 更精致的复古科幻风格 */
.tabber-container-infobox ul.tabbernav > li.tabberactive > a {
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
  font-family: var(--title-font);
color: var(--link-color);
  font-size: calc(var(--base-font-size) * var(--title-scale));
border-bottom: 2px solid var(--custom-mcwiki-header-color);
  font-weight: normal;
  text-shadow: var(--crt-text-shadow),
              0 1px 1px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.03em;
  position: relative;
  margin-top: 1.8em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #111;
  line-height: 1.5;
  animation: micro-flicker 2s infinite alternate ease-in-out;
}
}


/* 标题光效底层 */
.infobox-rows p {
h1::after, h2::after, h3::after {  
margin: 0;
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--crt-glow-color),
    transparent 90%
  );
}
}


/* 标题装饰线 */
/* Merge adjacent dls in the infobox, since they're usually supposed to be one,
h1::before, h2::before {
* but the wiki screws up sometimes.
  content: "";
*/
  position: absolute;
.infobox-rows dl + dl {
  bottom: -2px;
margin-top: -0.4em;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(
    to right,
    rgba(0, 255, 100, 0.8),
    transparent
  );
  border-radius: 2px;
  box-shadow: 0 0 8px var(--crt-glow-color);
}
}


body h1 {
.infobox-rows dl:last-child {
  font-size: calc(var(--base-font-size) * 1.7);
margin-bottom: 0.2em;
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 3px solid var(--crt-glow-color);
  box-shadow: -3px 0 8px rgba(0, 255, 100, 0.2);
  letter-spacing: 0.05em;
}
}


h2 {  
.infobox-footer {
  font-size: calc(var(--base-font-size) * 1.5);
text-align: center;
  padding-left: 6px;
}
}


h3 {  
/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
  font-size: calc(var(--base-font-size) * 1.3);  
table.navbox{
  border-bottom-style: dashed;
    border:1px solid #aaa;
  border-bottom-width: 1px;
    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;
}
}


h4 {  
@media only screen and (max-width:759px){
  font-size: calc(var(--base-font-size) * 1.2);  
.infotable {
  border-bottom: none;
    width: 90%;
  border-left: 2px solid rgba(0, 255, 100, 0.4);
    float: none;
  padding-left: 6px;
    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;
    }
}
}


h5, h6 {  
/* h1标题字体 */
  font-size: calc(var(--base-font-size) * 1.1);
body h1 {
  border-bottom: none;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
}
}


/* 链接样式 - 更精致的复古科幻风格 */
/* 本段内容来自萌娘百科 https://zh.moegirl.org.cn/MediaWiki:Gadget-site-styles.css 感谢贡献!*/
a {
/* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0 */
  color: var(--link-color);
 
  text-decoration: none;
.heimu,
  position: relative;
.heimu rt{
  transition: all 0.25s ease;
    --heimu-color:#252525;
  padding: 1px 3px;
    --heimu-text-color:#fff;
  border-radius: 2px;
    --heimu-link-color:#add8e6;
  text-shadow: 0 0 3px rgba(0, 100, 255, 0.15);
    --heimu-visited-link-color:#c5cae9;
  font-family: var(--pixel-font-16);
    --heimu-new-link-color:#fcc;
    --heimu-new-visited-link-color:#ef9a9a;
    --heimu-extiw-visited-link-color:#d1c4e9;
 
    background-color:var(--heimu-color);
}
}


/* 链接悬停效果 */
.heimu,
a:hover {
.heimu a,
  color: var(--link-color-active);
a .heimu,
  background-color: rgba(250, 167, 0, 0.1);
a.new .heimu,
  text-shadow: 0 0 var(--crt-glow-radius) rgba(250, 167, 0, 0.4);
span.heimu a:visited,
  transform: translateY(-1px);
span.heimu a.new,
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
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,
a:active {
span.heimu:active{
  transform: translateY(0);
    color:var(--heimu-text-color);
  box-shadow: none;
}
}


/* 标记链接是可交互的 - 添加小图标 */
span.heimu:hover a,
a[href]:not(.mw-selflink)::before {
a:hover span.heimu{
  content: '>';
    color:var(--heimu-link-color);
  display: inline-block;
  margin-right: 3px;
  font-size: 0.8em;
  opacity: 0.6;
  transition: all 0.2s ease;
}
}


a[href]:not(.mw-selflink):hover::before {
span.heimu:hover a:visited,
  opacity: 1;
a:visited:hover span.heimu{
  transform: translateX(1px);
    color:var(--heimu-visited-link-color);
  animation: console-blink 1s infinite;
}
}


/* 红色链接样式 */
span.heimu:hover a.new,
a.new {
a.new:hover span.heimu{
  color: #ba0000;
    color:var(--heimu-new-link-color);
  text-shadow: 0 0 3px rgba(186, 0, 0, 0.2);
}
}


a.new:hover {
span.heimu a.new:hover:visited,
  background-color: rgba(186, 0, 0, 0.1);
a.new:hover:visited span.heimu{
  text-shadow: 0 0 var(--crt-glow-radius) rgba(186, 0, 0, 0.4);
    color:var(--heimu-new-visited-link-color);
}
}


/* 外部链接样式 */
span.heimu:hover a.extiw:visited,
a.external {
a.extiw:visited:hover span.heimu{
  border-bottom: 1px dotted rgba(6, 69, 173, 0.3);
    color:var(--heimu-extiw-visited-link-color);
}
}
 
[color-mode="dark"] .heimu,
a.external::after {
[color-mode="dark"] .heimu rt{
  content: "";
    --heimu-color:#5e6272;
  font-size: 0.8em;
  margin-left: 3px;
  opacity: 0.7;
}
}


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


/* Infobox样式 - 更精致的复古科幻风格 */
/* hover状态切换 */
.notaninfobox {
.hover-change,
.hover-remote {
   position: relative;
   position: relative;
   clear: right;
   display: inline-block;
  margin: 0 0 1em 1em;
   transition: opacity 0.5s linear;
  width: 350px;
  font-size: calc(var(--base-font-size) * 0.9);
  font-family: var(--small-font);
  background-color: rgba(248, 249, 250, 0.95);
  float: right;
   border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0;
  overflow: auto;
  z-index: 1;
  overflow-wrap: anywhere;
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.1),
    inset 0 0 10px rgba(0, 255, 100, 0.04);
  animation: flicker 80s infinite alternate;
  border-radius: 3px;
}
}


/* Infobox标题 */
.hover-change-before,
.notaninfobox > .infobox-title {
.hover-change-after,
  font-family: var(--title-font);
.hover-remote-target {
  font-weight: normal;
   transition: inherit;
  text-align: center;
  font-size: 110%;
  background: linear-gradient(to bottom, #d5e5fb, var(--custom-mcwiki-header-color));
  color: #333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
  padding: 10px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  position: relative;
   overflow: hidden;
}
}


/* 给标题添加光泽效果 */
.hover-change-after,
.notaninfobox > .infobox-title::after {
.hover-remote-target {
   content: "";
   opacity: 0;
   position: absolute;
   position: absolute;
   top: 0;
   top: 0;
   left: -150%;
   left: 0;
  width: 150%;
}
  height: 100%;
.hover-remote-target {
   background: linear-gradient(
   left: 100%;
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(35deg);
  animation: shine 6s infinite;
}
}


/* Infobox标签样式 */
.hover-change-after[style^='right:'],
.notaninfobox .infobox-row .infobox-row-label {
.hover-change-after[style*=' right:'],
  font-family: var(--UI-font);
.hover-remote-after[style^='right:'],
  font-weight: 600;
.hover-remote-after[style*=' right:'] {
  color: #444;
   left: initial;
  text-shadow: none;
  letter-spacing: 0.03em;
  padding: 5px 8px;
  background-color: rgba(0, 0, 0, 0.03);
   border-right: 2px solid rgba(0, 0, 0, 0.1);
}
}


/* Infobox内容样式 */
.hover-change-after[style^='bottom:'],
.notaninfobox .infobox-row .infobox-row-value {
.hover-change-after[style*=' bottom:'],
   padding: 5px 8px;
.hover-remote-after[style^='bottom:'],
  line-height: 1.4;
.hover-remote-after[style*=' bottom:'] {
   top: initial;
}
}


/* Infobox行交替背景 */
.hover-change-after:hover,
.notaninfobox .infobox-row:nth-child(even) {
.hover-remote-target {
   background-color: rgba(0, 0, 0, 0.02);
   opacity: 0;
  margin-left: -9999px;
}
}


/* Infobox行悬停效果 */
/* 主要用于制作hover形式的标签页(tab)切换 */
.notaninfobox .infobox-row:hover {
.hover-tab-mode {
   background-color: rgba(0, 255, 100, 0.03);
  position: relative;
  transition: none;
}
.hover-tab-mode .hover-remote {
   transition: inherit;
  position: static;
}
}


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


/* 表格标题 */
.hover-change:hover > .hover-change-before,
table caption {
.hover-remote > .hover-remote-target,
  font-family: var(--title-font);
.hover-change:hover > a > .hover-change-before,
  font-size: calc(var(--base-font-size) * 1.05);
.hover-remote > a > .hover-remote-target {
  padding: 10px;
   opacity: 0;
  font-weight: normal;
  text-shadow: var(--crt-text-shadow);
  margin-bottom: 5px;
  color: #333;
   border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}
}


/* 表头样式 */
.hover-change:hover > .hover-change-after,
table th {
.hover-remote:hover > .hover-remote-target,
  background: linear-gradient(to bottom, #f8f9fa, var(--custom-table-header-background));
.hover-change:hover > a > .hover-change-after,
  color: #333;
.hover-remote:hover > a > .hover-remote-target {
  font-family: var(--title-font);
   opacity: 1;
  font-weight: normal;
   margin-left: initial;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
   padding: 12px 14px;
   border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  position: relative;
}
}


/* 表头装饰效果 */
/* 基类 */
table th::after {
[class*='hovers-'] {
   content: "";
   display: inline-block;
   position: absolute;
   box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  bottom: 0;
   transform: perspective(1px) translateZ(0);
   left: 0;
   vertical-align: middle;
   width: 100%;
   transition-duration: 0.25s;
   height: 1px;
   transition-property: all;
   background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.5),
    transparent
  );
}
}


/* 表格单元格 */
/* 旋转放大 */
table td, table th {
.hovers-rotate-shrink {
   border: 1px solid #e0e0e0;
   transition-duration: 0.5s;
   padding: 8px 12px;
   transform: rotate(0) scale(0.75);
  transition: all 0.2s ease;
}
   font-size: calc(var(--base-font-size) * 0.95);
.hovers-rotate-shrink:hover {
   transform: rotate(360deg) scale(1);
}
}


/* 表格交替行 */
.hovers-rotate-shrink-reverse {
table tr:nth-child(even) td {
   transition-duration: 0.5s;
   background-color: rgba(240, 241, 242, 0.7);
  transform: rotate(360deg) scale(0.75);
}
}


/* 表格行悬停效果 */
.hovers-rotate-shrink-reverse:hover {
table tr:hover td {
   transform: rotate(0) scale(1);
   background-color: rgba(0, 255, 100, 0.08);
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.05);
}
}


/* 代码样式 - 更精致的复古科幻风格 */
/* 旋转 */
pre, code {
.hovers-rotate,
  font-family: var(--pixel-font-12);
.hovers-rotate-reverse:hover {
  font-size: calc(var(--base-font-size) * var(--code-scale));
   transition-duration: 0.5s;
   background-color: rgba(232, 232, 232, 0.8);
   transform: rotate(0);
   border: 1px solid #d0d0d0;
  padding: 0.3em 0.5em;
  text-shadow: none;
  border-radius: 3px;
  color: #1a1a1a;
  position: relative;
}
}


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


/* 代码块背景 - 终端风格 */
/* 正常 => 浅 */
pre::before {
.hovers-fade-deep,
   content: "";
.hovers-fade,
  position: absolute;
.hovers-fade-shallow {
   top: 0;
   opacity: 1;
  left: 0;
}
  width: 100%;
.hovers-fade-deep:hover,
   height: 100%;
.hovers-fade-deep.active {
  background:
   opacity: 0.35;
    repeating-linear-gradient(
}
      to bottom,
.hovers-fade:hover,
      transparent 0px,
.hovers-fade.active {
      transparent 19px,
   opacity: 0.5;
      rgba(0, 0, 0, 0.05) 19px,
}
      rgba(0, 0, 0, 0.05) 20px
.hovers-fade-shallow:hover,
    );
.hovers-fade-shallow.active {
   pointer-events: none;
   opacity: 0.75;
}
}


/* 代码行号 */
/* 浅 => 正常 */
pre code {
.hovers-bloom-deep {
   display: block;
   opacity: 0.35;
  position: relative;
}
   background: transparent;
.hovers-bloom {
  border: none;
   opacity: 0.5;
  box-shadow: none;
}
   padding: 0;
.hovers-bloom-shallow {
  counter-increment: line;
   opacity: 0.75;
}
}


pre code::before {
.hovers-bloom-deep:hover,
  content: counter(line);
.hovers-bloom-deep.active,
  display: inline-block;
.hovers-bloom:hover,
  width: 2em;
.hovers-bloom.active,
  margin-right: 1em;
.hovers-bloom-shallow:hover,
  margin-left: -3em;
.hovers-bloom-shallow.active {
  color: #888;
   opacity: 1;
  text-align: right;
  user-select: none;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
   padding-right: 0.5em;
}
}


/* 内联代码 */
/* 正常 => 大 */
p code, li code, td code {
.hovers-grow-deep,
   padding: 0.15em 0.4em;
.hovers-grow,
   margin: 0 0.2em;
.hovers-grow-shallow {
   background-color: rgba(220, 220, 220, 0.5);
   transform: scale(1);
  border: 1px solid #d8d8d8;
}
   white-space: nowrap;
.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);
}
}


/* 控制台输出样式 */
/* 正常 => 小 */
.console-output {
.hovers-shrink-deep:hover,
  background-color: var(--terminal-bg);
.hovers-shrink-deep.active,
  color: var(--console-text-color);
.hovers-shrink:hover,
   font-family: var(--pixel-font-12);
.hovers-shrink.active,
  padding: 12px;
.hovers-shrink-shallow:hover,
   margin: 1em 0;
.hovers-shrink-shallow.active {
  border-radius: 3px;
   transform: scale(1);
   border: 1px solid rgba(0, 0, 0, 0.2);
}
   box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
.hovers-shrink-deep {
  position: relative;
   transform: scale(0.5);
  overflow: hidden;
}
.hovers-shrink {
   transform: scale(0.75);
}
.hovers-shrink-shallow {
   transform: scale(0.9);
}
}


/* 控制台头部 */
/* 左右抖动 */
.console-output::before {
@keyframes shake-flexible {
   content: "> terminal";
   25% {
  display: block;
    transform: translateX(-0.0625em);
  color: rgba(255, 255, 255, 0.5);
   }
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 
   padding-bottom: 5px;
  50% {
   margin-bottom: 8px;
    transform: translateX(0.0625em);
  font-size: 0.9em;
   }
 
   75% {
    transform: translateX(-0.0625em);
  }
}
}


/* 控制台指示器闪烁 */
.hovers-shake-flexible:hover,
.console-indicator {
.hovers-shake-flexible.active {
  display: inline-block;
   animation: shake-flexible 0.5s ease-out;
  width: 0.8em;
  height: 1em;
  background-color: var(--console-indicator-color);
   margin-left: 0.2em;
  vertical-align: middle;
  animation: console-blink 1s infinite;
}
}


/* 确保文本内容清晰可读 */
@keyframes shake {
p, li, td, th, figcaption, blockquote, cite {
  25% {
  font-family: var(--body-font);
    transform: translateX(-8px);
   line-height: 1.65;
   }
   letter-spacing: 0.01em;
 
   position: relative;
   50% {
   text-shadow: var(--crt-text-shadow);
    transform: translateX(8px);
   }
 
   75% {
    transform: translateX(-8px);
  }
}
}


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


/* 注释、提示和警告样式 */
/* 上下抖动 */
.note, .info, .warning, .tip {
@keyframes bounce-flexible {
   position: relative;
   25% {
  margin: 1.5em 0;
    transform: translateY(-0.0625em);
   padding: 1em 1em 1em 3em;
   }
   border-radius: 3px;
 
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
   50% {
   font-family: var(--small-font);
    transform: translateY(0.0625em);
   }
 
  75% {
    transform: translateY(-0.0625em);
  }
}
}


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


/* 注释样式 */
@keyframes bounce {
.note {
  25% {
   background-color: rgba(230, 230, 250, 0.4);
    transform: translateY(-8px);
   border-left: 3px solid #99c;
  }
 
   50% {
    transform: translateY(8px);
   }
 
  75% {
    transform: translateY(-8px);
  }
}
}


.note::before {
.hovers-bounce:hover,
   content: "※";
.hovers-bounce.active {
   color: #99c;
  position: relative;
   left: 0;
   animation: bounce 0.5s ease-out;
}
}


/* 信息样式 */
/* 绕顶端中点抖动 */
.info {
@keyframes swing {
   background-color: rgba(220, 237, 255, 0.4);
   20% {
   border-left: 3px solid #69c;
    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);
  }
}
}


.info::before {
.hovers-swing {
   content: "ℹ";
   transform-origin: top center;
   color: #69c;
}
.hovers-swing:hover,
.hovers-swing.active {
   animation: swing 0.75s ease-out;
}
}


/* 警告样式 */
/* 正常 => 大 */
.warning {
@keyframes pulse-grow {
   background-color: rgba(255, 240, 230, 0.4);
   to {
   border-left: 3px solid #f93;
    transform: scale(1.1);
   }
}
}


.warning::before {
.hovers-pulse-grow:hover,
   content: "⚠";
.hovers-pulse-grow.active {
  color: #f93;
   animation: pulse-grow 0.5s linear infinite alternate;
}
}


/* 提示样式 */
/* 正常 => 小 */
.tip {
@keyframes pulse-shrink {
   background-color: rgba(230, 250, 230, 0.4);
   to {
   border-left: 3px solid #6c6;
    transform: scale(0.9);
   }
}
}


.tip::before {
.hovers-pulse-shrink:hover,
   content: "✓";
.hovers-pulse-shrink.active {
  color: #6c6;
   animation: pulse-shrink 0.5s linear infinite alternate;
}
}


/* 图片效果 - 更精致的复古科幻风格 */
/* 正常 => 小 */
img {
@keyframes push {
   max-width: 100%;
   50% {
  height: auto;
    transform: scale(0.8);
  transition: all 0.3s ease;
   }
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
   box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  filter: contrast(1.02) brightness(1.01); /* 轻微增强对比度 */
  position: relative;
}
}


/* 图片悬停效果 */
.hovers-push:hover,
img:hover {
.hovers-push.active {
  box-shadow:
   animation: push 0.3s linear;
    0 3px 8px rgba(0, 0, 0, 0.15),
    0 0 10px var(--crt-glow-color);
  transform: scale(1.02) translateY(-2px);
   border-color: rgba(0, 255, 100, 0.3);
  filter: contrast(1.05) brightness(1.02);
}
}


/* 图片装饰层 - 模拟CRT显示图片的效果 */
/* 正常 => 大 */
img::after {
@keyframes pop {
   content: "";
   50% {
  position: absolute;
    transform: scale(1.2);
  top: 0;
   }
  left: 0;
  width: 100%;
  height: 100%;
  background:  
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 3px,
      rgba(0, 0, 0, 0.03) 4px,
      rgba(0, 0, 0, 0.03) 4px
    );
  pointer-events: none;
   z-index: 1;
}
}


/* 图片标题 */
.hovers-pop:hover,
figcaption {
.hovers-pop.active {
  margin-top: 0.5em;
   animation: pop 0.3s linear;
  color: #555;
  font-style: italic;
  text-align: center;
   max-width: 100%;
}
}


/* 滚动条样式 - 更精致的复古科幻风格 */
/* 正常 => 大 => 正常 => 大 */
::-webkit-scrollbar {
.hovers-bounce-in:hover,
   width: 14px;
.hovers-bounce-in.active {
   height: 14px;
   transform: scale(1.2);
  transition-duration: 0.5s;
   transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
}


::-webkit-scrollbar-track {
/* 正常 => 小 => 正常 => 小 */
   background: rgba(0, 0, 0, 0.04);
.hovers-bounce-out:hover,
   border-radius: 0;
.hovers-bounce-out.active {
   box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
   transform: scale(0.8);
   transition-duration: 0.5s;
   transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
}


::-webkit-scrollbar-thumb {
/* 倾斜 */
  background: repeating-linear-gradient(
.hovers-tilt:hover,
    to bottom,
.hovers-tilt.active {
    #aaa 0px,
   transition-duration: 0.3s;
    #aaa 2px,
   transform: rotate(4deg);
    #999 3px,
    #999 5px
  );
   border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
   box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
}


::-webkit-scrollbar-thumb:hover {
/* 倾斜 + 放大 */
   background: repeating-linear-gradient(
.hovers-grow-rotate:hover,
    to bottom,
.hovers-grow-rotate.active {
    #bbb 0px,
   transition-duration: 0.3s;
    #bbb 2px,
   transform: scale(1.1) rotate(4deg);
    #aaa 3px,
    #aaa 5px
   );
}
}


::-webkit-scrollbar-button {
/* 升起 */
  background-color: #ddd;
.hovers-float:hover,
  border: 1px solid #aaa;
.hovers-float.active {
  border-radius: 0;
   transition-duration: 0.3s;
   box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
   transition-timing-function: ease-out;
  width: 14px;
   transform: translateY(-8px);
  height: 14px;
   background-position: center;
  background-repeat: no-repeat;
   background-size: 6px;
}
}


::-webkit-scrollbar-button:vertical:decrement {
/* 下沉 */
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon points='5,3 8,7 2,7' fill='%23666'/%3E%3C/svg%3E");
.hovers-sink:hover,
.hovers-sink.active {
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
   transform: translateY(8px);
}
}


::-webkit-scrollbar-button:vertical:increment {
/* 飘浮 */
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon points='5,7 8,3 2,3' fill='%23666'/%3E%3C/svg%3E");
@keyframes bob {
  0% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(-10px);
  }
}
@keyframes bob-float {
   100% {
    transform: translateY(-10px);
  }
}
}


::-webkit-scrollbar-button:horizontal:decrement {
.hovers-bob:hover,
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon points='3,5 7,2 7,8' fill='%23666'/%3E%3C/svg%3E");
.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;
}
}


::-webkit-scrollbar-button:horizontal:increment {
/* 悬挂 */
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon points='7,5 3,2 3,8' fill='%23666'/%3E%3C/svg%3E");
@keyframes hang {
   0% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(10px);
  }
}
@keyframes hang-sink {
  100% {
    transform: translateY(10px);
  }
}
}


/* 滚动条拐角 */
.hovers-hang:hover,
::-webkit-scrollbar-corner {
.hovers-hang.active {
   background-color: #eee;
  animation-name: hang-sink, hang;
   border: 1px solid #ccc;
  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;
}
}


/* 引用块样式 - 更精致的复古科幻风格 */
/* 非对称 */
blockquote {
.hovers-skew:hover,
  border-left: 3px solid var(--crt-glow-color);
.hovers-skew.active {
  margin: 1.2em 0;
   transform: skew(-10deg);
  padding: 0.8em 1.2em;
  background: rgba(240, 240, 240, 0.5);
  position: relative;
   font-family: var(--body-font);
  box-shadow:
    inset 0 0 15px rgba(0, 255, 100, 0.03),
    1px 1px 3px rgba(0, 0, 0, 0.05);
  border-radius: 0 3px 3px 0;
}
}


blockquote::before {
/* 非对称-左 */
   content: """;
.hovers-skew-forward {
  position: absolute;
   transform-origin: 0 100%;
  top: 0;
}
  left: 10px;
.hovers-skew-forward:hover,
  font-size: 2em;
.hovers-skew-forward.active {
   color: rgba(0, 0, 0, 0.1);
   transform: skew(-10deg);
  font-family: serif;
}
}


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


blockquote p:last-child {
/* 垂直抖动 */
   margin-bottom: 0;
@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,
cite {
.hovers-wobble-vertical.active {
   display: block;
   animation-name: wobble-vertical;
   margin-top: 0.5em;
   animation-duration: 1s;
   color: #666;
   animation-timing-function: ease-in-out;
   font-size: 0.9em;
   animation-iteration-count: 1;
  font-style: italic;
}
}


cite::before {
/* 水平抖动 */
   content: "— ";
@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;
}
}


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


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


/* 按钮点击效果 */
/* 右上弹回 */
.collapseButton:active, button:active, .mw-ui-button:active, input[type="button"]:active, input[type="submit"]:active {
@keyframes wobble-to-top-right {
  background: linear-gradient(to bottom, #ccc, #ddd);
  16.65% {
   border: 2px solid #444;
    transform: translate(8px, -8px)
   border-top: 4px solid #666;
  }
   border-left: 4px solid #666;
  33.3% {
   transform: translateY(1px);
    transform: translate(-6px, 6px);
   text-shadow: none;
   }
   box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
   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,
.collapseButton::after, button::after, .mw-ui-button::after, input[type="button"]::after, input[type="submit"]::after {
.hovers-wobble-to-top-right.active {
   content: "";
   animation-name: wobble-to-top-right;
  position: absolute;
   animation-duration: 1s;
  top: 2px;
   animation-timing-function: ease-in-out;
   left: 2px;
   animation-iteration-count: 1;
   width: calc(100% - 4px);
  height: 8px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
   pointer-events: none;
  border-radius: 0;
}
}


.navbox .collapseButton {
/* 果冻 */
   width: 6em;
@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);
  }
}
}


/* 主按钮样式 - 重要操作 */
/* 赘肉 */
.mw-ui-button.mw-ui-primary, button.primary, input[type="submit"].primary {
.hovers-wobble-top {
   background: linear-gradient(to bottom, #6af, #39f);
  transform-origin: 0 100%;
   border-color: #27e;
}
   border-bottom-color: #05c;
.hovers-wobble-top:hover,
  border-right-color: #05c;
.hovers-wobble-top.active {
   color: white;
   animation-name: wobble-top;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
   animation-duration: 1s;
   animation-timing-function: ease-in-out;
   animation-iteration-count: 1;
}
}


.mw-ui-button.mw-ui-primary:hover, button.primary:hover, input[type="submit"].primary:hover {
@keyframes wobble-bottom {
  background: linear-gradient(to bottom, #7bf, #49f);
  16.65% {
   border-color: #38f;
    transform: skew(-12deg);
   border-bottom-color: #16d;
  }
   border-right-color: #16d;
  33.3% {
    transform: skew(10deg);
  }
  49.95% {
    transform: skew(-6deg);
   }
  66.6% {
    transform: skew(4deg);
   }
  83.25% {
    transform: skew(-2deg);
   }
  100% {
    transform: skew(0);
  }
}
}


/* 继续22222.txt中断部分的CSS */
.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;
}


.mw-ui-button.mw-ui-primary:active, button.primary:active, input[type="submit"].primary:active {
/* 颤动 */
  background: linear-gradient(to bottom, #28e, #39f);
@keyframes wobble-skew {
   border: 2px solid #05c;
  16.65% {
   border-top: 4px solid #16d;
    transform: skew(-12deg);
   border-left: 4px solid #16d;
  }
   transform: translateY(1px);
  33.3% {
   text-shadow: none;
    transform: skew(10deg);
   box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  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;
}
}


/* 导航容器 - 更精致的复古科幻风格 */
/* 振动 */
.navbox {
@keyframes buzz {
   background-color: rgba(255, 255, 255, 0.95);
   50% {
  border: 1px solid var(--custom-navbox-top);
    transform: translateX(3px) rotate(2deg);
   border-radius: 3px;
   }
  color: #222;
   100% {
   margin: 1.5em 0;
    transform: translateX(-3px) rotate(-2deg);
  padding: 4px;
   }
  font-family: var(--small-font);
  font-size: var(--small-font-size);
   box-shadow:
    var(--box-depth),
    inset 0 0 20px rgba(0, 255, 100, 0.02);
  position: relative;
  overflow: hidden;
}
}


/* 导航标题 */
.hovers-buzz:hover,
.navbox-title {
.hovers-buzz.active {
  background: linear-gradient(to bottom, #f8f9fa, var(--custom-navbox-top));
   animation-name: buzz;
  border: 1px solid var(--custom-navbox-top);
   animation-duration: 0.15s;
   border-radius: 2px;
   animation-timing-function: linear;
  color: #222;
   animation-iteration-count: infinite;
  padding: 8px 12px;
   font-family: var(--title-font);
   font-weight: normal;
  text-align: center;
   text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
  position: relative;
}
}


/* 导航组 */
/* 振出 */
.navbox-group {
@keyframes buzz-out {
   background-color: var(--custom-navbox-middle);
   10% {
   border: 1px solid var(--custom-navbox-top);
    transform: translateX(3px) rotate(2deg);
   color: #444;
   }
   font-weight: normal;
  20% {
   padding: 6px 10px;
    transform: translateX(-3px) rotate(-2deg);
   text-align: right;
   }
   white-space: nowrap;
  30% {
   letter-spacing: 0.03em;
    transform: translateX(3px) rotate(2deg);
   border-right: 2px solid rgba(0, 0, 0, 0.1);
   }
  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,
.navbox-list {
.hovers-buzz-out.active {
   background-color: var(--custom-navbox-thru);
   animation-name: buzz-out;
   border: 1px solid var(--custom-navbox-middle);
   animation-duration: 0.75s;
  padding: 6px 10px;
   animation-timing-function: linear;
   text-align: left;
   animation-iteration-count: 1;
   line-height: 1.5;
}
}


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


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


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


.notice::before {
.hovers-top:hover,
  font-family: var(--UI-font);
.hovers-top.active {
  position: absolute;
   transform: translateY(-0.0625em);
  left: 1em;
  top: 50%;
   transform: translateY(-50%);
  font-size: 1.8em;
  opacity: 0.8;
}
}


/* 成功消息 */
.hovers-left:hover,
.notice-success {
.hovers-left.active {
   background-color: rgba(230, 250, 230, 0.4);
   transform: translateX(-0.0625em);
  border-color: #6c6;
}
}


.notice-success::before {
.hovers-bottom:hover,
   content: "✓";
.hovers-bottom.active {
  color: #6c6;
   transform: translateY(0.0625em);
}
}


/* 错误消息 */
.hovers-right:hover,
.notice-error {
.hovers-right.active {
   background-color: rgba(255, 230, 230, 0.4);
   transform: translateX(0.0625em);
  border-color: #c66;
}
}


.notice-error::before {
/* 滤镜 */
   content: "✗";
.hovers-blur,
  color: #c66;
.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,
.notice-warning {
.hovers-blur.active,
  background-color: rgba(255, 240, 230, 0.4);
.hovers-brightness:hover,
   border-color: #f93;
.hovers-brightness.active,
.hovers-contrast:hover,
.hovers-contrast.active,
.hovers-grayscale:hover,
.hovers-grayscale.active,
.hovers-invert:hover,
.hovers-invert.active,
.hovers-saturate:hover,
.hovers-saturate.active,
.hovers-sepia:hover,
.hovers-sepia.active,
.hovers-hue-rotate:hover,
.hovers-hue-rotate.active {
   filter: initial;
}
}


.notice-warning::before {
.hovers-blur {
   content: "⚠";
   filter: blur(5px);
  color: #f93;
}
}


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


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


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


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


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


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


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


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


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


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


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


/* 复选框选中状态图标 */
.hovers-sepia {
input[type="checkbox"]:checked::after {
   filter: sepia(100%);
   content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #0078d7;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
}


/* 单选按钮选中状态图标 */
.hovers-sepia-reverse:hover,
input[type="radio"]:checked::after {
.hovers-sepia-reverse.acitve {
   content: "";
   filter: sepia(100%);
  position: absolute;
  left: 3px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0078d7;
}
}


/* 标签样式 */
.hovers-hue-rotate {
label {
   filter: hue-rotate(180deg);
   font-family: var(--pixel-font-12);
  font-size: calc(var(--base-font-size) * 0.9);
  margin: 0 10px 0 2px;
  vertical-align: middle;
  cursor: pointer;
}
}


/* 分页导航 - 复古科幻风格 */
.hovers-hue-rotate-reverse:hover,
.pagination {
.hovers-hue-rotate-reverse.active {
  display: flex;
   filter: hue-rotate(180deg);
  justify-content: center;
  align-items: center;
  margin: 2em 0;
  font-family: var(--UI-font);
   font-size: calc(var(--base-font-size) * 0.85);
}
}


.pagination a,
/* 背景滑动 */
.pagination span {
.hovers-sweep-to-right,
  display: inline-flex;
.hovers-sweep-to-left,
  justify-content: center;
.hovers-sweep-to-bottom,
  align-items: center;
.hovers-sweep-to-top,
  min-width: 32px;
.hovers-radial-out,
  height: 32px;
.hovers-radial-in {
  margin: 0 3px;
  padding: 0 10px;
  text-align: center;
  line-height: 1;
  border: 1px solid #ccc;
  border-radius: 0;
  background-color: rgba(240, 245, 250, 0.8);
  color: #444;
  text-decoration: none;
  transition: all 0.2s ease;
   position: relative;
   position: relative;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
   overflow: hidden;
   overflow: hidden;
}
}


/* 分页导航悬停效果 */
.hovers-sweep-to-right:before,
.pagination a:hover {
.hovers-sweep-to-left:before,
   border-color: #999;
.hovers-sweep-to-bottom:before,
   background-color: rgba(0, 150, 255, 0.1);
.hovers-sweep-to-top:before,
   color: var(--link-color-active);
.hovers-radial-out:before,
   transform: translateY(-1px);
.hovers-radial-in:before {
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   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 {
.pagination .current {
  transform-origin: 0 50%;
   border-color: #666;
}
   background-color: rgba(30, 30, 30, 0.8);
.hovers-sweep-to-left:before {
  color: #fff;
   transform-origin: 100% 50%;
   font-weight: normal;
}
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
.hovers-sweep-to-bottom:before {
   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
   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 {
.dropdown {
   transform: scale(0);
  position: relative;
  display: inline-block;
  font-family: var(--UI-font);
   font-size: calc(var(--base-font-size) * 0.9);
}
}


.dropdown-toggle {
.hovers-sweep-to-right .hovers-content.center,
   display: inline-flex;
.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;
   align-items: center;
   padding: 6px 12px;
   justify-content: center;
   background-color: rgba(240, 245, 250, 0.9);
   word-break: break-all;
  border: 1px solid #ccc;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
}


.dropdown-toggle::after {
.hovers-sweep-to-right:hover:before,
  content: "▼";
.hovers-sweep-to-left:hover:before,
  font-size: 0.7em;
.hovers-sweep-to-bottom:hover:before,
  margin-left: 8px;
.hovers-sweep-to-top:hover:before,
   transition: transform 0.2s ease;
.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);
}
}


.dropdown-toggle:hover {
.hovers-sweep-to-right .hovers-content,
   background-color: rgba(245, 248, 250, 0.95);
.hovers-sweep-to-left .hovers-content,
   border-color: #999;
.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;
}
}


.dropdown-toggle:hover::after {
.hovers-sweep-to-right .hovers-content {
   transform: translateY(2px);
  left: initial;
  right: 100%;
}
.hovers-sweep-to-right:hover .hovers-content,
.hovers-sweep-to-right.active .hovers-content {
   right: 0;
}
}


.dropdown-menu {
.hovers-sweep-to-left .hovers-content {
   position: absolute;
   left: 100%;
  top: 100%;
}
.hovers-sweep-to-left:hover .hovers-content,
.hovers-sweep-to-left.active .hovers-content {
   left: 0;
   left: 0;
  z-index: 1000;
  display: none;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  background-color: rgba(250, 252, 255, 0.95);
  border: 1px solid #ccc;
  border-radius: 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
}


.dropdown-menu.show {
.hovers-sweep-to-bottom .hovers-content {
   display: block;
   top: initial;
   animation: dropdown-fade 0.2s ease-in-out;
   bottom: 100%;
}
.hovers-sweep-to-bottom:hover .hovers-content,
.hovers-sweep-to-bottom.active .hovers-content {
  bottom: 0;
}
}


@keyframes dropdown-fade {
.hovers-sweep-to-top .hovers-content {
   from {
   top: 100%;
    opacity: 0;
}
    transform: translateY(-10px);
.hovers-sweep-to-top:hover .hovers-content,
  }
.hovers-sweep-to-top.active .hovers-content {
  to {
  top: 0;
    opacity: 1;
    transform: translateY(0);
  }
}
}


.dropdown-item {
.hovers-radial-out .hovers-content,
  display: block;
.hovers-radial-in:hover .hovers-content,
  padding: 6px 15px;
.hovers-radial-in.active .hovers-content {
  clear: both;
   opacity: 0;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
   transition: all 0.15s ease;
  position: relative;
}
}


.dropdown-item:hover {
.hovers-radial-in .hovers-content,
  background-color: rgba(0, 150, 255, 0.1);
.hovers-radial-out:hover .hovers-content,
  color: var(--link-color-active);
.hovers-radial-out.active .hovers-content {
   padding-left: 18px;
   opacity: 1;
}
}


.dropdown-divider {
/* 默认em */
   height: 1px;
.hovers-border,
   margin: 6px 0;
.hovers-trim,
  background-color: #eee;
.hovers-ripple-out,
.hovers-ripple-in,
.hovers-outline-out,
.hovers-outline-in,
.hovers-reveal {
   font-size: 160px;
   line-height: 16px;
}
}


/* 终端窗口 - 复古科幻风格 */
/* 内边框滑出 */
.terminal {
.hovers-border,
  background-color: var(--terminal-bg);
.hovers-trim {
  color: var(--console-text-color);
  font-family: var(--pixel-font-12);
  padding: 15px;
  margin: 1.5em 0;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow:
    inset 0 0 15px rgba(0, 0, 0, 0.3),
    0 2px 5px rgba(0, 0, 0, 0.1);
   position: relative;
   position: relative;
   overflow: hidden;
   top: 0;
  left: 0;
  transition: all 0.3s;
}
}


/* 终端窗口标题栏 */
.hovers-border:before {
.terminal::before {
   content: '';
   content: "TERMINAL";
  width: 100%;
   display: block;
   height: 100%;
   position: absolute;
   position: absolute;
   top: 0;
   top: 0;
   left: 0;
   left: 0;
   width: 100%;
   box-sizing: border-box;
   padding: 4px 10px;
   transition: inherit;
   background: linear-gradient(to bottom, #444, #333);
   border-width: calc(0.0625em * 0.6);
   color: #ddd;
   border-color: inherit;
   font-size: 0.8em;
   border-style: solid;
  text-align: center;
   border-radius: inherit;
   border-bottom: 1px solid #222;
   opacity: 0;
   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
}


/* 终端内容 */
.hovers-border:hover:before,
.terminal-content {
.hovers-border.active:before {
  margin-top: 25px;
   opacity: 1;
  line-height: 1.4;
  overflow-x: auto;
   white-space: pre-wrap;
}
}


/* 终端命令提示符 */
/* 带边距内边框 */
.terminal-prompt {
.hovers-trim:before {
   color: #0f0;
   content: '';
   margin-right: 5px;
  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,
.terminal-line {
.hovers-trim.active:before {
   margin: 5px 0;
   opacity: 1;
  word-break: break-all;
}
}


/* 终端光标闪烁 */
/* 边框飞出与飞入 */
.terminal-cursor {
.hovers-ripple-out,
  display: inline-block;
.hovers-ripple-in,
  width: 0.5em;
.hovers-outline-out,
  height: 1em;
.hovers-outline-in,
  background-color: var(--console-indicator-color);
.hovers-reveal {
   vertical-align: middle;
   animation-duration: 0.7s;
   animation: console-blink 1s infinite;
   animation-timing-function: ease-out;
  transition: all 0.3s;
}
}


/* 加载指示器 - 复古科幻风格 */
.hovers-ripple-out:before,
.loading {
.hovers-ripple-in:before,
   display: inline-block;
.hovers-outline-out:before,
   position: relative;
.hovers-outline-in:before,
   width: 80px;
.hovers-reveal:before {
   height: 20px;
   content: '';
   margin: 1em auto;
   position: absolute;
   text-align: center;
  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 {
.loading div {
   top: calc(-0.0625em * 1.2);
   display: inline-block;
   right: calc(-0.0625em * 1.2);
   width: 8px;
   bottom: calc(-0.0625em * 1.2);
  height: 8px;
   left: calc(-0.0625em * 1.2);
  margin: 0 3px;
   opacity: 0;
   background-color: rgba(0, 200, 100, 0.8);
   border-radius: 0;
   animation: loading 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
}
 
.hovers-outline-out:before {
.loading div:nth-child(1) {
   opacity: 0;
   animation-delay: -0.24s;
}
}
 
.hovers-outline-out:before {
.loading div:nth-child(2) {
  top: calc(-0.0625em * 1.6);
   animation-delay: -0.12s;
  right: calc(-0.0625em * 1.6);
  bottom: calc(-0.0625em * 1.6);
   left: calc(-0.0625em * 1.6);
  opacity: 0;
}
}
 
.hovers-reveal:before {
.loading div:nth-child(3) {
   border-width: 0;
   animation-delay: 0;
  opacity: 0;
}
}


@keyframes loading {
@keyframes ripple-out {
  0% {
    transform: scaleY(1);
    background-color: rgba(0, 200, 100, 0.8);
  }
   50% {
   50% {
     transform: scaleY(2);
     opacity: 1;
    background-color: rgba(0, 255, 100, 0.8);
   }
   }
   100% {
   100% {
     transform: scaleY(1);
     top: calc(-0.0625em * 1.2);
     background-color: rgba(0, 200, 100, 0.8);
     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 {
.tooltip {
  50% {
   position: relative;
    opacity: 1;
  display: inline-block;
   }
  cursor: help;
 
  100% {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
  }
}
}
 
.hovers-ripple-in:hover:before,
.tooltip .tooltip-text {
.hovers-ripple-in.active:before {
  visibility: hidden;
   animation-name: ripple-in;
  width: 200px;
  background-color: rgba(20, 20, 20, 0.9);
  color: #fff;
  text-align: center;
  border-radius: 0;
  padding: 8px 12px;
  position: absolute;
  z-index: 1001;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  font-family: var(--small-font);
  font-size: var(--small-font-size);
  line-height: 1.4;
  opacity: 0;
   transition: opacity 0.2s, transform 0.2s;
  transform: translateY(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #444;
  text-shadow: none;
}
}


/* 工具提示箭头 */
.hovers-outline-out:hover:before,
.tooltip .tooltip-text::after {
.hovers-outline-in:hover:before,
  content: "";
.hovers-outline-out.active:before,
  position: absolute;
.hovers-outline-in:hover:before {
   top: 100%;
   top: calc(-0.0625em * 0.8);
   left: 50%;
   right: calc(-0.0625em * 0.8);
   margin-left: -5px;
   bottom: calc(-0.0625em * 0.8);
   border-width: 5px;
   left: calc(-0.0625em * 0.8);
  border-style: solid;
   opacity: 1;
   border-color: rgba(20, 20, 20, 0.9) transparent transparent transparent;
}
}


/* 显示工具提示 */
.hovers-reveal:hover:before,
.tooltip:hover .tooltip-text {
.hovers-reveal.active:before {
   visibility: visible;
   transform: translateY(0);
  border-width: calc(0.0625em * 0.4);
   opacity: 1;
   opacity: 1;
  transform: translateY(0);
}
}


/* 徽章 - 复古科幻风格 */
/* 圆角化 */
.badge {
.hovers-round-corners {
   display: inline-block;
   overflow: hidden;
  padding: 2px 6px;
}
  font-size: 0.8em;
.hovers-round-corners:hover,
  font-family: var(--UI-font);
.hovers-round-corners.active {
  line-height: 1;
   border-radius: 0.0625em;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: #777;
  color: #fff;
   border-radius: 0;
  margin: 0 3px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
}


.badge-primary {
/* 重叠:翻转切换 */
   background-color: #0078d7;
 
.hover-turn {
   position: relative;
  transform: translateZ(1px);
}
}


.badge-success {
.hover-turn-before,
   background-color: #5cb85c;
.hover-turn-after {
   position: absolute;
  top: 0;
  left: 0;
}
}


.badge-info {
@keyframes hover-turn {
   background-color: #5bc0de;
   from {
    transform: rotateY(-90deg);
  }
 
  50% {
    transform: scale(1.2);
  }
 
  to {
    transform: rotateY(0);
  }
}
}


.badge-warning {
.hover-turn:not(:hover) .hover-turn-before,
   background-color: #f0ad4e;
.hover-turn:hover .hover-turn-after {
   animation: hover-turn 0.5s;
}
}


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


/* 进度条 - 复古科幻风格 */
/*
.progress {
.colormu_toggle_on是为了黑幕开关(MediaWiki:Gadget-heimu-toggle.js)做适配。
  height: 20px;
.colormu-drk、.colormu-bri分别是暗色背景和亮色背景,
  margin: 1em 0;
暗色背景的文字通常是浅色,在半隐背景后,颜色需要变成深色。
  background-color: rgba(220, 225, 230, 0.8);
*/
  border-radius: 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
.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;
   overflow: hidden;
   border: 1px solid #ccc;
   border-radius: 16px;
   position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16 / 9;
   background-color: #f8f9fa;
}
}


.progress-bar {
/* === 图片区域 === */
.mw-carousel .carousel-image {
  width: 100%;
   height: 100%;
   height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 200, 100, 0.8),
    rgba(0, 200, 100, 0.8) 10px,
    rgba(0, 220, 110, 0.9) 10px,
    rgba(0, 220, 110, 0.9) 20px
  );
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: width 0.6s ease;
   position: relative;
   position: relative;
  animation: progress-animation 2s linear infinite;
}
}


@keyframes progress-animation {
.mw-carousel .carousel-image img {
   0% {
   width: 100%;
    background-position: 0 0;
   height: 100%;
   }
  object-fit: cover;
  100% {
   display: block;
    background-position: 40px 0;
   }
}
}


.progress-text {
/* === 默认状态下的文字:底部横条,文字靠左 === */
.mw-carousel .carousel-caption {
   position: absolute;
   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;
   top: 0;
   left: 0;
   left: 0;
  bottom: 0;
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
  transform: translateY(0);
  background: rgba(0, 0, 0, 0.6);
   display: flex;
   display: flex;
  flex-direction: column;
  justify-content: center;
   align-items: center;
   align-items: center;
   justify-content: center;
   text-align: center;
   color: #333;
   padding: 2em;
  font-family: var(--UI-font);
   border-radius: 0;
   font-size: 0.8em;
   backdrop-filter: blur(3px);
   text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
}


/* 标签页 - 复古科幻风格 */
/* === 标题 + 描述样式 === */
.tabs {
.mw-carousel .carousel-caption h3 {
   margin: 1.5em 0;
   margin: 0 0 0.5em;
   border-radius: 0;
  font-size: 1.6em;
   background-color: rgba(255, 255, 255, 0.9);
   font-weight: 600;
   border: 1px solid #ccc;
   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
   transform: translateY(0);
   transition: transform 0.4s ease;
}
}


.tabs-nav {
.mw-carousel .carousel-caption p {
  display: flex;
  list-style: none;
  padding: 0;
   margin: 0;
   margin: 0;
   background-color: rgba(240, 245, 250, 0.8);
   font-size: 1.1em;
   border-bottom: 1px solid #ccc;
  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);
}
}


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


.tabs-nav a {
/* === 左右切换按钮(垂直居中) === */
   display: block;
.mw-carousel .carousel-navigation {
   padding: 8px 15px;
   position: absolute;
   text-decoration: none;
   top: 50%;
   color: #555;
   left: 0;
   border-right: 1px solid #ddd;
  width: 100%;
   font-family: var(--UI-font);
   display: flex;
   font-size: calc(var(--base-font-size) * 0.9);
   justify-content: space-between;
   transition: all 0.2s ease;
   transform: translateY(-50%);
   background: linear-gradient(to bottom, #f5f5f5, #e5e5e5);
   z-index: 3;
   border-bottom: 3px solid transparent;
   padding: 0 1.5em;
   opacity: 0;
   transition: opacity 0.3s ease;
}
}


.tabs-nav a:hover {
.mw-carousel:hover .carousel-navigation {
   background: linear-gradient(to bottom, #fff, #f0f0f0);
   opacity: 1;
  color: #333;
  transform: none;
  box-shadow: none;
}
}


.tabs-nav a.active {
.mw-carousel .carousel-prev,
   background: #fff;
.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;
   color: #333;
  border-bottom: 3px solid var(--crt-glow-color);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}
}


.tabs-content {
.mw-carousel .carousel-prev:hover,
   padding: 15px;
.mw-carousel .carousel-next:hover {
   border-radius: 0 0 3px 3px;
   background-color: rgba(255, 255, 255, 0.95);
   transform: scale(1.05);
}
}


.tab-pane {
/* === 指示器 - 修改为底部右侧 === */
   display: none;
.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);
}
}


.tab-pane.active {
.mw-carousel .carousel-indicators .indicator {
   display: block;
   width: 10px;
   animation: fade-in 0.3s ease-in-out;
   height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
}


@keyframes fade-in {
.mw-carousel .carousel-indicators .indicator.active {
   from {
   background-color: #ffffff;
    opacity: 0;
   transform: scale(1.2);
   }
   box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  to {
    opacity: 1;
   }
}
}


/* 卡片 - 复古科幻风格 */
.mw-carousel .carousel-indicators .indicator:hover {
.card {
   background-color: rgba(255, 255, 255, 0.8);
   background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  margin: 1em 0;
  box-shadow:
    var(--box-depth),
    inset 0 0 10px rgba(0, 255, 100, 0.02);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
}


.card:hover {
/* === 图片全局统一显示效果 === */
   transform: translateY(-3px);
img {
   box-shadow:  
   max-width: 100%;
    0 5px 15px rgba(0, 0, 0, 0.1),
   height: auto;
    inset 0 0 10px rgba(0, 255, 100, 0.04);
  display: block;
}
}


.card::before {
/* === 添加图片过渡效果 === */
   content: "";
.mw-carousel .carousel-image img {
  position: absolute;
   transition: transform 0.5s ease;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--crt-glow-color), transparent);
}
}


.card-header {
.mw-carousel:hover .carousel-image img {
  background: linear-gradient(to bottom, #f8f9fa, #e8eaec);
   transform: scale(1.03);
  padding: 10px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--title-font);
   font-size: calc(var(--base-font-size) * 1.1);
  color: #333;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
  position: relative;
}
}


.card-body {
  padding: 15px;
  font-family: var(--body-font);
}


.card-footer {
/* Common styles */
   background-color: rgba(245, 248, 250, 0.7);
.section-title {
   padding: 10px 15px;
   background-color: #f0f0f0;
   border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
  font-weight: bold;
  padding: 0.5rem 1rem;
   font-size: 1.2rem;
   border-left: 4px solid #3366cc;
}
}


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


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


.sidebar-header::after {
/* 主页横幅样式 */
   content: "";
.main-page-banner {
   position: absolute;
  display: grid;
   bottom: 0;
   grid-template-areas:  
   left: 0;
    "welcome welcome welcome"
    "discord faq join";
   grid-template-columns: 1fr 1fr 1fr;
   grid-column-gap: 3%;
   margin-bottom: 4rem;
   width: 100%;
   width: 100%;
   height: 1px;
   box-sizing: border-box;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}
}


.sidebar-section {
/* 欢迎文本区域 */
   padding: 10px 15px;
.main-page-banner .welcome-text {
   border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  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%;
}
}


.sidebar-section:last-child {
.main-page-banner .welcome-text p {
   border-bottom: none;
   margin: 0;
  color: rgb(var(--white-monochrome, 252, 252, 252));
}
}


.sidebar-title {
/* 导航链接区域 */
   font-family: var(--UI-font);
.main-page-banner .navigation-links {
   font-size: calc(var(--base-font-size) * 0.95);
   display: grid;
  color: #333;
   grid-template-columns: 1fr 1fr 1fr;
   margin: 0 0 8px 0;
   grid-column-gap: 3%;
  padding-bottom: 5px;
   grid-area: discord / discord / join / join;
   border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
   width: 100%;
   text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
}


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


.sidebar-list li {
.main-page-banner .nav-button:hover {
   margin: 5px 0;
   margin: 0 0 1rem 0;
  padding: 0;
}
}


.sidebar-list a {
.main-page-banner .nav-button a {
   display: block;
   display: block;
   padding: 5px 8px;
   padding: 0.5rem 0;
   color: var(--link-color);
  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;
   text-decoration: none;
  font-size: calc(var(--base-font-size) * 0.9);
  transition: all 0.2s ease;
  text-shadow: 0 0 2px rgba(0, 100, 255, 0.1);
  border-left: 2px solid transparent;
}
}


.sidebar-list a:hover {
.main-page-banner .nav-button a:hover {
   background-color: rgba(0, 150, 255, 0.1);
   padding: 2rem 0;
  color: var(--link-color-active);
   text-decoration: none;
   text-shadow: 0 0 5px rgba(0, 150, 255, 0.3);
  transform: translateX(2px);
  border-left: 2px solid var(--crt-glow-color);
}
}


.sidebar-list a.active {
/* 针对背景图片的设置 */
   background-color: rgba(0, 200, 100, 0.1);
.main-page-banner {
  color: #008851;
   position: relative;
   border-left: 2px solid #008851;
   z-index: 1;
  font-weight: normal;
}
}


/* 弹窗对话框 - 复古科幻风格 */
.main-page-banner::before {
.modal {
  content: "";
   position: fixed;
   position: absolute;
   top: 0;
   top: 0;
   left: 0;
   left: 0;
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
   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;
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   align-items: center;
  border: 2px solid #f0f0f0;
   z-index: 1050;
   align-content: space-between;
   opacity: 0;
   margin-bottom: 2rem;
   visibility: hidden;
}
   transition: all 0.3s ease;
 
.announcement-container .section-title {
   width: 100%;
   text-align: center;
   font-size: 1.5rem;
  border-left: none;
  border-bottom: 2px solid #f0f0f0;
}
}


.modal.show {
.announcement-container .announcement-content {
   opacity: 1;
   background-color: #fafafa;
   visibility: visible;
   width: 100%;
  padding: 0.75rem;
}
}


.modal-dialog {
.announcement-container .more-content {
   width: 100%;
   width: 100%;
   max-width: 500px;
   border-top: 2px solid #f0f0f0;
   margin: 1.75rem;
}
   background-color: rgba(245, 250, 255, 0.95);
.announcement-container .collapsible-block.active .collapsible-content {
   border: 1px solid rgba(0, 0, 0, 0.2);
   display: block;
   border-radius: 0;
}
   box-shadow:  
.announcement-container .collapsible-block {
    0 10px 25px rgba(0, 0, 0, 0.3),
  width: 100%;
    inset 0 0 30px rgba(0, 255, 100, 0.05);
}
   transform: translateY(-50px);
/* 更高特异性的选择器 */
  transition: transform 0.3s ease;
.announcement-container .more-content .collapsible-block .collapsible-content {
  position: relative;
   display: none !important;
   overflow: hidden;
}
 
.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);
}
}


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


.modal-header {
.announcement-container .more-content .collapsible-block.active .collapsible-content {
  display: block !important;
}
/* Recent pages styles */
.main-page-content {
   display: flex;
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   justify-content: space-between;
   justify-content: space-between;
   padding: 12px 15px;
   margin-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
  background: linear-gradient(to bottom, #f8f9fa, #e8eaec);
}
}


.modal-title {
.recent-pages-container {
   margin: 0;
   display: flex;
   font-family: var(--title-font);
   flex-wrap: wrap;
   font-size: calc(var(--base-font-size) * 1.1);
   justify-content: space-between;
   color: #333;
   width: 100%;
   text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), var(--crt-text-shadow);
   margin-bottom: 1rem;
}
}


.modal-close {
.recent-pages-container .page-section {
   padding: 0;
   flex-basis: 48%;
  background-color: transparent;
   display: grid;
   border: 0;
   grid-template-areas: "title" "page" "more";
   float: right;
   grid-template-rows: auto 1fr auto;
  font-size: 1.5rem;
   border: 1px solid #f0f0f0;
   font-weight: 700;
  line-height: 1;
   color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  cursor: pointer;
}
}


.modal-close:hover {
.recent-pages-container .section-title {
   opacity: 0.75;
   grid-area: title;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
}


.modal-body {
.recent-pages-container .page-list {
   padding: 15px;
  grid-area: page;
   font-family: var(--body-font);
  border: solid #f0f0f0;
  border-width: 0 1px;
   padding: 0.5rem 1rem;
   background-color: #fafafa;
  max-height: 15rem;
  overflow-y: auto;
}
}


.modal-footer {
.recent-pages-container .page-list a {
   display: flex;
   display: block;
   align-items: center;
   padding: 0.3rem 0;
   justify-content: flex-end;
   border-bottom: 1px solid #f0f0f0;
   padding: 12px 15px;
   white-space: nowrap;
   border-top: 1px solid #e9ecef;
   overflow: hidden;
   background-color: rgba(245, 248, 250, 0.7);
   text-overflow: ellipsis;
}
}


.modal-footer > button {
.recent-pages-container .page-list a:last-child {
   margin-left: 5px;
   border-bottom: none;
}
}


/* 自定义滚动条 */
.recent-pages-container .see-more {
.custom-scrollbar {
   grid-area: more;
   scrollbar-width: thin;
  scrollbar-color: #999 #f5f5f5;
}
}


.custom-scrollbar::-webkit-scrollbar {
/* Featured content styles */
   width: 8px;
.featured-content-container {
   height: 8px;
  display: flex;
  flex-wrap: wrap;
   justify-content: space-between;
   width: 100%;
}
}


.custom-scrollbar::-webkit-scrollbar-track {
.featured-content-container .feature-item {
   background: rgba(0, 0, 0, 0.03);
  flex-basis: 48%;
   border-radius: 0;
  display: grid;
  grid-template-areas: "title" "content" "more";
  grid-template-rows: auto 1fr auto;
   border: 1px solid #f0f0f0;
   margin-bottom: 1rem;
}
}


.custom-scrollbar::-webkit-scrollbar-thumb {
.featured-content-container .section-title {
   background: repeating-linear-gradient(
   grid-area: title;
    to bottom,
    #aaa 0px,
    #aaa 2px,
    #999 3px,
    #999 5px
  );
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
}


/* 打字机效果文本 */
.featured-content-container .feature-content {
.typewriter {
   grid-area: content;
   overflow: hidden;
   border: solid #f0f0f0;
   white-space: nowrap;
   border-width: 0 1px;
   border-right: 2px solid var(--console-text-color);
   padding: 1rem;
   animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
   background-color: #fafafa;
   display: inline-block;
}
}


@keyframes typing {
.featured-content-container .feature-content .featured-title {
   from { width: 0 }
   font-size: 1.2rem;
   to { width: 100% }
  font-weight: bold;
   margin-bottom: 0.5rem;
}
}


@keyframes blink-caret {
.featured-content-container .feature-content .featured-author {
   from, to { border-color: transparent }
   font-size: 0.9rem;
   50% { border-color: var(--console-text-color) }
  color: #666;
   margin-bottom: 0.5rem;
}
}


/* 折叠面板 - 复古科幻风格 */
.featured-content-container .feature-content .featured-description {
.accordion {
   font-style: italic;
   margin: 1.5em 0;
   color: #444;
  border: 1px solid #ccc;
  border-radius: 0;
   background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
}


.accordion-item {
.featured-content-container .see-more {
   border-bottom: 1px solid #ddd;
   grid-area: more;
}
}


.accordion-item:last-child {
/* Tools and resources styles */
   border-bottom: none;
.tools-and-resources {
   margin-bottom: 2rem;
}
}


.accordion-header {
.tools-container {
   padding: 0;
   display: grid;
   margin: 0;
   grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}
}


.accordion-button {
.tools-container .tool-item {
  display: block;
   background: #f5f5f5;
  width: 100%;
  padding: 12px 15px;
   background: linear-gradient(to bottom, #f8f9fa, #e8eaec);
   color: #333;
   color: #333;
   text-align: left;
   padding: 1rem;
   border: none;
   display: grid;
   cursor: pointer;
   grid-template-areas:
  font-family: var(--title-font);
    "icon content"
   font-size: calc(var(--base-font-size) * 1);
    "title content";
   font-weight: normal;
   grid-template-columns: max-content 1fr;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
   grid-template-rows: 0.6fr 0.4fr;
   position: relative;
   grid-gap: 0.5rem 1rem;
   transition: all 0.3s ease;
   border-left: 4px solid #3366cc;
}
}


.accordion-button::after {
.tools-container .tool-item .tool-icon {
   content: "▼";
   grid-area: icon;
   position: absolute;
   justify-self: center;
   right: 15px;
   align-self: end;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7em;
  transition: transform 0.3s ease;
}
}


.accordion-button.collapsed::after {
.tools-container .tool-item .tool-title {
   transform: translateY(-50%) rotate(-90deg);
   grid-area: title;
  text-align: center;
}
}


.accordion-button:hover {
.tools-container .tool-item .tool-title a {
   background: linear-gradient(to bottom, #fff, #f0f0f0);
   color: #3366cc;
  font-weight: bold;
}
}


.accordion-body {
.tools-container .tool-item .tool-description {
   padding: 15px;
   grid-area: content;
  display: none;
   align-self: center;
   font-family: var(--body-font);
}
}


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


/* 文章卡片 - 复古科幻风格 */
.news-container .section-title {
.article-card {
   width: 100%;
   display: flex;
   text-align: center;
   flex-direction: column;
   font-size: 1.5rem;
   margin: 1.5em 0;
   border-left: none;
   background-color: rgba(255, 255, 255, 0.95);
   border-bottom: 2px solid #f0f0f0;
   border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  box-shadow:
    var(--box-depth),
    inset 0 0 10px rgba(0, 255, 100, 0.02);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
}


.article-card::before {
.news-container .news-content {
   content: "";
   background-color: #fafafa;
  position: absolute;
  top: 0;
  left: 0;
   width: 100%;
   width: 100%;
   height: 2px;
   padding: 0.75rem;
  background: linear-gradient(to right, transparent, var(--crt-glow-color), transparent);
}
}


.article-card:hover {
.news-container .news-content .news-item {
   transform: translateY(-3px);
   border-bottom: 1px solid #f0f0f0;
   box-shadow:  
   padding: 0.5rem 0;
    0 5px 15px rgba(0, 0, 0, 0.1),
    inset 0 0 10px rgba(0, 255, 100, 0.04);
}
}


.article-header {
.news-container .news-content .news-item:last-child {
  padding: 15px;
   border-bottom: none;
   border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
}


.article-title {
.news-container .news-content .news-title {
  margin: 0 0 10px 0;
   font-weight: bold;
   font-family: var(--title-font);
   margin-bottom: 0.3rem;
   font-size: calc(var(--base-font-size) * 1.3);
  color: #333;
  text-shadow: var(--crt-text-shadow);
}
}


.article-meta {
.news-container .news-content .news-date {
   display: flex;
   font-size: 0.8rem;
  align-items: center;
   color: #666;
   font-family: var(--small-font);
   margin-bottom: 0.3rem;
   font-size: var(--small-font-size);
  color: #777;
}
}


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


.article-date {
.news-container .news-archive a {
   margin-right: 15px;
   color: #3366cc;
}
}


.article-thumbnail {
/* Carousel styles */
   width: 100%;
/* Import styles from main.scss file */
   height: 200px;
.carousel-container {
   object-fit: cover;
   position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
   overflow: hidden;
   margin-bottom: 1rem;
}
}


.article-content {
.carousel-container .rolling {
   padding: 15px;
   display: flex;
   flex: 1;
   flex-direction: column;
   font-family: var(--body-font);
  height: 100%;
  position: relative;
   overflow: hidden;
}
}


.article-footer {
/* Add more carousel styles converted from SCSS */
   display: flex;
/* These would need to be adapted from the complex SCSS you provided */
   align-items: center;
 
   justify-content: space-between;
/* Responsive styles */
   padding: 10px 15px;
@media (max-width: 767px) {
   background-color: rgba(245, 248, 250, 0.7);
  .announcement-container .section-title {
   border-top: 1px solid rgba(0, 0, 0, 0.1);
    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;
}
}


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


.article-tag {
/* 1. 顶栏基础样式 - 半透明毛玻璃效果 */
  display: inline-block;
html body nav.navbar,
  padding: 2px 6px;
html body div.navbar,
  font-size: 0.8em;
html body .navbar-fixed-top,
  font-family: var(--UI-font);
html body .navbar-default,
   background-color: rgba(0, 150, 255, 0.1);
html body .navbar-collapse {
   color: var(--link-color);
   background-color: rgba(255, 255, 255, 0.75) !important;
   border-radius: 0;
   backdrop-filter: blur(10px) saturate(180%) !important;
  border: 1px solid rgba(0, 150, 255, 0.2);
  -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
   transition: all 0.2s ease;
   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;
}
}


.article-tag:hover {
/* 2. 导航链接样式 */
   background-color: rgba(0, 150, 255, 0.2);
.navbar .nav > li > a,
   color: var(--link-color-active);
.navbar-nav > li > a {
   transform: translateY(-1px);
   color: rgba(0, 0, 0, 0.75) !important;
   transition: all 0.25s ease !important;
   padding: 15px 20px !important;
  font-weight: 500 !important;
}
}


/* 网格布局 - 复古科幻风格 */
/* 3. 链接悬停效果 */
.grid {
.navbar .nav > li > a:hover,
   display: grid;
.navbar-nav > li > a:hover {
   grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
   color: rgba(0, 0, 0, 0.95) !important;
   gap: 20px;
   background-color: rgba(0, 0, 0, 0.05) !important;
  margin: 1.5em 0;
   transform: scale(1.05) !important;
}
}


.grid-item {
/* 4. 下拉菜单样式 */
   background-color: rgba(255, 255, 255, 0.95);
.dropdown-menu {
   border: 1px solid rgba(0, 0, 0, 0.15);
   background-color: rgba(255, 255, 255, 0.9) !important;
   border-radius: 0;
  backdrop-filter: blur(10px) !important;
   padding: 15px;
   -webkit-backdrop-filter: blur(10px) !important;
   box-shadow: var(--box-depth);
   border-radius: 8px !important;
   transition: all 0.3s ease;
   border: none !important;
   position: relative;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
   overflow: hidden;
   padding: 8px 0 !important;
   overflow: hidden !important;
    
  /* z-index修复 */
  z-index: 10000 !important;
}
}


.grid-item::before {
/* 5. 下拉菜单项样式 */
   content: "";
.dropdown-menu > li > a {
   position: absolute;
   padding: 10px 20px !important;
  top: 0;
   color: rgba(0, 0, 0, 0.75) !important;
  left: 0;
   transition: all 0.2s ease !important;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--crt-glow-color), transparent);
  opacity: 0;
   transition: opacity 0.3s ease;
}
}


.grid-item:hover {
/* 6. 下拉菜单项悬停效果 */
   transform: translateY(-3px);
.dropdown-menu > li > a:hover {
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
   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;
}
}


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


/* 按钮组 - 复古科幻风格 */
/* 8. 移动设备特殊处理 */
.btn-group {
@media (max-width: 767px) {
   display: inline-flex;
  .navbar-collapse {
   vertical-align: middle;
    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;
  }
}
}


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


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


.btn-group button:first-child {
.navbar-userloggedin::before,
  border-top-left-radius: 0;
#personal-inner::before,
  border-bottom-left-radius: 0;
#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;
}
}


.btn-group button:last-child {
/* 头像悬停效果 */
   border-top-right-radius: 0;
.navbar-userloggedin:hover::before,
   border-bottom-right-radius: 0;
#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;
}
}


/* 通知横幅 - 复古科幻风格 */
/* 欢迎文本区域 */
.banner {
.main-page-banner .welcome-text {
   display: flex;
   grid-area: welcome !important;
  align-items: center;
   background: linear-gradient(135deg, rgba(235, 238, 245, 0.95), rgba(210, 225, 240, 0.95)) !important;
   margin: 1.5em 0;
  color: #3a4a5a !important;
  padding: 12px 15px;
  font-style: normal !important;
  background-color: rgba(245, 248, 250, 0.9);
  padding: 2rem !important;
  border: 1px solid rgba(0, 0, 0, 0.15);
   border-radius: 1rem 1rem 0 0 !important;
   border-radius: 0;
  margin: 0 !important;
   box-shadow: var(--box-depth);
  width: 100% !important;
   position: relative;
  position: relative !important;
   overflow: hidden;
  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;
}
}


.banner::before {
/* 欢迎文本背景图片 */
   content: "";
.main-page-banner .welcome-text::before {
   position: absolute;
   content: "" !important;
   top: 0;
   position: absolute !important;
   left: 0;
   top: 0 !important;
   width: 100%;
   left: 0 !important;
   height: 2px;
   width: 100% !important;
   background: linear-gradient(to right, transparent, var(--crt-glow-color), transparent);
   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;
}
}


.banner-icon {
.main-page-banner .welcome-text p {
   margin-right: 15px;
   margin: 0 !important;
   font-size: 1.5em;
  color: #3a4a5a !important;
   color: #777;
  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;
}
}


.banner-content {
/* 导航链接区域 */
   flex: 1;
.main-page-banner .navigation-links {
   font-family: var(--body-font);
   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;
}
}


.banner-title {
.main-page-banner .nav-button {
   font-family: var(--title-font);
   background: linear-gradient(to bottom, #f0f5fa, #e8eef7) !important;
   font-size: calc(var(--base-font-size) * 1.1);
   border-radius: 0.7rem !important;
   margin: 0 0 5px 0;
  margin: 0 0.5rem 2.5rem 0.5rem !important;
   color: #333;
  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;
}
}


.banner-text {
/* 导航按钮的背景图片 - 初始隐藏 */
   margin: 0;
.main-page-banner .nav-button::before {
   color: #555;
   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;
}
}


.banner-close {
/* 为每个按钮设置不同的背景图片 */
  margin-left: 15px;
.main-page-banner .nav-button.discord::before {
  cursor: pointer;
   background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
   color: #777;
  font-size: 1.2em;
  transition: all 0.2s ease;
}
}


.banner-close:hover {
.main-page-banner .nav-button.faq::before {
   color: #333;
   background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
  transform: scale(1.1);
}
}


/* 主题变换按钮 - 复古科幻风格 */
.main-page-banner .nav-button.join::before {
.theme-switch {
   background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: rgba(20, 20, 20, 0.8);
  color: #fff;
  border: none;
   border-radius: 0;
  padding: 8px 12px;
  font-family: var(--UI-font);
  font-size: calc(var(--base-font-size) * 0.8);
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}
}


.theme-switch-icon {
.main-page-banner .nav-button:hover {
   font-size: 1.2em;
   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;
}
}


.theme-switch:hover {
/* 鼠标悬停时显示背景图片 */
  background-color: rgba(30, 30, 30, 0.9);
.main-page-banner .nav-button:hover::before {
  transform: translateY(-2px);
   opacity: 0.2 !important;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
}


/* 页脚 - 复古科幻风格 */
/* 鼠标悬停时变更欢迎区域的背景图片 */
.footer {
.main-page-banner .navigation-links:hover ~ .welcome-text::before {
  margin-top: 3rem;
   opacity: 0.1 !important;
  padding: 2rem 0;
  background-color: rgba(240, 245, 250, 0.9);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--small-font);
  font-size: var(--small-font-size);
   text-align: center;
  position: relative;
}
}


.footer::before {
.main-page-banner .nav-button.discord:hover ~ .welcome-text::before,
  content: "";
.main-page-banner:has(.nav-button.discord:hover) .welcome-text::before {
  position: absolute;
   background-image: url('/aoh2wiki/images/b/be/Discord_Banner.jpg') !important;
  top: 0;
   opacity: 0.25 !important;
  left: 0;
   transform: scale(1) !important;
   width: 100%;
   height: 1px;
   background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
}
}


.footer-links {
.main-page-banner .nav-button.faq:hover ~ .welcome-text::before,
  display: flex;
.main-page-banner:has(.nav-button.faq:hover) .welcome-text::before {
  justify-content: center;
   background-image: url('/aoh2wiki/images/b/be/FAQ_Banner.jpg') !important;
   flex-wrap: wrap;
   opacity: 0.25 !important;
   gap: 20px;
   transform: scale(1) !important;
   margin-bottom: 1rem;
}
}


.footer-link {
.main-page-banner .nav-button.join:hover ~ .welcome-text::before,
  color: var(--link-color);
.main-page-banner:has(.nav-button.join:hover) .welcome-text::before {
   text-decoration: none;
  background-image: url('/aoh2wiki/images/b/be/Join_Banner.jpg') !important;
   transition: all 0.2s ease;
   opacity: 0.25 !important;
   transform: scale(1) !important;
}
}


.footer-link:hover {
.main-page-banner .nav-button a {
   color: var(--link-color-active);
  display: block !important;
   text-shadow: 0 0 3px rgba(0, 150, 255, 0.3);
  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;
}
}


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


/* 媒体查询 - 响应式布局 */
/* 响应式调整 */
@media screen and (max-width: 768px) {
@media (max-width: 767px) {
   :root {
   .main-page-banner {
     --base-font-size: 14px;
     grid-template-areas:  
     --small-font-size: 12px;
      "welcome"
      "navigation" !important;
     grid-template-columns: 1fr !important;
   }
   }
    
    
   body {
   .main-page-banner .welcome-text {
     padding: 1rem;
     border-radius: 1rem 1rem 0 0 !important;
    margin: 0.5rem;
   }
   }
    
    
   .sidebar {
   .main-page-banner .navigation-links {
     width: 100%;
     grid-area: navigation !important;
     max-height: none;
     display: flex !important;
     margin-top: 1rem;
    flex-wrap: wrap !important;
     position: static;
     justify-content: space-around !important;
     padding: 0.8rem !important;
   }
   }
    
    
   .grid {
   .main-page-banner .nav-button {
     grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
     flex: 1 !important;
    min-width: 30% !important;
    margin: 0 0.3rem 2rem 0.3rem !important;
   }
   }
    
    
   .notaninfobox {
   .main-page-banner .nav-button:hover {
    float: none;
     margin: 0 0.3rem 0.8rem 0.3rem !important;
    width: 100%;
     margin: 1em 0;
  }
 
  .modal-dialog {
    margin: 1rem;
    max-width: 100%;
   }
   }
}
}


@media screen and (min-width: 1440px) {
/* 添加淡入动画效果 */
   :root {
@keyframes fadeIn {
    --base-font-size: 16px;
  from { opacity: 0; transform: translateY(10px); }
    --small-font-size: 14px;
  to { opacity: 1; transform: translateY(0); }
   }
}
    
 
   body {
.main-page-banner {
    width: 80%;
  animation: fadeIn 0.8s ease-out forwards !important;
    max-width: 1400px;
}
   }
/* 公告列表样式 */
.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 {
@media print {
   color: #1a3366;
  :root {
   text-decoration: underline;
    --crt-effects-display: none;
  }
 
  html, body {
    background: #fff !important;
    color: #000 !important;
  }
 
  body::before,
  body::after,
  .crt-primary-scanline,
  .crt-secondary-scanline,
  .crt-fast-scanline,
  .crt-scanline-shadow,
  .crt-curve-effect,
  .crt-monitor-frame,
  .crt-reflection,
  .theme-switch {
    display: none !important;
  }
    
  * {
    text-shadow: none !important;
    box-shadow: none !important;
    animation: none !important;
    border-color: #ddd !important;
   }
 
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }
 
  a::before {
    display: none !important;
  }
 
  pre, code {
    border: 1px solid #ddd;
    background: #f8f8f8 !important;
  }
 
  .notaninfobox,
  .card,
  .article-card,
  .sidebar,
  .banner,
  .modal {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}
}


/* 为JS操作预留的类 */
/* 粗体文字样式 */
.hidden {
.announcement-container .announcement strong,
   display: none !important;
.announcement-container .announcement b {
   color: #333;
}
}


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


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


.transparent {
.announcement-container .collapsible-block .collapsible-header:hover {
   opacity: 0 !important;
   background: rgba(240, 240, 240, 1);
}
}


.no-transitions {
.announcement-container .collapsible-block .collapsible-content {
   transition: none !important;
   padding: 1rem;
  background: #f5f5f5;
}
}


/* 页面加载后自动添加CRT效果元素和功能性JS */
/* 响应式调整 */
document.addEventListener('DOMContentLoaded', function() {
@media (max-width: 767px) {
   // 创建一个隐藏/显示CRT效果的按钮
   .announcement-container .section-title {
  var toggleButton = document.createElement('button');
    font-size: 1.2rem;
  toggleButton.innerHTML = '切换CRT效果';
   }
  toggleButton.className = 'theme-switch';
   toggleButton.innerHTML = '<span class="theme-switch-icon">📺</span> CRT效果';
    
    
   // 添加事件监听
   .announcement-container .announcement {
  toggleButton.addEventListener('click', function() {
     padding: 10px;
    var root = document.documentElement;
   }
    var currentDisplay = getComputedStyle(root).getPropertyValue('--crt-effects-display').trim();
}
   
.gallery {
    if (currentDisplay === 'block' || currentDisplay === '') {
   display: flex !important;
      root.style.setProperty('--crt-effects-display', 'none');
   flex-direction: row !important;
      toggleButton.innerHTML = '<span class="theme-switch-icon">📺</span> 显示CRT';
   flex-wrap: wrap !important;
     } else {
}
      root.style.setProperty('--crt-effects-display', 'block');
img {
      toggleButton.innerHTML = '<span class="theme-switch-icon">📺</span> 隐藏CRT';
     display: inline-block !important;
    }
}
   });
/* [[Category:在模板名字空间下的CSS页面]] */
 
  document.body.appendChild(toggleButton);
 
  // 添加CRT效果元素
  var body = document.querySelector('body');
 
  // CRT曲面效果
  var crtCurveEffect = document.createElement('div');
  crtCurveEffect.className = 'crt-curve-effect';
  body.appendChild(crtCurveEffect);
 
  // CRT显示器边框
  var crtMonitorFrame = document.createElement('div');
  crtMonitorFrame.className = 'crt-monitor-frame';
  body.appendChild(crtMonitorFrame);
 
  // CRT反光效果
  var crtReflection = document.createElement('div');
  crtReflection.className = 'crt-reflection';
  body.appendChild(crtReflection);
 
  // 主扫描线
  var primaryScanline = document.createElement('div');
  primaryScanline.className = 'crt-primary-scanline';
  body.appendChild(primaryScanline);
 
  // 副扫描线
  var secondaryScanline = document.createElement('div');
  secondaryScanline.className = 'crt-secondary-scanline';
  body.appendChild(secondaryScanline);
 
  // 快速扫描线
  var fastScanline = document.createElement('div');
  fastScanline.className = 'crt-fast-scanline';
  body.appendChild(fastScanline);
 
  // 扫描线阴影
  var scanlineShadow = document.createElement('div');
  scanlineShadow.className = 'crt-scanline-shadow';
  body.appendChild(scanlineShadow);
 
  // 标签页功能
  var tabLinks = document.querySelectorAll('.tabs-nav a');
 
  tabLinks.forEach(function(link) {
    link.addEventListener('click', function(e) {
      e.preventDefault();
     
      // 移除所有活动类
      tabLinks.forEach(function(l) {
        l.classList.remove('active');
      });
     
      // 添加活动类到当前链接
      this.classList.add('active');
     
      // 获取目标面板ID
      var targetId = this.getAttribute('href').substring(1);
     
      // 隐藏所有面板
      var tabPanes = document.querySelectorAll('.tab-pane');
      tabPanes.forEach(function(pane) {
        pane.classList.remove('active');
      });
     
      // 显示目标面板
      document.getElementById(targetId).classList.add('active');
    });
   });
    
  // 折叠面板功能
  var accordionButtons = document.querySelectorAll('.accordion-button');
    
  accordionButtons.forEach(function(button) {
    button.addEventListener('click', function() {
      this.classList.toggle('collapsed');
     
      var target = this.getAttribute('data-target');
      var body = document.querySelector(target);
     
      if (body.classList.contains('show')) {
        body.classList.remove('show');
      } else {
        body.classList.add('show');
      }
    });
  });
 
  // 实现打字机效果
  var typewriterElements = document.querySelectorAll('.typewriter');
 
  typewriterElements.forEach(function(element) {
     var text = element.textContent;
    element.innerHTML = "";
    element.style.width = "0";
   
    var i = 0;
    var speed = 50; // 打字速度,毫秒每字符
   
    function typeWriter() {
      if (i < text.length) {
        element.innerHTML += text.charAt(i);
        i++;
        setTimeout(typeWriter, speed);
      }
    }
   
    // 文本可见后开始打字效果
    var observer = new IntersectionObserver(function(entries) {
      entries.forEach(function(entry) {
        if (entry.isIntersecting) {
          typeWriter();
          observer.unobserve(element);
        }
      });
    });
   
    observer.observe(element);
  });
});

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页面]] */