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

MediaWiki:Citizen.css:修订间差异

MediaWiki界面页面
ETTW留言 | 贡献
无编辑摘要
ETTW留言 | 贡献
无编辑摘要
第1行: 第1行:
/**
/**
  * Blockland Wiki Modern Aero UI OS26
  * Blockland Wiki Modern Aero UI OS26.1
  * 风格:Acrylic/Aero/Basic
  * 风格:Acrylic/Aero/Basic
  * 功能:全局毛玻璃、改进动效、优化搜索栏、infobox美化、评论区美化、深色模式、全局液态玻璃、全局光线追踪、自动模式兼容。
  * 功能:全局毛玻璃,全局光线追踪,UI全面现代化。
  * 版本:4.0  
  * 版本:5.0  
  */
  */
/* ========================= */
 
/* --- Section1.全局颜色 --- */
/* ============================= */
/* ========================= */
/* --- 全局变量与主体背景 ---   */
/* ============================= */
 
:root {
:root {
     --color-surface-0: #fafafa;
     --color-surface-0: #fafafa;
第14行: 第16行:
     --color-heading: #000000;
     --color-heading: #000000;
}
}
html.skin-theme-clientpref-night {
html.skin-theme-clientpref-night {
     --color-surface-0: #1a1b1c !important;
     --color-surface-0: #1a1b1c !important;
     --color-surface-1: #242526 !important;
     --color-surface-1: #202122 !important;
    --color-surface-2: #2d2e2f !important;
    --color-surface-3: #373839 !important;
     --color-base-0: #eaecf0 !important;
     --color-base-0: #eaecf0 !important;
    --color-base-10: #f8f9fa !important;
    --color-base-20: #ffffff !important;
     --color-heading: #ffffff !important;
     --color-heading: #ffffff !important;
     background-color: #1a1b1c !important;
     background-color: #1a1b1c !important;
}
}
/* =========================== */
 
/* --- Section2.通用毛玻璃 --- */
html.skin-theme-clientpref-night body { background-color: #1a1b1c !important; }
/* =========================== */
html.skin-theme-clientpref-day body { background-color: #fafafa !important; }
.citizen-menu__card,
 
#citizen-preferences__card,
@media (prefers-color-scheme: dark) {
.citizen-sticky-header-background,
    html.skin-theme-clientpref-os {
.page-actions-more__card,
        --color-surface-0: #1a1b1c !important;
.citizen-dropdown .citizen-menu__card {
        --color-surface-1: #242526 !important;
     background-color: rgba(255, 255, 255, 0.2) !important;
        --color-surface-2: #2d2e2f !important;
     backdrop-filter: blur(14px) saturate(100%) !important;
        --color-surface-3: #373839 !important;
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
        --color-base-0: #eaecf0 !important;
        --color-base-10: #f8f9fa !important;
        --color-base-20: #ffffff !important;
        --color-heading: #ffffff !important;
        background-color: #1a1b1c !important;
    }
    html.skin-theme-clientpref-os body { background-color: #1a1b1c !important; }
}
 
/* ==================== */
/* --- 关键帧动画 ---  */
/* ==================== */
 
@keyframes citizen-pop-in {
    0%  { opacity: 0; transform: translate(-50%, -45%) scale(0.85); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
 
@keyframes citizen-fade-in {
    from { opacity: 0; }
    to  { opacity: 1; }
}
 
/* =========================== */
/* --- 通用毛玻璃面板 ---     */
/* =========================== */
 
.citizen-menu__card,
#citizen-preferences__card,
.citizen-sticky-header-background,
.page-actions-more__card,
.citizen-dropdown .citizen-menu__card {
     background-color: rgba(255, 255, 255, 0.2) !important;
     backdrop-filter: blur(14px) saturate(100%) !important;
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     border: 1px solid rgba(128, 128, 128, 0.1) !important;
     border: 1px solid rgba(128, 128, 128, 0.1) !important;
     border-radius: 12px !important;
     border-radius: 12px !important;
}
}
html.skin-theme-clientpref-night .citizen-menu__card,
html.skin-theme-clientpref-night .citizen-menu__card,
html.skin-theme-clientpref-night #citizen-preferences__card,
html.skin-theme-clientpref-night #citizen-preferences__card,
html.skin-theme-clientpref-night .citizen-command-palette {
html.skin-theme-clientpref-night .citizen-command-palette,
     background-color: rgba(20, 20, 20, 0.3) !important;
html.skin-theme-clientpref-night .page-actions-more__card {
     background-color: rgba(30, 30, 30, 0.7) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
}
}
/* ============================= */
 
/* --- Section3.搜索面板背景 --- */
@media (prefers-color-scheme: dark) {
/* ============================= */
    html.skin-theme-clientpref-os .citizen-menu__card,
.citizen-command-palette-backdrop {
    html.skin-theme-clientpref-os #citizen-preferences__card,
    background-color: rgba(0, 0, 0, 0.2) !important;
    html.skin-theme-clientpref-os .citizen-sticky-header-background,
    backdrop-filter: blur(8px) !important;
    html.skin-theme-clientpref-os .citizen-command-palette,
    -webkit-backdrop-filter: blur(8px) !important;
    html.skin-theme-clientpref-os #citizen-sidebar-lastmod,
     z-index: 9999 !important;
    html.skin-theme-clientpref-os #mw-panel-toc {
    animation: citizen-fade-in 0.3s ease forwards;
        background-color: rgba(30, 31, 32, 0.6) !important;
        color: #ffffff !important;
        backdrop-filter: blur(20px) !important;
     }
}
}
/* ============================= */
 
/* --- Section4.搜索面板主体 --- */
/* ========================= */
/* ============================= */
/* --- 顶栏 Sticky Header --- */
.citizen-command-palette {
/* ========================= */
    position: fixed !important;
 
    width: 1000px !important;
.citizen-sticky-header {
    max-width: 92vw !important;
     border-radius: 0 !important;
    top: 50% !important;
     background: transparent !important;
    left: 50% !important;
    z-index: 10000 !important;
    isolation: isolate !important;
    background-color: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(25px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(100%) !important;
     border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
     box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25) !important;
    animation: citizen-pop-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    transform-origin: center center !important;
}
}
/* ================================= */
 
/* --- Section5.搜索列表填充优化 --- */
.citizen-sticky-header-background {
/* ================================= */
     border-radius: 0 !important;
.citizen-command-palette-list {
     left: 0 !important;
    padding: 8px 0 !important; 
     right: 0 !important;
}
.citizen-command-palette-list-item {
    margin: 0 12px 6px 12px !important;
     border-radius: 12px !important;
     overflow: hidden !important;
    border: none !important;
    display: block !important;
     transition: background-color 0.2s ease !important;
}
.citizen-command-palette-list-item__content {
    display: flex !important;
    padding: 12px 16px !important;
     width: 100% !important;
     width: 100% !important;
     box-sizing: border-box !important;
     top: 0 !important;
     background: transparent !important;
    border: none !important;
     color: #202122 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
     background-image: none !important;
     backdrop-filter: blur(12px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
}
}
.citizen-command-palette-list-item__metadata {
 
     display: none !important;
html.skin-theme-clientpref-night .citizen-sticky-header-background {
     background-color: rgba(20, 20, 20, 0.4) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
}
}
.citizen-command-palette-list-item:hover,
 
.citizen-command-palette-list-item[aria-selected="true"] {
html.skin-theme-clientpref-night .citizen-sticky-header .cdx-button--weight-quiet { color: #eaecf0 !important; }
     background-color: rgba(0, 0, 0, 0.05) !important;
html.skin-theme-clientpref-night .citizen-sticky-header-page-title,
html.skin-theme-clientpref-night .citizen-sticky-header-page-tagline { color: #ffffff !important; }
 
/* ================================ */
/* --- 搜索面板 Command Palette --- */
/* ================================ */
 
.citizen-command-palette-backdrop {
     background-color: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 9999 !important;
    animation: citizen-fade-in 0.3s ease forwards;
}
}
/* =========================== */
 
/* --- Section6.垃圾桶按钮 --- */
.citizen-command-palette {
/* =========================== */
    position: fixed !important;
.citizen-command-palette-list-item__actions,
    width: 1000px !important;
.citizen-command-palette-list-item__action {
    max-width: 92vw !important;
     background: transparent !important;
    top: 50% !important;
     background-color: transparent !important;
    left: 50% !important;
     border: none !important;
    z-index: 10000 !important;
     box-shadow: none !important;
     isolation: isolate !important;
     min-width: 32px !important;  
     background-color: rgba(255, 255, 255, 0.45) !important;
     display: flex !important;
     backdrop-filter: blur(25px) saturate(100%) !important;
     justify-content: center !important;
     -webkit-backdrop-filter: blur(25px) saturate(100%) !important;
     align-items: center !important;
     border-radius: 24px !important;
     margin-left: auto !important;
     border: 1px solid rgba(255, 255, 255, 0.5) !important;
     box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25) !important;
     animation: citizen-pop-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
     transform-origin: center center !important;
}
}
.citizen-command-palette-list-item__action svg {
 
    fill: #202122 !important;
    opacity: 0.85 !important;
    transition: all 0.2s ease !important;
}
/* 悬停状态:浅粉色背景 + 变大红图标 */
.citizen-command-palette-list-item__action:hover {
    background-color: rgba(255, 192, 203, 0.6) !important;
    border-radius: 8px !important;
}
.citizen-command-palette-list-item__action:hover svg {
    fill: #d33 !important;
    opacity: 1 !important;
    transform: scale(1.15) !important;
}
/* ======================= */
/* --- Section7.搜索框 --- */
/* ======================= */
.citizen-command-palette__search,
.citizen-command-palette__search,
.citizen-command-palette__results,
.citizen-command-palette__results,
第141行: 第172行:
     box-shadow: none !important;
     box-shadow: none !important;
}
}
/* --- 动画定义 --- */
 
@keyframes citizen-pop-in {
.citizen-command-palette-list { padding: 8px 0 !important; }
     0% { opacity: 0; transform: translate(-50%, -45%) scale(0.85); }
 
     100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.citizen-command-palette-list-item {
}
     margin: 0 12px 6px 12px !important;
@keyframes citizen-fade-in {
    border-radius: 12px !important;
     from { opacity: 0; }
     overflow: hidden !important;
     to { opacity: 1; }
    border: none !important;
     display: block !important;
     transition: background-color 0.2s ease !important;
}
}
/* ========================= */
 
/* --- Section8.深色模式 --- */
.citizen-command-palette-list-item__content {
/* ========================= */
     display: flex !important;
@media (prefers-color-scheme: dark) {
     padding: 12px 16px !important;
     html.skin-theme-clientpref-os body,
    width: 100% !important;
    html.skin-theme-clientpref-night body {
    box-sizing: border-box !important;
        background-color: #1a1b1c !important;
    background: transparent !important;
     }
    color: #202122 !important;
    html.skin-theme-clientpref-os,
    html.skin-theme-clientpref-night {
        --color-surface-0: #1a1b1c !important;
        --color-surface-1: #242526 !important;
        --color-surface-2: #2d2e2f !important;
        --color-surface-3: #373839 !important;
        --color-base-0: #eaecf0 !important;
        --color-base-10: #f8f9fa !important;
        --color-base-20: #ffffff !important;
        --color-heading: #ffffff !important;
    }
}
}
html.skin-theme-clientpref-night {
 
    --color-surface-0: #1a1b1c !important;
.citizen-command-palette-list-item__metadata { display: none !important; }
    --color-surface-1: #202122 !important;
 
    --color-base-0: #eaecf0 !important;
.citizen-command-palette-list-item:hover,
    --color-heading: #ffffff !important;
.citizen-command-palette-list-item[aria-selected="true"] {
     background-color: #1a1b1c !important;
     background-color: rgba(0, 0, 0, 0.05) !important;
}
}
html.skin-theme-clientpref-night .citizen-command-palette,
 
html.skin-theme-clientpref-night .citizen-menu__card,
.citizen-command-palette-list-item__actions,
html.skin-theme-clientpref-night .page-actions-more__card {
.citizen-command-palette-list-item__action {
     background-color: rgba(30, 30, 30, 0.7) !important; /* 深色半透明 */
    background: transparent !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important; /* 微亮边框线 */
     background-color: transparent !important;
     backdrop-filter: blur(20px) saturate(150%) !important;
     border: none !important;
    box-shadow: none !important;
    min-width: 32px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
     margin-left: auto !important;
}
}
html.skin-theme-clientpref-night .citizen-command-palette-list-item:hover,
 
html.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
.citizen-command-palette-list-item__action svg {
     background-color: rgba(255, 255, 255, 0.1) !important;
    fill: #202122 !important;
    opacity: 0.85 !important;
     transition: all 0.2s ease !important;
}
}
html.skin-theme-clientpref-night body {
 
     background-color: #1a1b1c !important;
.citizen-command-palette-list-item__action:hover {
     background-color: rgba(255, 192, 203, 0.6) !important;
    border-radius: 8px !important;
}
}
html.skin-theme-clientpref-day body {
 
     background-color: #fafafa !important;  
.citizen-command-palette-list-item__action:hover svg {
     fill: #d33 !important;
    opacity: 1 !important;
    transform: scale(1.15) !important;
}
}
/* ========================= */
 
/* --- Section9.顶栏修复 --- */
html.skin-theme-clientpref-night .citizen-command-palette-list-item:hover,
/* ========================= */
html.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
.citizen-sticky-header-background {
     background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
     background-color: rgba(255, 255, 255, 0.4) !important;
    background-image: none !important;
    backdrop-filter: blur(12px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
}
}
html.skin-theme-clientpref-night .citizen-sticky-header-background {
 
     background-color: rgba(20, 20, 20, 0.4) !important;
@media (prefers-color-scheme: dark) {
     background-image: none !important;
    html.skin-theme-clientpref-os .citizen-command-palette__input input,
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
     html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label,
     backdrop-filter: blur(20px) saturate(150%) !important;
     html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__description bdi {
        color: #ffffff !important;
     }
}
}
.citizen-sticky-header {
 
     border-radius: 0 !important;
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette {
     background: transparent !important;  
    background-color: #1e1f20 !important;
    color: #ffffff !important;
     border: 1px solid #3c3d3e !important;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}
}
html.skin-theme-clientpref-night .citizen-sticky-header .cdx-button--weight-quiet {
 
     color: #eaecf0 !important;
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input {
     background-color: #2c2c2c !important;
    border-bottom: 1px solid #3c3d3e !important;
}
}
html.skin-theme-clientpref-night .citizen-sticky-header-page-title,
 
html.skin-theme-clientpref-night .citizen-sticky-header-page-tagline {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input input { color: #ffffff !important; }
     color: #ffffff !important;
 
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__label,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__description bdi {
     color: #eeeeee !important;
}
}
/* ========================================== */
 
/* --- Section10.能效模式(aero/basic)适配 --- */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
/* ========================================== */
     background-color: #363738 !important;
/* 当 html 标签包含 performance-mode...-1 时,判定为能效模式开启。此时彻底干掉毛玻璃和动画。*/
html[class*="citizen-feature-performance-mode-clientpref-1"] {
     --citizen-backdrop-filter: none !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-menu__card,
 
html[class*="citizen-feature-performance-mode-clientpref-1"] #citizen-preferences__card,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__footer {
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-sticky-header-background,
     background-color: #161718 !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-command-palette,
     color: #888888 !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .page-actions-more__card {
     border-top: 1px solid #3c3d3e !important;
     backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     background-color: var(--color-surface-1) !important;
    animation: citizen-fade-in 0.1s ease forwards !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-command-palette {
 
    transform: translate(-50%, -50%) scale(1) !important;
@media (prefers-color-scheme: dark) {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;  
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette {
}
        background-color: #1e1f20 !important;
.page-首页 .banner-image {
        backdrop-filter: none !important;
--banner-image-url: url("https://cdn.jsdelivr.net/gh/KKBlockE/BlocklandPicturebed@main/main/d49dd42343ab1bfcf4efa67f62f4ecf8.png");
        -webkit-backdrop-filter: none !important;
--banner-image-height: 70vh;
        border: 1px solid #3c3d3e !important;
background-image: linear-gradient(to top, var(--color-surface-0) 15%, transparent 150%), var(--banner-image-url);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
background-size: cover;
    }
background-position: top;
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__input {
height: var(--banner-image-height);
        background-color: #2c2c2c !important;
margin-bottom: calc(-1 * var(--banner-image-height));
        border-bottom: 1px solid #3c3d3e !important;
}
    }
/* ============================== */
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label {
/* --- Section11.标签文字修改 --- */
        color: #ffffff !important;
/* ============================== */
    }
label[for="skin-client-pref-citizen-feature-performance-mode-value-1"],
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__footer {
        background-color: #161718 !important;
        backdrop-filter: none !important;
        border-top: 1px solid #3c3d3e !important;
    }
}
 
/* ==================== */
/* --- 设置菜单 ---     */
/* ==================== */
 
#citizen-preferences-content {
    display: flex !important;
    flex-direction: column !important;
}
 
#skin-client-prefs-citizen-feature-custom-font-size { order: 1 !important; }
#skin-client-prefs-citizen-feature-custom-width    { order: 2 !important; }
#skin-client-prefs-citizen-feature-pure-black        { order: 3 !important; }
#skin-client-prefs-skin-theme                        { order: 4 !important; }
#skin-client-prefs-citizen-feature-autohide-navigation { order: 5 !important; }
#skin-client-prefs-citizen-feature-performance-mode  { order: 6 !important; }
 
label[for="skin-client-pref-citizen-feature-performance-mode-value-1"],
label[for="skin-client-pref-citizen-feature-performance-mode-value-0"] {
label[for="skin-client-pref-citizen-feature-performance-mode-value-0"] {
     color: transparent !important;  
     color: transparent !important;
     position: relative !important;
     position: relative !important;
     min-width: 80px !important;  
     min-width: 80px !important;
     text-align: center !important;
     text-align: center !important;
}
}
label[for="skin-client-pref-citizen-feature-performance-mode-value-0"]::after {
label[for="skin-client-pref-citizen-feature-performance-mode-value-0"]::after {
     content: "Aero" !important;
     content: "Aero" !important;
第273行: 第324行:
     top: 50% !important;
     top: 50% !important;
     transform: translate(-50%, -50%) !important;
     transform: translate(-50%, -50%) !important;
     color: var(--color-base-0) !important;  
     color: var(--color-base-0) !important;
     font-size: 0.9rem !important;
     font-size: 0.9rem !important;
     font-weight: bold !important;
     font-weight: bold !important;
第279行: 第330行:
}
}


/* 注入 Basic */
label[for="skin-client-pref-citizen-feature-performance-mode-value-1"]::after {
label[for="skin-client-pref-citizen-feature-performance-mode-value-1"]::after {
     content: "Basic" !important;
     content: "Basic" !important;
第291行: 第341行:
     visibility: visible !important;
     visibility: visible !important;
}
}
.citizen-menu #skin-client-pref-citizen-feature-performance-mode-group {
 
}
#citizen-preferences__card .mw-portlet.mw-portlet-performance-mode-group .citizen-menu__heading,
#citizen-preferences__card .mw-portlet.mw-portlet-performance-mode-group .citizen-menu__heading,
#citizen-preferences__card .citizen-menu:nth-last-child(1) .citizen-menu__heading {
#citizen-preferences__card .citizen-menu:nth-last-child(1) .citizen-menu__heading {
     font-size: 0 !important;
     font-size: 0 !important;
}
}
#citizen-preferences__card .mw-portlet.mw-portlet-performance-mode-group .citizen-menu__heading::before,
#citizen-preferences__card .mw-portlet.mw-portlet-performance-mode-group .citizen-menu__heading::before,
#citizen-preferences__card .citizen-menu:nth-last-child(1) .citizen-menu__heading::before {
#citizen-preferences__card .citizen-menu:nth-last-child(1) .citizen-menu__heading::before {
第304行: 第354行:
     letter-spacing: 0.1em !important;
     letter-spacing: 0.1em !important;
     text-transform: uppercase !important;
     text-transform: uppercase !important;
     color: var(--color-primary) !important;  
     color: var(--color-primary) !important;
     visibility: visible !important;
     visibility: visible !important;
}
}
/* ============================ */
 
/* --- Section12.首页Banner --- */
@media (prefers-color-scheme: dark) {
/* ============================ */
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #citizen-preferences__card,
/* 创建一个全宽容器的类,用于包裹Banner */
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card-content {
        background-color: #1e1f20 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-client-prefs-radio__icon {
        background-color: #333333 !important;
        border-color: #555555 !important;
    }
}
 
/* ====================== */
/* --- 首页 Banner ---   */
/* ====================== */
 
.page-首页 .banner-image {
    --banner-image-url: url("https://cdn.jsdelivr.net/gh/KKBlockE/BlocklandPicturebed@main/main/d49dd42343ab1bfcf4efa67f62f4ecf8.png");
    --banner-image-height: 70vh;
    background-image: linear-gradient(to top, var(--color-surface-0) 15%, transparent 150%), var(--banner-image-url);
    background-size: cover;
    background-position: top;
    height: var(--banner-image-height);
    margin-bottom: calc(-1 * var(--banner-image-height));
}
 
.full-width-banner {
.full-width-banner {
     width: 100vw; /* 视口宽度 */
     width: 100vw;
     position: relative;
     position: relative;
     left: 50%;
     left: 50%;
第319行: 第395行:
     margin-right: -50vw;
     margin-right: -50vw;
     overflow: hidden;
     overflow: hidden;
/* 下面是 Banner 的高度和背景设置 */
     height: 400px;
     height: 400px; /* 你想要的高度 */
     background-size: cover;
     background-size: cover;
     background-position: center;
     background-position: center;
第326行: 第401行:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     color: white; /* 文字颜色 */
     color: white;
     text-shadow: 0 2px 10px rgba(0,0,0,0.7); /* 文字阴影,防止背景太亮看不清 */
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
     z-index: 1; /* 确保不被底层遮挡 */
     z-index: 1;
     background-repeat: no-repeat; /* 防止图片重复 */
     background-repeat: no-repeat;
     background-color: #2a2a2a; /* 给一个深灰色底,图片加载失败时保底 */
     background-color: #2a2a2a;
}
}
.banner-content {
.banner-content {
     max-width: 1200px; /* 内容最大宽度,保持中间对齐 */
     max-width: 1200px;
     padding: 20px;
     padding: 20px;
     text-align: center;
     text-align: center;
}
}
/* ==================================== */
 
/* --- Section13.搜索页面搜索栏优化 --- */
/* ======================== */
/* ==================================== */
/* --- 搜索页面优化 ---   */
/* ======================== */
 
.page-特殊_搜索 .oo-ui-layout.oo-ui-labelElement.oo-ui-actionFieldLayout,
.page-特殊_搜索 .oo-ui-layout.oo-ui-labelElement.oo-ui-actionFieldLayout,
.page-特殊_搜索 .oo-ui-fieldLayout.oo-ui-labelElement,
.page-特殊_搜索 .oo-ui-fieldLayout.oo-ui-labelElement,
.page-特殊_搜索 .mw-widgets-titleInputWidget,
.page-特殊_搜索 .mw-widgets-titleInputWidget,
.page-特殊_搜索 .mw-widget-searchInputWidget {
.page-特殊_搜索 .mw-widget-searchInputWidget {
     max-width: none !important;  
     max-width: none !important;
     width: 100% !important;  
     width: 100% !important;
     display: flex !important;
     display: flex !important;
}
}
.page-特殊_搜索 .mw-search-form-wrapper,  
 
.page-特殊_搜索 #mw-search-top-table,  
.page-特殊_搜索 .mw-search-form-wrapper,
.page-特殊_搜索 #mw-search-top-table,
.page-特殊_搜索 .oo-ui-fieldLayout-field {
.page-特殊_搜索 .oo-ui-fieldLayout-field {
     width: 100% !important;
     width: 100% !important;
     max-width: none !important;
     max-width: none !important;
}
}
.page-特殊_搜索 .oo-ui-actionFieldLayout-input {
.page-特殊_搜索 .oo-ui-actionFieldLayout-input {
     flex: 1 1 auto !important;  
     flex: 1 1 auto !important;
     width: 100% !important;  
     width: 100% !important;
}
}
.page-特殊_搜索 .oo-ui-actionFieldLayout-input .oo-ui-inputWidget-input {
.page-特殊_搜索 .oo-ui-actionFieldLayout-input .oo-ui-inputWidget-input {
     height: 48px !important;
     height: 48px !important;
第365行: 第446行:
     box-sizing: border-box !important;
     box-sizing: border-box !important;
}
}
.page-特殊_搜索 .oo-ui-actionFieldLayout-button {
.page-特殊_搜索 .oo-ui-actionFieldLayout-button {
     flex: 0 0 auto !important;  
     flex: 0 0 auto !important;
     width: auto !important;
     width: auto !important;
}
}
.page-特殊_搜索 .oo-ui-actionFieldLayout-button .oo-ui-buttonElement-button {
.page-特殊_搜索 .oo-ui-actionFieldLayout-button .oo-ui-buttonElement-button {
     height: 48px !important;
     height: 48px !important;
第376行: 第459行:
     box-sizing: border-box !important;
     box-sizing: border-box !important;
}
}
/* ================================== */
/* --- Section14.设置菜单选项重排 --- */
/* ================================== */


/* 激活容器布局 */
/* =============================== */
#citizen-preferences-content {
/* --- Infobox 信息框系统 ---     */
/* =============================== */
 
.infobox {
     display: flex !important;
     display: flex !important;
     flex-direction: column !important;
     flex-direction: column !important;
}
     position: relative !important;
/* 1. 文字 */
     z-index: 10 !important;
#skin-client-prefs-citizen-feature-custom-font-size {
     background: transparent !important;
     order: 1 !important;
     background-image: none !important;
}
/* 2. 宽度 */
#skin-client-prefs-citizen-feature-custom-width {
     order: 2 !important;
}
/* 3. 纯黑模式 (移动到颜色上方) */
#skin-client-prefs-citizen-feature-pure-black {
    order: 3 !important;
}
/* 4. 颜色 (移动到纯黑下方) */
#skin-client-prefs-skin-theme {
     order: 4 !important;
}
/* 5. 自动隐藏导航 */
#skin-client-prefs-citizen-feature-autohide-navigation {
     order: 5 !important;
}
/* 6. 效能模式 (Aero/Basic) */
#skin-client-prefs-citizen-feature-performance-mode {
    order: 6 !important;
}
/* ==================================== */
/* --- Section15.Infobox 信息框美化 --- */
/* ==================================== */
.infobox {
    background: transparent !important;  
     color: var(--color-base-0) !important;
     color: var(--color-base-0) !important;
     border: none !important;
     border: none !important;
     border-radius: 12px !important;
     border-radius: 20px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: none !important;
     backdrop-filter: blur(10px);
     backdrop-filter: blur(10px);
     border-collapse: separate !important;  
     overflow: hidden !important;
     border-spacing: 0 !important;  
     opacity: 1 !important;
}
}
.infobox th,  
 
.infobox th,
.infobox td {
.infobox td {
     background-color: transparent !important;  
     background-color: transparent !important;
     color: var(--color-base-0) !important;
     color: var(--color-base-0) !important;
     padding: 8px 5px !important;  
     padding: 8px 5px !important;
     line-height: 1.4 !important;
     line-height: 1.4 !important;
     border-top: none !important;  
     border-top: none !important;
}
}
.infobox tr:not(:last-child) th,
.infobox tr:not(:last-child) th,
.infobox tr:not(:last-child) td {
.infobox tr:not(:last-child) td {
     border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
     border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
}
}
html.skin-theme-clientpref-night .infobox tr:not(:last-child) th,
html.skin-theme-clientpref-night .infobox tr:not(:last-child) th,
html.skin-theme-clientpref-night .infobox tr:not(:last-child) td {
html.skin-theme-clientpref-night .infobox tr:not(:last-child) td {
     border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
     border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
}
.infobox th[colspan="2"] {
.infobox th[colspan="2"] {
     background-color: var(--color-primary-opacity-10, rgba(54, 121, 204, 0.1)) !important;
     background-color: var(--color-primary-opacity-10, rgba(54, 121, 204, 0.1)) !important;
     color: var(--color-primary, #36c) !important;
     color: var(--color-primary, #36c) !important;
}
}
.infobox .mw-file-description img { background: transparent !important; }
.infobox .mw-file-description img { background: transparent !important; }
.infobox {
    position: relative !important;
    z-index: 10 !important;
}
/* ===================================== */
/* === Section 16.21 评论流终极整合版 === */
/* ===================================== */


/* --- 1. 基础流容器 --- */
.infobox .infobox-title {
.cs-stream {
     display: block !important;
     display: block !important;
     background-color: var(--color-surface-1) !important;
     order: -1 !important;
     border: 1px solid var(--border-color-base) !important;
     width: 100% !important;
     border-radius: 20px !important;
    box-sizing: border-box !important;
     margin-bottom: 16px !important; /* 压缩外部间距 */
    margin: 0 0 12px 0 !important;
     padding: 16px 12px !important;
     border-radius: 12px !important;
     overflow: hidden !important;
     overflow: hidden !important;
     padding: 0 !important;
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
}
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
    text-shadow: none !important;
    text-align: center !important;
    line-height: 1.5 !important;
    font-size: 1.2rem !important;
}
 
caption.infobox-title { caption-side: top !important; }


/* --- 2. 头像框重塑 (Squircle) --- */
.infobox tbody {
.cs-avatar {
    display: table !important;
     width: 44px !important;
     width: 100% !important;
     height: 44px !important;
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
     border-radius: 12px !important;
     border-radius: 12px !important;
     border: 2px solid rgba(var(--color-primary-rgb), 0.3) !important;
     overflow: hidden !important;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
     background: var(--color-surface-1) !important;
    margin-right: 12px !important;
    transition: transform 0.2s ease !important;
    object-fit: cover !important;
}
}


/* --- 3. 头部与主体文字布局 --- */
.infobox .infobox-above,
.cs-comment-header {
.infobox tr:first-child th,
     display: flex !important;
.infobox tr:first-child td {
    align-items: center;
     border-top-left-radius: 12px !important;
    padding: 8px 16px !important;
     border-top-right-radius: 12px !important;
    background: rgba(128, 128, 128, 0.05) !important;
     border-bottom: 1px solid var(--border-color-base) !important;
    margin-bottom: 2px !important;
}
}


.cs-comment-body {
.infobox tr:last-child td,
     padding: 4px 16px 8px 72px !important; /* 确保文字不撞头像,对齐轴线 */
.infobox tr:last-child th {
    color: var(--color-text-primary) !important;
     border-bottom-left-radius: 12px !important;
     font-size: 0.95rem !important;
     border-bottom-right-radius: 12px !important;
    margin-top: -4px !important;
}
}


/* --- 4. 次级评论:位置上移与颜色对齐 --- */
.infobox-player-header {
.cs-reply-comment {
     background: linear-gradient(90deg, rgba(54, 121, 204, 0.1), transparent) !important;
     background-color: var(--color-surface-1) !important; /* 颜色与主板绝对一致 */
     border-radius: 8px;
    border: 1px solid var(--border-color-base) !important;
     padding: 5px !important;
     border-radius: 12px !important;
    margin-bottom: 5px !important;
     margin: -12px 16px 20px 72px !important; /* margin-top为负,向上挪动贴近主评论 */
    padding: 0 !important;
    overflow: hidden;
}
}


.cs-reply-comment .cs-comment-header {
html.skin-theme-clientpref-night .infobox .infobox-title {
     background: rgba(var(--color-primary-rgb), 0.08) !important;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
     padding: 6px 12px !important;
     text-shadow: none !important;
    filter: none !important;
}
}


.cs-reply-comment .cs-comment-body {
html.skin-theme-clientpref-night table.infobox {
     padding: 8px 16px !important; /* 次级内部文字间距 */
     background-color: rgba(40, 40, 40, 0.0) !important;
}
}


/* --- 5. 回复按钮:对齐轴线与间距拉开 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-title {
.cs-stream-footer {
     box-shadow: none !important;
     padding: 0 16px 12px 72px !important; /* 与头像/次级评论左对齐 */
     text-shadow: none !important;
     background: transparent !important;
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
     margin-top: 0 !important;
}
}


.cs-stream-footer .oo-ui-buttonElement-button {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox .infobox-title {
     height: 36px !important; /* 增加高度,拒绝扁平 */
     filter: none !important;
    padding: 0 18px !important;
     background-color: #2a2a2a !important;
    border: 1px solid var(--border-color-base) !important; /* 找回外框 */
     color: #eaecf0 !important;
     background-color: rgba(128, 128, 128, 0.05) !important;
     color: var(--color-primary) !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    transition: all 0.2s ease !important;
}
}


.cs-stream-footer .oo-ui-buttonElement-button:hover {
@media (prefers-color-scheme: dark) {
    background-color: var(--color-primary) !important;
    html.skin-theme-clientpref-os .infobox .infobox-title {
    color: #fff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
        text-shadow: none !important;
 
        filter: none !important;
/* --- 6. 回复输入框 (Edit Box) --- */
    }
.cs-edit-box {
    html.skin-theme-clientpref-os .infobox-above,
    background-color: var(--color-surface-1) !important;
    html.skin-theme-clientpref-os .infobox-title,
     border: 1px solid var(--border-color-base) !important;
    html.skin-theme-clientpref-os .infobox caption,
    border-radius: 12px !important;
    html.skin-theme-clientpref-os .infobox th[style*="background"] {
     margin: 4px 16px 12px 72px !important;
        background-color: rgba(26, 58, 90, 0.4) !important;
    padding: 10px !important;
        color: #ffffff !important;
}
        background-image: none !important;
 
        filter: none !important;
.cs-body-edit-field {
    }
     background-color: var(--color-surface-1) !important;
    html.skin-theme-clientpref-os .infobox {
    color: var(--color-text-primary) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid var(--border-color-base) !important;
    }
    border-radius: 8px !important;
    html.skin-theme-clientpref-os .infobox th,
     min-height: 50px !important;
    html.skin-theme-clientpref-os .infobox td {
    padding: 8px !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
     }
    html.skin-theme-clientpref-os .infobox .infobox-header {
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
     }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox-above,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox-title,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os caption.infobox-title {
        background-color: #2c2c2c !important;
        color: #ffffff !important;
    }
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-header,
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color: #F3F3F3"],
     html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color:#F3F3F3"],
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background:#F3F3F3"] {
        background-color: #333333 !important;
        color: #eeeeee !important;
        border-color: #444444 !important;
        text-shadow: none !important;
     }
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th.infobox-label {
        border-color: rgba(255, 255, 255, 0.1) !important;
        color: #cccccc !important;
    }
}
}


/* --- 7. 提交与取消按钮:消除空位与对称 --- */
/* --- Caption 全模式透明清理 --- */
.cs-edit-box .cs-submit-btn,
.cs-edit-box .cs-cancel-btn {
    margin-top: 15px !important;    /* 增加上间距,解决按钮拥挤 */
    margin-bottom: 5px !important;
    margin-left: 0 !important;
}


.cs-edit-box .oo-ui-buttonElement-button {
.infobox caption,
     height: 38px !important; /* 增厚按钮 */
.mw-parser-output .infobox caption,
     padding: 0 20px !important;
table.infobox caption {
     display: inline-flex !important;
     background: transparent !important;
     align-items: center !important;
     background-color: transparent !important;
     justify-content: center !important;
     border: none !important;
     border: 1px solid var(--border-color-base) !important;
     box-shadow: none !important;
     border-radius: 8px !important;
     filter: none !important;
     text-shadow: none !important;
     outline: none !important;
}
}


/* 消除文字左侧图标留下的空白 */
html.skin-theme-clientpref-night .infobox caption,
.cs-edit-box .oo-ui-labelElement-label,
html.skin-theme-clientpref-night .infobox caption b,
.cs-cancel-btn .oo-ui-labelElement-label {
html.skin-theme-clientpref-night table.infobox caption,
     margin-left: 0 !important;
html.skin-theme-clientpref-night table.infobox caption b {
     padding: 0 !important;
     background: transparent !important;
     line-height: 38px !important;
     border: none !important;
     font-weight: bold !important;
     box-shadow: none !important;
     text-align: center !important;
     filter: none !important;
     color: #eaecf0 !important;
}
}


/* --- 8. 彻底物理封杀图标占位 --- */
@media (prefers-color-scheme: dark) {
.cs-edit-box .oo-ui-iconElement-icon,
    html.skin-theme-clientpref-os .infobox caption,
.cs-edit-box .oo-ui-indicatorElement-indicator,
    html.skin-theme-clientpref-os .infobox caption b,
.cs-stream-footer .oo-ui-iconElement-icon {
    html.skin-theme-clientpref-os table.infobox caption,
    display: none !important;
    html.skin-theme-clientpref-os table.infobox caption b {
    width: 0 !important;
        background: transparent !important;
    margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        filter: none !important;
        color: #eaecf0 !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox caption,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox caption b,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os caption.infobox-title {
        background: transparent !important;
        border: none !important;
        color: #eaecf0 !important;
    }
}
}


/* --- 9. 亮色模式强制对齐补丁 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption,
html.skin-theme-clientpref-day .cs-reply-comment,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption b {
html.skin-theme-clientpref-day .cs-edit-box,
     background: transparent !important;
html.skin-theme-clientpref-day .cs-body-edit-field {
     border: none !important;
     background-color: #ffffff !important;
    color: #eaecf0 !important;
     border-color: #eeeeee !important;
}
}
/* ======================================== */
 
/* --- Section17.Infobox 标题卡片化补丁 --- */
/* --- Country / Geography / Vcard Infobox --- */
/* ======================================== */
 
.infobox {
.infobox.ve-infobox-country,
    display: flex !important;   
.infobox.ve-infobox-country tbody,
    flex-direction: column !important;
.infobox.ve-infobox-country tr,
    border: none !important;         
.infobox.ve-infobox-country th,
     background: transparent !important;  
.infobox.ve-infobox-country td {
     box-shadow: none !important;
     background-color: transparent !important;
     border-color: rgba(128, 128, 128, 0.1) !important;
}
}
.infobox .infobox-title {
 
     display: block !important;
.infobox.ve-infobox-country {
     order: -1 !important;         
     background: rgba(255, 255, 255, 0.2) !important;
    width: 100% !important;      
     backdrop-filter: blur(15px) saturate(160%) !important;
     box-sizing: border-box !important;
     -webkit-backdrop-filter: blur(15px) saturate(160%) !important;
    margin: 0 0 12px 0 !important;
     border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 16px 12px !important;
     box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
    border-radius: 12px !important;
     border-radius: 16px !important;
    overflow: hidden !important;  
     overflow: hidden;
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
    padding: 0 !important;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
     border-collapse: separate !important;
      
     border-spacing: 0 !important;
     text-align: center !important;
     line-height: 1.5 !important;
     font-size: 1.2rem !important;
}
}
caption.infobox-title {
 
     caption-side: top !important;
.infobox.ve-infobox-country tbody { background-color: transparent !important; border: none !important; }
 
.infobox.ve-infobox-country .infobox-above {
    background: rgba(204, 238, 255, 0.5) !important;
    text-shadow: none !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
    font-weight: bold;
    margin: 0 !important;
     border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-top: none !important;
    display: table-cell !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}
}
.infobox tbody {
 
    display: table !important;
.infobox.ve-infobox-country tr:first-child th,
     width: 100% !important;
.infobox.ve-infobox-country tr:first-child td { border-top: none !important; }
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
 
     border-radius: 12px !important;
.infobox.ve-infobox-country .infobox-header {
     overflow: hidden !important;
     background-color: rgba(54, 121, 204, 0.1) !important;
     background: var(--color-surface-1) !important;
     color: var(--color-primary, #36c) !important;
     backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-weight: bold !important;
     text-align: center !important;
     text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border-top: 1px solid rgba(128, 128, 128, 0.1) !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
}
}
/* ======================================= */
/* --- Section18.暗色模式 Infobox 修复 --- */
/* ======================================= */
html.skin-theme-clientpref-night .infobox .infobox-title {
    filter: brightness(1) contrast(0.5) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    opacity: 0.9;
}
html.skin-theme-clientpref-night .infobox .infobox-title[style*="background"] {
    background-blend-mode: multiply !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox .infobox-title {
    filter: none !important;
    background-color: #2a2a2a !important;
    color: #eaecf0 !important;
}
/* ====================================== */
/* --- Section19.通知中心毛玻璃与动效 --- */
/* ====================================== */


/* 1. 外层容器:禁用原有动画和滤镜 */
.infobox.ve-infobox-country .infobox-image img {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
    animation: none !important;
    filter: none !important;  /* 关键修复:移除 drop-shadow */
     background: transparent !important;
     background: transparent !important;
     border: none !important;
     filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    box-shadow: none !important;
}
}


/* 2. 主弹窗容器:毛玻璃 */
html.skin-theme-clientpref-night .infobox.ve-infobox-country {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
     background: rgba(20, 20, 20, 0.2) !important;
     background-color: rgba(255, 255, 255, 0.2) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
     box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     border: 1px solid rgba(128, 128, 128, 0.1) !important;
    border-radius: 16px !important;
     box-shadow:  
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.05) !important;
    /* 删除这行:overflow: hidden !important; */
   
    /* 为光效伪元素定位 */
    position: relative !important;
}
}


/* 3. 液态玻璃 - 边框光效 */
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
     background: rgba(54, 121, 204, 0.3) !important;
    content: "" !important;
     color: #fff !important;
    display: block !important;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    position: absolute !important;
     text-shadow: none !important;
    inset: -1px !important;
    border: 2px solid transparent !important;
    border-radius: 17px !important;
     background: radial-gradient(
        180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 1.0) 0%,
        rgba(255, 255, 255, 0.4) 40%,
        transparent 80%
     ) border-box !important;
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) !important;
     -webkit-mask-clip: content-box, border-box !important;
    -webkit-mask-composite: source-out !important;
    mask-composite: subtract !important;
    mix-blend-mode: screen !important;
    z-index: 10 !important;
    pointer-events: none !important;
}
}


/* 4. 液态玻璃 - 面光效 */
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
     background-color: rgba(54, 121, 204, 0.1) !important;
     content: "" !important;
     color: #ffffff !important;
    display: block !important;
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: absolute !important;
    inset: 0 !important;
    border-radius: 16px !important;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.35) 0%, 
        transparent 70%
    ) !important;
     mix-blend-mode: soft-light !important;
     z-index: 1 !important;
    pointer-events: none !important;
}
}


/* 5. 内部元素透明 */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-head,
    backdrop-filter: none !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
    -webkit-backdrop-filter: none !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-footer,
     background-color: var(--color-surface-1, #ffffff) !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable,
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .mw-echo-ui-notificationsListWidget,
    box-shadow: none !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .mw-echo-ui-placeholderItemWidget {
    background: transparent !important;
     background-color: transparent !important;
     border-color: rgba(0, 0, 0, 0.05) !important;
}
}
/* 5.5. 滚动容器单独设置 overflow */
 
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable {
     background-color: #CCEEFF !important;
    overflow-y: auto !important;
     color: #004466 !important;
    overflow-x: hidden !important;
     text-shadow: none !important;
}
     box-shadow: none !important;
/* 6. 底部按钮 */
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
     background-color: rgba(255, 255, 255, 0.3) !important;
     border: 1px solid rgba(0, 0, 0, 0.08) !important;
     border-radius: 8px !important;
     transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
}
}


.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-header {
     background-color: rgba(255, 255, 255, 0.5) !important;
     background-color: #F3F3F3 !important;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    color: var(--color-base-0) !important;
     backdrop-filter: none !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
}
}


/* 7. 通知项悬停 */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country {
.mw-echo-ui-notificationItemWidget {
     background-color: #242526 !important;
     background: transparent !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     transition: background-color 0.2s ease !important;
}
}


.mw-echo-ui-notificationItemWidget:hover {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
     background-color: rgba(0, 0, 0, 0.03) !important;
     background-color: #1a3a5a !important;
    color: #ffffff !important;
}
}


/* 8. 隐藏原版箭头(可选,如果有的话) */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-anchor {
    background-color: #2a2a2a !important;
     display: none !important;
    color: #eaecf0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.3) !important;
     border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
}
}


/* ====================================== */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr th,
/* --- 深色模式 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr td {
/* ====================================== */
     border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
 
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
    background-color: rgba(20, 20, 20, 0.3) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}
}


html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child th,
    background: radial-gradient(
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child td {
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
     border-bottom: none !important;
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 70%
     ) !important;
}
}


html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
@media (prefers-color-scheme: dark) {
     background: radial-gradient(
     html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-above {
        180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        rgba(255, 255, 255, 0.8) 0%,
        text-shadow: none !important;
        transparent 80%
    }
    ) border-box !important;
    html.skin-theme-clientpref-os .infobox.geography,
}
    html.skin-theme-clientpref-os .infobox.vcard,
 
     html.skin-theme-clientpref-os .infobox.ve-infobox-country {
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
         background: rgba(20, 20, 20, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
 
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}
 
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-labelElement-label,
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-iconElement-icon {
    color: #eaecf0 !important;
}
 
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}
 
/* ====================================== */
/* --- 自动深色模式 --- */
/* ====================================== */
 
@media (prefers-color-scheme: dark) {
     html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
         background-color: rgba(20, 20, 20, 0.3) !important;
        backdrop-filter: blur(14px) saturate(100%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
         border: 1px solid rgba(255, 255, 255, 0.1) !important;
         border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
     }
     }
      
     html.skin-theme-clientpref-os .infobox.geography .infobox-above,
     html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
     html.skin-theme-clientpref-os .infobox.geography th.fn.org,
         background: radial-gradient(
    html.skin-theme-clientpref-os .infobox.vcard .infobox-above,
            400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    html.skin-theme-clientpref-os .infobox.vcard th.fn.org {
            rgba(255, 255, 255, 0.1) 0%, 
         background-color: rgba(26, 58, 90, 0.5) !important;
            transparent 70%
        color: #ffffff !important;
        ) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
     }
     }
   
     html.skin-theme-clientpref-os .infobox.geography .infobox-subheader,
     html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
    html.skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
         background-color: rgba(255, 255, 255, 0.1) !important;
         background-color: rgba(54, 121, 204, 0.3) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
     }
     }
      
     html.skin-theme-clientpref-os .infobox.geography .infobox-header,
     html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget:hover {
     html.skin-theme-clientpref-os .infobox.vcard .infobox-header {
         background-color: rgba(255, 255, 255, 0.05) !important;
        background-color: rgba(60, 60, 60, 0.5) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    html.skin-theme-clientpref-os .infobox.geography th.infobox-label,
    html.skin-theme-clientpref-os .infobox.geography td.infobox-data,
    html.skin-theme-clientpref-os .infobox.vcard th.infobox-label,
    html.skin-theme-clientpref-os .infobox.vcard td.infobox-data {
        background-color: transparent !important;
        color: #eaecf0 !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
    html.skin-theme-clientpref-os .infobox.geography::after,
    html.skin-theme-clientpref-os .infobox.vcard::after,
    html.skin-theme-clientpref-os .infobox.ve-infobox-country::after {
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
    }
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
        background-color: #1a3a5a !important;
        color: #CCEEFF !important;
        text-shadow: none !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
         background-color: #242526 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: none !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-above,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography th.fn.org,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-above,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard th.fn.org {
        background-color: #1a3a5a !important;
        color: #ffffff !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-subheader,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
        background-color: #2a4a6a !important;
        color: #ffffff !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-header,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-header {
        background-color: #2a2a2a !important;
        color: #eaecf0 !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography::before,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography::after,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard::before,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard::after {
        display: none !important;
     }
     }
}
}


/* ====================================== */
/* ==================== */
/* --- 性能模式 --- */
/* --- 评论流 ---       */
/* ====================================== */
/* ==================== */
 
 
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
.cs-stream {
     backdrop-filter: none !important;
     display: block !important;
    -webkit-backdrop-filter: none !important;
     background-color: var(--color-surface-1) !important;
     background-color: var(--color-surface-1) !important;
     border: 1px solid var(--border-color-base) !important;
     border: 1px solid var(--border-color-base) !important;
    border-radius: 20px !important;
}
    margin-bottom: 16px !important;
 
     overflow: hidden !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before,
     padding: 0 !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
    display: none !important;
}
/* ====================================== */
/* --- Section19.通知面板动画基础设置 --- */
/* ====================================== */
 
/* 移除所有可能干扰 JS 的默认过渡 */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
    transition: none !important;
     will-change: opacity, transform;
    /* 解决毛玻璃边缘闪烁 */
    backface-visibility: hidden;
}
 
/* 确保容器不会剪裁掉动画过程中的阴影 */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
     overflow: visible !important;
}
}
/* ============================================ */
 
/* --- Section20.最后修改时间背景毛玻璃填充 --- */
.cs-avatar {
/* ============================================ */
     width: 44px !important;
#citizen-sidebar-lastmod.citizen-menu {
     height: 44px !important;
     background-color: rgba(255, 255, 255, 0.2) !important;
     backdrop-filter: blur(12px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
     border-radius: 12px !important;
     border-radius: 12px !important;
     border: none !important;
     border: 2px solid rgba(var(--color-primary-rgb), 0.3) !important;
     padding: 4px !important;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
     margin-top: 5px !important;
     margin-right: 12px !important;
     width: fit-content !important;
     transition: transform 0.2s ease !important;
     background-image: none !important;
     object-fit: cover !important;
}
}
html.skin-theme-clientpref-night #citizen-sidebar-lastmod.citizen-menu {
 
     background-color: rgba(20, 20, 20, 0.6) !important;
.cs-comment-header {
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center;
    padding: 8px 16px !important;
     background: rgba(128, 128, 128, 0.05) !important;
     border-bottom: 1px solid var(--border-color-base) !important;
    margin-bottom: 2px !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] #citizen-sidebar-lastmod.citizen-menu {
 
     backdrop-filter: none !important;
.cs-comment-body {
    -webkit-backdrop-filter: none !important;
     padding: 4px 16px 8px 72px !important;
     background-color: var(--color-surface-1) !important;  
     color: var(--color-text-primary) !important;
     border: 1px solid var(--border-color-base, rgba(20,20,20,0.2)) !important;
     font-size: 0.95rem !important;
     box-shadow: none !important;
     margin-top: -4px !important;
}
}
#citizen-sidebar-lastmod #citizen-lastmod-relative {
 
     text-decoration: none !important;
.cs-reply-comment {
    color: var(--color-base-0) !important;
     background-color: var(--color-surface-1) !important;
     font-weight: 400;
     border: 1px solid var(--border-color-base) !important;
}
     border-radius: 12px !important;
/* =========================================== */
     margin: -12px 16px 20px 72px !important;
/* --- Section21.国家Infobox悬浮毛玻璃补丁 --- */
/* =========================================== */
/* 1. 穿透表格层级,强制透明背景 */
.infobox.ve-infobox-country,
.infobox.ve-infobox-country tbody,
.infobox.ve-infobox-country tr,
.infobox.ve-infobox-country th,
.infobox.ve-infobox-country td {
    background-color: transparent !important;
    border-color: rgba(128, 128, 128, 0.1) !important;
}
/* 2. 主体容器注入毛玻璃 */
.infobox.ve-infobox-country {
    background: rgba(255, 255, 255, 0.2) !important; /* 浅色半透明基底 */
     backdrop-filter: blur(15px) saturate(160%) !important;
     -webkit-backdrop-filter: blur(15px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
    border-radius: 16px !important;
    overflow: hidden; /* 确保毛玻璃不超出圆角 */
     padding: 0 !important;
     padding: 0 !important;
     border-collapse: collapse !important;
     overflow: hidden;
}
}
/* 3. 针对“凯特共和国”标题行的特殊处理 */
 
.infobox.ve-infobox-country .infobox-above {
.cs-reply-comment .cs-comment-header {
     background: rgba(204, 238, 255, 0.5) !important; /* 调低 HTML 里 #CCEEFF 的浓度 */
     background: rgba(var(--color-primary-rgb), 0.08) !important;
     text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
     padding: 6px 12px !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
    font-weight: bold;
}
}
.infobox.ve-infobox-country .infobox-header {
 
    background-color: rgba(204, 238, 255, 0.2) !important; /* 极淡的遮罩区分区块 */
.cs-reply-comment .cs-comment-body { padding: 8px 16px !important; }
    backdrop-filter: brightness(1.1);
 
     text-transform: uppercase;
.cs-stream-footer {
     letter-spacing: 1.5px;
     padding: 0 16px 12px 72px !important;
     font-size: 0.85rem;
     background: transparent !important;
     margin-top: 0 !important;
}
}
/* 深色模式适配 */
 
html.skin-theme-clientpref-night .infobox.ve-infobox-country {
.cs-stream-footer .oo-ui-buttonElement-button {
     background: rgba(20, 20, 20, 0.2) !important;
     height: 36px !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0 18px !important;
     box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
     border: 1px solid var(--border-color-base) !important;
    background-color: rgba(128, 128, 128, 0.05) !important;
     color: var(--color-primary) !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    transition: all 0.2s ease !important;
}
}
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
 
     background: rgba(54, 121, 204, 0.3) !important;
.cs-stream-footer .oo-ui-buttonElement-button:hover {
     background-color: var(--color-primary) !important;
     color: #fff !important;
     color: #fff !important;
}
}
.infobox.ve-infobox-country .infobox-image img {
 
     background: transparent !important;
.cs-edit-box {
     filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
     background-color: var(--color-surface-1) !important;
}
     border: 1px solid var(--border-color-base) !important;
/* ================================================= */
    border-radius: 12px !important;
/* --- Section22.修复 Infobox 顶栏间隙与露底问题 --- */
     margin: 4px 16px 12px 72px !important;
/* ================================================= */
     padding: 10px !important;
.infobox.ve-infobox-country tbody {
     background-color: transparent !important;
     border: none !important;
}
}
.infobox.ve-infobox-country {
 
     border-spacing: 0 !important;
.cs-body-edit-field {
     border-collapse: separate !important;  
     background-color: var(--color-surface-1) !important;
     background-color: transparent !important;
    color: var(--color-text-primary) !important;
    border: 1px solid var(--border-color-base) !important;
     border-radius: 8px !important;
     min-height: 50px !important;
    padding: 8px !important;
}
}
.infobox.ve-infobox-country .infobox-above {
 
     margin: 0 !important;
.cs-edit-box .cs-submit-btn,
    border-top-left-radius: 12px !important;  
.cs-edit-box .cs-cancel-btn {
     border-top-right-radius: 12px !important;
     margin-top: 15px !important;
     border: none !important;
     margin-bottom: 5px !important;
    display: table-cell !important;  
     margin-left: 0 !important;
}
}
.infobox.ve-infobox-country tr:first-child th,
 
.infobox.ve-infobox-country tr:first-child td {
.cs-edit-box .oo-ui-buttonElement-button {
     border-top: none !important;
    height: 38px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--border-color-base) !important;
     border-radius: 8px !important;
}
}
/* ================================================= */
 
/* --- Section23.恢复中段标题颜色(Section 15 17) --- */
.cs-edit-box .oo-ui-labelElement-label,
/* ================================================= */
.cs-cancel-btn .oo-ui-labelElement-label {
.infobox.ve-infobox-country .infobox-header {
     margin-left: 0 !important;
     background-color: rgba(54, 121, 204, 0.1) !important;  
     padding: 0 !important;
     color: var(--color-primary, #36c) !important;
     line-height: 38px !important;
     backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
     font-weight: bold !important;
     font-weight: bold !important;
     text-align: center !important;
     text-align: center !important;
    border-top: 1px solid rgba(128, 128, 128, 0.1) !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
}
}
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
 
    background-color: rgba(54, 121, 204, 0.1) !important;
.cs-edit-box .oo-ui-iconElement-icon,
    color: #ffffff !important;
.cs-edit-box .oo-ui-indicatorElement-indicator,
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
.cs-stream-footer .oo-ui-iconElement-icon {
}
     display: none !important;
/* ==================================== */
     width: 0 !important;
/* --- Section24.Basic 模式扩展补丁 --- */
     margin: 0 !important;
/* ==================================== */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country {
     backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     background-color: var(--color-surface-1, #ffffff) !important;
    border: 1px solid rgba(128, 128, 128, 0.3) !important;
    box-shadow: none !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
 
     background-color: #CCEEFF !important;
html.skin-theme-clientpref-day .cs-reply-comment,
     color: #004466 !important;
html.skin-theme-clientpref-day .cs-edit-box,
    text-shadow: none !important;
html.skin-theme-clientpref-day .cs-body-edit-field {
     background-color: #ffffff !important;
     border-color: #eeeeee !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-header {
 
     background-color: #F3F3F3 !important;
/* ======================== */
     color: var(--color-base-0) !important;
/* --- 通知中心 ---        */
     backdrop-filter: none !important;
/* ======================== */
     border-top: 1px solid #ddd !important;
 
     border-bottom: 1px solid #ddd !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
     animation: none !important;
    filter: none !important;
     background: transparent !important;
     border: none !important;
     box-shadow: none !important;
     overflow: visible !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country {
 
     background-color: #242526 !important;  
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     border: 1px solid rgba(128, 128, 128, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    transition: none !important;
    will-change: opacity, transform;
    backface-visibility: hidden;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
 
     background-color: #1a3a5a !important;  
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
     color: #ffffff !important;
    content: "" !important;
}
    display: block !important;
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
    position: absolute !important;
     background-color: #2a2a2a !important;
    inset: -1px !important;
     color: #eaecf0 !important;
    border: 2px solid transparent !important;
    border-radius: 17px !important;
     background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 0.4) 40%, transparent 80%) border-box !important;
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-clip: content-box, border-box !important;
    -webkit-mask-composite: source-out !important;
    mask-composite: subtract !important;
    mix-blend-mode: screen !important;
     z-index: 10 !important;
     pointer-events: none !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr th,
 
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr td {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 16px !important;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 70%) !important;
    mix-blend-mode: soft-light !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child th,
 
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child td {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-head,
     border-bottom: none !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-footer,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .mw-echo-ui-notificationsListWidget,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .mw-echo-ui-placeholderItemWidget {
    background: transparent !important;
    background-color: transparent !important;
     border-color: rgba(0, 0, 0, 0.05) !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
 
     border-top: 1px solid rgba(0, 0, 0, 0.3) !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
     border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable {
     overflow-y: auto !important;
     overflow-x: hidden !important;
}
}
/* ================================================= */
 
/* --- 液态玻璃实现基础代码基于mediawiki兼容代码 --- */
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
/* ================================================= */
    background-color: rgba(255, 255, 255, 0.3) !important;
.citizen-menu__card,
     border: 1px solid rgba(0, 0, 0, 0.08) !important;
.citizen-toc-card,
     border-radius: 8px !important;
#mw-panel-toc,  
     transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
.citizen-command-palette,  
.infobox {
     position: relative;
     background-image: none !important;
     opacity: 1 !important;
}
}
.citizen-menu__card::before,
 
.citizen-toc-card::before,
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
#mw-panel-toc::before,
     background-color: rgba(255, 255, 255, 0.5) !important;
.citizen-command-palette::before,
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
.infobox::before {
     content: "" !important;
    position: absolute;
    inset: -1px;
    border: 2px solid transparent;
    background: radial-gradient(
        200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.3) 40%,
        transparent 80%
    ) border-box !important;
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    mix-blend-mode: overlay;
    z-index: 10;
    pointer-events: none;
}
}
.citizen-menu__card::after,
 
.citizen-toc-card::after,
.mw-echo-ui-notificationItemWidget {
#mw-panel-toc::after,
     background: transparent !important;
.citizen-command-palette::after,
     transition: background-color 0.2s ease !important;
.infobox::after {
     content: "" !important;
     position: absolute;
    inset: 0;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.35) 0%,  /* 亮色模式 0.35 */
        transparent 75%
    ) !important;
    mix-blend-mode: soft-light;
    z-index: 1;
    pointer-events: none;
}
}
html.skin-theme-clientpref-night .citizen-menu__card::after,
 
html.skin-theme-clientpref-night .citizen-toc-card::after,
.mw-echo-ui-notificationItemWidget:hover { background-color: rgba(0, 0, 0, 0.03) !important; }
html.skin-theme-clientpref-night #mw-panel-toc::after,
 
html.skin-theme-clientpref-night .citizen-command-palette::after,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-anchor { display: none !important; }
html.skin-theme-clientpref-night .infobox::after {
 
     background: radial-gradient(
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
    background-color: rgba(20, 20, 20, 0.3) !important;
        rgba(255, 255, 255, 0.1) 0%,
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transparent 75%
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    ) !important;
}
 
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
     background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
}
}
html.skin-theme-clientpref-night #mw-panel-toc,
 
html.skin-theme-clientpref-night .citizen-menu__card {
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
     background-color: rgba(20, 20, 20, 0.7) !important;
     background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
}
}
#mw-panel-toc {
 
     overflow: hidden !important;
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
    box-shadow: none !important;
     background-color: rgba(255, 255, 255, 0.1) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;  
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
}
#mw-panel-toc::before {
 
    content: "" !important;
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
    position: absolute !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    inset: 0px !important;   
     border-color: rgba(255, 255, 255, 0.3) !important;
    border: 1.2px solid transparent !important;
    mix-blend-mode: screen !important;
    background: radial-gradient(
        150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.4) 60%,
        transparent 100%
    ) border-box !important;
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    z-index: 10 !important;
    pointer-events: none;
}
}
#mw-panel-toc::after {
 
    content: "" !important;
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-labelElement-label,
    position: absolute !important;
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-iconElement-icon {
    inset: 0 !important;
     color: #eaecf0 !important;
    background: radial-gradient(
        250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.25) 0%,
        transparent 80%
    ) !important;
    mix-blend-mode: soft-light !important;
     z-index: 1 !important;
}
}
/* ===================================================== */
 
/* --- Panel Specific Light Boost (弹出面板专项增强) --- */
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget:hover {
/* ===================================================== */
     background-color: rgba(255, 255, 255, 0.05) !important;
.citizen-menu__card::before {
     mix-blend-mode: screen !important;
    background: radial-gradient(
        180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 1.0) 0%,
        rgba(255, 255, 255, 0.6) 40%,
        transparent 80%
    ) border-box !important;
    opacity: 1 !important;
}
}
.citizen-menu__card::after {
 
    background: radial-gradient(
@media (prefers-color-scheme: dark) {
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
    html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
        rgba(255, 255, 255, 0.4) 0%,  
        background-color: rgba(20, 20, 20, 0.3) !important;
        transparent 70%
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    ) !important;
    }
}
    html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
html.skin-theme-clientpref-night .citizen-menu__card::before {
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
    background: radial-gradient(
    }
        200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
         rgba(255, 255, 255, 0.8) 0%,
        background-color: rgba(255, 255, 255, 0.1) !important;
        transparent 80%
    }
    ) border-box !important;
    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget:hover {
         background-color: rgba(255, 255, 255, 0.05) !important;
    }
}
}
#citizen-sidebar-lastmod {
 
     position: relative;
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
     overflow: hidden;
     backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.4) !important;
     -webkit-backdrop-filter: none !important;
     backdrop-filter: blur(20px) saturate(160%) !important;
     background-color: var(--color-surface-1) !important;
     border: 1px solid rgba(255, 255, 255, 0.2) !important;
     border: 1px solid var(--border-color-base) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}
}
html.skin-theme-clientpref-night #citizen-sidebar-lastmod {
 
    background: rgba(20, 20, 20, 0.6) !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before,
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
     display: none !important;
}
}
#citizen-sidebar-lastmod::before {
 
    content: "" !important;
/* ================================ */
    position: absolute;
/* --- 弹出预览 Page Preview ---  */
    inset: -1px;
/* ================================ */
    border: 2.4px solid transparent;
 
    background: radial-gradient(
.mwe-popups,
        150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
.mwe-popups.mwe-popups-fade-in-up,
        rgba(255, 255, 255, 1) 0%,   
.mwe-popups.mwe-popups-fade-in-down,
        rgba(255, 255, 255, 0.4) 60%,
.mwe-popups.mwe-popups-fade-out-up,
        transparent 100%
.mwe-popups.mwe-popups-fade-out-down {
    ) border-box !important;
     animation: none !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
     transition: none !important;
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
     mix-blend-mode: screen;
    z-index: 10;
     pointer-events: none;
}
}
html.citizen-feature-performance-mode-clientpref-1 #citizen-sidebar-lastmod::before {
 
.mwe-popups::before,
.mwe-popups::after {
    animation: none !important;
    transition: none !important;
     display: none !important;
     display: none !important;
}
}
/* ====================================== */
 
/* --- Basic 模式强力回退:彻底实体化 --- */
.mwe-popups {
/* ====================================== */
     background: transparent !important;
html.skin-citizen-basic #mw-panel-toc,
     border: none !important;
html.skin-citizen-basic .citizen-menu__card,
     box-shadow: none !important;
html.skin-citizen-basic .citizen-toc-card {
     isolation: auto !important;
     background-color: var(--color-surface-2) !important;  
     backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     opacity: 1 !important;
    box-shadow: var(--box-shadow-card) !important;
}
}
html.skin-citizen-basic #mw-panel-toc::before,
 
html.skin-citizen-basic #mw-panel-toc::after,
.mwe-popups .mwe-popups-container {
html.skin-citizen-basic .citizen-menu__card::before,
    overflow: hidden !important;
html.skin-citizen-basic .citizen-menu__card::after {
    clip-path: none !important;
     display: none !important;
    -webkit-clip-path: none !important;
     content: none !important;
    position: relative !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    background-image: none !important;
    border-radius: 12px !important;
     border: 1px solid rgba(128, 128, 128, 0.1) !important;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
}
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc,
 
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card,
.mwe-popups .mwe-popups-container::before {
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card,
    content: "" !important;
html.citizen-feature-performance-mode-clientpref-1 .citizen-command-palette,
    display: block !important;
html.citizen-feature-performance-mode-clientpref-1 .infobox {
    position: absolute !important;
    background-color: #ffffff !important;  
    inset: -1px !important;
     backdrop-filter: none !important;
    border: 2px solid transparent !important;
     -webkit-backdrop-filter: none !important;
    border-radius: 13px !important;
     opacity: 1 !important;
    background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 0.4) 40%, transparent 80%) border-box !important;
     border: 1px solid var(--color-border) !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) !important;
     box-shadow: var(--box-shadow-card) !important;
     -webkit-mask-clip: content-box, border-box !important;
     -webkit-mask-composite: source-out !important;
     mask-composite: subtract !important;
     mix-blend-mode: screen !important;
    z-index: 10 !important;
     pointer-events: none !important;
}
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night #mw-panel-toc,
 
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-menu__card {
.mwe-popups .mwe-popups-container::after {
     background-color: #1a1a1a !important;  
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 12px !important;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 70%) !important;
    mix-blend-mode: soft-light !important;
    z-index: 1 !important;
     pointer-events: none !important;
}
}
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::before,
 
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::after,
.mwe-popups .mwe-popups-extract,
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card::before,
.mwe-popups .mwe-popups-scroll {
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card::after,
     background: transparent !important;
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card::before,
     overflow: hidden !important;
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card::after {
     display: none !important;
    content: none !important;
     visibility: hidden !important;
}
}
/* ============================================ */
 
/* --- Section25.Ambox 通知框 Aero 适配补丁 --- */
.mwe-popups .mwe-popups-extract::after { display: none !important; }
/* ============================================ */
 
table.ambox {
.mwe-popups footer {
    background-color: rgba(255, 255, 255, 0.25) !important;  
     background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px) saturate(120%) !important;
     border-top: 1px solid rgba(128, 128, 128, 0.08) !important;
    -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
     border: 1px solid rgba(255, 255, 255, 0.4) !important;
     border-left-width: 8px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    margin: 10px 10% !important;
    width: 80% !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}
table.ambox:hover {
 
    transform: translateY(-2px);
.mwe-popups .mwe-popups-extract,
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
.mwe-popups .mwe-popups-title,
.mwe-popups footer a { color: var(--color-base) !important; }
 
.mwe-popups-is-tall .mwe-popups-container,
.mwe-popups:not(.mwe-popups-no-image-pointer) .mwe-popups-container { clip-path: none !important; }
 
.mwe-popups .mwe-popups-discreet { background: transparent !important; }
.mwe-popups .mwe-popups-thumbnail { border-radius: 12px 12px 0 0 !important; }
 
.mwe-popups.mwe-popups-type-generic .mwe-popups-container {
     background-color: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}
}
html.skin-theme-clientpref-night table.ambox {
 
     background-color: rgba(30, 30, 30, 0.6) !important;
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container {
     background-color: rgba(20, 20, 20, 0.3) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left-width: 8px !important;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox {
 
    backdrop-filter: none !important;
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::after {
     background-color: var(--color-surface-2) !important;
     background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
    border: 1px solid var(--border-color-base) !important;
    border-left-width: 8px !important;
    box-shadow: none !important;
    transform: none !important;
}
}
table.ambox td.ambox-text {
 
     color: var(--color-base-0) !important;
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::before {
     background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
}
}
/* ===================================== */
 
/* --- Section26.Player Box ero 样式 --- */
html.skin-theme-clientpref-night .mwe-popups footer {
/* ===================================== */
     background: rgba(0, 0, 0, 0.15) !important;
.infobox-player-header {
     border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
     background: linear-gradient(90deg, rgba(54, 121, 204, 0.1), transparent) !important;
     border-radius: 8px;
    padding: 5px !important;
    margin-bottom: 5px !important;
}
}


/* ================================ */
html.skin-theme-clientpref-night .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
/* --- Section27.全局光效注册表 --- */
     background-color: rgba(20, 20, 20, 0.4) !important;
/* ================================ */
table.ambox {
     position: relative !important;
    overflow: hidden !important;  
}
}
table.ambox::before {
 
     content: "" !important;
@media (prefers-color-scheme: dark) {
    position: absolute;
     html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container {
    inset: -1px;
        background-color: rgba(20, 20, 20, 0.3) !important;
     border: 2px solid transparent;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: radial-gradient(
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
     }
        rgba(255, 255, 255, 0.8) 0%,  
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container::after {
         rgba(255, 255, 255, 0.2) 40%,  
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
        transparent 80%
    }
    ) border-box !important;
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container::before {
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
         background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
    -webkit-mask-clip: content-box, border-box;
     }
     -webkit-mask-composite: source-out;
    html.skin-theme-clientpref-os .mwe-popups footer {
    mask-composite: subtract;
        background: rgba(0, 0, 0, 0.15) !important;
    mix-blend-mode: overlay;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    z-index: 10;
     }
     pointer-events: none;
    html.skin-theme-clientpref-os .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
        background-color: rgba(20, 20, 20, 0.4) !important;
     }
}
}
table.ambox::after {
 
     content: "" !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container {
     position: absolute;
     backdrop-filter: none !important;
    inset: 0;
     -webkit-backdrop-filter: none !important;
     background: radial-gradient(
     background-color: var(--color-surface-1) !important;
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
     border: 1px solid var(--border-color-base) !important;
        rgba(255, 255, 255, 0.2) 0%,
        transparent 70%
    ) !important;
     mix-blend-mode: soft-light;
    z-index: 1;
    pointer-events: none;
}
}
html.skin-theme-clientpref-night table.ambox::after {
 
    background: radial-gradient(
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::before,
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::after {
        rgba(255, 255, 255, 0.08) 0%,
        transparent 70%
    ) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::after {
     display: none !important;
     display: none !important;
    content: none !important;
    visibility: hidden !important;
}
}
/* ================================= */
 
/* --- 特殊 Infobox 保持边缘贴合 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups footer { background: var(--color-surface-2) !important; }
/* ================================= */
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups.mwe-popups-type-generic .mwe-popups-container { background-color: var(--color-surface-1) !important; }
.infobox::before {
 
    inset: 0 !important;
/* ========================= */
    border-radius: 14px !important;
/* --- Navbox 导航框 ---     */
    border: 1.5px solid transparent !important;
/* ========================= */
}
 
table.infobox[style*="background"]::before,
.navbox, .navbox-inner, .navbox-subgroup {
table.infobox[style*="width"]::before {
     background: transparent !important;
     inset: 3px !important;
     border: none !important;
    border: 2px solid transparent !important;
}
.infobox {
     border-radius: 20px !important;
     border-collapse: separate !important;
     border-collapse: separate !important;
     border-spacing: 0 !important;
     border-spacing: 0 !important;
    border-radius: 16px !important;
}
.navbox {
     overflow: hidden !important;
     overflow: hidden !important;
    margin: 1.5em 0 !important;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08) !important;
}
}
.infobox::before,
 
table.infobox::before {
.navbox-title {
     border-radius: 14px !important;  
    background: rgba(204, 238, 255, 0.5) !important;
    color: #004466 !important;
     font-weight: bold !important;
}
}
.infobox .infobox-above,
 
.infobox tr:first-child th,
.navbox-group {
.infobox tr:first-child td {
    background: rgba(54, 121, 204, 0.1) !important;
     border-top-left-radius: 12px !important;
     color: #3366cc !important;
     border-top-right-radius: 12px !important;
     font-weight: bold !important;
}
}


.infobox tr:last-child td,
html.skin-theme-clientpref-night .navbox-inner {
.infobox tr:last-child th {
     background: rgba(20, 20, 20, 0.2) !important;
     border-bottom-left-radius: 12px !important;
     backdrop-filter: blur(15px) saturate(160%) !important;
     border-bottom-right-radius: 12px !important;
}
}
table.infobox[style*="background"]::after,
 
table.infobox[style*="width"]::after {
html.skin-theme-clientpref-night .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
    inset: 3px !important;  
html.skin-theme-clientpref-night .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }
    border-radius: 20px !important;
 
}
html.skin-theme-clientpref-night .navbox-list,
/* ======================================= */
html.skin-theme-clientpref-night .navbox-list > div { background: transparent !important; color: #eeeeee !important; }
/* --- 修复 Basic Infobox 中间过亮问题 --- */
 
/* ======================================= */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .navbox { box-shadow: none !important; }
html.skin-theme-clientpref-night table.infobox[style*="background"]::after {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .navbox-inner { background-color: #1a1b1c !important; backdrop-filter: none !important; }
     background: radial-gradient(
 
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
@media (prefers-color-scheme: dark) {
        rgba(255, 255, 255, 0.2) 0%,
     html.skin-theme-clientpref-os .navbox-inner { background: rgba(20, 20, 20, 0.2) !important; backdrop-filter: blur(15px) saturate(160%) !important; }
        transparent 70%
    html.skin-theme-clientpref-os .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
    ) !important;
    html.skin-theme-clientpref-os .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }
     mix-blend-mode: soft-light !important;  
     html.skin-theme-clientpref-os .navbox-list { background: transparent !important; color: #eeeeee !important; }
}
    html.skin-theme-clientpref-os .navbox { box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.3) !important; }
html.skin-theme-clientpref-night table.infobox {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox { box-shadow: none !important; padding: 0 !important; border: 1px solid #3c3d3e !important; }
    background-color: rgba(40, 40, 40, 0.0) !important;  
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-inner { background-color: #1a1b1c !important; backdrop-filter: none !important; border-collapse: collapse !important; }
}
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-title { background-color: #004466 !important; padding: 2px 8px !important; }
#citizen-sidebar-lastmod,
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-group { background-color: #242526 !important; padding: 2px 8px !important; border: 1px solid #3c3d3e !important; }
#citizen-sidebar-lastmod .citizen-menu__card {
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-list { padding: 0 !important; border: 1px solid #3c3d3e !important; }
     box-shadow: none !important;
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-list > div { padding: 2px 6px !important; line-height: 1.2 !important; }
     border: 1px solid rgba(128, 128, 128, 0.2);
}
}
/* ==================== */
 
/* ==================== */
/* ========================= */
/* --- 自动模式修复 --- */
/* --- Ambox 消息框 ---     */
/* ==================== */
/* ========================= */
/* ==================== */
 
@media (prefers-color-scheme: dark) {
table.ambox {
    html.skin-theme-clientpref-os {
    position: relative !important;
        --color-surface-0: #1a1b1c !important;
    overflow: hidden !important;
        --color-surface-1: #242526 !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
        --color-base-0: #eaecf0 !important;
    backdrop-filter: blur(12px) saturate(120%) !important;
        --color-heading: #ffffff !important;
    -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
        background-color: #1a1b1c !important;
     border: 1px solid rgba(255, 255, 255, 0.4) !important;
     }
     border-left-width: 8px !important;
    html.skin-theme-clientpref-os .citizen-menu__card,
     border-radius: 12px !important;
    html.skin-theme-clientpref-os #citizen-preferences__card,
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    html.skin-theme-clientpref-os .citizen-sticky-header-background,
    margin: 10px 10% !important;
     html.skin-theme-clientpref-os .citizen-command-palette,
    width: 80% !important;
     html.skin-theme-clientpref-os #citizen-sidebar-lastmod,
     transition: transform 0.2s ease, box-shadow 0.2s ease;
     html.skin-theme-clientpref-os #mw-panel-toc {
}
        background-color: rgba(30, 31, 32, 0.6) !important;
 
        color: #ffffff !important;
table.ambox:hover {
        backdrop-filter: blur(20px) !important;
     transform: translateY(-2px);
     }
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    html.skin-theme-clientpref-os .citizen-command-palette__input input,
    html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label,
    html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__description bdi {
        color: #ffffff !important;
    }
    html.skin-theme-clientpref-os .infobox-above,
    html.skin-theme-clientpref-os .infobox-title,
     html.skin-theme-clientpref-os .infobox caption,
     html.skin-theme-clientpref-os .infobox th[style*="background"] {
        background-color: rgba(26, 58, 90, 0.4) !important;
        color: #ffffff !important;
        background-image: none !important;
        filter: none !important;
    }
}
}
@media (prefers-color-scheme: dark) {
 
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox,
table.ambox td.ambox-text { color: var(--color-base-0) !important; }
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox-above,
 
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox-title,
table.ambox::before {
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os caption.infobox-title {
     content: "" !important;
        background-color: #2c2c2c !important;
    position: absolute;
        color: #ffffff !important;
    inset: -1px;
     }
    border: 2px solid transparent;
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #mw-panel-toc {
    background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 80%) border-box !important;
        background-color: #1e1f20 !important;
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
     }
     -webkit-mask-clip: content-box, border-box;
     -webkit-mask-composite: source-out;
    mask-composite: subtract;
     mix-blend-mode: overlay;
    z-index: 10;
     pointer-events: none;
}
}
@media (prefers-color-scheme: dark) {
 
     html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
table.ambox::after {
        background-color: #1a3a5a !important;  
     content: "" !important;
        color: #CCEEFF !important;  
    position: absolute;
        text-shadow: none !important;
    inset: 0;
     }
     background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
}
     mix-blend-mode: soft-light;
@media (prefers-color-scheme: dark) {
    z-index: 1;
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-header,
    pointer-events: none;
     html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color: #F3F3F3"],
}
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color:#F3F3F3"] {
 
        background-color: #333333 !important;  
html.skin-theme-clientpref-night table.ambox {
        color: #eeeeee !important;  
    background-color: rgba(30, 30, 30, 0.6) !important;
        text-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
     }
    border-left-width: 8px !important;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
}
@media (prefers-color-scheme: dark) {
 
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-header,
html.skin-theme-clientpref-night table.ambox::after {
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color: #F3F3F3"],
     background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color:#F3F3F3"],
     html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background:#F3F3F3"] {
        background-color: #333333 !important;
        color: #eeeeee !important;
        border-color: #444444 !important; 
        text-shadow: none !important;
    }
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th.infobox-label {
        border-color: rgba(255, 255, 255, 0.1) !important;
        color: #cccccc !important;
    }
}
}
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     html.skin-theme-clientpref-os .infobox {
     html.skin-theme-clientpref-os table.ambox {
         border-color: rgba(255, 255, 255, 0.15) !important;
         background-color: rgba(30, 30, 30, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-left-width: 8px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
     }
     }
 
     html.skin-theme-clientpref-os table.ambox::after {
     html.skin-theme-clientpref-os .infobox th,
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
    html.skin-theme-clientpref-os .infobox td {
        border-color: rgba(255, 255, 255, 0.1) !important;
     }
     }
     html.skin-theme-clientpref-os .infobox .infobox-header {
     html.skin-theme-clientpref-os table.ambox td.ambox-text,
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    html.skin-theme-clientpref-os table.ambox td.ambox-text b,
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
     html.skin-theme-clientpref-os table.ambox td.ambox-text small { color: #eaecf0 !important; }
    }
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox {
     html.skin-theme-clientpref-os .catlinks {
        backdrop-filter: none !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        -webkit-backdrop-filter: none !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
         background-color: #1e1f20 !important;
    }
        box-shadow: none !important;
     html.skin-theme-clientpref-os .wikitable,
    html.skin-theme-clientpref-os .wikitable th,
    html.skin-theme-clientpref-os .wikitable td {
         border-color: rgba(255, 255, 255, 0.2) !important;
     }
     }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox::before,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox::after { display: none !important; }
}
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox {
    backdrop-filter: none !important;
    background-color: var(--color-surface-2) !important;
    border: 1px solid var(--border-color-base) !important;
    border-left-width: 8px !important;
    box-shadow: none !important;
    transform: none !important;
}
}
@media (prefers-color-scheme: dark) {
 
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #citizen-preferences__card,
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::before,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card,
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::after { display: none !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card-content {
 
        background-color: #1e1f20 !important;
/* ======================== */
        backdrop-filter: none !important;  
/* --- Wikitable 表格 --- */
        -webkit-backdrop-filter: none !important;
/* ======================== */
        box-shadow: none !important;
 
     }
.citizen-table-wrapper {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-client-prefs-radio__icon {
    background: transparent !important;
        background-color: #333333 !important;
    border: none !important;
        border-color: #555555 !important;
    box-shadow: none !important;
     }
    backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
    padding: 15px !important;
     margin: 1em -15px !important;
}
}
/* ================================================ */
 
/* --- 修复:手动深色Night+Basic模式下的搜索面板 --- */
.mw-parser-output table.wikitable {
/* ================================================ */
     background-color: rgba(255, 255, 255, 0.4) !important;
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette {
    backdrop-filter: blur(12px) saturate(120%) !important;
     background-color: #1e1f20 !important;  
     -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
     color: #ffffff !important;
     border: 1px solid rgba(128, 128, 128, 0.2) !important;
     border: 1px solid #3c3d3e !important;
    border-radius: 12px !important;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin: 1.5em 0 !important;
}
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input {
 
     background-color: #2c2c2c !important;
.citizen-table-wrapper > table.wikitable { margin: 0 !important; }
     border-bottom: 1px solid #3c3d3e !important;
 
.mw-parser-output table.wikitable th,
.mw-parser-output table.wikitable td {
     border: 1px solid rgba(128, 128, 128, 0.15) !important;
     padding: 10px 16px !important;
}
}


html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input input {
.mw-parser-output table.wikitable th {
     color: #ffffff !important;
    background-color: rgba(54, 121, 204, 0.15) !important;
     color: var(--color-primary, #36c) !important;
}
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__label,
 
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__description bdi {
.mw-parser-output table.wikitable tr:first-child th,
    color: #eeeeee !important;
.mw-parser-output table.wikitable tr:first-child td { border-top: none !important; }
}
.mw-parser-output table.wikitable tr:last-child th,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
.mw-parser-output table.wikitable tr:last-child td { border-bottom: none !important; }
    background-color: #363738 !important;
.mw-parser-output table.wikitable tr th:first-child,
}
.mw-parser-output table.wikitable tr td:first-child { border-left: none !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__footer {
.mw-parser-output table.wikitable tr th:last-child,
     background-color: #161718 !important;
.mw-parser-output table.wikitable tr td:last-child { border-right: none !important; }
     color: #888888 !important;
 
     border-top: 1px solid #3c3d3e !important;
.mw-parser-output table.wikitable tr:first-child th:first-child,
.mw-parser-output table.wikitable tr:first-child td:first-child { border-top-left-radius: 11px !important; }
.mw-parser-output table.wikitable tr:first-child th:last-child,
.mw-parser-output table.wikitable tr:first-child td:last-child { border-top-right-radius: 11px !important; }
.mw-parser-output table.wikitable tr:last-child th:first-child,
.mw-parser-output table.wikitable tr:last-child td:first-child { border-bottom-left-radius: 11px !important; }
.mw-parser-output table.wikitable tr:last-child th:last-child,
.mw-parser-output table.wikitable tr:last-child td:last-child { border-bottom-right-radius: 11px !important; }
 
html.skin-theme-clientpref-night .mw-parser-output table.wikitable {
     background-color: rgba(30, 30, 30, 0.4) !important;
     border-color: rgba(255, 255, 255, 0.1) !important;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
}
html.skin-theme-clientpref-night .mw-parser-output table.wikitable th { background-color: rgba(54, 121, 204, 0.2) !important; color: #fff !important; }
html.skin-theme-clientpref-night .mw-parser-output table.wikitable th,
html.skin-theme-clientpref-night .mw-parser-output table.wikitable td { border-color: rgba(255, 255, 255, 0.05) !important; }
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette {
     html.skin-theme-clientpref-os .mw-parser-output table.wikitable {
         background-color: #1e1f20 !important;  
         background-color: rgba(30, 30, 30, 0.4) !important;
         backdrop-filter: none !important; 
         border-color: rgba(255, 255, 255, 0.1) !important;
        -webkit-backdrop-filter: none !important;
         box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
        border: 1px solid #3c3d3e !important;
         box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
     }
     }
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__input {
     html.skin-theme-clientpref-os .mw-parser-output table.wikitable th { background-color: rgba(54, 121, 204, 0.2) !important; color: #fff !important; }
        background-color: #2c2c2c !important;
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable th,
        border-bottom: 1px solid #3c3d3e !important;
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable td { border-color: rgba(255, 255, 255, 0.05) !important; color: #eaecf0 !important; }
    }
     html.skin-theme-clientpref-os .wikitable,
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label {
    html.skin-theme-clientpref-os .wikitable th,
        color: #ffffff !important;
    html.skin-theme-clientpref-os .wikitable td { border-color: rgba(255, 255, 255, 0.2) !important; }
    }
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable {
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__footer {
         backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
         background-color: #161718 !important;
         background-color: #1e1f20 !important; box-shadow: none !important; border: 1px solid #3c3d3e !important;
        backdrop-filter: none !important;
         border-top: 1px solid #3c3d3e !important;
     }
     }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th { background-color: #2a2b2c !important; }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td { border-color: #3c3d3e !important; }
}
}
/* ================================================ */
 
/* --- Section 32. Navbox 极致扁平补丁 (无嵌套) --- */
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable {
/* ================================================ */
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
.navbox, .navbox-inner, .navbox-subgroup { background: transparent !important; border: none !important; border-collapse: separate !important; border-spacing: 0 !important; border-radius: 16px !important; }
     background-color: var(--color-surface-1) !important; box-shadow: none !important;
.navbox { overflow: hidden !important; margin: 1.5em 0 !important; box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08) !important; }
.navbox-title { background: rgba(204, 238, 255, 0.5) !important; color: #004466 !important; font-weight: bold !important; }
.navbox-group { background: rgba(54, 121, 204, 0.1) !important; color: #3366cc !important; font-weight: bold !important; }
html.skin-theme-clientpref-night .navbox-inner { background: rgba(20, 20, 20, 0.2) !important; backdrop-filter: blur(15px) saturate(160%) !important; }
html.skin-theme-clientpref-night .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
html.skin-theme-clientpref-night .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }
html.skin-theme-clientpref-night .navbox-list,
html.skin-theme-clientpref-night .navbox-list > div { background: transparent !important; color: #eeeeee !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .navbox { box-shadow: none !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .navbox-inner { background-color: #1a1b1c !important; backdrop-filter: none !important; }
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .navbox-inner { background: rgba(20, 20, 20, 0.2) !important; backdrop-filter: blur(15px) saturate(160%) !important; }
     html.skin-theme-clientpref-os .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
    html.skin-theme-clientpref-os .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }
    html.skin-theme-clientpref-os .navbox-list { background: transparent !important; color: #eeeeee !important; }
    html.skin-theme-clientpref-os .navbox { box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.3) !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox { box-shadow: none !important; padding: 0 !important; border: 1px solid #3c3d3e !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-inner { background-color: #1a1b1c !important; backdrop-filter: none !important; border-collapse: collapse !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-title { background-color: #004466 !important; padding: 2px 8px !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-group { background-color: #242526 !important; padding: 2px 8px !important; border: 1px solid #3c3d3e !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-list { padding: 0 !important; border: 1px solid #3c3d3e !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-list > div { padding: 2px 6px !important; line-height: 1.2 !important; }
}
}
/* ======================================= */
/* --- Section33. Infobox 标题阴影修复 --- */
/* ======================================= */
.infobox .infobox-title,
.infobox.ve-infobox-country .infobox-above {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
    text-shadow: none !important;
}
html.skin-theme-clientpref-night .infobox .infobox-title,
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    text-shadow: none !important;
    filter: none !important;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox .infobox-title {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        text-shadow: none !important;
        filter: none !important;
    }
    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-above {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        text-shadow: none !important;
    }
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-title,
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
    box-shadow: none !important;
    text-shadow: none !important;
    border: 1px solid rgba(128, 128, 128, 0.3) !important;
}
/* ================================================== */
/* --- Section 34 & 35: 表格与缩略图终极修复方案 --- */
/* ================================================== */


/* ================================================== */
/* ==================== */
/* --- 终极解法:缩略图与表格 (绝对兼容可视化编辑器) --- */
/* --- 缩略图 ---       */
/* ================================================== */
/* ==================== */
 
 
/* ======================================= */
/* --- 1. 缩略图 (完美换行 + 拯救编辑器) --- */
/* ======================================= */
 
/* 【神级护盾:html:not(.ve-active)】
  确保我们在前台阅读时享受绝美的毛玻璃和自动换行,
  一旦点开编辑,立刻把图片控制权还给编辑器,绝不隐身! */
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html:not(.ve-active) .mw-parser-output .thumbinner {
html:not(.ve-active) .mw-parser-output .thumbinner {
     width: min-content !important;  
     width: min-content !important;
     background-color: rgba(255, 255, 255, 0.4) !important;
     background-color: rgba(255, 255, 255, 0.4) !important;
     backdrop-filter: blur(12px) saturate(120%) !important;
     backdrop-filter: blur(12px) saturate(120%) !important;
第1,664行: 第1,616行:
     border-radius: 6px !important;
     border-radius: 6px !important;
     border: none !important;
     border: none !important;
     max-width: none !important;  
     max-width: none !important;
     height: auto !important;
     height: auto !important;
     margin: 0 auto !important;
     margin: 0 auto !important;
第1,672行: 第1,624行:
html:not(.ve-active) .mw-parser-output .thumbcaption {
html:not(.ve-active) .mw-parser-output .thumbcaption {
     display: block !important;
     display: block !important;
     width: 100% !important;  
     width: 100% !important;
     text-align: left !important;
     text-align: left !important;
     color: var(--color-base-0) !important;
     color: var(--color-base-0) !important;
第1,682行: 第1,634行:
}
}


/* =============================================== */
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
/* --- 同步更新夜间与 Basic 模式下的缩略图护盾 --- */
/* =============================================== */
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],  
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner {
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner {
     background-color: rgba(30, 30, 30, 0.4) !important;
     background-color: rgba(30, 30, 30, 0.4) !important;
第1,692行: 第1,641行:
}
}


html[class*="citizen-feature-performance-mode-clientpref-1"]:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],  
html[class*="citizen-feature-performance-mode-clientpref-1"]:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html[class*="citizen-feature-performance-mode-clientpref-1"]:not(.ve-active) .mw-parser-output .thumbinner {
html[class*="citizen-feature-performance-mode-clientpref-1"]:not(.ve-active) .mw-parser-output .thumbinner {
     backdrop-filter: none !important;  
     backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     background-color: var(--color-surface-1) !important;  
     background-color: var(--color-surface-1) !important;
     box-shadow: none !important;
     box-shadow: none !important;
}
}


/* ======================================= */
@media (prefers-color-scheme: dark) {
/* --- 2. Wikitable (空间魔法,防切割版) --- */
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
/* ======================================= */
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner {
        background-color: rgba(30, 30, 30, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbcaption { color: #eaecf0 !important; }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner {
        backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
        background-color: #1e1f20 !important; border: 1px solid #3c3d3e !important; box-shadow: none !important;
    }
}


/* 【魔法核心】:外壳透明化。
/* ======================== */
  我们给外壳增加 15px 的 padding,在内部“撑”出一个画板,让阴影有地方渲染;
/* --- Voy-box 警告框 --- */
  同时给外壳加上 -15px 的左右 margin 把位置拉回来,让表格依然和文本对齐!
/* ======================== */
  这样不管它怎么 overflow,阴影都在安全区内,绝不会被切掉! */
.citizen-table-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 15px !important;
    margin: 1em -15px !important;
}


/* 把所有的外观特效,全部绑定在表格本体上 */
.voy-box {
.mw-parser-output table.wikitable {
    display: flex !important;
     background-color: rgba(255, 255, 255, 0.4) !important;
    align-items: flex-start !important;
     backdrop-filter: blur(12px) saturate(120%) !important;
    padding: 16px 20px !important;
    margin: 16px 0 !important;
    border-radius: 12px !important;
     background-color: rgba(255, 255, 255, 0.4) !important;
     backdrop-filter: blur(12px) saturate(120%) !important;
     -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
     -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
     border: 1px solid rgba(128, 128, 128, 0.2) !important;
     border: 1px solid rgba(128, 128, 128, 0.2) !important;
    border-radius: 12px !important;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important; /* 阴影完美复活 */
     position: relative !important;
   
     overflow: hidden !important;
    /* 必须使用 separate,才能让表格本体拥有圆角 */
    border-collapse: separate !important;
    border-spacing: 0 !important;
     width: 100% !important;
     margin: 1.5em 0 !important;
}
}


/* 如果表格被 wrapper 包裹,重置内部 margin 防止双重边距 */
.voy-box.warning {
.citizen-table-wrapper > table.wikitable {
     border-left: 4px solid #f0ad4e !important;
     margin: 0 !important;
    background-color: rgba(255, 243, 205, 0.5) !important;
}
}


/* --- 内部网格线:彻底告别双重框线 --- */
.voy-box-icon { font-size: 1.5rem !important; margin-right: 12px !important; flex-shrink: 0 !important; color: #856404 !important; }
.mw-parser-output table.wikitable th,
.voy-box-content { color: var(--color-base-0) !important; line-height: 1.6 !important; }
.mw-parser-output table.wikitable td {
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
    padding: 10px 16px !important;
}
.mw-parser-output table.wikitable th {
    background-color: rgba(54, 121, 204, 0.15) !important;
    color: var(--color-primary, #36c) !important;
}


/* 强行擦除表格最外圈的网格线,绝对不允许它和圆角外框打架! */
.voy-box::before {
.mw-parser-output table.wikitable tr:first-child th,
    content: "" !important;
.mw-parser-output table.wikitable tr:first-child td { border-top: none !important; }
    position: absolute;
.mw-parser-output table.wikitable tr:last-child th,
    inset: -1px;
.mw-parser-output table.wikitable tr:last-child td { border-bottom: none !important; }
    border: 2px solid transparent;
.mw-parser-output table.wikitable tr th:first-child,
    border-radius: 13px;
.mw-parser-output table.wikitable tr td:first-child { border-left: none !important; }
    background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 80%) border-box !important;
.mw-parser-output table.wikitable tr th:last-child,
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
.mw-parser-output table.wikitable tr td:last-child { border-right: none !important; }
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    mix-blend-mode: overlay;
    z-index: 10;
    pointer-events: none;
}


/* --- 手动修圆角 --- */
.voy-box::after {
/* 因为去掉了 overflow: hidden,我们需要手动把四个角落的单元格磨圆,完美填入 12px 的圆角外框 */
    content: "" !important;
.mw-parser-output table.wikitable tr:first-child th:first-child,
    position: absolute;
.mw-parser-output table.wikitable tr:first-child td:first-child { border-top-left-radius: 11px !important; }
    inset: 0;
.mw-parser-output table.wikitable tr:first-child th:last-child,
    border-radius: 12px;
.mw-parser-output table.wikitable tr:first-child td:last-child { border-top-right-radius: 11px !important; }
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
.mw-parser-output table.wikitable tr:last-child th:first-child,
    mix-blend-mode: soft-light;
.mw-parser-output table.wikitable tr:last-child td:first-child { border-bottom-left-radius: 11px !important; }
    z-index: 1;
.mw-parser-output table.wikitable tr:last-child th:last-child,
    pointer-events: none;
.mw-parser-output table.wikitable tr:last-child td:last-child { border-bottom-right-radius: 11px !important; }
}
 
html.skin-theme-clientpref-night .voy-box {
    background-color: rgba(30, 30, 30, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}
 
html.skin-theme-clientpref-night .voy-box.warning { background-color: rgba(102, 77, 30, 0.4) !important; border-left: 4px solid #f0ad4e !important; }
html.skin-theme-clientpref-night .voy-box-icon { color: #ffc107 !important; }
html.skin-theme-clientpref-night .voy-box-content { color: #eaecf0 !important; }


html.skin-theme-clientpref-night .voy-box::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
}


/* ======================================= */
@media (prefers-color-scheme: dark) {
/* --- 夜间模式与 Basic 能效模式同步更新 --- */
    html.skin-theme-clientpref-os .voy-box { background-color: rgba(30, 30, 30, 0.6) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; }
/* ======================================= */
    html.skin-theme-clientpref-os .voy-box.warning { background-color: rgba(102, 77, 30, 0.4) !important; border-left: 4px solid #f0ad4e !important; }
html.skin-theme-clientpref-night .mw-parser-output table.wikitable {
     html.skin-theme-clientpref-os .voy-box-icon { color: #ffc107 !important; }
    background-color: rgba(30, 30, 30, 0.4) !important;
    html.skin-theme-clientpref-os .voy-box-content { color: #eaecf0 !important; }
     border-color: rgba(255, 255, 255, 0.1) !important;
    html.skin-theme-clientpref-os .voy-box::after { background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important; }
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .voy-box.warning { background-color: #3d3520 !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-left: 4px solid #f0ad4e !important; }
}
}
html.skin-theme-clientpref-night .mw-parser-output table.wikitable th { background-color: rgba(54, 121, 204, 0.2) !important; color: #fff !important; }
html.skin-theme-clientpref-night .mw-parser-output table.wikitable th,
html.skin-theme-clientpref-night .mw-parser-output table.wikitable td { border-color: rgba(255,255,255,0.05) !important; }


html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable {
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box {
     backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
     backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
     background-color: var(--color-surface-1) !important; box-shadow: none !important;
     background-color: var(--color-surface-1) !important; box-shadow: none !important;
    border: 1px solid var(--border-color-base) !important;
}
}
/* ============================================== */
/* --- Section25.Wiki 弹出预览菜单毛玻璃美化 --- */
/* ============================================== */


/* 1. 禁用原有动画 */
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box.warning { background-color: #fff3cd !important; border-left: 4px solid #f0ad4e !important; }
.mwe-popups,
 
.mwe-popups.mwe-popups-fade-in-up,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .voy-box.warning {
.mwe-popups.mwe-popups-fade-in-down,
     background-color: #3d3520 !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-left: 4px solid #f0ad4e !important;
.mwe-popups.mwe-popups-fade-out-up,
}
.mwe-popups.mwe-popups-fade-out-down {
     animation: none !important;
    transition: none !important;
}


/* 只对伪元素禁用 transition */
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::before,
.mwe-popups::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::after { display: none !important; }
.mwe-popups::after {
    animation: none !important;
    transition: none !important;
    display: none !important;
}


/* 2. 外层容器 */
/* ============================== */
.mwe-popups {
/* --- OO-UI 下拉菜单 ---       */
    background: transparent !important;
/* ============================== */
    border: none !important;
    box-shadow: none !important;
    isolation: auto !important;
}


/* 3. 移除原版箭头伪元素(我们要用伪元素做光效) */
.oo-ui-menuSelectWidget {
.mwe-popups::before,
    position: absolute !important;
.mwe-popups::after {
    background-color: rgba(var(--color-surface-1-rgb, 28, 28, 28), 0.7) !important;
     display: none !important;
    backdrop-filter: blur(12px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
    padding: 6px !important;
     z-index: 1000 !important;
}
}


/* 4. 毛玻璃容器 */
html.skin-theme-clientpref-day .oo-ui-menuSelectWidget {
.mwe-popups .mwe-popups-container {
     background-color: rgba(255, 255, 255, 0.75) !important;
    overflow: visible !important;
     border: 1px solid rgba(0, 0, 0, 0.1) !important;
    clip-path: none !important;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    -webkit-clip-path: none !important;
   
    /* 为光效伪元素定位 */
    position: relative !important;
    overflow: hidden !important;
   
    /* 核心毛玻璃 */
     background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    background-image: none !important;
   
    border-radius: 12px !important;
     border: 1px solid rgba(128, 128, 128, 0.1) !important;
     box-shadow:  
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
}


/* 5. 液态玻璃 - 边框光效 */
.oo-ui-menuSelectWidget::before,
.mwe-popups .mwe-popups-container::before {
.oo-ui-menuSelectWidget::after {
     content: "" !important;
     content: "" !important;
     display: block !important;
     display: block !important;
     position: absolute !important;
     position: absolute !important;
     inset: -1px !important;
    pointer-events: none !important;
     border: 2px solid transparent !important;
}
     border-radius: 13px !important;
 
     background: radial-gradient(
.oo-ui-menuSelectWidget::before {
        180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
     inset: -1px;
        rgba(255, 255, 255, 1.0) 0%,
     border: 2px solid transparent;
        rgba(255, 255, 255, 0.4) 40%,
     border-radius: 15px;
        transparent 80%
     background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
    ) border-box !important;
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) !important;
     -webkit-mask-clip: content-box, border-box;
     -webkit-mask-clip: content-box, border-box !important;
     -webkit-mask-composite: source-out;
     -webkit-mask-composite: source-out !important;
     mask-composite: subtract;
     mask-composite: subtract !important;
     mix-blend-mode: screen !important;
     mix-blend-mode: screen !important;
     z-index: 10 !important;
     z-index: 10;
    pointer-events: none !important;
}
}


/* 6. 液态玻璃 - 面光效 */
.oo-ui-menuOptionWidget {
.mwe-popups .mwe-popups-container::after {
     display: flex !important;
     content: "" !important;
     align-items: center !important;
     display: block !important;
     padding: 10px 14px !important;
     position: absolute !important;
     margin: 2px 0 !important;
     inset: 0 !important;
     border-radius: 10px !important;
     border-radius: 12px !important;
     transition: all 0.2s ease !important;
     background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.35) 0%, 
        transparent 70%
    ) !important;
    mix-blend-mode: soft-light !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
}


/* 7. 内部元素 */
.oo-ui-menuOptionWidget-checkIcon {
.mwe-popups .mwe-popups-extract,
    position: static !important;
.mwe-popups .mwe-popups-scroll {
     margin-right: 8px !important;
     background: transparent !important;
     min-width: 20px !important;
     overflow: hidden !important;
}
}


.mwe-popups .mwe-popups-extract::after {
.oo-ui-menuOptionWidget .oo-ui-iconElement-icon {
     display: none !important;
    position: static !important;
    margin-right: 12px !important;
     filter: invert(1) brightness(2) !important;
}
}


/* 8. 页脚 */
html.skin-theme-clientpref-day .oo-ui-menuOptionWidget .oo-ui-iconElement-icon { filter: invert(0) brightness(1) !important; }
.mwe-popups footer {
    background: rgba(255, 255, 255, 0.1) !important;
    border-top: 1px solid rgba(128, 128, 128, 0.08) !important;
}


/* 9. 文字颜色 */
.oo-ui-menuOptionWidget .oo-ui-labelElement-label { color: var(--color-text-primary) !important; font-size: 0.95rem !important; }
.mwe-popups .mwe-popups-extract,
.oo-ui-menuOptionWidget:hover { background-color: rgba(var(--color-primary-rgb), 0.2) !important; }
.mwe-popups .mwe-popups-title,
.mwe-popups footer a {
    color: var(--color-base) !important;
}


/* 10. 带图片弹窗 */
html[class*="citizen-feature-performance-mode-clientpref-1"] .oo-ui-menuSelectWidget::before,
.mwe-popups-is-tall .mwe-popups-container,
html[class*="citizen-feature-performance-mode-clientpref-1"] .oo-ui-menuSelectWidget::after { display: none !important; }
.mwe-popups:not(.mwe-popups-no-image-pointer) .mwe-popups-container {
    clip-path: none !important;
}


.mwe-popups .mwe-popups-discreet {
/* ================================ */
    background: transparent !important;
/* --- 液态玻璃光效系统 ---        */
}
/* ================================ */


.mwe-popups .mwe-popups-thumbnail {
.citizen-menu__card,
     border-radius: 12px 12px 0 0 !important;
.citizen-toc-card,
#mw-panel-toc,
.citizen-command-palette,
.infobox {
     position: relative;
    background-image: none !important;
    opacity: 1 !important;
}
}


/* ============================================== */
.citizen-menu__card::before,
/* --- 深色模式 --- */
.citizen-toc-card::before,
/* ============================================== */
#mw-panel-toc::before,
 
.citizen-command-palette::before,
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container {
.infobox::before {
     background-color: rgba(20, 20, 20, 0.3) !important;
     content: "" !important;
     backdrop-filter: blur(14px) saturate(100%) !important;
     position: absolute;
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    inset: -1px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border: 2px solid transparent;
    box-shadow:
     background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 40%, transparent 80%) border-box !important;
        0 8px 32px rgba(0, 0, 0, 0.3),
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
        0 2px 8px rgba(0, 0, 0, 0.2) !important;
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    mix-blend-mode: overlay;
    z-index: 10;
    pointer-events: none;
}
}


/* 深色模式 - 面光效降低亮度 */
.citizen-menu__card::after,
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::after {
.citizen-toc-card::after,
     background: radial-gradient(
#mw-panel-toc::after,
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
.citizen-command-palette::after,
        rgba(255, 255, 255, 0.1) 0%,
.infobox::after {
        transparent 70%
    content: "" !important;
    ) !important;
    position: absolute;
    inset: 0;
     background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 75%) !important;
    mix-blend-mode: soft-light;
    z-index: 1;
    pointer-events: none;
}
}


/* 深色模式 - 边框光效调弱 */
html.skin-theme-clientpref-night .citizen-menu__card::after,
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::before {
html.skin-theme-clientpref-night .citizen-toc-card::after,
     background: radial-gradient(
html.skin-theme-clientpref-night #mw-panel-toc::after,
        180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
html.skin-theme-clientpref-night .citizen-command-palette::after,
        rgba(255, 255, 255, 0.8) 0%,  
html.skin-theme-clientpref-night .infobox::after {
        transparent 80%
     background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 75%) !important;
    ) border-box !important;
}
}


html.skin-theme-clientpref-night .mwe-popups footer {
html.skin-theme-clientpref-night table.infobox[style*="background"]::after {
     background: rgba(0, 0, 0, 0.15) !important;
     background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
     mix-blend-mode: soft-light !important;
}
 
html.skin-theme-clientpref-night .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
    background-color: rgba(20, 20, 20, 0.4) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}
}


/* ============================================== */
/* --- Infobox 光效边缘贴合 --- */
/* --- 自动深色模式 --- */
/* ============================================== */


@media (prefers-color-scheme: dark) {
.infobox::before,
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container {
table.infobox::before,
        background-color: rgba(20, 20, 20, 0.3) !important;
table.infobox[style*="background"]::before,
        backdrop-filter: blur(14px) saturate(100%) !important;
table.infobox[style*="width"]::before,
        -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
.infobox.geography::before,
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
.infobox.vcard::before,
        box-shadow:  
.infobox.ve-infobox-country::before {
            0 8px 32px rgba(0, 0, 0, 0.3),
    inset: -1px !important;
            0 2px 8px rgba(0, 0, 0, 0.2) !important;
     border: 2px solid transparent !important;
    }
     border-radius: inherit !important;
 
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container::after {
        background: radial-gradient(
            400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
            rgba(255, 255, 255, 0.1) 0%,
            transparent 70%
        ) !important;
    }
 
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container::before {
        background: radial-gradient(
            180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.8) 0%,
            transparent 80%
        ) border-box !important;
     }
 
    html.skin-theme-clientpref-os .mwe-popups footer {
        background: rgba(0, 0, 0, 0.15) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
     }
   
    html.skin-theme-clientpref-os .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
        background-color: rgba(20, 20, 20, 0.4) !important;
        backdrop-filter: blur(14px) saturate(100%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    }
}
}


/* ============================================== */
.infobox.geography::after,
/* --- 性能模式 - 关闭所有特效 --- */
.infobox.vcard::after,
/* ============================================== */
.infobox.ve-infobox-country::after,
table.infobox.geography[style*="background"]::after,
table.infobox.geography[style*="width"]::after,
table.infobox.vcard[style*="background"]::after,
table.infobox.vcard[style*="width"]::after,
table.infobox.ve-infobox-country[style*="background"]::after,
table.infobox.ve-infobox-country[style*="width"]::after {
    inset: 0 !important;
    border-radius: inherit !important;
}


html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container {
table.infobox[style*="background"]::after,
    backdrop-filter: none !important;
table.infobox[style*="width"]::after {
    -webkit-backdrop-filter: none !important;
     inset: 3px !important;
     background-color: var(--color-surface-1) !important;
     border-radius: 20px !important;
     border: 1px solid var(--border-color-base) !important;
}
}


/* Basic 模式关闭光效 */
/* --- #mw-panel-toc 专项 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}


html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups footer {
#mw-panel-toc {
     background: var(--color-surface-2) !important;
    overflow: hidden !important;
    box-shadow: none !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
}


html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
#mw-panel-toc::before {
     background-color: var(--color-surface-1) !important;
    content: "" !important;
    position: absolute !important;
    inset: 0px !important;
    border: 1.2px solid transparent !important;
    mix-blend-mode: screen !important;
    background: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
     -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    z-index: 10 !important;
    pointer-events: none;
}
}


/* ============================================== */
#mw-panel-toc::after {
/* --- 错误状态 --- */
    content: "" !important;
/* ============================================== */
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.25) 0%, transparent 80%) !important;
    mix-blend-mode: soft-light !important;
    z-index: 1 !important;
}


.mwe-popups.mwe-popups-type-generic .mwe-popups-container {
html.skin-theme-clientpref-night #mw-panel-toc,
     background-color: rgba(255, 255, 255, 0.25) !important;
html.skin-theme-clientpref-night .citizen-menu__card {
    backdrop-filter: blur(14px) saturate(100%) !important;
     background-color: rgba(20, 20, 20, 0.7) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}
}
/* ===================================== */
/* === Section 16.26 下拉菜单:终极色彩与图标修正 === */
/* ===================================== */


/* 1. 容器:亮暗双模适配 */
/* --- .citizen-menu__card 增强光效 --- */
.oo-ui-menuSelectWidget {
 
     position: absolute !important;
.citizen-menu__card::before {
     background-color: rgba(var(--color-surface-1-rgb, 28, 28, 28), 0.7) !important;
     mix-blend-mode: screen !important;
    backdrop-filter: blur(12px) saturate(100%) !important;
     background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 80%) border-box !important;
    -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
     opacity: 1 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
     padding: 6px !important;
    z-index: 1000 !important;
}
}


/* 亮色模式特殊处理 */
.citizen-menu__card::after {
html.skin-theme-clientpref-day .oo-ui-menuSelectWidget {
     background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.4) 0%, transparent 70%) !important;
     background-color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}
}


/* 2. 液态玻璃光效 (确保 JS 已加入 .oo-ui-menuSelectWidget) */
html.skin-theme-clientpref-night .citizen-menu__card::before {
.oo-ui-menuSelectWidget::before,
     background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
.oo-ui-menuSelectWidget::after {
     content: "" !important;
    display: block !important;
    position: absolute !important;
    pointer-events: none !important;
}
}


.oo-ui-menuSelectWidget::before {
/* --- #citizen-sidebar-lastmod 光效 --- */
     inset: -1px;
 
     border: 2px solid transparent;
#citizen-sidebar-lastmod {
     border-radius: 15px;
    position: relative;
     background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
    overflow: hidden;
     background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
     border: 1px solid rgba(128, 128, 128, 0.2);
     border-radius: 16px !important;
    box-shadow: none !important;
}
 
html.skin-theme-clientpref-night #citizen-sidebar-lastmod {
    background: rgba(20, 20, 20, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
 
#citizen-sidebar-lastmod::before {
    content: "" !important;
    position: absolute;
    inset: -1px;
    border: 2.4px solid transparent;
     background: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%) border-box !important;
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
     -webkit-mask-clip: content-box, border-box;
     -webkit-mask-clip: content-box, border-box;
     -webkit-mask-composite: source-out;
     -webkit-mask-composite: source-out;
     mask-composite: subtract;
     mask-composite: subtract;
     mix-blend-mode: screen !important;
     mix-blend-mode: screen;
     z-index: 10;
     z-index: 10;
    pointer-events: none;
}
}


/* 3. 选项布局修正:彻底解决重叠 */
html.citizen-feature-performance-mode-clientpref-1 #citizen-sidebar-lastmod::before { display: none !important; }
.oo-ui-menuOptionWidget {
 
     display: flex !important;
/* --- Basic 模式:彻底关闭光效 --- */
     align-items: center !important;
 
     padding: 10px 14px !important;
html.skin-citizen-basic #mw-panel-toc,
     margin: 2px 0 !important;
html.skin-citizen-basic .citizen-menu__card,
     border-radius: 10px !important;
html.skin-citizen-basic .citizen-toc-card {
    transition: all 0.2s ease !important;
     background-color: var(--color-surface-2) !important;
     backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     opacity: 1 !important;
     box-shadow: var(--box-shadow-card) !important;
}
}


/* 隐藏默认那个诡异重叠的 checkIcon,或者把它挪到最左边 */
html.skin-citizen-basic #mw-panel-toc::before,
.oo-ui-menuOptionWidget-checkIcon {
html.skin-citizen-basic #mw-panel-toc::after,
    position: static !important; /* 消除绝对定位导致的重叠 */
html.skin-citizen-basic .citizen-menu__card::before,
     margin-right: 8px !important;
html.skin-citizen-basic .citizen-menu__card::after {
     min-width: 20px !important;
     display: none !important;
     content: none !important;
}
}


/* 功能图标(星号、折叠等):暗色下变白 */
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc,
.oo-ui-menuOptionWidget .oo-ui-iconElement-icon {
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card,
     position: static !important;
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card,
     margin-right: 12px !important;
html.citizen-feature-performance-mode-clientpref-1 .citizen-command-palette,
     filter: invert(1) brightness(2) !important; /* 黑暗模式下强制转白 */
html.citizen-feature-performance-mode-clientpref-1 .infobox {
}
     background-color: #ffffff !important;
 
     backdrop-filter: none !important;
/* 亮色模式下图标恢复原色(黑/深灰) */
     -webkit-backdrop-filter: none !important;
html.skin-theme-clientpref-day .oo-ui-menuOptionWidget .oo-ui-iconElement-icon {
    opacity: 1 !important;
    filter: invert(0) brightness(1) !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--box-shadow-card) !important;
}
}


/* 文字颜色 */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night #mw-panel-toc,
.oo-ui-menuOptionWidget .oo-ui-labelElement-label {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-menu__card {
    color: var(--color-text-primary) !important;
     background-color: #1a1a1a !important;
     font-size: 0.95rem !important;
}
}


/* 4. 悬停效果 */
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::before,
.oo-ui-menuOptionWidget:hover {
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::after,
    background-color: rgba(var(--color-primary-rgb), 0.2) !important;
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card::before,
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card::after,
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card::before,
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}
}


/* 5. 性能模式屏蔽 */
@media (prefers-color-scheme: dark) {
html[class*="citizen-feature-performance-mode-clientpref-1"] .oo-ui-menuSelectWidget::before,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #mw-panel-toc {
html[class*="citizen-feature-performance-mode-clientpref-1"] .oo-ui-menuSelectWidget::after {
        background-color: #1e1f20 !important;
    display: none !important;
    }
}
}
/* ============================================ */
/* --- Section XX. Voy-box 警告框 Aero 适配 --- */
/* ============================================ */


/* 基础样式 - 毛玻璃效果 */
/* ================================ */
.voy-box {
/* --- 最后修改时间徽章 ---       */
     display: flex !important;
/* ================================ */
     align-items: flex-start !important;
 
     padding: 16px 20px !important;
#citizen-sidebar-lastmod.citizen-menu {
    margin: 16px 0 !important;
     background-color: rgba(255, 255, 255, 0.2) !important;
     backdrop-filter: blur(12px) saturate(100%) !important;
     -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
     border-radius: 12px !important;
     border-radius: 12px !important;
      
     border: none !important;
    /* 毛玻璃 */
     padding: 4px !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
     margin-top: 5px !important;
     backdrop-filter: blur(12px) saturate(120%) !important;
     width: fit-content !important;
     -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
     background-image: none !important;
     border: 1px solid rgba(128, 128, 128, 0.2) !important;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
   
    /* 光效定位 */
    position: relative !important;
    overflow: hidden !important;
}
}


/* 警告类型 - 暖黄调 */
html.skin-theme-clientpref-night #citizen-sidebar-lastmod.citizen-menu {
.voy-box.warning {
     background-color: rgba(20, 20, 20, 0.6) !important;
     border-left: 4px solid #f0ad4e !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     background-color: rgba(255, 243, 205, 0.5) !important;
}
}


.voy-box-icon {
html[class*="citizen-feature-performance-mode-clientpref-1"] #citizen-sidebar-lastmod.citizen-menu {
     font-size: 1.5rem !important;
     backdrop-filter: none !important;
     margin-right: 12px !important;
     -webkit-backdrop-filter: none !important;
     flex-shrink: 0 !important;
     background-color: var(--color-surface-1) !important;
     color: #856404 !important;
    border: 1px solid var(--border-color-base, rgba(20, 20, 20, 0.2)) !important;
     box-shadow: none !important;
}
}


.voy-box-content {
#citizen-sidebar-lastmod #citizen-lastmod-relative {
    text-decoration: none !important;
     color: var(--color-base-0) !important;
     color: var(--color-base-0) !important;
     line-height: 1.6 !important;
     font-weight: 400;
}
}


/* ============================================ */
#citizen-sidebar-lastmod,
/* --- 深色模式 (手动 Night) --- */
#citizen-sidebar-lastmod .citizen-menu__card {
/* ============================================ */
     box-shadow: none !important;
html.skin-theme-clientpref-night .voy-box {
     border: 1px solid rgba(128, 128, 128, 0.2);
     background-color: rgba(30, 30, 30, 0.6) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}
}


html.skin-theme-clientpref-night .voy-box.warning {
/* ================================== */
    background-color: rgba(102, 77, 30, 0.4) !important;
/* --- 能效模式 (Aero/Basic) 适配 --- */
    border-left: 4px solid #f0ad4e !important;
/* ================================== */
}


html.skin-theme-clientpref-night .voy-box-icon {
html[class*="citizen-feature-performance-mode-clientpref-1"] {
     color: #ffc107 !important;
     --citizen-backdrop-filter: none !important;
}
}


html.skin-theme-clientpref-night .voy-box-content {
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-menu__card,
    color: #eaecf0 !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] #citizen-preferences__card,
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-sticky-header-background,
 
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-command-palette,
/* ============================================ */
html[class*="citizen-feature-performance-mode-clientpref-1"] .page-actions-more__card {
/* --- 自动深色模式 (跟随系统) --- */
/* ============================================ */
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .voy-box {
        background-color: rgba(30, 30, 30, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
   
    html.skin-theme-clientpref-os .voy-box.warning {
        background-color: rgba(102, 77, 30, 0.4) !important;
        border-left: 4px solid #f0ad4e !important;
    }
   
    html.skin-theme-clientpref-os .voy-box-icon {
        color: #ffc107 !important;
    }
   
    html.skin-theme-clientpref-os .voy-box-content {
        color: #eaecf0 !important;
    }
}
 
/* ============================================ */
/* --- 性能模式 (Basic) 适配 --- */
/* ============================================ */
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box {
     backdrop-filter: none !important;
     backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     -webkit-backdrop-filter: none !important;
     background-color: var(--color-surface-1) !important;
     background-color: var(--color-surface-1) !important;
     box-shadow: none !important;
     animation: citizen-fade-in 0.1s ease forwards !important;
    border: 1px solid var(--border-color-base) !important;
}
}


html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box.warning {
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-command-palette {
     background-color: #fff3cd !important;
     transform: translate(-50%, -50%) scale(1) !important;
     border-left: 4px solid #f0ad4e !important;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}
}


/* Basic + Night */
/* ================================ */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .voy-box.warning {
/* --- 杂项自动深色修复 ---       */
    background-color: #3d3520 !important;
/* ================================ */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: 4px solid #f0ad4e !important;
}


/* Basic + 自动深色 */
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .voy-box.warning {
     html.skin-theme-clientpref-os .catlinks {
        background-color: #3d3520 !important;
         border-color: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
         background-color: rgba(0, 0, 0, 0.2) !important;
        border-left: 4px solid #f0ad4e !important;
    }
}
 
/* ============================================ */
/* --- 液态玻璃光效 --- */
/* ============================================ */
.voy-box::before {
    content: "" !important;
    position: absolute;
    inset: -1px;
    border: 2px solid transparent;
    border-radius: 13px;
    background: radial-gradient(
        200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.8) 0%,   
        rgba(255, 255, 255, 0.2) 40%,
        transparent 80%
    ) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    mix-blend-mode: overlay;
    z-index: 10;
    pointer-events: none;
}
 
.voy-box::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.2) 0%,
        transparent 70%
    ) !important;
    mix-blend-mode: soft-light;
    z-index: 1;
    pointer-events: none;
}
 
html.skin-theme-clientpref-night .voy-box::after {
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.08) 0%,
        transparent 70%
    ) !important;
}
 
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .voy-box::after {
        background: radial-gradient(
            400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.08) 0%,
            transparent 70%
        ) !important;
    }
}
 
/* Basic 模式关闭光效 */
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::after {
    display: none !important;
}
/* ============================================== */
/* --- Section XX. Wikitable & 缩略图自动深色补丁 --- */
/* ============================================== */
 
/* ============================== */
/* --- 1. Wikitable 自动深色 --- */
/* ============================== */
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable {
        background-color: rgba(30, 30, 30, 0.4) !important;
         border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    }
   
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable th {
        background-color: rgba(54, 121, 204, 0.2) !important;
        color: #fff !important;
    }
   
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable th,
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable td {
        border-color: rgba(255, 255, 255, 0.05) !important;
        color: #eaecf0 !important;
    }
   
    /* Basic + 自动深色 */
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: #1e1f20 !important;
        box-shadow: none !important;
        border: 1px solid #3c3d3e !important;
    }
   
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th {
        background-color: #2a2b2c !important;
    }
   
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td {
        border-color: #3c3d3e !important;
    }
}
 
/* ============================== */
/* --- 2. 缩略图 自动深色 --- */
/* ============================== */
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner {
         background-color: rgba(30, 30, 30, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
   
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbcaption {
        color: #eaecf0 !important;
    }
   
    /* Basic + 自动深色 */
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: #1e1f20 !important;
        border: 1px solid #3c3d3e !important;
        box-shadow: none !important;
    }
}
/* ======================================================= */
/* --- Section XX. Infobox 光效贴边修复 + 自动暗色补丁 --- */
/* ======================================================= */
 
/* ================================== */
/* --- 1. 光效贴边修复 (统一 inset) --- */
/* ================================== */
.infobox::before,
table.infobox::before,
table.infobox[style*="background"]::before,
table.infobox[style*="width"]::before,
.infobox.geography::before,
.infobox.vcard::before,
.infobox.ve-infobox-country::before {
    inset: -1px !important;
    border: 2px solid transparent !important;
    border-radius: inherit !important;
}
 
/* ============================================ */
/* --- 2. Infobox geography/vcard 自动暗色 --- */
/* ============================================ */
@media (prefers-color-scheme: dark) {
    /* 主容器 */
    html.skin-theme-clientpref-os .infobox.geography,
    html.skin-theme-clientpref-os .infobox.vcard,
    html.skin-theme-clientpref-os .infobox.ve-infobox-country {
        background: rgba(20, 20, 20, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
    }
   
    /* 顶部标题行 (.infobox-above / .fn.org) */
    html.skin-theme-clientpref-os .infobox.geography .infobox-above,
    html.skin-theme-clientpref-os .infobox.geography th.fn.org,
    html.skin-theme-clientpref-os .infobox.vcard .infobox-above,
    html.skin-theme-clientpref-os .infobox.vcard th.fn.org {
        background-color: rgba(26, 58, 90, 0.5) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
   
    /* 子标题行 (大区 等) */
    html.skin-theme-clientpref-os .infobox.geography .infobox-subheader,
    html.skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
        background-color: rgba(54, 121, 204, 0.3) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
   
    /* 中段分组标题 (历史沿革、政府机构 等) */
    html.skin-theme-clientpref-os .infobox.geography .infobox-header,
    html.skin-theme-clientpref-os .infobox.vcard .infobox-header {
        background-color: rgba(60, 60, 60, 0.5) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
   
    /* 标签和数据单元格 */
    html.skin-theme-clientpref-os .infobox.geography th.infobox-label,
    html.skin-theme-clientpref-os .infobox.geography td.infobox-data,
    html.skin-theme-clientpref-os .infobox.vcard th.infobox-label,
    html.skin-theme-clientpref-os .infobox.vcard td.infobox-data {
        background-color: transparent !important;
        color: #eaecf0 !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
   
    /* 光效调暗 */
    html.skin-theme-clientpref-os .infobox.geography::after,
    html.skin-theme-clientpref-os .infobox.vcard::after,
    html.skin-theme-clientpref-os .infobox.ve-infobox-country::after {
        background: radial-gradient(
            400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.1) 0%,
            transparent 70%
        ) !important;
    }
}
 
/* ================================== */
/* --- 3. Ambox 自动暗色模式补丁 --- */
/* ================================== */
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os table.ambox {
        background-color: rgba(30, 30, 30, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-left-width: 8px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    }
   
    html.skin-theme-clientpref-os table.ambox::after {
        background: radial-gradient(
            400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.08) 0%,
            transparent 70%
        ) !important;
    }
   
    html.skin-theme-clientpref-os table.ambox td.ambox-text,
    html.skin-theme-clientpref-os table.ambox td.ambox-text b,
    html.skin-theme-clientpref-os table.ambox td.ambox-text small {
        color: #eaecf0 !important;
    }
}
 
/* ======================================== */
/* --- 4. Basic + 自动暗色 组合模式补丁 --- */
/* ======================================== */
@media (prefers-color-scheme: dark) {
    /* Infobox Basic + 自动暗色 */
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: #242526 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: none !important;
    }
   
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-above,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography th.fn.org,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-above,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard th.fn.org {
        background-color: #1a3a5a !important;
        color: #ffffff !important;
    }
   
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-subheader,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
        background-color: #2a4a6a !important;
        color: #ffffff !important;
    }
   
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-header,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-header {
        background-color: #2a2a2a !important;
        color: #eaecf0 !important;
    }
   
    /* Ambox Basic + 自动暗色 */
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: #1e1f20 !important;
        box-shadow: none !important;
    }
   
    /* 关闭光效 */
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography::before,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography::after,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard::before,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard::after,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox::before,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox::after {
        display: none !important;
    }
}
/* ================================================ */
/* --- Section XX. Caption 终极清理(全模式) --- */
/* ================================================ */
 
/* 全模式基础:彻底透明 */
.infobox caption,
.mw-parser-output .infobox caption,
table.infobox caption {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    outline: none !important;
}
 
/* 手动深色 */
html.skin-theme-clientpref-night .infobox caption,
html.skin-theme-clientpref-night .infobox caption b,
html.skin-theme-clientpref-night table.infobox caption,
html.skin-theme-clientpref-night table.infobox caption b {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
    color: #eaecf0 !important;
}
 
/* 自动深色 - 覆盖掉之前的错误规则 */
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox caption,
    html.skin-theme-clientpref-os .infobox caption b,
    html.skin-theme-clientpref-os table.infobox caption,
    html.skin-theme-clientpref-os table.infobox caption b {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        filter: none !important;
        color: #eaecf0 !important;
    }
}
 
/* Basic + 手动深色 */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption b {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    color: #eaecf0 !important;
}
 
/* Basic + 自动深色 */
@media (prefers-color-scheme: dark) {
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox caption,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox caption b,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os caption.infobox-title {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        color: #eaecf0 !important;
     }
     }
}
/* ================================================= */
/* --- 修复:Geography/Vcard Infobox 内光效贴边 --- */
/* ================================================= */
.infobox.geography::after,
.infobox.vcard::after,
.infobox.ve-infobox-country::after,
table.infobox.geography[style*="background"]::after,
table.infobox.geography[style*="width"]::after,
table.infobox.vcard[style*="background"]::after,
table.infobox.vcard[style*="width"]::after,
table.infobox.ve-infobox-country[style*="background"]::after,
table.infobox.ve-infobox-country[style*="width"]::after {
    inset: 0 !important;
    border-radius: inherit !important;
}
}

2026年2月23日 (一) 14:29的版本

/**
 * Blockland Wiki Modern Aero UI OS26.1
 * 风格:Acrylic/Aero/Basic
 * 功能:全局毛玻璃,全局光线追踪,UI全面现代化。
 * 版本:5.0 
 */

/* ============================= */
/* --- 全局变量与主体背景 ---    */
/* ============================= */

:root {
    --color-surface-0: #fafafa;
    --color-surface-1: #ffffff;
    --color-base-0: #202122;
    --color-heading: #000000;
}

html.skin-theme-clientpref-night {
    --color-surface-0: #1a1b1c !important;
    --color-surface-1: #202122 !important;
    --color-surface-2: #2d2e2f !important;
    --color-surface-3: #373839 !important;
    --color-base-0: #eaecf0 !important;
    --color-base-10: #f8f9fa !important;
    --color-base-20: #ffffff !important;
    --color-heading: #ffffff !important;
    background-color: #1a1b1c !important;
}

html.skin-theme-clientpref-night body { background-color: #1a1b1c !important; }
html.skin-theme-clientpref-day body { background-color: #fafafa !important; }

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os {
        --color-surface-0: #1a1b1c !important;
        --color-surface-1: #242526 !important;
        --color-surface-2: #2d2e2f !important;
        --color-surface-3: #373839 !important;
        --color-base-0: #eaecf0 !important;
        --color-base-10: #f8f9fa !important;
        --color-base-20: #ffffff !important;
        --color-heading: #ffffff !important;
        background-color: #1a1b1c !important;
    }
    html.skin-theme-clientpref-os body { background-color: #1a1b1c !important; }
}

/* ==================== */
/* --- 关键帧动画 ---   */
/* ==================== */

@keyframes citizen-pop-in {
    0%   { opacity: 0; transform: translate(-50%, -45%) scale(0.85); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes citizen-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* =========================== */
/* --- 通用毛玻璃面板 ---      */
/* =========================== */

.citizen-menu__card,
#citizen-preferences__card,
.citizen-sticky-header-background,
.page-actions-more__card,
.citizen-dropdown .citizen-menu__card {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.1) !important;
    border-radius: 12px !important;
}

html.skin-theme-clientpref-night .citizen-menu__card,
html.skin-theme-clientpref-night #citizen-preferences__card,
html.skin-theme-clientpref-night .citizen-command-palette,
html.skin-theme-clientpref-night .page-actions-more__card {
    background-color: rgba(30, 30, 30, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .citizen-menu__card,
    html.skin-theme-clientpref-os #citizen-preferences__card,
    html.skin-theme-clientpref-os .citizen-sticky-header-background,
    html.skin-theme-clientpref-os .citizen-command-palette,
    html.skin-theme-clientpref-os #citizen-sidebar-lastmod,
    html.skin-theme-clientpref-os #mw-panel-toc {
        background-color: rgba(30, 31, 32, 0.6) !important;
        color: #ffffff !important;
        backdrop-filter: blur(20px) !important;
    }
}

/* ========================= */
/* --- 顶栏 Sticky Header --- */
/* ========================= */

.citizen-sticky-header {
    border-radius: 0 !important;
    background: transparent !important;
}

.citizen-sticky-header-background {
    border-radius: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    background-image: none !important;
    backdrop-filter: blur(12px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
}

html.skin-theme-clientpref-night .citizen-sticky-header-background {
    background-color: rgba(20, 20, 20, 0.4) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
}

html.skin-theme-clientpref-night .citizen-sticky-header .cdx-button--weight-quiet { color: #eaecf0 !important; }
html.skin-theme-clientpref-night .citizen-sticky-header-page-title,
html.skin-theme-clientpref-night .citizen-sticky-header-page-tagline { color: #ffffff !important; }

/* ================================ */
/* --- 搜索面板 Command Palette --- */
/* ================================ */

.citizen-command-palette-backdrop {
    background-color: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 9999 !important;
    animation: citizen-fade-in 0.3s ease forwards;
}

.citizen-command-palette {
    position: fixed !important;
    width: 1000px !important;
    max-width: 92vw !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 10000 !important;
    isolation: isolate !important;
    background-color: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(25px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(100%) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25) !important;
    animation: citizen-pop-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    transform-origin: center center !important;
}

.citizen-command-palette__search,
.citizen-command-palette__results,
.citizen-command-palette__footer,
.cdx-text-input__input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.citizen-command-palette-list { padding: 8px 0 !important; }

.citizen-command-palette-list-item {
    margin: 0 12px 6px 12px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: none !important;
    display: block !important;
    transition: background-color 0.2s ease !important;
}

.citizen-command-palette-list-item__content {
    display: flex !important;
    padding: 12px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    color: #202122 !important;
}

.citizen-command-palette-list-item__metadata { display: none !important; }

.citizen-command-palette-list-item:hover,
.citizen-command-palette-list-item[aria-selected="true"] {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.citizen-command-palette-list-item__actions,
.citizen-command-palette-list-item__action {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 32px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
}

.citizen-command-palette-list-item__action svg {
    fill: #202122 !important;
    opacity: 0.85 !important;
    transition: all 0.2s ease !important;
}

.citizen-command-palette-list-item__action:hover {
    background-color: rgba(255, 192, 203, 0.6) !important;
    border-radius: 8px !important;
}

.citizen-command-palette-list-item__action:hover svg {
    fill: #d33 !important;
    opacity: 1 !important;
    transform: scale(1.15) !important;
}

html.skin-theme-clientpref-night .citizen-command-palette-list-item:hover,
html.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .citizen-command-palette__input input,
    html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label,
    html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__description bdi {
        color: #ffffff !important;
    }
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette {
    background-color: #1e1f20 !important;
    color: #ffffff !important;
    border: 1px solid #3c3d3e !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input {
    background-color: #2c2c2c !important;
    border-bottom: 1px solid #3c3d3e !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input input { color: #ffffff !important; }

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__label,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__description bdi {
    color: #eeeeee !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
    background-color: #363738 !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__footer {
    background-color: #161718 !important;
    color: #888888 !important;
    border-top: 1px solid #3c3d3e !important;
}

@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette {
        background-color: #1e1f20 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1px solid #3c3d3e !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__input {
        background-color: #2c2c2c !important;
        border-bottom: 1px solid #3c3d3e !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label {
        color: #ffffff !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__footer {
        background-color: #161718 !important;
        backdrop-filter: none !important;
        border-top: 1px solid #3c3d3e !important;
    }
}

/* ==================== */
/* --- 设置菜单 ---     */
/* ==================== */

#citizen-preferences-content {
    display: flex !important;
    flex-direction: column !important;
}

#skin-client-prefs-citizen-feature-custom-font-size { order: 1 !important; }
#skin-client-prefs-citizen-feature-custom-width     { order: 2 !important; }
#skin-client-prefs-citizen-feature-pure-black        { order: 3 !important; }
#skin-client-prefs-skin-theme                        { order: 4 !important; }
#skin-client-prefs-citizen-feature-autohide-navigation { order: 5 !important; }
#skin-client-prefs-citizen-feature-performance-mode  { order: 6 !important; }

label[for="skin-client-pref-citizen-feature-performance-mode-value-1"],
label[for="skin-client-pref-citizen-feature-performance-mode-value-0"] {
    color: transparent !important;
    position: relative !important;
    min-width: 80px !important;
    text-align: center !important;
}

label[for="skin-client-pref-citizen-feature-performance-mode-value-0"]::after {
    content: "Aero" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: var(--color-base-0) !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
    visibility: visible !important;
}

label[for="skin-client-pref-citizen-feature-performance-mode-value-1"]::after {
    content: "Basic" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: var(--color-base-0) !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
    visibility: visible !important;
}

#citizen-preferences__card .mw-portlet.mw-portlet-performance-mode-group .citizen-menu__heading,
#citizen-preferences__card .citizen-menu:nth-last-child(1) .citizen-menu__heading {
    font-size: 0 !important;
}

#citizen-preferences__card .mw-portlet.mw-portlet-performance-mode-group .citizen-menu__heading::before,
#citizen-preferences__card .citizen-menu:nth-last-child(1) .citizen-menu__heading::before {
    content: "主题" !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--color-primary) !important;
    visibility: visible !important;
}

@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #citizen-preferences__card,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card-content {
        background-color: #1e1f20 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-client-prefs-radio__icon {
        background-color: #333333 !important;
        border-color: #555555 !important;
    }
}

/* ====================== */
/* --- 首页 Banner ---    */
/* ====================== */

.page-首页 .banner-image {
    --banner-image-url: url("https://cdn.jsdelivr.net/gh/KKBlockE/BlocklandPicturebed@main/main/d49dd42343ab1bfcf4efa67f62f4ecf8.png");
    --banner-image-height: 70vh;
    background-image: linear-gradient(to top, var(--color-surface-0) 15%, transparent 150%), var(--banner-image-url);
    background-size: cover;
    background-position: top;
    height: var(--banner-image-height);
    margin-bottom: calc(-1 * var(--banner-image-height));
}

.full-width-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 1;
    background-repeat: no-repeat;
    background-color: #2a2a2a;
}

.banner-content {
    max-width: 1200px;
    padding: 20px;
    text-align: center;
}

/* ======================== */
/* --- 搜索页面优化 ---    */
/* ======================== */

.page-特殊_搜索 .oo-ui-layout.oo-ui-labelElement.oo-ui-actionFieldLayout,
.page-特殊_搜索 .oo-ui-fieldLayout.oo-ui-labelElement,
.page-特殊_搜索 .mw-widgets-titleInputWidget,
.page-特殊_搜索 .mw-widget-searchInputWidget {
    max-width: none !important;
    width: 100% !important;
    display: flex !important;
}

.page-特殊_搜索 .mw-search-form-wrapper,
.page-特殊_搜索 #mw-search-top-table,
.page-特殊_搜索 .oo-ui-fieldLayout-field {
    width: 100% !important;
    max-width: none !important;
}

.page-特殊_搜索 .oo-ui-actionFieldLayout-input {
    flex: 1 1 auto !important;
    width: 100% !important;
}

.page-特殊_搜索 .oo-ui-actionFieldLayout-input .oo-ui-inputWidget-input {
    height: 48px !important;
    width: 100% !important;
    padding-left: 45px !important;
    border-radius: 12px 0 0 12px !important;
    box-sizing: border-box !important;
}

.page-特殊_搜索 .oo-ui-actionFieldLayout-button {
    flex: 0 0 auto !important;
    width: auto !important;
}

.page-特殊_搜索 .oo-ui-actionFieldLayout-button .oo-ui-buttonElement-button {
    height: 48px !important;
    min-width: 120px !important;
    padding: 0 30px !important;
    border-radius: 0 12px 12px 0 !important;
    box-sizing: border-box !important;
}

/* =============================== */
/* --- Infobox 信息框系统 ---      */
/* =============================== */

.infobox {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 10 !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--color-base-0) !important;
    border: none !important;
    border-radius: 20px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px);
    overflow: hidden !important;
    opacity: 1 !important;
}

.infobox th,
.infobox td {
    background-color: transparent !important;
    color: var(--color-base-0) !important;
    padding: 8px 5px !important;
    line-height: 1.4 !important;
    border-top: none !important;
}

.infobox tr:not(:last-child) th,
.infobox tr:not(:last-child) td {
    border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
}

html.skin-theme-clientpref-night .infobox tr:not(:last-child) th,
html.skin-theme-clientpref-night .infobox tr:not(:last-child) td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.infobox th[colspan="2"] {
    background-color: var(--color-primary-opacity-10, rgba(54, 121, 204, 0.1)) !important;
    color: var(--color-primary, #36c) !important;
}

.infobox .mw-file-description img { background: transparent !important; }

.infobox .infobox-title {
    display: block !important;
    order: -1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 12px 0 !important;
    padding: 16px 12px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(128, 128, 128, 0.3) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
    text-shadow: none !important;
    text-align: center !important;
    line-height: 1.5 !important;
    font-size: 1.2rem !important;
}

caption.infobox-title { caption-side: top !important; }

.infobox tbody {
    display: table !important;
    width: 100% !important;
    border: 1px solid rgba(128, 128, 128, 0.3) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: var(--color-surface-1) !important;
}

.infobox .infobox-above,
.infobox tr:first-child th,
.infobox tr:first-child td {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.infobox tr:last-child td,
.infobox tr:last-child th {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.infobox-player-header {
    background: linear-gradient(90deg, rgba(54, 121, 204, 0.1), transparent) !important;
    border-radius: 8px;
    padding: 5px !important;
    margin-bottom: 5px !important;
}

html.skin-theme-clientpref-night .infobox .infobox-title {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    text-shadow: none !important;
    filter: none !important;
}

html.skin-theme-clientpref-night table.infobox {
    background-color: rgba(40, 40, 40, 0.0) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-title {
    box-shadow: none !important;
    text-shadow: none !important;
    border: 1px solid rgba(128, 128, 128, 0.3) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox .infobox-title {
    filter: none !important;
    background-color: #2a2a2a !important;
    color: #eaecf0 !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox .infobox-title {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        text-shadow: none !important;
        filter: none !important;
    }
    html.skin-theme-clientpref-os .infobox-above,
    html.skin-theme-clientpref-os .infobox-title,
    html.skin-theme-clientpref-os .infobox caption,
    html.skin-theme-clientpref-os .infobox th[style*="background"] {
        background-color: rgba(26, 58, 90, 0.4) !important;
        color: #ffffff !important;
        background-image: none !important;
        filter: none !important;
    }
    html.skin-theme-clientpref-os .infobox {
        border-color: rgba(255, 255, 255, 0.15) !important;
    }
    html.skin-theme-clientpref-os .infobox th,
    html.skin-theme-clientpref-os .infobox td {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    html.skin-theme-clientpref-os .infobox .infobox-header {
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox-above,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox-title,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os caption.infobox-title {
        background-color: #2c2c2c !important;
        color: #ffffff !important;
    }
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-header,
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color: #F3F3F3"],
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color:#F3F3F3"],
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background:#F3F3F3"] {
        background-color: #333333 !important;
        color: #eeeeee !important;
        border-color: #444444 !important;
        text-shadow: none !important;
    }
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th.infobox-label {
        border-color: rgba(255, 255, 255, 0.1) !important;
        color: #cccccc !important;
    }
}

/* --- Caption 全模式透明清理 --- */

.infobox caption,
.mw-parser-output .infobox caption,
table.infobox caption {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    outline: none !important;
}

html.skin-theme-clientpref-night .infobox caption,
html.skin-theme-clientpref-night .infobox caption b,
html.skin-theme-clientpref-night table.infobox caption,
html.skin-theme-clientpref-night table.infobox caption b {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
    color: #eaecf0 !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox caption,
    html.skin-theme-clientpref-os .infobox caption b,
    html.skin-theme-clientpref-os table.infobox caption,
    html.skin-theme-clientpref-os table.infobox caption b {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        filter: none !important;
        color: #eaecf0 !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox caption,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox caption b,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os caption.infobox-title {
        background: transparent !important;
        border: none !important;
        color: #eaecf0 !important;
    }
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption b {
    background: transparent !important;
    border: none !important;
    color: #eaecf0 !important;
}

/* --- Country / Geography / Vcard Infobox --- */

.infobox.ve-infobox-country,
.infobox.ve-infobox-country tbody,
.infobox.ve-infobox-country tr,
.infobox.ve-infobox-country th,
.infobox.ve-infobox-country td {
    background-color: transparent !important;
    border-color: rgba(128, 128, 128, 0.1) !important;
}

.infobox.ve-infobox-country {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(15px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
    border-radius: 16px !important;
    overflow: hidden;
    padding: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.infobox.ve-infobox-country tbody { background-color: transparent !important; border: none !important; }

.infobox.ve-infobox-country .infobox-above {
    background: rgba(204, 238, 255, 0.5) !important;
    text-shadow: none !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
    font-weight: bold;
    margin: 0 !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-top: none !important;
    display: table-cell !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.infobox.ve-infobox-country tr:first-child th,
.infobox.ve-infobox-country tr:first-child td { border-top: none !important; }

.infobox.ve-infobox-country .infobox-header {
    background-color: rgba(54, 121, 204, 0.1) !important;
    color: var(--color-primary, #36c) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-weight: bold !important;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border-top: 1px solid rgba(128, 128, 128, 0.1) !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
}

.infobox.ve-infobox-country .infobox-image img {
    background: transparent !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

html.skin-theme-clientpref-night .infobox.ve-infobox-country {
    background: rgba(20, 20, 20, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
}

html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
    background: rgba(54, 121, 204, 0.3) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    text-shadow: none !important;
}

html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
    background-color: rgba(54, 121, 204, 0.1) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1, #ffffff) !important;
    border: 1px solid rgba(128, 128, 128, 0.3) !important;
    box-shadow: none !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
    background-color: #CCEEFF !important;
    color: #004466 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-header {
    background-color: #F3F3F3 !important;
    color: var(--color-base-0) !important;
    backdrop-filter: none !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country {
    background-color: #242526 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
    background-color: #1a3a5a !important;
    color: #ffffff !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
    background-color: #2a2a2a !important;
    color: #eaecf0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr th,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child th,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child td {
    border-bottom: none !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-above {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        text-shadow: none !important;
    }
    html.skin-theme-clientpref-os .infobox.geography,
    html.skin-theme-clientpref-os .infobox.vcard,
    html.skin-theme-clientpref-os .infobox.ve-infobox-country {
        background: rgba(20, 20, 20, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
    }
    html.skin-theme-clientpref-os .infobox.geography .infobox-above,
    html.skin-theme-clientpref-os .infobox.geography th.fn.org,
    html.skin-theme-clientpref-os .infobox.vcard .infobox-above,
    html.skin-theme-clientpref-os .infobox.vcard th.fn.org {
        background-color: rgba(26, 58, 90, 0.5) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    html.skin-theme-clientpref-os .infobox.geography .infobox-subheader,
    html.skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
        background-color: rgba(54, 121, 204, 0.3) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    html.skin-theme-clientpref-os .infobox.geography .infobox-header,
    html.skin-theme-clientpref-os .infobox.vcard .infobox-header {
        background-color: rgba(60, 60, 60, 0.5) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    html.skin-theme-clientpref-os .infobox.geography th.infobox-label,
    html.skin-theme-clientpref-os .infobox.geography td.infobox-data,
    html.skin-theme-clientpref-os .infobox.vcard th.infobox-label,
    html.skin-theme-clientpref-os .infobox.vcard td.infobox-data {
        background-color: transparent !important;
        color: #eaecf0 !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
    html.skin-theme-clientpref-os .infobox.geography::after,
    html.skin-theme-clientpref-os .infobox.vcard::after,
    html.skin-theme-clientpref-os .infobox.ve-infobox-country::after {
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
    }
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
        background-color: #1a3a5a !important;
        color: #CCEEFF !important;
        text-shadow: none !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: #242526 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: none !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-above,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography th.fn.org,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-above,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard th.fn.org {
        background-color: #1a3a5a !important;
        color: #ffffff !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-subheader,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
        background-color: #2a4a6a !important;
        color: #ffffff !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography .infobox-header,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-header {
        background-color: #2a2a2a !important;
        color: #eaecf0 !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography::before,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.geography::after,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard::before,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard::after {
        display: none !important;
    }
}

/* ==================== */
/* --- 评论流 ---       */
/* ==================== */

.cs-stream {
    display: block !important;
    background-color: var(--color-surface-1) !important;
    border: 1px solid var(--border-color-base) !important;
    border-radius: 20px !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.cs-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    border: 2px solid rgba(var(--color-primary-rgb), 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    margin-right: 12px !important;
    transition: transform 0.2s ease !important;
    object-fit: cover !important;
}

.cs-comment-header {
    display: flex !important;
    align-items: center;
    padding: 8px 16px !important;
    background: rgba(128, 128, 128, 0.05) !important;
    border-bottom: 1px solid var(--border-color-base) !important;
    margin-bottom: 2px !important;
}

.cs-comment-body {
    padding: 4px 16px 8px 72px !important;
    color: var(--color-text-primary) !important;
    font-size: 0.95rem !important;
    margin-top: -4px !important;
}

.cs-reply-comment {
    background-color: var(--color-surface-1) !important;
    border: 1px solid var(--border-color-base) !important;
    border-radius: 12px !important;
    margin: -12px 16px 20px 72px !important;
    padding: 0 !important;
    overflow: hidden;
}

.cs-reply-comment .cs-comment-header {
    background: rgba(var(--color-primary-rgb), 0.08) !important;
    padding: 6px 12px !important;
}

.cs-reply-comment .cs-comment-body { padding: 8px 16px !important; }

.cs-stream-footer {
    padding: 0 16px 12px 72px !important;
    background: transparent !important;
    margin-top: 0 !important;
}

.cs-stream-footer .oo-ui-buttonElement-button {
    height: 36px !important;
    padding: 0 18px !important;
    border: 1px solid var(--border-color-base) !important;
    background-color: rgba(128, 128, 128, 0.05) !important;
    color: var(--color-primary) !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    transition: all 0.2s ease !important;
}

.cs-stream-footer .oo-ui-buttonElement-button:hover {
    background-color: var(--color-primary) !important;
    color: #fff !important;
}

.cs-edit-box {
    background-color: var(--color-surface-1) !important;
    border: 1px solid var(--border-color-base) !important;
    border-radius: 12px !important;
    margin: 4px 16px 12px 72px !important;
    padding: 10px !important;
}

.cs-body-edit-field {
    background-color: var(--color-surface-1) !important;
    color: var(--color-text-primary) !important;
    border: 1px solid var(--border-color-base) !important;
    border-radius: 8px !important;
    min-height: 50px !important;
    padding: 8px !important;
}

.cs-edit-box .cs-submit-btn,
.cs-edit-box .cs-cancel-btn {
    margin-top: 15px !important;
    margin-bottom: 5px !important;
    margin-left: 0 !important;
}

.cs-edit-box .oo-ui-buttonElement-button {
    height: 38px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--border-color-base) !important;
    border-radius: 8px !important;
}

.cs-edit-box .oo-ui-labelElement-label,
.cs-cancel-btn .oo-ui-labelElement-label {
    margin-left: 0 !important;
    padding: 0 !important;
    line-height: 38px !important;
    font-weight: bold !important;
    text-align: center !important;
}

.cs-edit-box .oo-ui-iconElement-icon,
.cs-edit-box .oo-ui-indicatorElement-indicator,
.cs-stream-footer .oo-ui-iconElement-icon {
    display: none !important;
    width: 0 !important;
    margin: 0 !important;
}

html.skin-theme-clientpref-day .cs-reply-comment,
html.skin-theme-clientpref-day .cs-edit-box,
html.skin-theme-clientpref-day .cs-body-edit-field {
    background-color: #ffffff !important;
    border-color: #eeeeee !important;
}

/* ======================== */
/* --- 通知中心 ---        */
/* ======================== */

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
    animation: none !important;
    filter: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    transition: none !important;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: -1px !important;
    border: 2px solid transparent !important;
    border-radius: 17px !important;
    background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 0.4) 40%, transparent 80%) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-clip: content-box, border-box !important;
    -webkit-mask-composite: source-out !important;
    mask-composite: subtract !important;
    mix-blend-mode: screen !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 16px !important;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 70%) !important;
    mix-blend-mode: soft-light !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-head,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-footer,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .mw-echo-ui-notificationsListWidget,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .mw-echo-ui-placeholderItemWidget {
    background: transparent !important;
    background-color: transparent !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
    background-color: rgba(255, 255, 255, 0.3) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.mw-echo-ui-notificationItemWidget {
    background: transparent !important;
    transition: background-color 0.2s ease !important;
}

.mw-echo-ui-notificationItemWidget:hover { background-color: rgba(0, 0, 0, 0.03) !important; }

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-anchor { display: none !important; }

html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
    background-color: rgba(20, 20, 20, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
}

html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
    background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
}

html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-labelElement-label,
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-iconElement-icon {
    color: #eaecf0 !important;
}

html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
        background-color: rgba(20, 20, 20, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
    }
    html.skin-theme-clientpref-os .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
    }
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1) !important;
    border: 1px solid var(--border-color-base) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
    display: none !important;
}

/* ================================ */
/* --- 弹出预览 Page Preview ---   */
/* ================================ */

.mwe-popups,
.mwe-popups.mwe-popups-fade-in-up,
.mwe-popups.mwe-popups-fade-in-down,
.mwe-popups.mwe-popups-fade-out-up,
.mwe-popups.mwe-popups-fade-out-down {
    animation: none !important;
    transition: none !important;
}

.mwe-popups::before,
.mwe-popups::after {
    animation: none !important;
    transition: none !important;
    display: none !important;
}

.mwe-popups {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    isolation: auto !important;
}

.mwe-popups .mwe-popups-container {
    overflow: hidden !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    position: relative !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    background-image: none !important;
    border-radius: 12px !important;
    border: 1px solid rgba(128, 128, 128, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.mwe-popups .mwe-popups-container::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: -1px !important;
    border: 2px solid transparent !important;
    border-radius: 13px !important;
    background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 0.4) 40%, transparent 80%) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-clip: content-box, border-box !important;
    -webkit-mask-composite: source-out !important;
    mask-composite: subtract !important;
    mix-blend-mode: screen !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

.mwe-popups .mwe-popups-container::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 12px !important;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 70%) !important;
    mix-blend-mode: soft-light !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.mwe-popups .mwe-popups-extract,
.mwe-popups .mwe-popups-scroll {
    background: transparent !important;
    overflow: hidden !important;
}

.mwe-popups .mwe-popups-extract::after { display: none !important; }

.mwe-popups footer {
    background: rgba(255, 255, 255, 0.1) !important;
    border-top: 1px solid rgba(128, 128, 128, 0.08) !important;
}

.mwe-popups .mwe-popups-extract,
.mwe-popups .mwe-popups-title,
.mwe-popups footer a { color: var(--color-base) !important; }

.mwe-popups-is-tall .mwe-popups-container,
.mwe-popups:not(.mwe-popups-no-image-pointer) .mwe-popups-container { clip-path: none !important; }

.mwe-popups .mwe-popups-discreet { background: transparent !important; }
.mwe-popups .mwe-popups-thumbnail { border-radius: 12px 12px 0 0 !important; }

.mwe-popups.mwe-popups-type-generic .mwe-popups-container {
    background-color: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}

html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container {
    background-color: rgba(20, 20, 20, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
}

html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::before {
    background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
}

html.skin-theme-clientpref-night .mwe-popups footer {
    background: rgba(0, 0, 0, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html.skin-theme-clientpref-night .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
    background-color: rgba(20, 20, 20, 0.4) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container {
        background-color: rgba(20, 20, 20, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container::after {
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
    }
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container::before {
        background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
    }
    html.skin-theme-clientpref-os .mwe-popups footer {
        background: rgba(0, 0, 0, 0.15) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    }
    html.skin-theme-clientpref-os .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
        background-color: rgba(20, 20, 20, 0.4) !important;
    }
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1) !important;
    border: 1px solid var(--border-color-base) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups footer { background: var(--color-surface-2) !important; }
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups.mwe-popups-type-generic .mwe-popups-container { background-color: var(--color-surface-1) !important; }

/* ========================= */
/* --- Navbox 导航框 ---     */
/* ========================= */

.navbox, .navbox-inner, .navbox-subgroup {
    background: transparent !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 16px !important;
}

.navbox {
    overflow: hidden !important;
    margin: 1.5em 0 !important;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08) !important;
}

.navbox-title {
    background: rgba(204, 238, 255, 0.5) !important;
    color: #004466 !important;
    font-weight: bold !important;
}

.navbox-group {
    background: rgba(54, 121, 204, 0.1) !important;
    color: #3366cc !important;
    font-weight: bold !important;
}

html.skin-theme-clientpref-night .navbox-inner {
    background: rgba(20, 20, 20, 0.2) !important;
    backdrop-filter: blur(15px) saturate(160%) !important;
}

html.skin-theme-clientpref-night .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
html.skin-theme-clientpref-night .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }

html.skin-theme-clientpref-night .navbox-list,
html.skin-theme-clientpref-night .navbox-list > div { background: transparent !important; color: #eeeeee !important; }

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .navbox { box-shadow: none !important; }
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .navbox-inner { background-color: #1a1b1c !important; backdrop-filter: none !important; }

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .navbox-inner { background: rgba(20, 20, 20, 0.2) !important; backdrop-filter: blur(15px) saturate(160%) !important; }
    html.skin-theme-clientpref-os .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
    html.skin-theme-clientpref-os .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }
    html.skin-theme-clientpref-os .navbox-list { background: transparent !important; color: #eeeeee !important; }
    html.skin-theme-clientpref-os .navbox { box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.3) !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox { box-shadow: none !important; padding: 0 !important; border: 1px solid #3c3d3e !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-inner { background-color: #1a1b1c !important; backdrop-filter: none !important; border-collapse: collapse !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-title { background-color: #004466 !important; padding: 2px 8px !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-group { background-color: #242526 !important; padding: 2px 8px !important; border: 1px solid #3c3d3e !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-list { padding: 0 !important; border: 1px solid #3c3d3e !important; }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .navbox-list > div { padding: 2px 6px !important; line-height: 1.2 !important; }
}

/* ========================= */
/* --- Ambox 消息框 ---      */
/* ========================= */

table.ambox {
    position: relative !important;
    overflow: hidden !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(12px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-left-width: 8px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    margin: 10px 10% !important;
    width: 80% !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

table.ambox:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

table.ambox td.ambox-text { color: var(--color-base-0) !important; }

table.ambox::before {
    content: "" !important;
    position: absolute;
    inset: -1px;
    border: 2px solid transparent;
    background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 80%) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    mix-blend-mode: overlay;
    z-index: 10;
    pointer-events: none;
}

table.ambox::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
    mix-blend-mode: soft-light;
    z-index: 1;
    pointer-events: none;
}

html.skin-theme-clientpref-night table.ambox {
    background-color: rgba(30, 30, 30, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left-width: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

html.skin-theme-clientpref-night table.ambox::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os table.ambox {
        background-color: rgba(30, 30, 30, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-left-width: 8px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    }
    html.skin-theme-clientpref-os table.ambox::after {
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
    }
    html.skin-theme-clientpref-os table.ambox td.ambox-text,
    html.skin-theme-clientpref-os table.ambox td.ambox-text b,
    html.skin-theme-clientpref-os table.ambox td.ambox-text small { color: #eaecf0 !important; }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: #1e1f20 !important;
        box-shadow: none !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox::before,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os table.ambox::after { display: none !important; }
}

html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox {
    backdrop-filter: none !important;
    background-color: var(--color-surface-2) !important;
    border: 1px solid var(--border-color-base) !important;
    border-left-width: 8px !important;
    box-shadow: none !important;
    transform: none !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::after { display: none !important; }

/* ======================== */
/* --- Wikitable 表格 ---  */
/* ======================== */

.citizen-table-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 15px !important;
    margin: 1em -15px !important;
}

.mw-parser-output table.wikitable {
    background-color: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(12px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
    border: 1px solid rgba(128, 128, 128, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin: 1.5em 0 !important;
}

.citizen-table-wrapper > table.wikitable { margin: 0 !important; }

.mw-parser-output table.wikitable th,
.mw-parser-output table.wikitable td {
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
    padding: 10px 16px !important;
}

.mw-parser-output table.wikitable th {
    background-color: rgba(54, 121, 204, 0.15) !important;
    color: var(--color-primary, #36c) !important;
}

.mw-parser-output table.wikitable tr:first-child th,
.mw-parser-output table.wikitable tr:first-child td { border-top: none !important; }
.mw-parser-output table.wikitable tr:last-child th,
.mw-parser-output table.wikitable tr:last-child td { border-bottom: none !important; }
.mw-parser-output table.wikitable tr th:first-child,
.mw-parser-output table.wikitable tr td:first-child { border-left: none !important; }
.mw-parser-output table.wikitable tr th:last-child,
.mw-parser-output table.wikitable tr td:last-child { border-right: none !important; }

.mw-parser-output table.wikitable tr:first-child th:first-child,
.mw-parser-output table.wikitable tr:first-child td:first-child { border-top-left-radius: 11px !important; }
.mw-parser-output table.wikitable tr:first-child th:last-child,
.mw-parser-output table.wikitable tr:first-child td:last-child { border-top-right-radius: 11px !important; }
.mw-parser-output table.wikitable tr:last-child th:first-child,
.mw-parser-output table.wikitable tr:last-child td:first-child { border-bottom-left-radius: 11px !important; }
.mw-parser-output table.wikitable tr:last-child th:last-child,
.mw-parser-output table.wikitable tr:last-child td:last-child { border-bottom-right-radius: 11px !important; }

html.skin-theme-clientpref-night .mw-parser-output table.wikitable {
    background-color: rgba(30, 30, 30, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

html.skin-theme-clientpref-night .mw-parser-output table.wikitable th { background-color: rgba(54, 121, 204, 0.2) !important; color: #fff !important; }

html.skin-theme-clientpref-night .mw-parser-output table.wikitable th,
html.skin-theme-clientpref-night .mw-parser-output table.wikitable td { border-color: rgba(255, 255, 255, 0.05) !important; }

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable {
        background-color: rgba(30, 30, 30, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    }
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable th { background-color: rgba(54, 121, 204, 0.2) !important; color: #fff !important; }
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable th,
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable td { border-color: rgba(255, 255, 255, 0.05) !important; color: #eaecf0 !important; }
    html.skin-theme-clientpref-os .wikitable,
    html.skin-theme-clientpref-os .wikitable th,
    html.skin-theme-clientpref-os .wikitable td { border-color: rgba(255, 255, 255, 0.2) !important; }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable {
        backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
        background-color: #1e1f20 !important; box-shadow: none !important; border: 1px solid #3c3d3e !important;
    }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th { background-color: #2a2b2c !important; }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td { border-color: #3c3d3e !important; }
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable {
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1) !important; box-shadow: none !important;
}

/* ==================== */
/* --- 缩略图 ---       */
/* ==================== */

html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html:not(.ve-active) .mw-parser-output .thumbinner {
    width: min-content !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(12px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
    border: 1px solid rgba(128, 128, 128, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    padding: 10px !important;
    box-sizing: content-box !important;
}

html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] img,
html:not(.ve-active) .mw-parser-output .thumbimage {
    display: block !important;
    border-radius: 6px !important;
    border: none !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 auto !important;
}

html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html:not(.ve-active) .mw-parser-output .thumbcaption {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    color: var(--color-base-0) !important;
    margin-top: 8px !important;
    font-size: 0.9em !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner {
    background-color: rgba(30, 30, 30, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"]:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html[class*="citizen-feature-performance-mode-clientpref-1"]:not(.ve-active) .mw-parser-output .thumbinner {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1) !important;
    box-shadow: none !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner {
        background-color: rgba(30, 30, 30, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
    html.skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbcaption { color: #eaecf0 !important; }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner {
        backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
        background-color: #1e1f20 !important; border: 1px solid #3c3d3e !important; box-shadow: none !important;
    }
}

/* ======================== */
/* --- Voy-box 警告框 ---  */
/* ======================== */

.voy-box {
    display: flex !important;
    align-items: flex-start !important;
    padding: 16px 20px !important;
    margin: 16px 0 !important;
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(12px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
    border: 1px solid rgba(128, 128, 128, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    overflow: hidden !important;
}

.voy-box.warning {
    border-left: 4px solid #f0ad4e !important;
    background-color: rgba(255, 243, 205, 0.5) !important;
}

.voy-box-icon { font-size: 1.5rem !important; margin-right: 12px !important; flex-shrink: 0 !important; color: #856404 !important; }
.voy-box-content { color: var(--color-base-0) !important; line-height: 1.6 !important; }

.voy-box::before {
    content: "" !important;
    position: absolute;
    inset: -1px;
    border: 2px solid transparent;
    border-radius: 13px;
    background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 80%) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    mix-blend-mode: overlay;
    z-index: 10;
    pointer-events: none;
}

.voy-box::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
    mix-blend-mode: soft-light;
    z-index: 1;
    pointer-events: none;
}

html.skin-theme-clientpref-night .voy-box {
    background-color: rgba(30, 30, 30, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

html.skin-theme-clientpref-night .voy-box.warning { background-color: rgba(102, 77, 30, 0.4) !important; border-left: 4px solid #f0ad4e !important; }
html.skin-theme-clientpref-night .voy-box-icon { color: #ffc107 !important; }
html.skin-theme-clientpref-night .voy-box-content { color: #eaecf0 !important; }

html.skin-theme-clientpref-night .voy-box::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .voy-box { background-color: rgba(30, 30, 30, 0.6) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; }
    html.skin-theme-clientpref-os .voy-box.warning { background-color: rgba(102, 77, 30, 0.4) !important; border-left: 4px solid #f0ad4e !important; }
    html.skin-theme-clientpref-os .voy-box-icon { color: #ffc107 !important; }
    html.skin-theme-clientpref-os .voy-box-content { color: #eaecf0 !important; }
    html.skin-theme-clientpref-os .voy-box::after { background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important; }
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .voy-box.warning { background-color: #3d3520 !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-left: 4px solid #f0ad4e !important; }
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box {
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1) !important; box-shadow: none !important;
    border: 1px solid var(--border-color-base) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box.warning { background-color: #fff3cd !important; border-left: 4px solid #f0ad4e !important; }

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .voy-box.warning {
    background-color: #3d3520 !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-left: 4px solid #f0ad4e !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::after { display: none !important; }

/* ============================== */
/* --- OO-UI 下拉菜单 ---        */
/* ============================== */

.oo-ui-menuSelectWidget {
    position: absolute !important;
    background-color: rgba(var(--color-surface-1-rgb, 28, 28, 28), 0.7) !important;
    backdrop-filter: blur(12px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
    padding: 6px !important;
    z-index: 1000 !important;
}

html.skin-theme-clientpref-day .oo-ui-menuSelectWidget {
    background-color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.oo-ui-menuSelectWidget::before,
.oo-ui-menuSelectWidget::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    pointer-events: none !important;
}

.oo-ui-menuSelectWidget::before {
    inset: -1px;
    border: 2px solid transparent;
    border-radius: 15px;
    background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    mix-blend-mode: screen !important;
    z-index: 10;
}

.oo-ui-menuOptionWidget {
    display: flex !important;
    align-items: center !important;
    padding: 10px 14px !important;
    margin: 2px 0 !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}

.oo-ui-menuOptionWidget-checkIcon {
    position: static !important;
    margin-right: 8px !important;
    min-width: 20px !important;
}

.oo-ui-menuOptionWidget .oo-ui-iconElement-icon {
    position: static !important;
    margin-right: 12px !important;
    filter: invert(1) brightness(2) !important;
}

html.skin-theme-clientpref-day .oo-ui-menuOptionWidget .oo-ui-iconElement-icon { filter: invert(0) brightness(1) !important; }

.oo-ui-menuOptionWidget .oo-ui-labelElement-label { color: var(--color-text-primary) !important; font-size: 0.95rem !important; }
.oo-ui-menuOptionWidget:hover { background-color: rgba(var(--color-primary-rgb), 0.2) !important; }

html[class*="citizen-feature-performance-mode-clientpref-1"] .oo-ui-menuSelectWidget::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .oo-ui-menuSelectWidget::after { display: none !important; }

/* ================================ */
/* --- 液态玻璃光效系统 ---        */
/* ================================ */

.citizen-menu__card,
.citizen-toc-card,
#mw-panel-toc,
.citizen-command-palette,
.infobox {
    position: relative;
    background-image: none !important;
    opacity: 1 !important;
}

.citizen-menu__card::before,
.citizen-toc-card::before,
#mw-panel-toc::before,
.citizen-command-palette::before,
.infobox::before {
    content: "" !important;
    position: absolute;
    inset: -1px;
    border: 2px solid transparent;
    background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 40%, transparent 80%) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    mix-blend-mode: overlay;
    z-index: 10;
    pointer-events: none;
}

.citizen-menu__card::after,
.citizen-toc-card::after,
#mw-panel-toc::after,
.citizen-command-palette::after,
.infobox::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 75%) !important;
    mix-blend-mode: soft-light;
    z-index: 1;
    pointer-events: none;
}

html.skin-theme-clientpref-night .citizen-menu__card::after,
html.skin-theme-clientpref-night .citizen-toc-card::after,
html.skin-theme-clientpref-night #mw-panel-toc::after,
html.skin-theme-clientpref-night .citizen-command-palette::after,
html.skin-theme-clientpref-night .infobox::after {
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 75%) !important;
}

html.skin-theme-clientpref-night table.infobox[style*="background"]::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
    mix-blend-mode: soft-light !important;
}

/* --- Infobox 光效边缘贴合 --- */

.infobox::before,
table.infobox::before,
table.infobox[style*="background"]::before,
table.infobox[style*="width"]::before,
.infobox.geography::before,
.infobox.vcard::before,
.infobox.ve-infobox-country::before {
    inset: -1px !important;
    border: 2px solid transparent !important;
    border-radius: inherit !important;
}

.infobox.geography::after,
.infobox.vcard::after,
.infobox.ve-infobox-country::after,
table.infobox.geography[style*="background"]::after,
table.infobox.geography[style*="width"]::after,
table.infobox.vcard[style*="background"]::after,
table.infobox.vcard[style*="width"]::after,
table.infobox.ve-infobox-country[style*="background"]::after,
table.infobox.ve-infobox-country[style*="width"]::after {
    inset: 0 !important;
    border-radius: inherit !important;
}

table.infobox[style*="background"]::after,
table.infobox[style*="width"]::after {
    inset: 3px !important;
    border-radius: 20px !important;
}

/* --- #mw-panel-toc 专项 --- */

#mw-panel-toc {
    overflow: hidden !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#mw-panel-toc::before {
    content: "" !important;
    position: absolute !important;
    inset: 0px !important;
    border: 1.2px solid transparent !important;
    mix-blend-mode: screen !important;
    background: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    z-index: 10 !important;
    pointer-events: none;
}

#mw-panel-toc::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.25) 0%, transparent 80%) !important;
    mix-blend-mode: soft-light !important;
    z-index: 1 !important;
}

html.skin-theme-clientpref-night #mw-panel-toc,
html.skin-theme-clientpref-night .citizen-menu__card {
    background-color: rgba(20, 20, 20, 0.7) !important;
}

/* --- .citizen-menu__card 增强光效 --- */

.citizen-menu__card::before {
    mix-blend-mode: screen !important;
    background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 80%) border-box !important;
    opacity: 1 !important;
}

.citizen-menu__card::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.4) 0%, transparent 70%) !important;
}

html.skin-theme-clientpref-night .citizen-menu__card::before {
    background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 80%) border-box !important;
}

/* --- #citizen-sidebar-lastmod 光效 --- */

#citizen-sidebar-lastmod {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 16px !important;
    box-shadow: none !important;
}

html.skin-theme-clientpref-night #citizen-sidebar-lastmod {
    background: rgba(20, 20, 20, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#citizen-sidebar-lastmod::before {
    content: "" !important;
    position: absolute;
    inset: -1px;
    border: 2.4px solid transparent;
    background: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%) border-box !important;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    mix-blend-mode: screen;
    z-index: 10;
    pointer-events: none;
}

html.citizen-feature-performance-mode-clientpref-1 #citizen-sidebar-lastmod::before { display: none !important; }

/* --- Basic 模式:彻底关闭光效 --- */

html.skin-citizen-basic #mw-panel-toc,
html.skin-citizen-basic .citizen-menu__card,
html.skin-citizen-basic .citizen-toc-card {
    background-color: var(--color-surface-2) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    box-shadow: var(--box-shadow-card) !important;
}

html.skin-citizen-basic #mw-panel-toc::before,
html.skin-citizen-basic #mw-panel-toc::after,
html.skin-citizen-basic .citizen-menu__card::before,
html.skin-citizen-basic .citizen-menu__card::after {
    display: none !important;
    content: none !important;
}

html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc,
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card,
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card,
html.citizen-feature-performance-mode-clientpref-1 .citizen-command-palette,
html.citizen-feature-performance-mode-clientpref-1 .infobox {
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--box-shadow-card) !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night #mw-panel-toc,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-menu__card {
    background-color: #1a1a1a !important;
}

html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::before,
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::after,
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card::before,
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card::after,
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card::before,
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #mw-panel-toc {
        background-color: #1e1f20 !important;
    }
}

/* ================================ */
/* --- 最后修改时间徽章 ---        */
/* ================================ */

#citizen-sidebar-lastmod.citizen-menu {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(12px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
    border-radius: 12px !important;
    border: none !important;
    padding: 4px !important;
    margin-top: 5px !important;
    width: fit-content !important;
    background-image: none !important;
}

html.skin-theme-clientpref-night #citizen-sidebar-lastmod.citizen-menu {
    background-color: rgba(20, 20, 20, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] #citizen-sidebar-lastmod.citizen-menu {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1) !important;
    border: 1px solid var(--border-color-base, rgba(20, 20, 20, 0.2)) !important;
    box-shadow: none !important;
}

#citizen-sidebar-lastmod #citizen-lastmod-relative {
    text-decoration: none !important;
    color: var(--color-base-0) !important;
    font-weight: 400;
}

#citizen-sidebar-lastmod,
#citizen-sidebar-lastmod .citizen-menu__card {
    box-shadow: none !important;
    border: 1px solid rgba(128, 128, 128, 0.2);
}

/* ================================== */
/* --- 能效模式 (Aero/Basic) 适配 --- */
/* ================================== */

html[class*="citizen-feature-performance-mode-clientpref-1"] {
    --citizen-backdrop-filter: none !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-menu__card,
html[class*="citizen-feature-performance-mode-clientpref-1"] #citizen-preferences__card,
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-sticky-header-background,
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-command-palette,
html[class*="citizen-feature-performance-mode-clientpref-1"] .page-actions-more__card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1) !important;
    animation: citizen-fade-in 0.1s ease forwards !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-command-palette {
    transform: translate(-50%, -50%) scale(1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* ================================ */
/* --- 杂项自动深色修复 ---        */
/* ================================ */

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .catlinks {
        border-color: rgba(255, 255, 255, 0.15) !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
    }
}