打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Jzyfate留言 | 贡献
无编辑摘要
Jzyfate留言 | 贡献
无编辑摘要
 
(未显示同一用户的51个中间版本)
第1行: 第1行:
/* Jiangzhongyuan Wiki homepage. Paste into MediaWiki:Common.css. */
/* ===== 江中缘 Wiki 全局主题:官网海岛配色版 ===== */
.page-首页 #firstHeading,
:root {
.page-首页 .mw-indicators,
  /* 官网截图取色 */
.page-首页 .mw-page-container-inner > .mw-content-container > .mw-body > .mw-body-content > .mw-content-subtitle,
  --jzy-sky: #6bc1f0;
.page-首页 .mw-editsection { display: none; }
  --jzy-sea: #39a6e5;
  --jzy-sand: #fae5bd;
  --jzy-footer: #534646;


.page-首页 .mw-body-content { margin-top: 0; }
  /* Wiki 主题延展色 */
.page-首页 .mw-parser-output > .mcjzy-home { max-width: 1240px; margin: 0 auto; color: #1f2937; }
  --jzy-deep: #0b3f55;
.mcjzy-home *, .mcjzy-home *::before, .mcjzy-home *::after { box-sizing: border-box; }
  --jzy-deep-2: #11384a;
.mcjzy-home a { text-decoration: none; }
  --jzy-teal: #28c7c9;
  --jzy-green: #5ab878;
  --jzy-gold: #f4cf78;
  --jzy-rose: #e86f9e;
  --jzy-ink: #f3fbff;
  --jzy-muted: #d5edf5;
  --jzy-border: rgba(178, 235, 246, 0.30);
  --jzy-glass: rgba(14, 71, 92, 0.34);
  --jzy-glass-strong: rgba(10, 55, 74, 0.50);
}
 
html {
  min-height: 100%;
}
 
body {
  min-height: 100%;
  color: var(--jzy-ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(250, 229, 189, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(107, 193, 240, 0.22), rgba(57, 166, 229, 0.18) 42%, rgba(250, 229, 189, 0.08)),
    url("https://wiki.mcjzy.net/images/thumb/f/fb/%E6%97%A0logo%E8%83%8C%E6%99%AF.png/180px-%E6%97%A0logo%E8%83%8C%E6%99%AF.png") no-repeat fixed center center / cover,
    var(--jzy-sky);
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}
 
/* ===== MediaWiki 默认区域:透明化,避免切割背景 ===== */
#mw-page-base,
.mw-body-content,
.mw-parser-output {
  background: transparent !important;
}
 
.mw-body {
  background:
    linear-gradient(135deg, rgba(13, 81, 105, 0.28), rgba(11, 63, 85, 0.20)) !important;
  color: var(--jzy-ink) !important;
  border: 1px solid rgba(178, 235, 246, 0.26) !important;
  border-radius: 18px !important;
  box-shadow:
    0 16px 32px rgba(22, 77, 98, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(3px) saturate(116%);
  -webkit-backdrop-filter: blur(3px) saturate(116%);
}
 
.mw-body-content p,
.mw-parser-output li {
  line-height: 1.88 !important;
  color: var(--jzy-ink) !important;
  text-shadow: 0 1px 3px rgba(21, 49, 64, 0.62);
}
 
.mw-body-content b,
.mw-body-content strong {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(21, 49, 64, 0.68);
}
 
/* ===== 顶部与侧边栏 ===== */
#mw-head,
#mw-header,
#mw-navigation,
#p-personal,
.mw-header,
.vector-header-container,
.vector-sticky-header,
.citizen-header,
#citizen-header,
.citizen-sticky-header,
.citizen-page-header,
.citizen-header__inner,
.citizen-header__start,
.citizen-header__end {
  background:
    linear-gradient(180deg, rgba(107, 193, 240, 0.92), rgba(57, 166, 229, 0.86)) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(250, 229, 189, 0.38) !important;
  box-shadow: 0 8px 20px rgba(22, 77, 98, 0.18) !important;
  backdrop-filter: blur(5px) saturate(115%);
  -webkit-backdrop-filter: blur(5px) saturate(115%);
}
 
#mw-head a,
#mw-header a,
#mw-navigation a,
#p-personal a,
.mw-header a,
.vector-header-container a,
.vector-sticky-header a,
.citizen-header a,
#citizen-header a,
.citizen-sticky-header a,
.citizen-page-header a {
  color: #ffffff !important;
}
 
#mw-head button,
#mw-header button,
#mw-navigation button,
.mw-header button,
.vector-header-container button,
.vector-sticky-header button,
.citizen-header button,
#citizen-header button,
.citizen-sticky-header button,
.citizen-page-header button {
  color: #ffffff !important;
}
 
.citizen-header .oo-ui-iconElement-icon,
#citizen-header .oo-ui-iconElement-icon,
.mw-header .oo-ui-iconElement-icon,
.vector-header-container .oo-ui-iconElement-icon {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.20));
}
 
#mw-panel {
  background: rgba(14, 84, 112, 0.24) !important;
  color: var(--jzy-muted) !important;
  border-right: 1px solid rgba(178, 235, 246, 0.16);
}
 
#mw-panel .portal,
#mw-panel nav {
  background: rgba(9, 68, 94, 0.24);
  border: 1px solid rgba(178, 235, 246, 0.16);
  border-radius: 12px;
  margin: 8px 8px 12px;
  padding: 8px 10px;
}
 
/* ===== 标题层级 ===== */
h1,
.firstHeading {
  color: #ffffff !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-shadow:
    0 3px 12px rgba(13, 54, 70, 0.78),
    0 0 22px rgba(107, 193, 240, 0.24) !important;
}
 
h2 {
  color: #d9fbff !important;
  font-weight: 850 !important;
  font-size: 1.65em !important;
  border-bottom: none !important;
  padding-bottom: 6px !important;
  margin-top: 1.45em !important;
  text-shadow:
    0 2px 7px rgba(13, 54, 70, 0.72),
    0 0 14px rgba(107, 193, 240, 0.24) !important;
}
 
h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jzy-sky), var(--jzy-teal), var(--jzy-sand));
  box-shadow: 0 0 14px rgba(107, 193, 240, 0.32);
}
 
h3 {
  color: #d6ffe7 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 6px rgba(13, 54, 70, 0.66) !important;
}
 
h4 {
  color: #e9fbff !important;
  font-weight: 750 !important;
  text-shadow: 0 1px 4px rgba(13, 54, 70, 0.58) !important;
}
 
/* ===== 链接 ===== */
.mw-body-content a:link,
.mw-parser-output a:link {
  color: #d8fbff !important;
  text-shadow: 0 1px 3px rgba(13, 54, 70, 0.55);
}
 
.mw-body-content a:visited,
.mw-parser-output a:visited {
  color: #bfeff9 !important;
}
 
.mw-body-content a:hover,
.mw-parser-output a:hover {
  color: var(--jzy-sand) !important;
  text-decoration: none !important;
  text-shadow: 0 0 11px rgba(250, 229, 189, 0.52);
}
 
#mw-panel a:link,
#mw-panel a:visited {
  color: #d5eef5 !important;
}
 
#mw-panel a:hover {
  color: var(--jzy-sand) !important;
}
 
/* ===== 目录 ===== */
.toc {
  background: rgba(10, 63, 85, 0.38) !important;
  border: 1px solid rgba(178, 235, 246, 0.28) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  color: var(--jzy-ink) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 22px rgba(21, 72, 96, 0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
 
.toc h2 {
  color: #e6fbff !important;
  font-weight: 800 !important;
}
 
.toclevel-1 > .toclink::before {
  content: "▸ ";
  color: var(--jzy-sand);
}
 
/* ===== 表格与代码块 ===== */
.wikitable {
  background: rgba(10, 63, 85, 0.30) !important;
  color: var(--jzy-ink) !important;
  border: 1px solid rgba(178, 235, 246, 0.22) !important;
  border-radius: 12px;
  overflow: hidden;
}
 
.wikitable > tr > th,
.wikitable > * > tr > th {
  background: rgba(15, 101, 132, 0.54) !important;
  color: #ffffff !important;
}
 
.wikitable > tr > td,
.wikitable > * > tr > td {
  border-color: rgba(178, 235, 246, 0.16) !important;
}
 
pre,
code {
  background: rgba(9, 45, 62, 0.58) !important;
  color: #ebfbff !important;
  border: 1px solid rgba(178, 235, 246, 0.25) !important;
  border-radius: 8px;
}
 
/* ===== 通用玻璃卡片 ===== */
.feature-card,
.hot-card,
.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 22px rgba(21, 72, 96, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
 
.feature-card::before,
.hot-card::before,
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 48%);
  pointer-events: none;
}
 
.feature-card {
  padding: 18px 14px;
  border-radius: 14px;
  text-align: center;
  font-weight: bold;
  border-bottom: 3px solid;
}
 
.hot-card {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  border-bottom: 3px solid;
}
 
.stat-card {
  padding: 20px 16px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  border-bottom: 3px solid;
}
 
.feature-card-blue,
.hot-card-cyan,
.stat-card-blue {
  background: rgba(57, 166, 229, 0.34);
  color: #effcff;
  border-bottom-color: var(--jzy-sky);
}
 
.feature-card-green,
.hot-card-green,
.stat-card-green {
  background: rgba(90, 184, 120, 0.34);
  color: #eefff4;
  border-bottom-color: #76d79a;
}
 
.feature-card-orange,
.hot-card-orange {
  background: rgba(250, 229, 189, 0.26);
  color: #fff5da;
  border-bottom-color: var(--jzy-sand);
}
 
.feature-card-red,
.hot-card-red {
  background: rgba(232, 111, 158, 0.30);
  color: #ffe6f0;
  border-bottom-color: var(--jzy-rose);
}
 
.divider {
  border: 0;
  height: 3px;
  margin: 24px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jzy-sky), var(--jzy-teal), var(--jzy-sand));
  opacity: 0.96;
}
 
/* ===== 游戏资讯模块:官网海岛色系 ===== */
.jzy-game-info {
  background:
    radial-gradient(circle at 12% 8%, rgba(250, 229, 189, 0.18), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(107, 193, 240, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(11, 63, 85, 0.46), rgba(57, 166, 229, 0.24) 46%, rgba(90, 184, 120, 0.26)) !important;
  border: 1px solid rgba(178, 235, 246, 0.30) !important;
  border-radius: 18px !important;
  box-shadow:
    0 12px 26px rgba(21, 72, 96, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(3px) saturate(116%);
  -webkit-backdrop-filter: blur(3px) saturate(116%);
}
 
.jzy-tabs {
  background: rgba(9, 66, 91, 0.38) !important;
  border: 1px solid rgba(178, 235, 246, 0.28) !important;
}
 
.jzy-tab {
  color: #d8f6ff !important;
}
 
.jzy-tab:hover {
  color: var(--jzy-sand) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
 
.jzy-tab.is-active {
  background: linear-gradient(180deg, rgba(107, 193, 240, 0.30), rgba(250, 229, 189, 0.16)) !important;
  color: #ffffff !important;
  box-shadow: inset 0 -3px 0 var(--jzy-sand) !important;
}
 
.jzy-heading {
  background: rgba(9, 45, 62, 0.30) !important;
  border-color: rgba(178, 235, 246, 0.28) !important;
  color: #ffffff !important;
}
 
.jzy-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(10, 63, 85, 0.36)) !important;
  border: 1px solid rgba(178, 235, 246, 0.24) !important;
  box-shadow:
    0 7px 0 rgba(9, 66, 91, 0.46),
    0 12px 20px rgba(21, 72, 96, 0.18) !important;
}
 
.jzy-card:hover {
  background:
    linear-gradient(145deg, rgba(250, 229, 189, 0.18), rgba(57, 166, 229, 0.24)) !important;
  border-color: rgba(250, 229, 189, 0.64) !important;
  color: var(--jzy-sand) !important;
}
 
.jzy-fallback {
  background: linear-gradient(145deg, var(--jzy-sky), var(--jzy-teal)) !important;
  color: #073647 !important;
}
 
/* ===== 页脚:对齐官网深棕色 #534646 ===== */
#footer,
.mw-footer,
.mw-page-container-footer,
.page-footer,
footer,
.citizen-footer,
#citizen-footer,
.citizen-footer__container,
.citizen-footer__content,
.citizen-footer__siteinfo,
.citizen-footer__places,
.citizen-footer__bottom {
  background: #534646 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.46);
  border-top: 1px solid rgba(250, 229, 189, 0.32) !important;
  box-shadow: 0 -10px 24px rgba(83, 70, 70, 0.22) !important;
}
 
#footer *,
.mw-footer *,
.mw-page-container-footer *,
.page-footer *,
footer *,
.citizen-footer *,
#citizen-footer * {
  color: #ffffff !important;
}
 
#footer a,
.mw-footer a,
.mw-page-container-footer a,
.page-footer a,
footer a,
.citizen-footer a,
#citizen-footer a {
  color: #ffffff !important;
  text-decoration-color: rgba(250, 229, 189, 0.62) !important;
}
 
#footer a:hover,
.mw-footer a:hover,
.mw-page-container-footer a:hover,
.page-footer a:hover,
footer a:hover,
.citizen-footer a:hover,
#citizen-footer a:hover {
  color: var(--jzy-sand) !important;
}
 
/* ===== 移动端适配 ===== */
@media (max-width: 560px) {
  .mw-body {
    background: rgba(13, 81, 105, 0.34) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(3px) saturate(112%);
    -webkit-backdrop-filter: blur(3px) saturate(112%);
  }


.mcjzy-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); gap: 42px; align-items: center; margin: 22px 0 54px; padding: 52px 56px; background: #e5f0ed; border: 1px solid #c5ddd4; border-radius: 6px; }
  h2 {
.mcjzy-eyebrow, .mcjzy-kicker { color: #52756b; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    font-size: 1.35em !important;
.mcjzy-hero__title { margin-top: 12px; color: #123d35; font-size: 2.75rem; font-weight: 750; line-height: 1.12; }
  }
.mcjzy-hero__text { max-width: 640px; margin-top: 16px; color: #43544f; font-size: 1.05rem; line-height: 1.75; }
.mcjzy-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mcjzy-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 15px; color: #184d42; font-weight: 650; border: 1px solid #78a99a; border-radius: 4px; background: #f7fbf9; transition: background .16s ease, border-color .16s ease; }
.mcjzy-button:hover { color: #10392f; border-color: #347665; background: #edf6f2; }
.mcjzy-button--primary { color: #fff; border-color: #176b58; background: #176b58; }
.mcjzy-button--primary:hover { color: #fff; background: #105545; }
.mcjzy-button--dark { color: #fff; border-color: #213d36; background: #213d36; white-space: nowrap; }
.mcjzy-button--dark:hover { color: #fff; background: #122a24; }
.mcjzy-hero__panel { padding: 22px; background: #fff; border: 1px solid #b7d4ca; border-radius: 4px; box-shadow: 0 2px 7px rgb(18 61 53 / 8%); }
.mcjzy-panel__label { margin-bottom: 14px; color: #31584e; font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.mcjzy-panel__row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; color: #66756f; font-size: .9rem; border-top: 1px solid #e2ece8; }
.mcjzy-panel__row code, .mcjzy-panel__row strong { color: #25473e; font-family: inherit; font-weight: 650; text-align: right; }
.mcjzy-status::before { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #c69122; content: ""; }
.mcjzy-panel__foot { margin-top: 13px; color: #81908b; font-size: .8rem; }


.mcjzy-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 20px; }
  h2::after {
.mcjzy-section-heading h2, .mcjzy-aside h2, .mcjzy-footer-callout h2 { margin: 5px 0 0; color: #163a32; font-size: 1.5rem; line-height: 1.3; }
    height: 2px;
.mcjzy-section-heading > a, .mcjzy-aside__head > a { color: #176b58; font-size: .9rem; font-weight: 650; white-space: nowrap; }
    margin-top: 6px;
.mcjzy-grid { display: grid; gap: 14px; }
  }
.mcjzy-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 58px; }
}
.mcjzy-card { height: 100%; min-height: 220px; padding: 22px; border: 1px solid #d6e1dc; border-radius: 5px; background: #fff; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.mcjzy-card:hover { border-color: #78a99a; box-shadow: 0 5px 15px rgb(30 68 57 / 10%); transform: translateY(-2px); }
.mcjzy-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 28px; color: #176b58; font-size: .8rem; font-weight: 800; border-bottom: 2px solid #56a18b; }
.mcjzy-card__title { margin-top: 22px; color: #183b33; font-size: 1.08rem; font-weight: 750; }
.mcjzy-card__text { margin-top: 9px; color: #61716c; font-size: .9rem; line-height: 1.65; }
.mcjzy-card__link { margin-top: 16px; color: #176b58; font-size: .88rem; font-weight: 700; }
.mcjzy-card__link::after { padding-left: 6px; content: ">"; }


.mcjzy-content-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .82fr); gap: 52px; margin-bottom: 58px; }
/* ===== 首页专用修复:Citizen 悬浮操作栏 =====
.mcjzy-system-list { border-top: 1px solid #d8e3de; }
  Citizen 会把此容器放在 .citizen-page-container 之后,并以悬浮方式显示。
.mcjzy-system { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 16px 0; color: #687974; font-size: .9rem; line-height: 1.5; border-bottom: 1px solid #d8e3de; transition: padding .16s ease, color .16s ease; }
  在首页隐藏它,避免“查看历史 / 编辑 / 讨论”横栏切断海岛背景。
.mcjzy-system:hover { padding-left: 8px; color: #335d52; }
*/
.mcjzy-system__mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: #176b58; font-size: .78rem; font-weight: 800; border: 1px solid #9fc5b7; border-radius: 50%; background: #edf7f3; }
body.page-首页 .citizen-sticky-header-container {
.mcjzy-system__title { color: #1e4339; font-size: 1rem; font-weight: 750; }
  display: none !important;
.mcjzy-system__arrow { color: #39816d; font-size: 1.15rem; }
}
.mcjzy-aside { padding: 25px; border: 1px solid #d1dfd9; border-radius: 5px; background: #f7faf8; }
.mcjzy-aside__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #d5e1dc; }
.mcjzy-news { padding: 18px 0; border-bottom: 1px solid #d5e1dc; }
.mcjzy-news:last-child { padding-bottom: 0; border-bottom: 0; }
.mcjzy-news__date { margin-bottom: 6px; color: #6b877c; font-size: .78rem; font-weight: 750; }
.mcjzy-news__title { color: #21493e; font-weight: 750; line-height: 1.45; }
.mcjzy-news__text { margin-top: 7px; color: #697873; font-size: .88rem; line-height: 1.6; }


.mcjzy-footer-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 0 0 32px; padding: 34px 38px; border-radius: 5px; color: #dce9e4; background: #23493f; }
/* Citizen 皮肤会因版本和设置把操作栏渲染为不同节点。
.mcjzy-footer-callout .mcjzy-kicker { color: #9dc6b7; }
  这些节点只在首页隐藏,避免中间的历史/编辑/讨论栏遮挡背景。 */
.mcjzy-footer-callout h2 { color: #fff; font-size: 1.35rem; }
body.page-首页 .citizen-page-header,
.mcjzy-footer-callout p { max-width: 720px; margin: 9px 0 0; color: #c6d8d1; font-size: .92rem; line-height: 1.65; }
body.page-首页 .citizen-page-tools,
body.page-首页 .citizen-page-actions,
body.page-首页 #citizen-page-tools,
body.page-首页 #citizen-page-actions,
body.page-首页 #citizen-page-options,
body.page-首页 #p-cactions,
body.page-首页 .mw-portlet-cactions,
body.page-首页 .vector-page-toolbar {
  display: none !important;
}


@media screen and (max-width: 1000px) {
/* 首页不显示 MediaWiki 自动附加的最后修改时间与版权说明。
  .mcjzy-hero { grid-template-columns: 1fr; gap: 30px; padding: 38px; }
  Citizen 自己的深棕色网站页脚仍会保留。 */
  .mcjzy-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.page-首页 #footer-info,
  .mcjzy-content-grid { grid-template-columns: 1fr; gap: 32px; }
body.page-首页 #footer-info-lastmod,
body.page-首页 #footer-info-copyright {
  display: none !important;
}
}
@media screen and (max-width: 640px) {
 
   .mcjzy-hero { margin-top: 10px; margin-bottom: 38px; padding: 28px 22px; }
/* Citizen 的页面信息容器。仅移除自动生成的页面元数据,不影响站点页脚。 */
  .mcjzy-hero__title { font-size: 2rem; }
body.page-首页 #mw-data-after-content,
   .mcjzy-grid--four { grid-template-columns: 1fr; margin-bottom: 40px; }
body.page-首页 .mw-footer-info,
   .mcjzy-card { min-height: 0; }
body.page-首页 .citizen-page-footer__info,
   .mcjzy-content-grid { margin-bottom: 40px; }
body.page-首页 .citizen-page-footer .mw-footer-info {
   .mcjzy-footer-callout { display: block; padding: 28px 23px; }
  display: none !important;
   .mcjzy-footer-callout .mcjzy-button { margin-top: 20px; }
}
 
/* ===== 官网式页脚布局 ===== */
#citizen-footer,
.citizen-footer,
#footer,
.mw-footer {
  background: var(--jzy-footer) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}
 
/* 首页生成新版页脚后,隐藏 Citizen 的旧布局,避免内容重复。 */
#citizen-footer.jzy-footer-ready > :not(#jzy-official-footer),
.citizen-footer.jzy-footer-ready > :not(#jzy-official-footer),
#footer.jzy-footer-ready > :not(#jzy-official-footer),
.mw-footer.jzy-footer-ready > :not(#jzy-official-footer) {
  display: none !important;
}
 
#jzy-official-footer {
  width: min(100% - 64px, 1760px);
  margin: 0 auto;
  padding: 48px 0 30px;
  color: #ffffff !important;
  box-sizing: border-box;
}
 
#jzy-official-footer * {
  box-sizing: border-box;
}
 
.jzy-official-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 118px;
}
 
.jzy-official-footer-brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  color: #ffffff !important;
  text-decoration: none !important;
}
 
.jzy-official-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.24));
}
 
.jzy-official-footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}
 
.jzy-footer-social {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(58, 46, 46, 0.30);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
 
a.jzy-footer-social:hover,
a.jzy-footer-social:focus-visible {
  transform: translateY(-2px);
  background: rgba(250, 229, 189, 0.16);
  border-color: rgba(250, 229, 189, 0.42);
}
 
.jzy-footer-social img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
 
.jzy-official-footer-rule {
  height: 1px;
  margin: 34px 0 26px;
  background: rgba(255, 255, 255, 0.13);
}
 
.jzy-official-footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
 
.jzy-official-footer-copy {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 15px;
  line-height: 1.8;
}
 
.jzy-official-footer-copy strong {
  color: var(--jzy-sand) !important;
}
 
.jzy-official-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 22px;
}
 
.jzy-official-footer-links a {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
 
.jzy-official-footer-links a:hover,
.jzy-official-footer-links a:focus-visible {
  color: var(--jzy-sand) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
 
@media (max-width: 720px) {
  #jzy-official-footer {
    width: min(100% - 36px, 1760px);
    padding: 34px 0 26px;
  }
 
  .jzy-official-footer-top,
  .jzy-official-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
 
  .jzy-official-footer-brand {
    width: 176px;
  }
 
  .jzy-official-footer-socials,
  .jzy-official-footer-links {
    justify-content: flex-start;
    gap: 10px 16px;
  }
 
   .jzy-footer-social {
    width: 48px;
    height: 48px;
  }
}
 
/* ===== 背景清晰化:保留透明层,取消背景模糊 ===== */
body {
  background:
    url("https://wiki.mcjzy.net/images/f/fb/%E6%97%A0logo%E8%83%8C%E6%99%AF.png") no-repeat fixed center center / cover,
    var(--jzy-sky) !important;
}
 
.mw-body,
.toc,
.feature-card,
.hot-card,
.stat-card,
.jzy-game-info,
#jzy-game-info,
.jzy-side-toc {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
 
/* ===== 页脚统一:清除 Citizen 外层留白与分层背景 ===== */
#mw-data-after-content,
.mw-page-container-footer,
.citizen-page-footer,
#footer,
.mw-footer,
#citizen-footer,
.citizen-footer {
  margin: 0 !important;
  border: 0 !important;
}
 
#mw-data-after-content {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
 
#citizen-footer.jzy-footer-ready,
.citizen-footer.jzy-footer-ready,
#footer.jzy-footer-ready,
.mw-footer.jzy-footer-ready {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: var(--jzy-footer) !important;
}
 
#jzy-official-footer {
  padding-top: 28px !important;
  padding-bottom: 30px !important;
}
 
.jzy-official-footer-top {
  min-height: 96px !important;
}
/* ===== 恢复官网原本的纯深棕页脚 =====
  放在 MediaWiki:Common.css 最底部,覆盖之前的页脚渐变规则。 */
 
.mw-page-container-footer,
.citizen-page-footer,
#citizen-footer.jzy-footer-ready,
.citizen-footer.jzy-footer-ready,
#footer.jzy-footer-ready,
.mw-footer.jzy-footer-ready {
  background: #534646 !important;
}
 
/* ===== 首页页脚最终修复:移除旧空容器造成的横向分割带 =====
  新版页脚 #jzy-official-footer 保留在它所在的真实页脚容器中。
  其余不含新版页脚的 Citizen/MediaWiki 旧页脚容器完全收起。 */
body:has(#jzy-official-footer) #mw-data-after-content,
body:has(#jzy-official-footer) .citizen-page-footer__info,
body:has(#jzy-official-footer) .citizen-page-footer .mw-footer-info,
body:has(#jzy-official-footer) .mw-footer-info,
body:has(#jzy-official-footer) #footer-info,
body:has(#jzy-official-footer) #footer-info-lastmod,
body:has(#jzy-official-footer) #footer-info-copyright {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
 
body:has(#jzy-official-footer) .mw-page-container-footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) .citizen-page-footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) #footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) .mw-footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) #citizen-footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) .citizen-footer:not(:has(#jzy-official-footer)) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
 
/* 真正承载新版页脚的容器保持官网原本的纯深棕色,不使用渐变。 */
body:has(#jzy-official-footer) .mw-page-container-footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) .citizen-page-footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) #footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) .mw-footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) #citizen-footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) .citizen-footer:has(#jzy-official-footer) {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #534646 !important;
  box-shadow: none !important;
}
 
/* ===== 官网式页脚微调:移除白线并压缩留白 ===== */
#jzy-official-footer {
  width: min(calc(100% - 76px), 1760px) !important;
  padding: 34px 0 30px !important;
}
 
.jzy-official-footer-top {
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center !important;
  min-height: 0 !important;
  gap: 32px !important;
}
 
.jzy-official-footer-brand {
  width: 210px !important;
}
 
.jzy-official-footer-brand img {
  max-height: 122px !important;
}
 
.jzy-official-footer-socials {
  gap: 12px !important;
}
 
.jzy-footer-social {
  width: 54px !important;
  height: 54px !important;
}
 
/* 删除页脚内部的白色横线。 */
.jzy-official-footer-rule {
  display: none !important;
}
 
.jzy-official-footer-bottom {
  align-items: flex-end !important;
  margin-top: 28px !important;
  padding-top: 22px !important;
  border-top: 0 !important;
}
 
.jzy-official-footer-copy {
  max-width: 900px !important;
  font-size: 16px !important;
  line-height: 1.78 !important;
}
 
.jzy-official-footer-links {
  gap: 18px !important;
}
 
@media (max-width: 720px) {
  #jzy-official-footer {
    width: min(calc(100% - 36px), 1760px) !important;
    padding: 28px 0 24px !important;
  }
 
   .jzy-official-footer-top {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
 
  .jzy-official-footer-bottom {
    margin-top: 22px !important;
    padding-top: 0 !important;
  }
}
 
/* ===== 页脚排版精修:两行清晰布局 ===== */
#jzy-official-footer {
  width: min(calc(100% - 92px), 1760px) !important;
  padding: 32px 0 26px !important;
}
 
.jzy-official-footer-top {
  grid-template-columns: minmax(180px, 1fr) auto !important;
  gap: 40px !important;
}
 
.jzy-official-footer-brand {
   width: 190px !important;
}
 
.jzy-official-footer-brand img {
  max-height: 108px !important;
}
 
.jzy-official-footer-socials {
  gap: 14px !important;
}
 
.jzy-footer-social {
  width: 52px !important;
  height: 52px !important;
  padding: 9px !important;
  border-radius: 10px !important;
}
 
.jzy-footer-social img {
  width: 32px !important;
   height: 32px !important;
}
 
.jzy-official-footer-bottom {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end !important;
  gap: 36px !important;
  margin-top: 20px !important;
  padding-top: 0 !important;
}
 
.jzy-official-footer-copy {
  max-width: 1120px !important;
  font-size: 15px !important;
   line-height: 1.72 !important;
}
 
.jzy-official-footer-links {
  align-self: end;
  gap: 20px !important;
  padding-bottom: 2px;
}
 
@media (max-width: 720px) {
  #jzy-official-footer {
    width: min(calc(100% - 40px), 1760px) !important;
    padding: 28px 0 24px !important;
  }
 
   .jzy-official-footer-top,
  .jzy-official-footer-bottom {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
 
  .jzy-official-footer-socials,
  .jzy-official-footer-links {
    justify-content: flex-start !important;
  }
 
  .jzy-official-footer-links {
    align-self: start;
    padding-bottom: 0;
  }
}
}

2026年7月27日 (一) 10:49的最新版本

/* ===== 江中缘 Wiki 全局主题:官网海岛配色版 ===== */
:root {
  /* 官网截图取色 */
  --jzy-sky: #6bc1f0;
  --jzy-sea: #39a6e5;
  --jzy-sand: #fae5bd;
  --jzy-footer: #534646;

  /* Wiki 主题延展色 */
  --jzy-deep: #0b3f55;
  --jzy-deep-2: #11384a;
  --jzy-teal: #28c7c9;
  --jzy-green: #5ab878;
  --jzy-gold: #f4cf78;
  --jzy-rose: #e86f9e;
  --jzy-ink: #f3fbff;
  --jzy-muted: #d5edf5;
  --jzy-border: rgba(178, 235, 246, 0.30);
  --jzy-glass: rgba(14, 71, 92, 0.34);
  --jzy-glass-strong: rgba(10, 55, 74, 0.50);
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  color: var(--jzy-ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(250, 229, 189, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(107, 193, 240, 0.22), rgba(57, 166, 229, 0.18) 42%, rgba(250, 229, 189, 0.08)),
    url("https://wiki.mcjzy.net/images/thumb/f/fb/%E6%97%A0logo%E8%83%8C%E6%99%AF.png/180px-%E6%97%A0logo%E8%83%8C%E6%99%AF.png") no-repeat fixed center center / cover,
    var(--jzy-sky);
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

/* ===== MediaWiki 默认区域:透明化,避免切割背景 ===== */
#mw-page-base,
.mw-body-content,
.mw-parser-output {
  background: transparent !important;
}

.mw-body {
  background:
    linear-gradient(135deg, rgba(13, 81, 105, 0.28), rgba(11, 63, 85, 0.20)) !important;
  color: var(--jzy-ink) !important;
  border: 1px solid rgba(178, 235, 246, 0.26) !important;
  border-radius: 18px !important;
  box-shadow:
    0 16px 32px rgba(22, 77, 98, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(3px) saturate(116%);
  -webkit-backdrop-filter: blur(3px) saturate(116%);
}

.mw-body-content p,
.mw-parser-output li {
  line-height: 1.88 !important;
  color: var(--jzy-ink) !important;
  text-shadow: 0 1px 3px rgba(21, 49, 64, 0.62);
}

.mw-body-content b,
.mw-body-content strong {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(21, 49, 64, 0.68);
}

/* ===== 顶部与侧边栏 ===== */
#mw-head,
#mw-header,
#mw-navigation,
#p-personal,
.mw-header,
.vector-header-container,
.vector-sticky-header,
.citizen-header,
#citizen-header,
.citizen-sticky-header,
.citizen-page-header,
.citizen-header__inner,
.citizen-header__start,
.citizen-header__end {
  background:
    linear-gradient(180deg, rgba(107, 193, 240, 0.92), rgba(57, 166, 229, 0.86)) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(250, 229, 189, 0.38) !important;
  box-shadow: 0 8px 20px rgba(22, 77, 98, 0.18) !important;
  backdrop-filter: blur(5px) saturate(115%);
  -webkit-backdrop-filter: blur(5px) saturate(115%);
}

#mw-head a,
#mw-header a,
#mw-navigation a,
#p-personal a,
.mw-header a,
.vector-header-container a,
.vector-sticky-header a,
.citizen-header a,
#citizen-header a,
.citizen-sticky-header a,
.citizen-page-header a {
  color: #ffffff !important;
}

#mw-head button,
#mw-header button,
#mw-navigation button,
.mw-header button,
.vector-header-container button,
.vector-sticky-header button,
.citizen-header button,
#citizen-header button,
.citizen-sticky-header button,
.citizen-page-header button {
  color: #ffffff !important;
}

.citizen-header .oo-ui-iconElement-icon,
#citizen-header .oo-ui-iconElement-icon,
.mw-header .oo-ui-iconElement-icon,
.vector-header-container .oo-ui-iconElement-icon {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.20));
}

#mw-panel {
  background: rgba(14, 84, 112, 0.24) !important;
  color: var(--jzy-muted) !important;
  border-right: 1px solid rgba(178, 235, 246, 0.16);
}

#mw-panel .portal,
#mw-panel nav {
  background: rgba(9, 68, 94, 0.24);
  border: 1px solid rgba(178, 235, 246, 0.16);
  border-radius: 12px;
  margin: 8px 8px 12px;
  padding: 8px 10px;
}

/* ===== 标题层级 ===== */
h1,
.firstHeading {
  color: #ffffff !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-shadow:
    0 3px 12px rgba(13, 54, 70, 0.78),
    0 0 22px rgba(107, 193, 240, 0.24) !important;
}

h2 {
  color: #d9fbff !important;
  font-weight: 850 !important;
  font-size: 1.65em !important;
  border-bottom: none !important;
  padding-bottom: 6px !important;
  margin-top: 1.45em !important;
  text-shadow:
    0 2px 7px rgba(13, 54, 70, 0.72),
    0 0 14px rgba(107, 193, 240, 0.24) !important;
}

h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jzy-sky), var(--jzy-teal), var(--jzy-sand));
  box-shadow: 0 0 14px rgba(107, 193, 240, 0.32);
}

h3 {
  color: #d6ffe7 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 6px rgba(13, 54, 70, 0.66) !important;
}

h4 {
  color: #e9fbff !important;
  font-weight: 750 !important;
  text-shadow: 0 1px 4px rgba(13, 54, 70, 0.58) !important;
}

/* ===== 链接 ===== */
.mw-body-content a:link,
.mw-parser-output a:link {
  color: #d8fbff !important;
  text-shadow: 0 1px 3px rgba(13, 54, 70, 0.55);
}

.mw-body-content a:visited,
.mw-parser-output a:visited {
  color: #bfeff9 !important;
}

.mw-body-content a:hover,
.mw-parser-output a:hover {
  color: var(--jzy-sand) !important;
  text-decoration: none !important;
  text-shadow: 0 0 11px rgba(250, 229, 189, 0.52);
}

#mw-panel a:link,
#mw-panel a:visited {
  color: #d5eef5 !important;
}

#mw-panel a:hover {
  color: var(--jzy-sand) !important;
}

/* ===== 目录 ===== */
.toc {
  background: rgba(10, 63, 85, 0.38) !important;
  border: 1px solid rgba(178, 235, 246, 0.28) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  color: var(--jzy-ink) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 22px rgba(21, 72, 96, 0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.toc h2 {
  color: #e6fbff !important;
  font-weight: 800 !important;
}

.toclevel-1 > .toclink::before {
  content: "▸ ";
  color: var(--jzy-sand);
}

/* ===== 表格与代码块 ===== */
.wikitable {
  background: rgba(10, 63, 85, 0.30) !important;
  color: var(--jzy-ink) !important;
  border: 1px solid rgba(178, 235, 246, 0.22) !important;
  border-radius: 12px;
  overflow: hidden;
}

.wikitable > tr > th,
.wikitable > * > tr > th {
  background: rgba(15, 101, 132, 0.54) !important;
  color: #ffffff !important;
}

.wikitable > tr > td,
.wikitable > * > tr > td {
  border-color: rgba(178, 235, 246, 0.16) !important;
}

pre,
code {
  background: rgba(9, 45, 62, 0.58) !important;
  color: #ebfbff !important;
  border: 1px solid rgba(178, 235, 246, 0.25) !important;
  border-radius: 8px;
}

/* ===== 通用玻璃卡片 ===== */
.feature-card,
.hot-card,
.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 22px rgba(21, 72, 96, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.feature-card::before,
.hot-card::before,
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 48%);
  pointer-events: none;
}

.feature-card {
  padding: 18px 14px;
  border-radius: 14px;
  text-align: center;
  font-weight: bold;
  border-bottom: 3px solid;
}

.hot-card {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  border-bottom: 3px solid;
}

.stat-card {
  padding: 20px 16px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  border-bottom: 3px solid;
}

.feature-card-blue,
.hot-card-cyan,
.stat-card-blue {
  background: rgba(57, 166, 229, 0.34);
  color: #effcff;
  border-bottom-color: var(--jzy-sky);
}

.feature-card-green,
.hot-card-green,
.stat-card-green {
  background: rgba(90, 184, 120, 0.34);
  color: #eefff4;
  border-bottom-color: #76d79a;
}

.feature-card-orange,
.hot-card-orange {
  background: rgba(250, 229, 189, 0.26);
  color: #fff5da;
  border-bottom-color: var(--jzy-sand);
}

.feature-card-red,
.hot-card-red {
  background: rgba(232, 111, 158, 0.30);
  color: #ffe6f0;
  border-bottom-color: var(--jzy-rose);
}

.divider {
  border: 0;
  height: 3px;
  margin: 24px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jzy-sky), var(--jzy-teal), var(--jzy-sand));
  opacity: 0.96;
}

/* ===== 游戏资讯模块:官网海岛色系 ===== */
.jzy-game-info {
  background:
    radial-gradient(circle at 12% 8%, rgba(250, 229, 189, 0.18), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(107, 193, 240, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(11, 63, 85, 0.46), rgba(57, 166, 229, 0.24) 46%, rgba(90, 184, 120, 0.26)) !important;
  border: 1px solid rgba(178, 235, 246, 0.30) !important;
  border-radius: 18px !important;
  box-shadow:
    0 12px 26px rgba(21, 72, 96, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(3px) saturate(116%);
  -webkit-backdrop-filter: blur(3px) saturate(116%);
}

.jzy-tabs {
  background: rgba(9, 66, 91, 0.38) !important;
  border: 1px solid rgba(178, 235, 246, 0.28) !important;
}

.jzy-tab {
  color: #d8f6ff !important;
}

.jzy-tab:hover {
  color: var(--jzy-sand) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.jzy-tab.is-active {
  background: linear-gradient(180deg, rgba(107, 193, 240, 0.30), rgba(250, 229, 189, 0.16)) !important;
  color: #ffffff !important;
  box-shadow: inset 0 -3px 0 var(--jzy-sand) !important;
}

.jzy-heading {
  background: rgba(9, 45, 62, 0.30) !important;
  border-color: rgba(178, 235, 246, 0.28) !important;
  color: #ffffff !important;
}

.jzy-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(10, 63, 85, 0.36)) !important;
  border: 1px solid rgba(178, 235, 246, 0.24) !important;
  box-shadow:
    0 7px 0 rgba(9, 66, 91, 0.46),
    0 12px 20px rgba(21, 72, 96, 0.18) !important;
}

.jzy-card:hover {
  background:
    linear-gradient(145deg, rgba(250, 229, 189, 0.18), rgba(57, 166, 229, 0.24)) !important;
  border-color: rgba(250, 229, 189, 0.64) !important;
  color: var(--jzy-sand) !important;
}

.jzy-fallback {
  background: linear-gradient(145deg, var(--jzy-sky), var(--jzy-teal)) !important;
  color: #073647 !important;
}

/* ===== 页脚:对齐官网深棕色 #534646 ===== */
#footer,
.mw-footer,
.mw-page-container-footer,
.page-footer,
footer,
.citizen-footer,
#citizen-footer,
.citizen-footer__container,
.citizen-footer__content,
.citizen-footer__siteinfo,
.citizen-footer__places,
.citizen-footer__bottom {
  background: #534646 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.46);
  border-top: 1px solid rgba(250, 229, 189, 0.32) !important;
  box-shadow: 0 -10px 24px rgba(83, 70, 70, 0.22) !important;
}

#footer *,
.mw-footer *,
.mw-page-container-footer *,
.page-footer *,
footer *,
.citizen-footer *,
#citizen-footer * {
  color: #ffffff !important;
}

#footer a,
.mw-footer a,
.mw-page-container-footer a,
.page-footer a,
footer a,
.citizen-footer a,
#citizen-footer a {
  color: #ffffff !important;
  text-decoration-color: rgba(250, 229, 189, 0.62) !important;
}

#footer a:hover,
.mw-footer a:hover,
.mw-page-container-footer a:hover,
.page-footer a:hover,
footer a:hover,
.citizen-footer a:hover,
#citizen-footer a:hover {
  color: var(--jzy-sand) !important;
}

/* ===== 移动端适配 ===== */
@media (max-width: 560px) {
  .mw-body {
    background: rgba(13, 81, 105, 0.34) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(3px) saturate(112%);
    -webkit-backdrop-filter: blur(3px) saturate(112%);
  }

  h2 {
    font-size: 1.35em !important;
  }

  h2::after {
    height: 2px;
    margin-top: 6px;
  }
}

/* ===== 首页专用修复:Citizen 悬浮操作栏 =====
   Citizen 会把此容器放在 .citizen-page-container 之后,并以悬浮方式显示。
   在首页隐藏它,避免“查看历史 / 编辑 / 讨论”横栏切断海岛背景。
*/
body.page-首页 .citizen-sticky-header-container {
  display: none !important;
}

/* Citizen 皮肤会因版本和设置把操作栏渲染为不同节点。
   这些节点只在首页隐藏,避免中间的历史/编辑/讨论栏遮挡背景。 */
body.page-首页 .citizen-page-header,
body.page-首页 .citizen-page-tools,
body.page-首页 .citizen-page-actions,
body.page-首页 #citizen-page-tools,
body.page-首页 #citizen-page-actions,
body.page-首页 #citizen-page-options,
body.page-首页 #p-cactions,
body.page-首页 .mw-portlet-cactions,
body.page-首页 .vector-page-toolbar {
  display: none !important;
}

/* 首页不显示 MediaWiki 自动附加的最后修改时间与版权说明。
   Citizen 自己的深棕色网站页脚仍会保留。 */
body.page-首页 #footer-info,
body.page-首页 #footer-info-lastmod,
body.page-首页 #footer-info-copyright {
  display: none !important;
}

/* Citizen 的页面信息容器。仅移除自动生成的页面元数据,不影响站点页脚。 */
body.page-首页 #mw-data-after-content,
body.page-首页 .mw-footer-info,
body.page-首页 .citizen-page-footer__info,
body.page-首页 .citizen-page-footer .mw-footer-info {
  display: none !important;
}

/* ===== 官网式页脚布局 ===== */
#citizen-footer,
.citizen-footer,
#footer,
.mw-footer {
  background: var(--jzy-footer) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 首页生成新版页脚后,隐藏 Citizen 的旧布局,避免内容重复。 */
#citizen-footer.jzy-footer-ready > :not(#jzy-official-footer),
.citizen-footer.jzy-footer-ready > :not(#jzy-official-footer),
#footer.jzy-footer-ready > :not(#jzy-official-footer),
.mw-footer.jzy-footer-ready > :not(#jzy-official-footer) {
  display: none !important;
}

#jzy-official-footer {
  width: min(100% - 64px, 1760px);
  margin: 0 auto;
  padding: 48px 0 30px;
  color: #ffffff !important;
  box-sizing: border-box;
}

#jzy-official-footer * {
  box-sizing: border-box;
}

.jzy-official-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 118px;
}

.jzy-official-footer-brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  color: #ffffff !important;
  text-decoration: none !important;
}

.jzy-official-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.24));
}

.jzy-official-footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.jzy-footer-social {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(58, 46, 46, 0.30);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

a.jzy-footer-social:hover,
a.jzy-footer-social:focus-visible {
  transform: translateY(-2px);
  background: rgba(250, 229, 189, 0.16);
  border-color: rgba(250, 229, 189, 0.42);
}

.jzy-footer-social img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.jzy-official-footer-rule {
  height: 1px;
  margin: 34px 0 26px;
  background: rgba(255, 255, 255, 0.13);
}

.jzy-official-footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.jzy-official-footer-copy {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 15px;
  line-height: 1.8;
}

.jzy-official-footer-copy strong {
  color: var(--jzy-sand) !important;
}

.jzy-official-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 22px;
}

.jzy-official-footer-links a {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.jzy-official-footer-links a:hover,
.jzy-official-footer-links a:focus-visible {
  color: var(--jzy-sand) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  #jzy-official-footer {
    width: min(100% - 36px, 1760px);
    padding: 34px 0 26px;
  }

  .jzy-official-footer-top,
  .jzy-official-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .jzy-official-footer-brand {
    width: 176px;
  }

  .jzy-official-footer-socials,
  .jzy-official-footer-links {
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .jzy-footer-social {
    width: 48px;
    height: 48px;
  }
}

/* ===== 背景清晰化:保留透明层,取消背景模糊 ===== */
body {
  background:
    url("https://wiki.mcjzy.net/images/f/fb/%E6%97%A0logo%E8%83%8C%E6%99%AF.png") no-repeat fixed center center / cover,
    var(--jzy-sky) !important;
}

.mw-body,
.toc,
.feature-card,
.hot-card,
.stat-card,
.jzy-game-info,
#jzy-game-info,
.jzy-side-toc {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ===== 页脚统一:清除 Citizen 外层留白与分层背景 ===== */
#mw-data-after-content,
.mw-page-container-footer,
.citizen-page-footer,
#footer,
.mw-footer,
#citizen-footer,
.citizen-footer {
  margin: 0 !important;
  border: 0 !important;
}

#mw-data-after-content {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#citizen-footer.jzy-footer-ready,
.citizen-footer.jzy-footer-ready,
#footer.jzy-footer-ready,
.mw-footer.jzy-footer-ready {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: var(--jzy-footer) !important;
}

#jzy-official-footer {
  padding-top: 28px !important;
  padding-bottom: 30px !important;
}

.jzy-official-footer-top {
  min-height: 96px !important;
}
/* ===== 恢复官网原本的纯深棕页脚 =====
   放在 MediaWiki:Common.css 最底部,覆盖之前的页脚渐变规则。 */

.mw-page-container-footer,
.citizen-page-footer,
#citizen-footer.jzy-footer-ready,
.citizen-footer.jzy-footer-ready,
#footer.jzy-footer-ready,
.mw-footer.jzy-footer-ready {
  background: #534646 !important;
}

/* ===== 首页页脚最终修复:移除旧空容器造成的横向分割带 =====
   新版页脚 #jzy-official-footer 保留在它所在的真实页脚容器中。
   其余不含新版页脚的 Citizen/MediaWiki 旧页脚容器完全收起。 */
body:has(#jzy-official-footer) #mw-data-after-content,
body:has(#jzy-official-footer) .citizen-page-footer__info,
body:has(#jzy-official-footer) .citizen-page-footer .mw-footer-info,
body:has(#jzy-official-footer) .mw-footer-info,
body:has(#jzy-official-footer) #footer-info,
body:has(#jzy-official-footer) #footer-info-lastmod,
body:has(#jzy-official-footer) #footer-info-copyright {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

body:has(#jzy-official-footer) .mw-page-container-footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) .citizen-page-footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) #footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) .mw-footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) #citizen-footer:not(:has(#jzy-official-footer)),
body:has(#jzy-official-footer) .citizen-footer:not(:has(#jzy-official-footer)) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* 真正承载新版页脚的容器保持官网原本的纯深棕色,不使用渐变。 */
body:has(#jzy-official-footer) .mw-page-container-footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) .citizen-page-footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) #footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) .mw-footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) #citizen-footer:has(#jzy-official-footer),
body:has(#jzy-official-footer) .citizen-footer:has(#jzy-official-footer) {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #534646 !important;
  box-shadow: none !important;
}

/* ===== 官网式页脚微调:移除白线并压缩留白 ===== */
#jzy-official-footer {
  width: min(calc(100% - 76px), 1760px) !important;
  padding: 34px 0 30px !important;
}

.jzy-official-footer-top {
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center !important;
  min-height: 0 !important;
  gap: 32px !important;
}

.jzy-official-footer-brand {
  width: 210px !important;
}

.jzy-official-footer-brand img {
  max-height: 122px !important;
}

.jzy-official-footer-socials {
  gap: 12px !important;
}

.jzy-footer-social {
  width: 54px !important;
  height: 54px !important;
}

/* 删除页脚内部的白色横线。 */
.jzy-official-footer-rule {
  display: none !important;
}

.jzy-official-footer-bottom {
  align-items: flex-end !important;
  margin-top: 28px !important;
  padding-top: 22px !important;
  border-top: 0 !important;
}

.jzy-official-footer-copy {
  max-width: 900px !important;
  font-size: 16px !important;
  line-height: 1.78 !important;
}

.jzy-official-footer-links {
  gap: 18px !important;
}

@media (max-width: 720px) {
  #jzy-official-footer {
    width: min(calc(100% - 36px), 1760px) !important;
    padding: 28px 0 24px !important;
  }

  .jzy-official-footer-top {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .jzy-official-footer-bottom {
    margin-top: 22px !important;
    padding-top: 0 !important;
  }
}

/* ===== 页脚排版精修:两行清晰布局 ===== */
#jzy-official-footer {
  width: min(calc(100% - 92px), 1760px) !important;
  padding: 32px 0 26px !important;
}

.jzy-official-footer-top {
  grid-template-columns: minmax(180px, 1fr) auto !important;
  gap: 40px !important;
}

.jzy-official-footer-brand {
  width: 190px !important;
}

.jzy-official-footer-brand img {
  max-height: 108px !important;
}

.jzy-official-footer-socials {
  gap: 14px !important;
}

.jzy-footer-social {
  width: 52px !important;
  height: 52px !important;
  padding: 9px !important;
  border-radius: 10px !important;
}

.jzy-footer-social img {
  width: 32px !important;
  height: 32px !important;
}

.jzy-official-footer-bottom {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end !important;
  gap: 36px !important;
  margin-top: 20px !important;
  padding-top: 0 !important;
}

.jzy-official-footer-copy {
  max-width: 1120px !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
}

.jzy-official-footer-links {
  align-self: end;
  gap: 20px !important;
  padding-bottom: 2px;
}

@media (max-width: 720px) {
  #jzy-official-footer {
    width: min(calc(100% - 40px), 1760px) !important;
    padding: 28px 0 24px !important;
  }

  .jzy-official-footer-top,
  .jzy-official-footer-bottom {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .jzy-official-footer-socials,
  .jzy-official-footer-links {
    justify-content: flex-start !important;
  }

  .jzy-official-footer-links {
    align-self: start;
    padding-bottom: 0;
  }
}