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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Jzyfate留言 | 贡献
无编辑摘要
Jzyfate留言 | 贡献
无编辑摘要
 
(未显示同一用户的54个中间版本)
第1行: 第1行:
/* ============================================================ */
/* ===== 江中缘 Wiki 全局主题:官网海岛配色版 ===== */
/*                     JZY 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%;
}


/* ---------- 1. 全局重置 ---------- */
body {
body {
     background: #f0f4f8;
  min-height: 100%;
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  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;
}
}


/* ---------- 2. 欢迎横幅 ---------- */
/* ===== MediaWiki 默认区域:透明化,避免切割背景 ===== */
.home-welcome {
#mw-page-base,
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #2a1a3e 100%);
.mw-body-content,
    border-radius: 16px;
.mw-parser-output {
    padding: 40px 48px;
  background: transparent !important;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
}
.welcome-content {
 
     display: flex;
.mw-body {
    align-items: center;
  background:
     justify-content: space-between;
     linear-gradient(135deg, rgba(13, 81, 105, 0.28), rgba(11, 63, 85, 0.20)) !important;
    gap: 30px;
  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%);
}
}
.welcome-text {
 
    flex: 1;
.mw-body-content p,
    color: #ffffff;
.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);
}
}
.welcome-text h1 {
 
    font-size: 38px;
.mw-body-content b,
    font-weight: 700;
.mw-body-content strong {
    margin: 0 0 4px 0;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(21, 49, 64, 0.68);
}
}
.welcome-text h1 .highlight {
 
     color: #facc15;
/* ===== 顶部与侧边栏 ===== */
#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%);
}
}
.welcome-text .subtitle {
 
    font-size: 20px;
#mw-head a,
    opacity: 0.9;
#mw-header a,
    margin: 0 0 6px 0;
#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;
}
}
.welcome-text .description {
 
    font-size: 15px;
#mw-head button,
    opacity: 0.75;
#mw-header button,
    margin: 0 0 16px 0;
#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;
}
}
.welcome-text .stats {
 
    display: flex;
.citizen-header .oo-ui-iconElement-icon,
    gap: 24px;
#citizen-header .oo-ui-iconElement-icon,
    font-size: 14px;
.mw-header .oo-ui-iconElement-icon,
    opacity: 0.7;
.vector-header-container .oo-ui-iconElement-icon {
    margin-bottom: 16px;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.20));
}
}
.welcome-actions {
 
    display: flex;
#mw-panel {
    gap: 12px;
  background: rgba(14, 84, 112, 0.24) !important;
  color: var(--jzy-muted) !important;
  border-right: 1px solid rgba(178, 235, 246, 0.16);
}
}
.welcome-actions .btn-primary,
 
.welcome-actions .btn-secondary {
#mw-panel .portal,
    display: inline-block;
#mw-panel nav {
    padding: 8px 24px;
  background: rgba(9, 68, 94, 0.24);
    border-radius: 30px;
  border: 1px solid rgba(178, 235, 246, 0.16);
    font-weight: 600;
  border-radius: 12px;
    font-size: 14px;
  margin: 8px 8px 12px;
    text-decoration: none;
  padding: 8px 10px;
    transition: all 0.2s;
}
}
.welcome-actions .btn-primary {
 
    background: #facc15;
/* ===== 标题层级 ===== */
     color: #0a1628;
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;
}
}
.welcome-actions .btn-primary:hover {
 
    background: #fbbf24;
h2 {
    transform: translateY(-2px);
  color: #d9fbff !important;
     box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
  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;
}
}
.welcome-actions .btn-secondary {
 
    background: rgba(255,255,255,0.15);
h2::after {
    color: #ffffff;
  content: "";
    border: 1px solid rgba(255,255,255,0.2);
  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);
}
}
.welcome-actions .btn-secondary:hover {
 
    background: rgba(255,255,255,0.25);
h3 {
    transform: translateY(-2px);
  color: #d6ffe7 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 6px rgba(13, 54, 70, 0.66) !important;
}
}
.welcome-logo {
 
    flex-shrink: 0;
h4 {
    text-align: center;
  color: #e9fbff !important;
    opacity: 0.3;
  font-weight: 750 !important;
  text-shadow: 0 1px 4px rgba(13, 54, 70, 0.58) !important;
}
}


/* ---------- 3. 分类导航卡片 ---------- */
/* ===== 链接 ===== */
.home-card-grid {
.mw-body-content a:link,
    display: grid;
.mw-parser-output a:link {
    grid-template-columns: repeat(6, 1fr);
  color: #d8fbff !important;
    gap: 16px;
  text-shadow: 0 1px 3px rgba(13, 54, 70, 0.55);
    margin-bottom: 30px;
}
}
.home-card {
 
    background: #ffffff;
.mw-body-content a:visited,
    border-radius: 12px;
.mw-parser-output a:visited {
    padding: 20px 16px;
  color: #bfeff9 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e9edf2;
    text-align: center;
    transition: all 0.25s ease;
    text-decoration: none;
    color: #1e293b;
    display: block;
    cursor: pointer;
}
}
.home-card:hover {
 
    transform: translateY(-6px);
.mw-body-content a:hover,
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
.mw-parser-output a:hover {
    border-color: #facc15;
  color: var(--jzy-sand) !important;
    text-decoration: none;
  text-decoration: none !important;
  text-shadow: 0 0 11px rgba(250, 229, 189, 0.52);
}
}
.home-card .icon {
 
    font-size: 32px;
#mw-panel a:link,
    display: block;
#mw-panel a:visited {
    margin-bottom: 8px;
  color: #d5eef5 !important;
}
}
.home-card h4 {
 
    font-size: 15px;
#mw-panel a:hover {
    margin: 0 0 4px 0;
  color: var(--jzy-sand) !important;
    font-weight: 700;
}
}
.home-card p {
 
    font-size: 12px;
/* ===== 目录 ===== */
    color: #64748b;
.toc {
     margin: 0 0 6px 0;
  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);
}
}
.home-card .card-count {
 
    font-size: 11px;
.toc h2 {
    color: #94a3b8;
  color: #e6fbff !important;
    background: #f1f5f9;
  font-weight: 800 !important;
    padding: 2px 12px;
    border-radius: 20px;
    display: inline-block;
}
}


/* ---------- 4. 特色入口网格 ---------- */
.toclevel-1 > .toclink::before {
.featured-grid {
  content: "▸ ";
    display: grid;
  color: var(--jzy-sand);
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 16px;
    margin-bottom: 30px;
}
}
.featured-section {
 
    background: #ffffff;
/* ===== 表格与代码块 ===== */
    border-radius: 12px;
.wikitable {
    border: 1px solid #e9edf2;
  background: rgba(10, 63, 85, 0.30) !important;
    padding: 16px 20px;
  color: var(--jzy-ink) !important;
  border: 1px solid rgba(178, 235, 246, 0.22) !important;
  border-radius: 12px;
  overflow: hidden;
}
}
.featured-title {
 
    font-weight: 700;
.wikitable > tr > th,
    font-size: 15px;
.wikitable > * > tr > th {
    color: #0b1a2e;
  background: rgba(15, 101, 132, 0.54) !important;
    border-bottom: 2px solid #facc15;
  color: #ffffff !important;
    padding-bottom: 6px;
    margin-bottom: 10px;
}
}
.featured-list {
 
    list-style: none;
.wikitable > tr > td,
    padding: 0;
.wikitable > * > tr > td {
    margin: 0;
  border-color: rgba(178, 235, 246, 0.16) !important;
}
}
.featured-list li {
 
    padding: 5px 0;
pre,
    font-size: 14px;
code {
    border-bottom: 1px solid #f1f5f9;
  background: rgba(9, 45, 62, 0.58) !important;
  color: #ebfbff !important;
  border: 1px solid rgba(178, 235, 246, 0.25) !important;
  border-radius: 8px;
}
}
.featured-list li:last-child {
 
     border-bottom: none;
/* ===== 通用玻璃卡片 ===== */
.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);
}
}
.featured-list li a {
 
    color: #1e293b;
.feature-card::before,
    text-decoration: none;
.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;
}
}
.featured-list li a:hover {
 
    color: #0b1a2e;
.feature-card {
    text-decoration: underline;
  padding: 18px 14px;
  border-radius: 14px;
  text-align: center;
  font-weight: bold;
  border-bottom: 3px solid;
}
}
.two-col-list {
 
    display: grid;
.hot-card {
    grid-template-columns: 1fr 1fr;
  padding: 14px 16px;
    gap: 0 12px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  border-bottom: 3px solid;
}
}
.two-col-list li {
 
    border-bottom: none;
.stat-card {
    padding: 4px 0;
  padding: 20px 16px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  border-bottom: 3px solid;
}
}


/* ---------- 5. 主内容两栏布局 ---------- */
.feature-card-blue,
.home-main {
.hot-card-cyan,
    display: flex;
.stat-card-blue {
    gap: 30px;
  background: rgba(57, 166, 229, 0.34);
    margin-bottom: 30px;
  color: #effcff;
  border-bottom-color: var(--jzy-sky);
}
}
.home-left {
 
    flex: 2;
.feature-card-green,
    min-width: 0;
.hot-card-green,
.stat-card-green {
  background: rgba(90, 184, 120, 0.34);
  color: #eefff4;
  border-bottom-color: #76d79a;
}
}
.home-right {
 
    flex: 1;
.feature-card-orange,
    min-width: 0;
.hot-card-orange {
  background: rgba(250, 229, 189, 0.26);
  color: #fff5da;
  border-bottom-color: var(--jzy-sand);
}
}


/* ---------- 6. 新闻与更新 ---------- */
.feature-card-red,
.home-news {
.hot-card-red {
    background: #ffffff;
  background: rgba(232, 111, 158, 0.30);
    border-radius: 12px;
  color: #ffe6f0;
    border: 1px solid #e9edf2;
  border-bottom-color: var(--jzy-rose);
    overflow: hidden;
}
}
.home-news .section-header {
 
    background: #f8fafc;
.divider {
    padding: 14px 20px;
  border: 0;
    border-bottom: 1px solid #e9edf2;
  height: 3px;
    display: flex;
  margin: 24px 0;
    justify-content: space-between;
  border-radius: 999px;
    align-items: center;
  background: linear-gradient(90deg, var(--jzy-sky), var(--jzy-teal), var(--jzy-sand));
  opacity: 0.96;
}
}
.home-news .section-title {
 
     font-weight: 700;
/* ===== 游戏资讯模块:官网海岛色系 ===== */
     font-size: 16px;
.jzy-game-info {
    color: #0b1a2e;
  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%);
}
}
.home-news .more-link {
 
    font-size: 13px;
.jzy-tabs {
    color: #64748b;
  background: rgba(9, 66, 91, 0.38) !important;
  border: 1px solid rgba(178, 235, 246, 0.28) !important;
}
}
.home-news .news-item {
 
    padding: 12px 20px;
.jzy-tab {
    border-bottom: 1px solid #f1f5f9;
  color: #d8f6ff !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
}
}
.home-news .news-item:hover {
 
    background: #fafcff;
.jzy-tab:hover {
  color: var(--jzy-sand) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
}
.home-news .news-item:last-child {
 
    border-bottom: none;
.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;
}
}
.home-news .news-content {
 
    display: flex;
.jzy-heading {
    align-items: center;
  background: rgba(9, 45, 62, 0.30) !important;
    flex-wrap: wrap;
  border-color: rgba(178, 235, 246, 0.28) !important;
    gap: 6px;
  color: #ffffff !important;
}
}
.home-news .news-text {
 
     font-size: 14px;
.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;
}
}
.home-news .date {
 
     font-size: 12px;
.jzy-card:hover {
    color: #94a3b8;
  background:
    white-space: nowrap;
     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;
}
}
.home-news .tag {
 
    font-size: 10px;
.jzy-fallback {
    font-weight: 700;
  background: linear-gradient(145deg, var(--jzy-sky), var(--jzy-teal)) !important;
    padding: 2px 10px;
  color: #073647 !important;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
}
.tag-update { background: #dbeafe; color: #1d4ed8; }
.tag-event { background: #fce7f3; color: #be185d; }
.tag-guide { background: #d1fae5; color: #065f46; }
.tag-major { background: #fef3c7; color: #b45309; }
.tag-hot { background: #fee2e2; color: #dc2626; }


/* ---------- 7. 特色文章 ---------- */
/* ===== 页脚:对齐官网深棕色 #534646 ===== */
.featured-article {
#footer,
    margin-top: 20px;
.mw-footer,
    background: #ffffff;
.mw-page-container-footer,
    border-radius: 12px;
.page-footer,
    border: 1px solid #e9edf2;
footer,
    padding: 20px 24px;
.citizen-footer,
    position: relative;
#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;
}
}
.featured-article-badge {
 
    position: absolute;
#footer *,
    top: -10px;
.mw-footer *,
    right: 20px;
.mw-page-container-footer *,
    background: #facc15;
.page-footer *,
    color: #0a1628;
footer *,
    font-size: 11px;
.citizen-footer *,
    font-weight: 700;
#citizen-footer * {
    padding: 2px 16px;
  color: #ffffff !important;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
}
.featured-article h3 {
 
    margin: 0 0 8px 0;
#footer a,
    font-size: 20px;
.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;
}
}
.featured-article h3 a {
 
    color: #0b1a2e;
#footer a:hover,
    text-decoration: none;
.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;
}
}
.featured-article h3 a:hover {
 
     text-decoration: underline;
/* ===== 移动端适配 ===== */
@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;
  }
}
}
.featured-article p {
 
    font-size: 14px;
/* ===== 首页专用修复:Citizen 悬浮操作栏 =====
    color: #475569;
  Citizen 会把此容器放在 .citizen-page-container 之后,并以悬浮方式显示。
    margin: 0 0 12px 0;
  在首页隐藏它,避免“查看历史 / 编辑 / 讨论”横栏切断海岛背景。
    line-height: 1.7;
*/
body.page-首页 .citizen-sticky-header-container {
  display: none !important;
}
}
.featured-article .article-meta {
 
    display: flex;
/* Citizen 皮肤会因版本和设置把操作栏渲染为不同节点。
    gap: 20px;
  这些节点只在首页隐藏,避免中间的历史/编辑/讨论栏遮挡背景。 */
    font-size: 13px;
body.page-首页 .citizen-page-header,
    color: #94a3b8;
body.page-首页 .citizen-page-tools,
    flex-wrap: wrap;
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;
}
}
.featured-article .article-meta .read-more {
 
    font-weight: 600;
/* 首页不显示 MediaWiki 自动附加的最后修改时间与版权说明。
    color: #0b1a2e;
  Citizen 自己的深棕色网站页脚仍会保留。 */
body.page-首页 #footer-info,
body.page-首页 #footer-info-lastmod,
body.page-首页 #footer-info-copyright {
  display: none !important;
}
}
.featured-article .article-meta .read-more a {
 
    color: #0b1a2e;
/* Citizen 的页面信息容器。仅移除自动生成的页面元数据,不影响站点页脚。 */
    text-decoration: none;
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;
}
}
.featured-article .article-meta .read-more a:hover {
 
    text-decoration: underline;
/* ===== 官网式页脚布局 ===== */
#citizen-footer,
.citizen-footer,
#footer,
.mw-footer {
  background: var(--jzy-footer) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}
}


/* ---------- 8. 参与贡献 ---------- */
/* 首页生成新版页脚后,隐藏 Citizen 的旧布局,避免内容重复。 */
.contribute-box {
#citizen-footer.jzy-footer-ready > :not(#jzy-official-footer),
    margin-top: 20px;
.citizen-footer.jzy-footer-ready > :not(#jzy-official-footer),
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
#footer.jzy-footer-ready > :not(#jzy-official-footer),
    border-radius: 12px;
.mw-footer.jzy-footer-ready > :not(#jzy-official-footer) {
    border: 1px solid #e9edf2;
  display: none !important;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
}
.contribute-icon {
 
    font-size: 40px;
#jzy-official-footer {
    flex-shrink: 0;
  width: min(100% - 64px, 1760px);
  margin: 0 auto;
  padding: 48px 0 30px;
  color: #ffffff !important;
  box-sizing: border-box;
}
}
.contribute-content {
 
    flex: 1;
#jzy-official-footer * {
  box-sizing: border-box;
}
}
.contribute-content h3 {
 
    margin: 0 0 4px 0;
.jzy-official-footer-top {
    font-size: 17px;
  display: flex;
    color: #0b1a2e;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 118px;
}
}
.contribute-content p {
 
    margin: 0 0 10px 0;
.jzy-official-footer-brand {
    font-size: 14px;
  display: inline-flex;
    color: #475569;
  align-items: center;
  width: 220px;
  color: #ffffff !important;
  text-decoration: none !important;
}
}
.contribute-links {
 
    list-style: none;
.jzy-official-footer-brand img {
    padding: 0;
  display: block;
    margin: 0;
  width: 100%;
    display: flex;
  height: auto;
    flex-wrap: wrap;
  max-height: 150px;
    gap: 8px 20px;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.24));
}
}
.contribute-links li {
 
    font-size: 14px;
.jzy-official-footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}
}
.contribute-links li a {
 
    color: #1e293b;
.jzy-footer-social {
    text-decoration: none;
  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;
}
}
.contribute-links li a:hover {
 
    text-decoration: underline;
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);
}
}


/* ---------- 9. 侧边栏 ---------- */
.jzy-footer-social img {
.home-sidebar .sidebar-widget {
  display: block;
    background: #ffffff;
  width: 34px;
    border-radius: 12px;
  height: 34px;
    border: 1px solid #e9edf2;
  object-fit: contain;
    margin-bottom: 20px;
    overflow: hidden;
}
}
.home-sidebar .sidebar-header {
 
    background: #f8fafc;
.jzy-official-footer-rule {
    padding: 12px 20px;
  height: 1px;
    border-bottom: 1px solid #e9edf2;
  margin: 34px 0 26px;
    font-weight: 700;
  background: rgba(255, 255, 255, 0.13);
    font-size: 15px;
    color: #0b1a2e;
}
}
.home-sidebar .sidebar-body {
 
    padding: 14px 20px;
.jzy-official-footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
}
.home-sidebar .sidebar-body ul {
 
    list-style: none;
.jzy-official-footer-copy {
    padding: 0;
  max-width: 820px;
    margin: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 15px;
  line-height: 1.8;
}
}
.home-sidebar .sidebar-body ul li {
 
    padding: 6px 0;
.jzy-official-footer-copy strong {
    border-bottom: 1px solid #f1f5f9;
  color: var(--jzy-sand) !important;
    font-size: 14px;
}
 
.jzy-official-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 22px;
}
}
.home-sidebar .sidebar-body ul li:last-child {
 
    border-bottom: none;
.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;
}
}
.home-sidebar .sidebar-body ul li a {
 
    color: #1e293b;
#citizen-footer.jzy-footer-ready,
    text-decoration: none;
.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;
}
}
.home-sidebar .sidebar-body ul li a:hover {
 
    color: #0b1a2e;
#jzy-official-footer {
    text-decoration: underline;
  padding-top: 28px !important;
  padding-bottom: 30px !important;
}
}
.home-sidebar .stat-row {
 
    display: flex;
.jzy-official-footer-top {
    justify-content: space-between;
  min-height: 96px !important;
    padding: 5px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}
}
.home-sidebar .stat-row:last-child {
/* ===== 恢复官网原本的纯深棕页脚 =====
    border-bottom: none;
  放在 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;
}
}
.home-sidebar .stat-label {
 
    color: #64748b;
/* ===== 首页页脚最终修复:移除旧空容器造成的横向分割带 =====
  新版页脚 #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;
}
}
.home-sidebar .stat-value {
 
    font-weight: 600;
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;
}
}
.server-notice {
 
    margin-top: 12px;
/* 真正承载新版页脚的容器保持官网原本的纯深棕色,不使用渐变。 */
    background: #f1f5f9;
body:has(#jzy-official-footer) .mw-page-container-footer:has(#jzy-official-footer),
    border-radius: 8px;
body:has(#jzy-official-footer) .citizen-page-footer:has(#jzy-official-footer),
    padding: 12px;
body:has(#jzy-official-footer) #footer:has(#jzy-official-footer),
    font-size: 13px;
body:has(#jzy-official-footer) .mw-footer:has(#jzy-official-footer),
    text-align: center;
body:has(#jzy-official-footer) #citizen-footer:has(#jzy-official-footer),
    line-height: 1.6;
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;
}
}
.server-notice a {
 
    color: #0b1a2e;
/* ===== 官网式页脚微调:移除白线并压缩留白 ===== */
    font-weight: 600;
#jzy-official-footer {
  width: min(calc(100% - 76px), 1760px) !important;
  padding: 34px 0 30px !important;
}
}
.server-notice a:hover {
 
    text-decoration: underline;
.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;
}
}


/* ---------- 10. 页尾 ---------- */
.jzy-official-footer-brand {
.home-footer {
  width: 210px !important;
    margin-top: 20px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}
}
.home-footer .footer-links {
 
    display: flex;
.jzy-official-footer-brand img {
    justify-content: center;
  max-height: 122px !important;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
}
.home-footer .footer-links a {
 
    color: #64748b;
.jzy-official-footer-socials {
    font-size: 13px;
  gap: 12px !important;
    text-decoration: none;
}
}
.home-footer .footer-links a:hover {
 
    color: #0b1a2e;
.jzy-footer-social {
    text-decoration: underline;
  width: 54px !important;
  height: 54px !important;
}
}
.home-footer .footer-copy {
 
    font-size: 12px;
/* 删除页脚内部的白色横线。 */
    color: #94a3b8;
.jzy-official-footer-rule {
  display: none !important;
}
}
.home-footer .footer-copy a {
 
    color: #64748b;
.jzy-official-footer-bottom {
    text-decoration: none;
  align-items: flex-end !important;
  margin-top: 28px !important;
  padding-top: 22px !important;
  border-top: 0 !important;
}
}
.home-footer .footer-copy a:hover {
 
    text-decoration: underline;
.jzy-official-footer-copy {
  max-width: 900px !important;
  font-size: 16px !important;
  line-height: 1.78 !important;
}
}


/* ---------- 11. 响应式适配 ---------- */
.jzy-official-footer-links {
@media (max-width: 1200px) {
  gap: 18px !important;
    .home-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }
}
}
@media (max-width: 992px) {
 
    .welcome-content {
@media (max-width: 720px) {
        flex-direction: column;
  #jzy-official-footer {
        text-align: center;
    width: min(calc(100% - 36px), 1760px) !important;
    }
    padding: 28px 0 24px !important;
    .welcome-text .stats {
  }
        justify-content: center;
 
     }
  .jzy-official-footer-top {
    .welcome-actions {
     grid-template-columns: 1fr !important;
        justify-content: center;
     gap: 22px !important;
     }
  }
    .home-main {
 
        flex-direction: column;
  .jzy-official-footer-bottom {
    }
    margin-top: 22px !important;
    .home-card-grid {
     padding-top: 0 !important;
        grid-template-columns: repeat(3, 1fr);
  }
     }
    .featured-grid {
        grid-template-columns: 1fr;
    }
}
}
@media (max-width: 768px) {
 
    .home-welcome {
/* ===== 页脚排版精修:两行清晰布局 ===== */
        padding: 24px 20px;
#jzy-official-footer {
    }
  width: min(calc(100% - 92px), 1760px) !important;
    .welcome-text h1 {
  padding: 32px 0 26px !important;
        font-size: 28px;
    }
    .home-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .two-col-list {
        grid-template-columns: 1fr;
    }
    .contribute-box {
        flex-direction: column;
        text-align: center;
    }
    .contribute-links {
        justify-content: center;
    }
    .home-news .news-item {
        flex-wrap: wrap;
    }
    .home-news .date {
        width: 100%;
        text-align: right;
        padding-top: 4px;
    }
    .featured-article-badge {
        position: static;
        display: inline-block;
        margin-bottom: 8px;
    }
}
}
@media (max-width: 480px) {
 
    .home-card-grid {
.jzy-official-footer-top {
        grid-template-columns: 1fr 1fr;
  grid-template-columns: minmax(180px, 1fr) auto !important;
        gap: 10px;
  gap: 40px !important;
    }
    .home-card {
        padding: 14px 10px;
    }
    .home-card .icon {
        font-size: 24px;
    }
    .home-card h4 {
        font-size: 13px;
    }
    .welcome-text .stats {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    .welcome-actions {
        flex-direction: column;
        align-items: center;
    }
    .featured-article .article-meta {
        flex-direction: column;
        gap: 4px;
    }
}
}
/* 确保主容器为弹性布局,且不会换行错乱 */
 
.home-main {
.jzy-official-footer-brand {
    display: flex;
  width: 190px !important;
    flex-wrap: wrap;      /* 允许换行,但需要配合 flex-basis */
    gap: 30px;
    margin-bottom: 30px;
}
}
.home-left {
 
    flex: 2 1 60%;        /* 最小宽度 60%,保证不会压得太小 */
.jzy-official-footer-brand img {
    min-width: 280px;
  max-height: 108px !important;
}
}
.home-right {
 
    flex: 1 1 30%;
.jzy-official-footer-socials {
    min-width: 240px;
  gap: 14px !important;
}
}


/* 新闻条目强制保持独立 */
.jzy-footer-social {
.home-news .news-item {
  width: 52px !important;
    display: flex;
  height: 52px !important;
    justify-content: space-between;
  padding: 9px !important;
    align-items: center;
  border-radius: 10px !important;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;   /* 确保不透明 */
}
}
/* 日期强制右对齐且不折行 */
 
.home-news .date {
.jzy-footer-social img {
    font-size: 12px;
  width: 32px !important;
    color: #94a3b8;
  height: 32px !important;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 12px;
}
}


/* 侧边栏统计行增加底边框,不会与新闻混 */
.jzy-official-footer-bottom {
.home-sidebar .stat-row {
  display: grid !important;
    display: flex;
  grid-template-columns: minmax(0, 1fr) auto;
    justify-content: space-between;
  align-items: end !important;
    padding: 6px 0;
  gap: 36px !important;
    border-bottom: 1px solid #f1f5f9;
  margin-top: 20px !important;
  padding-top: 0 !important;
}
}
.home-sidebar .stat-row:last-child {
 
    border-bottom: none;
.jzy-official-footer-copy {
  max-width: 1120px !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
}
}


/* 修复移动端时,两栏堆叠,但各自保持独立块 */
.jzy-official-footer-links {
@media (max-width: 768px) {
  align-self: end;
    .home-main {
  gap: 20px !important;
        flex-direction: column;
  padding-bottom: 2px;
    }
    .home-left, .home-right {
        flex: 1 1 100%;
        min-width: 0;
    }
    /* 确保新闻与统计块不会互相影响 */
    .home-news, .home-sidebar .sidebar-widget {
        width: 100%;
        box-sizing: border-box;
    }
}
}
.home-card .card-count {
 
     font-size: 11px;
@media (max-width: 720px) {
     font-weight: 600;
  #jzy-official-footer {
     color: #1e293b;
     width: min(calc(100% - 40px), 1760px) !important;
     background: #f1f5f9;
     padding: 28px 0 24px !important;
     padding: 2px 14px;
  }
    border-radius: 20px;
 
     display: inline-block;
  .jzy-official-footer-top,
     margin-top: 4px;
  .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;
  }
}