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

MediaWiki:Citizen.css:修订间差异

MediaWiki界面页面
ETTW留言 | 贡献
无编辑摘要
无编辑摘要
标签手工回退
 
(未显示2个用户的320个中间版本)
第1行: 第1行:
/**
/**
  * Blockland Wiki Modern Aero UI OS26
  * Blockland Wiki Modern Aero UI OS26.2
  * 风格:Acrylic/Aero/Basic
  * 风格:Acrylic/Aero/Basic
  * 功能:全局毛玻璃、改进动效、优化搜索栏、infobox美化、评论区美化、深色模式、全局液态玻璃、全局光线追踪、自动模式兼容。
  * 修改:全局毛玻璃,全局光线追踪,UI全面现代化。
  * 版本:4.0
  * 版本:26.2
  */
  */
/* ========================= */
 
/* --- Section1.全局颜色 --- */
/* Fuck mediawiki编译器 */
/* ========================= */
/* ============================= */
/* --- 全局变量与主体背景 ---   */
/* ============================= */
 
:root {
:root {
     --color-surface-0: #fafafa;
     --color-surface-0: #fafafa;
第14行: 第17行:
     --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;
     border: 1px solid rgba(128, 128, 128, 0.1) !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.35) !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;
     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(20, 20, 20, 0.55) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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(20, 20, 20, 0.55) !important;
        color: #ffffff !important;
        backdrop-filter: blur(14px) saturate(100%) !important;
     }
}
 
/* ============ */
/* 侧边栏毛玻璃 */
/* ============ */
.mw-logo-icon {
    border-radius: 6px !important;
     overflow: hidden;  
}
}
/* ============================= */
.citizen-header {
/* --- Section4.搜索面板主体 --- */
     background: transparent !important;
/* ============================= */
     backdrop-filter: none !important;
.citizen-command-palette {
     -webkit-backdrop-filter: none !important;
    position: fixed !important;
     box-shadow: none !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-header::after {
/* --- Section5.搜索列表填充优化 --- */
    content: "";
/* ================================= */
    position: fixed;
.citizen-command-palette-list {
    top: 0;
     padding: 8px 0 !important;
    left: 0;
    z-index: -1;
    pointer-events: none;
    width: var(--citizen-width-sidebar, 70px);
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.35);
    background-image: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.15),
        transparent 80%
    );
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
     border-right: 1px solid transparent;
border-image: radial-gradient(
  180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
  rgba(255, 255, 255, 0.9),
  rgba(255, 255, 255, 0.2) 80%,
  transparent
) 1 / 1 / 0 stretch;
}
}
.citizen-command-palette-list-item {
@media screen and (max-width: 1119px) {
    margin: 0 12px 6px 12px !important;  
    .citizen-header::after {
    border-radius: 12px !important;
        top: auto;
    overflow: hidden !important;
        bottom: 0;
    border: none !important;
        width: 100%;
    display: block !important;
        height: var(--citizen-height-header, 70px);
    transition: background-color 0.2s ease !important;
        border-right: none;
        border-top: 1px solid transparent;
        border-image: radial-gradient(
            150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.4),
            transparent 80%
        ) 1 / 1 / 0 stretch;
        background-image: none !important;
    }
}
}
.citizen-command-palette-list-item__content {
html.skin-theme-clientpref-night .citizen-header::after {
     display: flex !important;
     background-color: rgba(20, 20, 20, 0.55) !important;
     padding: 12px 16px !important;
     background-image: radial-gradient(
     width: 100% !important;
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    box-sizing: border-box !important;
        rgba(255, 255, 255, 0.08),
    background: transparent !important;
        transparent 70%
    color: #202122 !important;
     ) !important;
border-image: radial-gradient(
  180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
  rgba(255, 255, 255, 0.6),
  rgba(255, 255, 255, 0.1) 80%,
  transparent
) 1 / 1 / 0 stretch !important;
}
}
.citizen-command-palette-list-item__metadata {
@media (prefers-color-scheme: dark) {
     display: none !important;
    html.skin-theme-clientpref-os .citizen-header::after {
        background-color: rgba(20, 20, 20, 0.55) !important;
        background-image: radial-gradient(
            600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.08),
            transparent 70%
        ) !important;
border-image: radial-gradient(
  180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
  rgba(255, 255, 255, 0.6),
  rgba(255, 255, 255, 0.1) 80%,
  transparent
) 1 / 1 / 0 stretch !important;
    }
}
html.citizen-feature-performance-mode-clientpref-1 .citizen-header::after {
     backdrop-filter: none !important;
    background-image: none !important;
    border-image: none !important;
    border-right: 1px solid rgba(128, 128, 128, 0.2);
    background-color: var(--color-surface-1) !important;
    opacity: 1 !important;
}
}
.citizen-command-palette-list-item:hover,
.citizen-menu__card,
.citizen-command-palette-list-item[aria-selected="true"] {
.citizen-drawer__card,
     background-color: rgba(0, 0, 0, 0.05) !important;
.citizen-preferences__card {
     z-index: 10000 !important;
    isolation: isolate !important;
}
}
/* =========================== */
/* ========================= */
/* --- Section6.垃圾桶按钮 --- */
/* --- 顶栏 Sticky Header --- */
/* =========================== */
/* ========================= */
.citizen-command-palette-list-item__actions,
 
.citizen-command-palette-list-item__action {
.citizen-sticky-header {
    border-radius: 0 !important;
     background: transparent !important;
     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;  
.citizen-sticky-header-background {
     opacity: 0.85 !important;  
    border-radius: 0 !important;
     transition: all 0.2s ease !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.35) !important;
    background-image: none !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}
}
/* 悬停状态:浅粉色背景 + 变大红图标 */
 
.citizen-command-palette-list-item__action:hover {
html.skin-theme-clientpref-night .citizen-sticky-header-background {
     background-color: rgba(255, 192, 203, 0.6) !important;
    background-color: rgba(20, 20, 20, 0.55) !important;
     border-radius: 8px !important;
     background-image: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
     backdrop-filter: blur(14px) saturate(100%) !important;
}
}
.citizen-command-palette-list-item__action:hover svg {
 
    fill: #d33 !important;  
html.skin-theme-clientpref-night .citizen-sticky-header .cdx-button--weight-quiet { color: #eaecf0 !important; }
    opacity: 1 !important;
html.skin-theme-clientpref-night .citizen-sticky-header-page-title,
    transform: scale(1.15) !important;  
html.skin-theme-clientpref-night .citizen-sticky-header-page-tagline { color: #ffffff !important; }
}
 
/* ======================= */
/* ================================ */
/* --- Section7.搜索框 --- */
/* --- 搜索面板 Command Palette --- */
/* ======================= */
/* ================================ */
.citizen-command-palette__search,
 
.citizen-command-palette__results,
.citizen-command-palette-backdrop {
.citizen-command-palette__footer,
    background-color: rgba(0, 0, 0, 0.2) !important;
.cdx-text-input__input {
     backdrop-filter: blur(14px) saturate(100%) !important;
     background: transparent !important;
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     border: none !important;
     z-index: 9999 !important;
     box-shadow: none !important;
    animation: citizen-fade-in 0.3s ease forwards;
}
}
/* --- 动画定义 --- */
 
@keyframes citizen-pop-in {
.citizen-command-palette {
     0% { opacity: 0; transform: translate(-50%, -45%) scale(0.85); }
     position: fixed !important;
     100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    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.35) !important;
     backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) 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;
}
}
@keyframes citizen-fade-in {
 
     from { opacity: 0; }
.citizen-command-palette__search,
     to { opacity: 1; }
.citizen-command-palette__results,
.citizen-command-palette__footer,
.cdx-text-input__input {
     background: transparent !important;
    border: none !important;
     box-shadow: none !important;
}
}
/* ========================= */
 
/* --- Section8.深色模式 --- */
.citizen-command-palette-list { padding: 8px 0 !important; }
/* ========================= */
 
@media (prefers-color-scheme: dark) {
.citizen-command-palette-list-item {
    html.skin-theme-clientpref-os body,
    margin: 0 12px 6px 12px !important;
    html.skin-theme-clientpref-night body {
    border-radius: 12px !important;
        background-color: #1a1b1c !important;
    overflow: hidden !important;
    }
    border: none !important;
    html.skin-theme-clientpref-os,
    display: block !important;
    html.skin-theme-clientpref-night {
    transition: background-color 0.2s ease !important;
        --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__content {
     --color-surface-1: #202122 !important;
     display: flex !important;
     --color-base-0: #eaecf0 !important;
     padding: 12px 16px !important;
     --color-heading: #ffffff !important;
     width: 100% !important;
     background-color: #1a1b1c !important;
     box-sizing: border-box !important;
    background: transparent !important;
     color: #202122 !important;
}
}
html.skin-theme-clientpref-night .citizen-command-palette,
 
html.skin-theme-clientpref-night .citizen-menu__card,
.citizen-command-palette-list-item__metadata { display: none !important; }
html.skin-theme-clientpref-night .page-actions-more__card {
 
     background-color: rgba(30, 30, 30, 0.7) !important; /* 深色半透明 */
.citizen-command-palette-list-item:hover,
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* 微亮边框线 */
.citizen-command-palette-list-item[aria-selected="true"] {
    backdrop-filter: blur(20px) saturate(150%) !important;
     background-color: rgba(0, 0, 0, 0.05) !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__actions,
     background-color: rgba(255, 255, 255, 0.1) !important;
.citizen-command-palette-list-item__action {
}
     background: transparent !important;
html.skin-theme-clientpref-night body {
     background-color: transparent !important;
    background-color: #1a1b1c !important;
}
html.skin-theme-clientpref-day body {
     background-color: #fafafa !important;
}
/* ========================= */
/* --- Section9.顶栏修复 --- */
/* ========================= */
.citizen-sticky-header-background {
    border-radius: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: 0 !important;
     border: none !important;
     border: none !important;
     border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
     box-shadow: none !important;
     background-color: rgba(255, 255, 255, 0.4) !important;
     min-width: 32px !important;
     background-image: none !important;  
    display: flex !important;
     backdrop-filter: blur(12px) saturate(100%) !important;
     justify-content: center !important;
     -webkit-backdrop-filter: blur(12px) saturate(100%) !important;
     align-items: center !important;
     margin-left: auto !important;
}
}
html.skin-theme-clientpref-night .citizen-sticky-header-background {
 
     background-color: rgba(20, 20, 20, 0.4) !important;
.citizen-command-palette-list-item__action svg {
    background-image: none !important;  
     fill: #202122 !important;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
     opacity: 0.85 !important;
     backdrop-filter: blur(20px) saturate(150%) !important;  
     transition: all 0.2s ease !important;
}
}
.citizen-sticky-header {
 
     border-radius: 0 !important;
.citizen-command-palette-list-item__action:hover {
     background: transparent !important;  
     background-color: rgba(255, 192, 203, 0.6) !important;
     border-radius: 8px !important;
}
}
html.skin-theme-clientpref-night .citizen-sticky-header .cdx-button--weight-quiet {
 
     color: #eaecf0 !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.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 {
    background-color: #1e1f20 !important;
     color: #ffffff !important;
     color: #ffffff !important;
    border: 1px solid #3c3d3e !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}
}
/* ========================================== */
 
/* --- Section10.能效模式(aero/basic)适配 --- */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input {
/* ========================================== */
     background-color: #2c2c2c !important;
/* 当 html 标签包含 performance-mode...-1 时,判定为能效模式开启。此时彻底干掉毛玻璃和动画。*/
    border-bottom: 1px solid #3c3d3e !important;
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__input input { color: #ffffff !important; }
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-sticky-header-background,
 
html[class*="citizen-feature-performance-mode-clientpref-1"] .citizen-command-palette,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__label,
html[class*="citizen-feature-performance-mode-clientpref-1"] .page-actions-more__card {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item__text__description bdi {
    backdrop-filter: none !important;
     color: #eeeeee !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;
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;  
     background-color: #363738 !important;
}
}
.page-首页 .banner-image {
 
--banner-image-url: url("https://cdn.jsdelivr.net/gh/KKBlockE/BlocklandPicturebed@main/main/d49dd42343ab1bfcf4efa67f62f4ecf8.png");
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__footer {
--banner-image-height: 70vh;
    background-color: #161718 !important;
background-image: linear-gradient(to top, var(--color-surface-0) 15%, transparent 150%), var(--banner-image-url);
    color: #888888 !important;
background-size: cover;
    border-top: 1px solid #3c3d3e !important;
background-position: top;
height: var(--banner-image-height);
margin-bottom: calc(-1 * var(--banner-image-height));
}
}
/* ============================== */
 
/* --- Section11.标签文字修改 --- */
@media (prefers-color-scheme: dark) {
/* ============================== */
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette {
label[for="skin-client-pref-citizen-feature-performance-mode-value-1"],
        background-color: #1e1f20 !important;
label[for="skin-client-pref-citizen-feature-performance-mode-value-0"] {
        backdrop-filter: none !important;
    color: transparent !important;  
        -webkit-backdrop-filter: none !important;
    position: relative !important;
        border: 1px solid #3c3d3e !important;
    min-width: 80px !important;  
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    text-align: center !important;
    }
}
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__input {
label[for="skin-client-pref-citizen-feature-performance-mode-value-0"]::after {
        background-color: #2c2c2c !important;
    content: "Aero" !important;
        border-bottom: 1px solid #3c3d3e !important;
    position: absolute !important;
     }
     left: 50% !important;
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label {
     top: 50% !important;
        color: #ffffff !important;
     transform: translate(-50%, -50%) !important;
     }
    color: var(--color-base-0) !important;  
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-command-palette__footer {
    font-size: 0.9rem !important;
        background-color: #161718 !important;
    font-weight: bold !important;
        backdrop-filter: none !important;
     visibility: visible !important;
        border-top: 1px solid #3c3d3e !important;
     }
}
}


/* 注入 Basic */
/* ==================== */
label[for="skin-client-pref-citizen-feature-performance-mode-value-1"]::after {
/* --- 设置菜单 ---    */
     content: "Basic" !important;
/* ==================== */
     position: absolute !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;
     left: 50% !important;
     top: 50% !important;
     top: 50% !important;
第291行: 第428行:
     visibility: visible !important;
     visibility: visible !important;
}
}
.citizen-menu #skin-client-pref-citizen-feature-performance-mode-group {
 
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 .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行: 第453行:
     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,
.full-width-banner {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card-content {
     width: 100vw; /* 视口宽度 */
        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 ---   */
/* ====================== */
 
.full-width-banner {
     width: 100vw;
     position: relative;
     position: relative;
     left: 50%;
     left: 50%;
第319行: 第484行:
     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行: 第490行:
     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.搜索页面搜索栏优化 --- */
/* ========== */
/* ==================================== */
/* Banner修复 */
.page-特殊_搜索 .oo-ui-layout.oo-ui-labelElement.oo-ui-actionFieldLayout,
/* ========== */
.page-特殊_搜索 .oo-ui-fieldLayout.oo-ui-labelElement,
.page-首页 .banner-image {
.page-特殊_搜索 .mw-widgets-titleInputWidget,
    --banner-image-url: url("https://cdn.jsdelivr.net/gh/KKBlockE/BlocklandPicturebed@main/main/d49dd42343ab1bfcf4efa67f62f4ecf8.png");
.page-特殊_搜索 .mw-widget-searchInputWidget {
    --banner-image-height: 70vh;
     max-width: none !important;  
    background-image: linear-gradient(to top, var(--color-surface-0) 15%, transparent 150%), var(--banner-image-url);
     width: 100% !important;  
    background-size: cover;
     display: flex !important;
    background-position: top;
    height: var(--banner-image-height);
    margin-bottom: calc(-1 * var(--banner-image-height));
    position: relative;
    z-index: 1;
     pointer-events: none;
}
.home-banner-overlay {
     position: relative;
     z-index: 10;  
}
}
.page-特殊_搜索 .mw-search-form-wrapper,  
.page-banner-bg,
.page-特殊_搜索 #mw-search-top-table,  
.page-banner-bg * {
.page-特殊_搜索 .oo-ui-fieldLayout-field {
    pointer-events: none !important;
    user-select: none !important;
}
.page-banner {
    pointer-events: none !important;
}
.page-banner-content div {
    pointer-events: auto !important;
}
/* ======================== */
/* --- 搜索页面优化 ---    */
/* ======================== */
 
.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;
     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行: 第565行:
     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行: 第578行:
     box-sizing: border-box !important;
     box-sizing: border-box !important;
}
}
/* ================================== */
/* --- Section14.设置菜单选项重排 --- */
/* ================================== */


/* 激活容器布局 */
/* =============================== */
#citizen-preferences-content {
/* --- Infobox 信息框系统 ---     */
    display: flex !important;
/* =============================== */
    flex-direction: column !important;
 
}
.infobox {
/* 1. 文字 */
    display: table !important;
#skin-client-prefs-citizen-feature-custom-font-size {
    position: relative !important;
    order: 1 !important;
    z-index: 10 !important;
}
    background: rgba(255, 255, 255, 0.35) !important;
/* 2. 宽度 */
     background-image: none !important;
#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;
    font-size: 0.925rem !important;
     border-radius: 12px !important;
     border: 1px solid rgba(255, 255, 255, 0.3) !important;
     backdrop-filter: blur(10px);
     border-radius: 16px !important;
     border-collapse: separate !important;  
    border-collapse: separate !important;
     border-spacing: 0 !important;  
    border-spacing: 0 !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
     backdrop-filter: blur(14px) saturate(100%);
     -webkit-backdrop-filter: blur(14px) saturate(100%);
    overflow: hidden !important;
    opacity: 1 !important;
    float: right !important;
    clear: right !important;
     margin: 0.5em 0 0.5em 1em !important;
    width: 22em !important;
}
}
.infobox th,  
 
.infobox td {
.infobox th:not(.infobox-above),
     background-color: transparent !important;  
.infobox td:not(.infobox-above) {
     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));
     color: var(--color-primary, #36c) !important;
     color: var(--color-primary, #36c);
}
}
.infobox .mw-file-description img { background: transparent !important; }
.infobox .mw-file-description img { background: transparent !important; }
.infobox {
    position: relative !important;
    z-index: 10 !important;
}
/* ===================================== */
/* === Section16.15 评论流:极致整合与修正 === */
/* ===================================== */


/* --- 1. 基础流容器:深色质感与圆角 --- */
.infobox .infobox-title {
.cs-stream {
     display: block !important;
     display: block !important;
     background-color: var(--color-surface-1) !important;
     width: 100% !important;
     border: 1px solid var(--border-color-base) !important;
    box-sizing: border-box !important;
     border-radius: 20px !important;
     margin: 0 0 12px 0 !important;
     margin-bottom: 24px !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;
}
}


/* --- 2. 头像框重塑:回归 Squircle 圆角与外轮廓 --- */
caption.infobox-title { caption-side: top !important; }
.cs-avatar {
 
    width: 44px !important; /* 缩小一点以适配紧凑布局 */
.infobox tbody {
     height: 44px !important;
     display: table !important;
     border-radius: 12px !important; /* 现代圆角矩形 */
     width: 100% !important;
     border: 2px solid rgba(var(--color-primary-rgb), 0.3) !important; /* 主题色半透明轮廓 */
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
     border-radius: 12px !important;
     transition: transform 0.2s ease !important;
     overflow: hidden !important;
     object-fit: cover !important;
     background: rgba(255, 255, 255, 0.4) !important;
}
}


.cs-avatar:hover {
.infobox .infobox-above {
     transform: scale(1.05);
    text-shadow: none !important;
    font-weight: bold !important;
    text-align: center !important;
    padding: 8px 5px !important;
     border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}
}


/* --- 3. 头部与间距压减:彻底贴合 --- */
.infobox tr:first-child th,
.cs-comment-header {
.infobox tr:first-child td {
     display: flex !important;
     border-top-left-radius: 12px !important;
    align-items: center;
     border-top-right-radius: 12px !important;
    padding: 8px 16px !important; /* 压减高度 */
    background: rgba(128, 128, 128, 0.05) !important;
     border-bottom: 1px solid var(--border-color-base) !important;
    margin-bottom: 4px !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;
}
}


/* --- 4. 次级评论:背景色修正与顶部贴紧 --- */
.infobox .infobox-header {
.cs-reply-comment {
     background-color: rgba(54, 121, 204, 0.1) !important;
    /* 强行锁定背景色:亮色下极浅灰,暗色下深灰,确保与主背板有区分 */
     color: var(--color-primary, #36c) !important;
     background-color: var(--color-surface-2) !important;
     font-weight: bold !important;
     border: 1px solid var(--border-color-base) !important;
     text-align: center !important;
     border-radius: 12px !important;
     text-transform: uppercase;
     margin: 4px 16px 8px 72px !important; /* 紧缩对齐 */
    letter-spacing: 1.5px;
     padding: 0 !important; /* 必须为0以让header贴顶 */
    border-top: 1px solid rgba(128, 128, 128, 0.1) !important;
     overflow: hidden;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
     box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}
}


.cs-reply-comment .cs-comment-header {
.infobox-player-header {
     background: rgba(var(--color-primary-rgb), 0.08) !important; /* 淡淡的主题色暗示层级 */
     background: linear-gradient(90deg, rgba(54, 121, 204, 0.1), transparent) !important;
     padding: 6px 12px !important;
    border-radius: 8px;
     padding: 5px !important;
    margin-bottom: 5px !important;
}
}


.cs-reply-comment .cs-comment-body {
html.skin-theme-clientpref-night .infobox .infobox-title {
     padding: 8px 12px !important; /* 二级内部紧凑 */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
    text-shadow: none !important;
    filter: none !important;
}


/* --- 5. 回复按钮:彻底融入且消除乱象 --- */
html.skin-theme-clientpref-night .infobox {
.cs-stream-footer {
     background: rgba(20, 20, 20, 0.55) !important;
     padding: 0 16px 12px 72px !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     background: transparent !important;
     box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
     margin-top: -4px !important;
}
}


/* 彻底封杀所有回复、提交、取消按钮内的图标 */
html.skin-theme-clientpref-night .infobox tbody {
.cs-stream-footer .oo-ui-iconElement-icon,
     background: rgba(255, 255, 255, 0.06) !important;
.cs-edit-box .oo-ui-iconElement-icon,
.cs-edit-box .oo-ui-indicatorElement-indicator {
     display: none !important;
}
}


.cs-stream-footer .oo-ui-buttonElement-button {
html.skin-theme-clientpref-night .infobox .infobox-header {
     background-color: var(--color-surface-3) !important;
     background-color: rgba(54, 121, 204, 0.1) !important;
     color: var(--color-primary) !important;
     color: #ffffff !important;
     border: none !important;
     border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
     border-radius: 6px !important;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2px 10px !important;
    height: 24px !important;
    min-height: unset !important;
}
}


.cs-stream-footer .oo-ui-buttonElement-button:hover {
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox {
     background-color: var(--color-primary) !important;
    backdrop-filter: none !important;
     color: #fff !important;
    -webkit-backdrop-filter: none !important;
     background: var(--color-surface-1, #ffffff) !important;
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
    box-shadow: none !important;
}
}


/* --- 6. 回复输入框 (Edit Box):颜色匹配与紧凑 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox tbody {
.cs-edit-box {
     background: var(--color-surface-1, #ffffff) !important;
     background-color: var(--color-surface-2) !important; /* 匹配次级评论背景色 */
    border: 1px solid var(--color-primary) !important;
    border-radius: 12px !important;
    margin: 4px 16px 12px 72px !important;
    padding: 10px !important;
}
}


.cs-body-edit-field {
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-header {
     background-color: var(--color-surface-1) !important;
     background-color: #F3F3F3 !important;
     color: var(--color-text-primary) !important;
     color: var(--color-base-0) !important;
     border: 1px solid var(--border-color-base) !important;
     border-top: 1px solid #ddd !important;
     border-radius: 8px !important;
     border-bottom: 1px solid #ddd !important;
     min-height: 50px !important;
     backdrop-filter: none !important;
    padding: 8px !important;
    font-size: 0.9rem !important;
}
}


/* 提交按钮文字加粗,确保无图标也清晰 */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-title {
.cs-submit-btn .oo-ui-labelElement-label {
     box-shadow: none !important;
     font-weight: 800 !important;
    text-shadow: none !important;
     color: var(--color-primary) !important;
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
}
}


.cs-submit-btn .oo-ui-buttonElement-button:hover .oo-ui-labelElement-label {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox .infobox-title {
     color: #fff !important;
    filter: none !important;
    background-color: #2a2a2a !important;
     color: #eaecf0 !important;
}
}


/* --- 7. 亮色模式特殊强制补丁 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox {
html.skin-theme-clientpref-day .cs-reply-comment,
    backdrop-filter: none !important;
html.skin-theme-clientpref-day .cs-edit-box {
    -webkit-backdrop-filter: none !important;
     background-color: #f0f2f5 !important; /* 亮色下强制使用浅灰背景 */
     background-color: #242526 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
}
/* ===================================== */
/* === Section16.16 评论流深度修正补丁 === */
/* ===================================== */


/* 1. 修复文字撞头像:恢复内部文字的舒适间距 */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox tbody {
.cs-comment-body {
     background-color: #242526 !important;
     padding-left: 68px !important; /* 给头像留出空间,防止文字重叠 */
    margin-top: -4px !important;
}
}


/* 2. 颜色绝对统一:强制次级评论、回复框背景与 Citizen 表面色一致 */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox .infobox-header {
.cs-reply-comment,
     background-color: #2a2a2a !important;
.cs-edit-box {
    color: #eaecf0 !important;
     background-color: var(--color-surface-2) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.3) !important;
     border: 1px solid var(--border-color-base) !important;
     border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
}
}


/* 亮色模式下的强制显性颜色(解决浅色下颜色不对) */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-day .cs-reply-comment,
    html.skin-theme-clientpref-os .infobox .infobox-title {
html.skin-theme-clientpref-day .cs-edit-box {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    background-color: #f5f7fa !important;
        text-shadow: none !important;
     border-color: rgba(0, 0, 0, 0.05) !important;
        filter: none !important;
}
    }
 
    html.skin-theme-clientpref-os .infobox-title,
/* 3. 头像 Squircle 回归与精修 */
    html.skin-theme-clientpref-os .infobox caption,
.cs-avatar {
    html.skin-theme-clientpref-os .infobox th[style*="background"] {
    border-radius: 12px !important;
        background-color: rgba(26, 58, 90, 0.4);
     border: 2px solid rgba(var(--color-primary-rgb), 0.3) !important;
        color: #ffffff;
     box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
        background-image: none !important;
    margin-right: 12px !important;
        filter: none !important;
    }
     html.skin-theme-clientpref-os .infobox {
        background: rgba(20, 20, 20, 0.55) !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 tbody {
        background: rgba(255, 255, 255, 0.06) !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 {
        background-color: rgba(60, 60, 60, 0.5) !important;
        color: #ffffff !important;
        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-title,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os caption.infobox-title {
        background-color: #2c2c2c;
        color: #ffffff;
    }
    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;
        color: #eeeeee;
        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;
    }
}
}


/* 4. 回复按钮:加高并填满左侧空位 */
.infobox caption,
.cs-stream-footer {
.mw-parser-output .infobox caption,
     padding: 0 16px 12px 68px !important; /* 修正对齐 */
table.infobox caption {
     margin-top: 0 !important;
     background: transparent !important;
    background-color: transparent !important;
     border: none !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    outline: none !important;
}
}


.cs-stream-footer .oo-ui-buttonElement-button {
html.skin-theme-clientpref-night .infobox caption,
     height: 32px !important; /* 增加高度,不再窄得难受 */
html.skin-theme-clientpref-night .infobox caption b,
     padding: 0 16px !important;
html.skin-theme-clientpref-night table.infobox caption,
     background-color: rgba(var(--color-primary-rgb), 0.1) !important; /* 淡淡的主题色 */
html.skin-theme-clientpref-night table.infobox caption b {
     border-radius: 8px !important;
     background: transparent !important;
     display: inline-flex !important;
     border: none !important;
    align-items: center;
     box-shadow: none !important;
     filter: none !important;
     color: #eaecf0 !important;
}
}


/* 5. 提交/取消按钮:填补图标删除后的空位 */
@media (prefers-color-scheme: dark) {
.cs-submit-btn, .cs-cancel-btn {
    html.skin-theme-clientpref-os .infobox caption,
    margin-left: 0 !important;
    html.skin-theme-clientpref-os .infobox caption b,
     margin-right: 12px !important;
    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;
    }
}
}


.cs-submit-btn .oo-ui-labelElement-label,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption,
.cs-cancel-btn .oo-ui-labelElement-label {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox caption b {
     padding: 0 4px !important; /* 增加文字左右呼吸感,填补图标空缺 */
     background: transparent !important;
     line-height: 32px !important;
     border: none !important;
     font-weight: bold !important;
     color: #eaecf0 !important;
}
}


/* 6. 极致压缩外部间距(Margin) */
.infobox.ve-infobox-country,
.cs-stream { margin-bottom: 16px !important; }
.infobox.ve-infobox-country tbody,
.cs-comment-header { margin-bottom: 2px !important; }
.infobox.ve-infobox-country tr,
.cs-reply-comment { margin-top: 4px !important; margin-bottom: 4px !important; }
.infobox.ve-infobox-country th,
.cs-edit-box { margin-top: 4px !important; }
.infobox.ve-infobox-country td {
 
     background-color: transparent !important;
/* 7. 彻底封杀残余图标 */
     border-color: rgba(128, 128, 128, 0.1) !important;
.cs-edit-box .oo-ui-iconElement-icon {
    display: none !important;
    width: 0 !important; /* 彻底物理消失,不占位 */
}
/* ===================================== */
/* === Section16.17 颜色对齐与 UI 修正 === */
/* ===================================== */
 
/* 1. 颜色绝对统一:全部强制与主背板一致 */
.cs-reply-comment,  
.cs-edit-box,
.cs-body-edit-field {
     background-color: var(--color-surface-1) !important; /* 强制一致,不搞特殊化 */
     border: 1px solid var(--border-color-base) !important;
}
}


/* 2. 修复回复按钮外框:找回消失的边框 */
.infobox.ve-infobox-country {
.cs-stream-footer .oo-ui-buttonElement-button {
     background: rgba(255, 255, 255, 0.35) !important;
     background-color: transparent !important; /* 保持透明感 */
     backdrop-filter: blur(14px) saturate(100%) !important;
     border: 1px solid var(--border-color-base) !important; /* 补回外框 */
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     border-radius: 6px !important;
     border: 1px solid rgba(255, 255, 255, 0.4) !important;
     height: 32px !important;
     box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
     padding: 0 16px !important;
     border-radius: 16px !important;
     display: inline-flex !important;
     overflow: hidden;
     align-items: center;
    padding: 0 !important;
     color: var(--color-primary) !important;
     border-collapse: separate !important;
     border-spacing: 0 !important;
}
}


/* 3. 彻底爆破提交/取消按钮的左侧图标占位 */
.infobox.ve-infobox-country tbody { background-color: transparent !important; border: none !important; }
/* OO-UI 默认会给 icon 留位置,我们需要彻底移除那个 span */
.cs-edit-box .oo-ui-iconElement-icon {
    display: none !important;
}


/* 关键:强制 label 充满左侧,填补图标空缺 */
.infobox.ve-infobox-country .infobox-above {
.cs-submit-btn .oo-ui-labelElement-label,
    text-shadow: none !important;
.cs-cancel-btn .oo-ui-labelElement-label {
    font-weight: bold !important;
     margin-left: 0 !important;
    text-align: center !important;
     padding-left: 0 !important;
    padding: 8px 5px !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
     margin: 0 !important;
     display: table-cell !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}
}


/* 4. 修复外边距:把元素之间的“松散感”砍掉 */
.infobox.ve-infobox-country tr:first-child th,
.cs-reply-comment {
.infobox.ve-infobox-country tr:first-child td { border-top: none !important; }
     margin: 4px 16px 4px 72px !important; /* 统一缩进 */
 
.infobox.ve-infobox-country .infobox-header {
     background-color: rgba(54, 121, 204, 0.1);
    color: var(--color-primary, #36c);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    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;
}
}


.cs-edit-box {
.infobox.ve-infobox-country .infobox-image img {
     margin: 4px 16px 12px 72px !important;
     background: transparent !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}
}


/* 5. 头像与文字间距精调:不重叠,但也不空旷 */
html.skin-theme-clientpref-night .infobox.ve-infobox-country {
.cs-comment-body {
     background: rgba(20, 20, 20, 0.55) !important;
     padding-left: 72px !important; /* 对齐头像轴线 */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
     margin-bottom: 8px !important;
     box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
}
}


.cs-reply-comment .cs-comment-body {
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
     padding-left: 16px !important; /* 次级回复内部已经有 72px 缩进了,这里只需要常规内补 */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    text-shadow: none !important;
}
}


/* 6. 按钮区域布局压实 */
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
.cs-edit-box .cs-submit-btn,
     background-color: rgba(54, 121, 204, 0.1);
.cs-edit-box .cs-cancel-btn {
     color: #ffffff;
     margin-top: 8px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
     display: inline-block !important;
}
}


/* 7. 亮色模式强制对齐(防止 Citizen 皮肤背景变量在不同层级表现不一) */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country {
html.skin-theme-clientpref-day .cs-reply-comment,
    backdrop-filter: none !important;
html.skin-theme-clientpref-day .cs-edit-box,
    -webkit-backdrop-filter: none !important;
html.skin-theme-clientpref-day .cs-body-edit-field {
     background-color: var(--color-surface-1, #ffffff) !important;
     background-color: #ffffff !important;
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
     border-color: #eeeeee !important;
    box-shadow: none !important;
}
}
/* ===================================== */
/* === Section16.18 间距与按钮对齐补丁 === */
/* ===================================== */


/* 1. 颜色绝对同步:让次级评论、编辑框、写字区颜色完全一致 */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
.cs-reply-comment,
     text-shadow: none !important;
.cs-edit-box,
     box-shadow: none !important;
.cs-body-edit-field {
     background-color: var(--color-surface-1) !important;
     border: 1px solid var(--border-color-base) !important;
}
}


/* 2. 垂直间距校准:让次级评论到上方和下方的距离一致 */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-header {
.cs-reply-comment {
     background-color: #F3F3F3;
     margin-top: 12px !important;   /* 增加上间距 */
    color: var(--color-base-0);
     margin-bottom: 12px !important; /* 保持与下方(按钮/输入框)距离一致 */
     backdrop-filter: none !important;
     margin-left: 72px !important;
     border-top: 1px solid #ddd !important;
     margin-right: 16px !important;
     border-bottom: 1px solid #ddd !important;
}
}


/* 3. 按钮区域:压实上间距,填补左侧空白 */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country {
.cs-edit-box .cs-submit-btn,
     background-color: #242526 !important;
.cs-edit-box .cs-cancel-btn {
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     margin-top: 4px !important; /* 解决你说的“上间距太大” */
     margin-left: 0 !important;
    padding-left: 0 !important;
}
}


/* 彻底移除按钮内原本属于图标的占位空间 */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
.cs-edit-box .oo-ui-buttonElement-button {
     background-color: #2a2a2a;
    padding-left: 12px !important; /* 这里的 padding 决定了文字离左边框的距离 */
     color: #eaecf0;
    padding-right: 12px !important;
     border-top: 1px solid rgba(0, 0, 0, 0.3) !important;
    display: inline-flex !important;
     border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
     align-items: center;
     justify-content: center;
     border: 1px solid var(--border-color-base) !important; /* 补回外框 */
     border-radius: 6px !important;
    height: 30px !important;
}
}


/* 核心:消除 label 的内缩进,让文字顶到左侧 */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr th,
.cs-edit-box .oo-ui-labelElement-label {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr td {
     margin-left: 0 !important;
     border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-left: 0 !important;
}
}


/* 4. 回复按钮样式补全:找回外框,对齐缩进 */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child th,
.cs-stream-footer {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country tr:last-child td {
     padding: 0 16px 12px 72px !important; /* 确保与文字对齐 */
     border-bottom: none !important;
}
}


.cs-stream-footer .oo-ui-buttonElement-button {
@media (prefers-color-scheme: dark) {
     border: 1px solid var(--border-color-base) !important;
    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-above {
     background-color: transparent !important;
        color: #ffffff;
     color: var(--color-primary) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
     height: 28px !important;
        text-shadow: none !important;
     border-radius: 6px !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.55) !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 {
        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);
        color: #ffffff;
        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);
        color: #ffffff;
        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;
        color: #eaecf0;
        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 {
        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-subheader,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
        background-color: #2a4a6a;
        color: #ffffff;
    }
    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;
        color: #eaecf0;
    }
    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;
    }
}
}


/* 5. 亮色模式补充修正 */
.infobox.ve-infobox-country .infobox-country-chart {
html.skin-theme-clientpref-day .cs-reply-comment,
    background: rgba(255, 255, 255, 0.35) !important;
html.skin-theme-clientpref-day .cs-edit-box,
    backdrop-filter: blur(14px) saturate(100%) !important;
html.skin-theme-clientpref-day .cs-body-edit-field {
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     background-color: #ffffff !important;
    border: 1px solid rgba(128, 128, 128, 0.25) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 6px 0 !important;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
}
/* ===================================== */
/* === Section16.19 布局位置与按钮增厚 === */
/* ===================================== */


/* 1. 次级评论往上挪:消除断层感 */
.infobox.ve-infobox-country .infobox-country-chart > div:first-child {
.cs-reply-comment {
    background: rgba(54, 121, 204, 0.12) !important;
     margin-top: -8px !important; /* 负值强制上移,贴近主评论内容 */
    color: var(--color-primary, #36c) !important;
     margin-bottom: 8px !important; /* 下方留出适度间距给回复按钮 */
    font-weight: bold !important;
    font-size: 0.85rem !important;
     letter-spacing: 1px !important;
    text-transform: uppercase !important;
     padding: 4px 0 !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
}
 
.infobox.ve-infobox-country .infobox-country-chart > table {
    background: transparent !important;
    border: none !important;
    margin: 4px 0 !important;
}
}


/* 2. 按钮增厚:解决“太扁”的问题 */
.infobox.ve-infobox-country .infobox-country-chart > table tr {
/* 统一回复、提交、取消按钮的丰满度 */
     background: transparent !important;
.cs-stream-footer .oo-ui-buttonElement-button,
     border: none !important;
.cs-edit-box .oo-ui-buttonElement-button {
     height: 38px !important;      /* 增加高度,看起来更有质感 */
    line-height: 38px !important;
    padding: 0 20px !important;   /* 增加左右宽度 */
     border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
}


/* 3. 彻底修复按钮左侧空白填补 */
.infobox.ve-infobox-country .infobox-country-chart > table td {
/* 强制 label 容器取消所有左侧偏移 */
     background: transparent !important;
.cs-edit-box .oo-ui-labelElement-label {
    border: none !important;
     margin-left: 0 !important;
     padding: 4px 6px !important;
     padding-left: 0 !important;
     font-size: 0.9rem !important;
     display: block !important;
     color: var(--color-base-0) !important;
     text-align: center !important;
}
}


/* 彻底杀掉 icon 占位,不给它留任何宽度 */
.infobox.ve-infobox-country .infobox-country-chart > table td:first-child {
.cs-edit-box .oo-ui-iconElement-icon {
     font-weight: 500 !important;
     display: none !important;
     white-space: nowrap !important;
     width: 0 !important;
     width: 4.2em !important;
     margin: 0 !important;
}
}


/* 4. 按钮上间距压实:让提交/取消贴近输入框 */
.infobox.ve-infobox-country .infobox-country-chart > table td:nth-child(2) {
.cs-edit-box .cs-submit-btn,
    text-align: right !important;
.cs-edit-box .cs-cancel-btn {
    width: 4.5em !important;
     margin-top: 10px !important; /* 适度间距,不显得局促 */
     font-variant-numeric: tabular-nums !important;
}
}


/* 5. 回复按钮外框补全 (针对截图中的透明边框) */
.infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div {
.cs-stream-footer .oo-ui-buttonElement-button {
     border-radius: 7px !important;
     border: 1px solid var(--border-color-base) !important;
    height: 14px !important;
     background-color: rgba(128, 128, 128, 0.05) !important;
     overflow: hidden !important;
}
}


.cs-stream-footer .oo-ui-buttonElement-button:hover {
.infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div > div {
     background-color: var(--color-primary) !important;
     border-radius: 7px !important;
     color: white !important;
    height: 14px !important;
     border-color: var(--color-primary) !important;
     min-width: 2px !important;
     box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
    transition: width 0.3s ease !important;
}
}


/* 6. 解决写字区颜色:确保与外框颜色绝对一致 */
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart {
.cs-edit-box, .cs-body-edit-field {
     background: rgba(40, 40, 50, 0.5) !important;
     background-color: var(--color-surface-1) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
}
}
/* ======================================== */
 
/* --- Section17.Infobox 标题卡片化补丁 --- */
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
/* ======================================== */
     background: rgba(54, 121, 204, 0.2) !important;
.infobox {
     color: #8ab8ff !important;
    display: flex !important;   
    flex-direction: column !important;
    border: none !important;         
     background: transparent !important;  
     box-shadow: none !important;
}
}
.infobox .infobox-title {
 
    display: block !important;
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > table td {
    order: -1 !important;         
     color: #eaecf0 !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 4px 10px rgba(0, 0, 0, 0.1) !important;
   
    text-align: center !important;
     line-height: 1.5 !important;
    font-size: 1.2rem !important;
}
}
caption.infobox-title {
 
     caption-side: top !important;
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div {
     background: rgba(255, 255, 255, 0.12) !important;
}
}
.infobox tbody {
 
     display: table !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-country-chart {
     width: 100% !important;
     backdrop-filter: none !important;
     border: 1px solid rgba(128, 128, 128, 0.3) !important;
     -webkit-backdrop-filter: none !important;
     border-radius: 12px !important;
    background: var(--color-surface-2, #f5f5f5) !important;
    overflow: hidden !important;
     border: 1px solid rgba(128, 128, 128, 0.2) !important;
    background: var(--color-surface-1) !important;
     box-shadow: none !important;
}
}
/* ======================================= */
 
/* --- Section18.暗色模式 Infobox 修复 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
/* ======================================= */
     background: #e8f0fe !important;
html.skin-theme-clientpref-night .infobox .infobox-title {
     color: #1a5a9e !important;
     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;
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart {
     background-color: rgba(0, 0, 0, 0.4) !important;
     background: #2a2a2a !important;
     border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox .infobox-title {
 
    filter: none !important;
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
     background-color: #2a2a2a !important;
     background: #1a3050 !important;
     color: #eaecf0 !important;
     color: #8ab8ff !important;
}
}
/* ====================================== */
/* --- Section19.通知中心毛玻璃与动效 --- */
/* ====================================== */


/* 1. 外层容器:禁用原有动画和滤镜 */
@media (prefers-color-scheme: dark) {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart {
    animation: none !important;
        background: rgba(40, 40, 50, 0.5) !important;
    filter: none !important; /* 关键修复:移除 drop-shadow */
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
     background: transparent !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
     border: none !important;
    }
     box-shadow: none !important;
 
    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
        background: rgba(54, 121, 204, 0.2) !important;
        color: #8ab8ff !important;
    }
 
    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > table td {
        color: #eaecf0 !important;
    }
 
    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div {
        background: rgba(255, 255, 255, 0.12) !important;
    }
 
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #2a2a2a !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
    }
 
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
        background: #1a3050 !important;
        color: #8ab8ff !important;
    }
}
/* =============================================
  Infobox 深色模式适配 + 圆角标签背景 + 外阴影 + 液态玻璃光效
  ============================================= */
 
.infobox.geography.vcard,
.infobox.geography.vcard tr,
.infobox.geography.vcard th,
.infobox.geography.vcard td,
.infobox.geography.vcard .infobox-above,
.infobox.geography.vcard .infobox-header,
#map-ctx-1778649814 {
     border: 0 none transparent !important;
     border-top: 0 none transparent !important;
     border-bottom: 0 none transparent !important;
    outline: none !important;
}
}


/* 2. 主弹窗容器:毛玻璃 */
html.skin-theme-clientpref-night .infobox.geography.vcard,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
html.skin-theme-clientpref-night .infobox.geography.vcard *,
    background-color: rgba(255, 255, 255, 0.2) !important;
#map-ctx-1778649814 {
    backdrop-filter: blur(14px) saturate(100%) !important;
     border: 0 none transparent !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. 液态玻璃 - 边框光效 */
@media (prefers-color-scheme: dark) {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
    html.skin-theme-clientpref-os .infobox.geography.vcard,
    content: "" !important;
    html.skin-theme-clientpref-os .infobox.geography.vcard *,
     display: block !important;
    #map-ctx-1778649814 {
    position: absolute !important;
        border: 0 none transparent !important;
    inset: -1px !important;
     }
     border: 2px solid transparent !important;
}
     border-radius: 17px !important;
 
    background: radial-gradient(
#map-ctx-1778649814 {
        180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
     border-radius: 12px !important;
        rgba(255, 255, 255, 1.0) 0%,
     overflow: hidden !important;
        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;
  Infobox 暗色模式深度适配 (支持去除所有顽固分割线)
    -webkit-mask-clip: content-box, border-box !important;
  ============================================= */
     -webkit-mask-composite: source-out !important;
 
     mask-composite: subtract !important;
html.skin-theme-clientpref-night .mw-parser-output .infobox,
     mix-blend-mode: screen !important;
html.skin-theme-clientpref-night .mw-parser-output .infobox tr,
     z-index: 10 !important;
html.skin-theme-clientpref-night .mw-parser-output .infobox th,
     pointer-events: none !important;
html.skin-theme-clientpref-night .mw-parser-output .infobox td,
html.skin-theme-clientpref-night .mw-parser-output .infobox .infobox-above,
html.skin-theme-clientpref-night .mw-parser-output .infobox .infobox-header,
html.skin-theme-clientpref-night .mw-parser-output .infobox table {
    border: 0 none transparent !important;
     border-top: 0 none transparent !important;
     border-bottom: 0 none transparent !important;
     border-left: 0 none transparent !important;
     border-right: 0 none transparent !important;
     outline: none !important;
}
}


/* 4. 液态玻璃 - 面光效 */
@media (prefers-color-scheme: dark) {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
    html.skin-theme-clientpref-os .mw-parser-output .infobox,
     content: "" !important;
    html.skin-theme-clientpref-os .mw-parser-output .infobox tr,
     display: block !important;
    html.skin-theme-clientpref-os .mw-parser-output .infobox th,
     position: absolute !important;
    html.skin-theme-clientpref-os .mw-parser-output .infobox td,
    inset: 0 !important;
     html.skin-theme-clientpref-os .mw-parser-output .infobox .infobox-above,
    border-radius: 16px !important;
     html.skin-theme-clientpref-os .mw-parser-output .infobox .infobox-header,
    background: radial-gradient(
     html.skin-theme-clientpref-os .mw-parser-output .infobox table {
         400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        border: 0 none transparent !important;
        rgba(255, 255, 255, 0.35) 0%, 
        border-top: 0 none transparent !important;
        transparent 70%
         border-bottom: 0 none transparent !important;
    ) !important;
        border-left: 0 none transparent !important;
    mix-blend-mode: soft-light !important;
        border-right: 0 none transparent !important;
    z-index: 1 !important;
        outline: none !important;
    pointer-events: none !important;
    }
}
}


/* 5. 内部元素透明 */
html.skin-theme-clientpref-night.citizen-feature-performance-mode-clientpref-1 .mw-parser-output .infobox .infobox-header {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-head,
     border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
     border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
.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;
}
}
/* 5.5. 滚动容器单独设置 overflow */
 
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
@media (prefers-color-scheme: dark) {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable {
    html.skin-theme-clientpref-os.citizen-feature-performance-mode-clientpref-1 .mw-parser-output .infobox .infobox-header {
    overflow-y: auto !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    overflow-x: hidden !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
}
}
/* 6. 底部按钮 */
.infobox caption.infobox-title {
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
     margin-bottom: 0 !important;
     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;
}
}
 
.infobox th.infobox-above,
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
.infobox td.infobox-above {
     background-color: rgba(255, 255, 255, 0.5) !important;
    padding: 8px 5px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
     line-height: 1.5 !important;
}
html.skin-theme-clientpref-night .infobox .infobox-above,
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
color: #ffffff !important;
}
}
 
@media (prefers-color-scheme: dark) {
/* 7. 通知项悬停 */
    html.skin-theme-clientpref-os .infobox .infobox-above,
.mw-echo-ui-notificationItemWidget {
html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-above {
    background: transparent !important;
color: #ffffff !important;
    transition: background-color 0.2s ease !important;
}
}
}
 
.infobox.tornado-no-top-radius > tbody {
.mw-echo-ui-notificationItemWidget:hover {
     border-top-left-radius: 0 !important;
     background-color: rgba(0, 0, 0, 0.03) !important;
    border-top-right-radius: 0 !important;
    overflow: hidden;  
}
}
/* ======================== */
/* --- 通知中心 ---        */
/* ======================== */


/* 8. 隐藏原版箭头(可选,如果有的话) */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-anchor {
     animation: none !important;
     display: 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.35) !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;
     backdrop-filter: blur(14px) saturate(100%) !important;
     -webkit-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(128, 128, 128, 0.1) !important;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !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.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
     background: radial-gradient(
    content: "" !important;
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
    display: block !important;
        rgba(255, 255, 255, 0.1) 0%,
    position: absolute !important;
        transparent 70%
    inset: -1px !important;
     ) !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.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
     background: radial-gradient(
    content: "" !important;
        180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
    display: block !important;
        rgba(255, 255, 255, 0.8) 0%,  
    position: absolute !important;
        transparent 80%
    inset: 0 !important;
     ) border-box !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.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-head,
     background-color: rgba(255, 255, 255, 0.1) !important;  
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
.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.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-body,
     background-color: rgba(255, 255, 255, 0.2) !important;
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-clippableElement-clippable {
     border-color: rgba(255, 255, 255, 0.3) !important;
     overflow-y: auto !important;
     overflow-x: hidden !important;
}
}


html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-labelElement-label,
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-iconElement-icon {
    background-color: rgba(255, 255, 255, 0.3) !important;
    color: #eaecf0 !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;
}
}


html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget:hover {
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
     background-color: rgba(255, 255, 255, 0.05) !important;
     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;
}


@media (prefers-color-scheme: dark) {
.mw-echo-ui-notificationItemWidget:hover { background-color: rgba(0, 0, 0, 0.03) !important; }
    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;
    }
   
    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;
    }
}


/* ====================================== */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-anchor { display: none !important; }
/* --- 性能模式 --- */
/* ====================================== */


html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
     backdrop-filter: none !important;
     background-color: rgba(20, 20, 20, 0.55) !important;
     -webkit-backdrop-filter: none !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-color: var(--color-surface-1) !important;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !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.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
html[class*="citizen-feature-performance-mode-clientpref-1"] .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;
    display: none !important;
}
}
/* ====================================== */
/* --- Section19.通知面板动画基础设置 --- */
/* ====================================== */


/* 移除所有可能干扰 JS 的默认过渡 */
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
     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;
     transition: none !important;
    will-change: opacity, transform;
    /* 解决毛玻璃边缘闪烁 */
    backface-visibility: hidden;
}
}


/* 确保容器不会剪裁掉动画过程中的阴影 */
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button {
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
     background-color: rgba(255, 255, 255, 0.1) !important;
     overflow: visible !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
}
/* ============================================ */
 
/* --- Section20.最后修改时间背景毛玻璃填充 --- */
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement-button:hover {
/* ============================================ */
#citizen-sidebar-lastmod.citizen-menu {
     background-color: rgba(255, 255, 255, 0.2) !important;
     background-color: rgba(255, 255, 255, 0.2) !important;
     backdrop-filter: blur(12px) saturate(100%) !important;
     border-color: rgba(255, 255, 255, 0.3) !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;
html.skin-theme-clientpref-night .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-labelElement-label,
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
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.55) !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"] #citizen-sidebar-lastmod.citizen-menu {
 
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup {
     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;
     border: 1px solid var(--border-color-base, rgba(20,20,20,0.2)) !important;
     border: 1px solid var(--border-color-base) !important;
    box-shadow: none !important;
}
}
#citizen-sidebar-lastmod #citizen-lastmod-relative {
 
     text-decoration: none !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::before,
    color: var(--color-base-0) !important;
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-echo-ui-notificationBadgeButtonPopupWidget-popup .oo-ui-popupWidget-popup::after {
     font-weight: 400;
     display: none !important;
}
 
/* ====================== */
/* --- 通知捆绑项适配 --- */
/* ====================== */
.mw-echo-ui-bundleNotificationItemWidget-group,
.mw-echo-ui-sortedListWidget,
.mw-echo-ui-sortedListWidget-group {
     background: transparent !important;
}
}
/* =========================================== */
.mw-echo-ui-notificationItemWidget-bundled {
/* --- Section21.国家Infobox悬浮毛玻璃补丁 --- */
     background: transparent !important;
/* =========================================== */
     border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
/* 1. 穿透表格层级,强制透明背景 */
    transition: background-color 0.2s ease !important;
.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 {
.mw-echo-ui-notificationItemWidget-bundled:last-child {
    background: rgba(255, 255, 255, 0.2) !important; /* 浅色半透明基底 */
     border-bottom: none !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: collapse !important;
}
}
/* 3. 针对“凯特共和国”标题行的特殊处理 */
.mw-echo-ui-notificationItemWidget-bundled:hover {
.infobox.ve-infobox-country .infobox-above {
     background-color: rgba(0, 0, 0, 0.03) !important;
     background: rgba(204, 238, 255, 0.5) !important; /* 调低 HTML 里 #CCEEFF 的浓度 */
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
    font-weight: bold;
}
}
.infobox.ve-infobox-country .infobox-header {
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled {
     background-color: rgba(204, 238, 255, 0.2) !important; /* 极淡的遮罩区分区块 */
     background: transparent !important;
    backdrop-filter: brightness(1.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}
}
/* 深色模式适配 */
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled:hover {
html.skin-theme-clientpref-night .infobox.ve-infobox-country {
     background-color: rgba(255, 255, 255, 0.05) !important;
     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 {
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-content-message-header,
    background: rgba(54, 121, 204, 0.3) !important;
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-content-message-header strong {
     color: #fff !important;
     color: #eaecf0 !important;
}
}
.infobox.ve-infobox-country .infobox-image img {
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
     background: transparent !important;
     color: #8e8e93 !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
}
/* ================================================= */
html.skin-theme-clientpref-night .mw-echo-ui-actionMenuPopupWidget .oo-ui-iconElement-icon {
/* --- Section22.修复 Infobox 顶栏间隙与露底问题 --- */
     filter: invert(1) !important;
/* ================================================= */
     opacity: 0.6 !important;
.infobox.ve-infobox-country tbody {
     background-color: transparent !important;
     border: none !important;
}
}
.infobox.ve-infobox-country {
html.skin-theme-clientpref-night .mw-echo-ui-toggleReadCircleButtonWidget-circle {
     border-spacing: 0 !important;
     border-color: rgba(255, 255, 255, 0.3) !important;
    border-collapse: separate !important;
    background-color: transparent !important;
}
}
.infobox.ve-infobox-country .infobox-above {
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-unread .mw-echo-ui-toggleReadCircleButtonWidget-circle {
     margin: 0 !important;
     background-color: var(--color-primary, #36c) !important;
    border-top-left-radius: 12px !important;  
     border-color: var(--color-primary, #36c) !important;
     border-top-right-radius: 12px !important;
    border: none !important;
    display: table-cell !important;  
}
}
.infobox.ve-infobox-country tr:first-child th,
@media (prefers-color-scheme: dark) {
.infobox.ve-infobox-country tr:first-child td {
    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled {
    border-top: none !important;
        background: transparent !important;
}
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
/* ================================================= */
    }
/* --- Section23.恢复中段标题颜色(Section 15 17) --- */
 
/* ================================================= */
    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled:hover {
.infobox.ve-infobox-country .infobox-header {
        background-color: rgba(255, 255, 255, 0.05) !important;
    background-color: rgba(54, 121, 204, 0.1) !important;  
     }
     color: var(--color-primary, #36c) !important;
 
     backdrop-filter: blur(5px);
    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-content-message-header,
     -webkit-backdrop-filter: blur(5px);
    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-content-message-header strong {
    font-weight: bold !important;
        color: #eaecf0 !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-os .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
        color: #8e8e93 !important;
     }
 
    html.skin-theme-clientpref-os .mw-echo-ui-actionMenuPopupWidget .oo-ui-iconElement-icon {
        filter: invert(1) !important;
        opacity: 0.6 !important;
     }
 
    html.skin-theme-clientpref-os .mw-echo-ui-toggleReadCircleButtonWidget-circle {
        border-color: rgba(255, 255, 255, 0.3) !important;
     }
 
    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-unread .mw-echo-ui-toggleReadCircleButtonWidget-circle {
        background-color: var(--color-primary, #36c) !important;
        border-color: var(--color-primary, #36c) !important;
    }
}
}
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled {
     background-color: rgba(54, 121, 204, 0.1) !important;
     border-bottom: 1px solid #3c3d3e !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
}
/* ==================================== */
 
/* --- Section24.Basic 模式扩展补丁 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled:hover {
/* ==================================== */
     background-color: #2a2b2c !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 {
@media (prefers-color-scheme: dark) {
    background-color: #CCEEFF !important;
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled {
     color: #004466 !important;
        border-bottom: 1px solid #3c3d3e !important;
     text-shadow: none !important;
     }
 
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled:hover {
        background-color: #2a2b2c !important;
     }
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-header {
/* ================================ */
    background-color: #F3F3F3 !important;
/* --- 弹出预览 Page Preview ---   */
    color: var(--color-base-0) !important;
/* ================================ */
     backdrop-filter: none !important;
 
     border-top: 1px solid #ddd !important;
.mwe-popups,
    border-bottom: 1px solid #ddd !important;
.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;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country {
 
     background-color: #242526 !important;  
.mwe-popups::before,
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
.mwe-popups::after {
     animation: none !important;
    transition: none !important;
     display: none !important;
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
 
     background-color: #1a3a5a !important;  
.mwe-popups {
     color: #ffffff !important;
     background: transparent !important;
}
     border: none !important;
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-header {
     box-shadow: none !important;
     background-color: #2a2a2a !important;
     isolation: auto !important;
     color: #eaecf0 !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 {
.mwe-popups .mwe-popups-container {
     border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    overflow: hidden !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    position: relative !important;
    background-color: rgba(255, 255, 255, 0.35) !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[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 {
.mwe-popups .mwe-popups-container::before {
     border-bottom: none !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;
    border-top: 1px solid rgba(0, 0, 0, 0.3) !important;
    inset: -1px !important;
     border-bottom: 1px solid rgba(0, 0, 0, 0.3) !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;
}
}
/* ================================================= */
 
/* --- 液态玻璃实现基础代码基于mediawiki兼容代码 --- */
.mwe-popups .mwe-popups-container::after {
/* ================================================= */
.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;
     content: "" !important;
     position: absolute;
    display: block !important;
     inset: -1px;
     position: absolute !important;
     border: 2px solid transparent;
     inset: 0 !important;
     background: radial-gradient(
     border-radius: 12px !important;
        200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
     background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 70%) !important;
        rgba(255, 255, 255, 0.9) 0%,  
     mix-blend-mode: soft-light !important;
        rgba(255, 255, 255, 0.3) 40%,
     z-index: 1 !important;
        transparent 80%
     pointer-events: none !important;
    ) 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,
.mwe-popups .mwe-popups-extract,
#mw-panel-toc::after,
.mwe-popups .mwe-popups-scroll {
.citizen-command-palette::after,
     background: transparent !important;
.infobox::after {
     overflow: hidden !important;
     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,
.mwe-popups .mwe-popups-extract::after { display: none !important; }
html.skin-theme-clientpref-night #mw-panel-toc::after,
 
html.skin-theme-clientpref-night .citizen-command-palette::after,
.mwe-popups footer {
html.skin-theme-clientpref-night .infobox::after {
     background: rgba(255, 255, 255, 0.1) !important;
     background: radial-gradient(
     border-top: 1px solid rgba(128, 128, 128, 0.08) !important;
        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 #mw-panel-toc,
 
html.skin-theme-clientpref-night .citizen-menu__card {
.mwe-popups .mwe-popups-extract,
     background-color: rgba(20, 20, 20, 0.7) !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.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}
}
#mw-panel-toc {
 
     overflow: hidden !important;
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container {
    box-shadow: none !important;
     background-color: rgba(20, 20, 20, 0.55) !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 rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
}
#mw-panel-toc::before {
 
    content: "" !important;
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::after {
    position: absolute !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;
    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;
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::before {
    position: absolute !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;
    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;
}
}
/* ===================================================== */
 
/* --- Panel Specific Light Boost (弹出面板专项增强) --- */
html.skin-theme-clientpref-night .mwe-popups footer {
/* ===================================================== */
     background: rgba(0, 0, 0, 0.15) !important;
.citizen-menu__card::before {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    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(
html.skin-theme-clientpref-night .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    background-color: rgba(20, 20, 20, 0.55) !important;
        rgba(255, 255, 255, 0.4) 0%, 
        transparent 70%
    ) !important;
}
}
html.skin-theme-clientpref-night .citizen-menu__card::before {
 
    background: radial-gradient(
@media (prefers-color-scheme: dark) {
         200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container {
        rgba(255, 255, 255, 0.8) 0%,  
        background-color: rgba(20, 20, 20, 0.55) !important;
        transparent 80%
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
     ) border-box !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.55) !important;
    }
}
}
#citizen-sidebar-lastmod {
 
     position: relative;
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container {
     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;
}
 
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;
     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;
.navbox {
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     overflow: hidden !important;
    margin: 1.5em 0 !important;
     box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08) !important;
}
}
#citizen-sidebar-lastmod::before {
 
    content: "" !important;
.navbox-title {
    position: absolute;
     background: rgba(204, 238, 255, 0.5) !important;
    inset: -1px;
     color: #004466 !important;
    border: 2.4px solid transparent;
     font-weight: bold !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;
    mix-blend-mode: screen;
    z-index: 10;
    pointer-events: none;
}
}
html.citizen-feature-performance-mode-clientpref-1 #citizen-sidebar-lastmod::before {
 
     display: none !important;
.navbox-group {
    background: rgba(54, 121, 204, 0.1) !important;
    color: #3366cc !important;
     font-weight: bold !important;
}
}
/* ====================================== */
 
/* --- Basic 模式强力回退:彻底实体化 --- */
html.skin-theme-clientpref-night .navbox-inner {
/* ====================================== */
     background: rgba(20, 20, 20, 0.55) !important;
html.skin-citizen-basic #mw-panel-toc,
     backdrop-filter: blur(14px) saturate(100%) !important;
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-theme-clientpref-night .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
html.skin-citizen-basic .citizen-menu__card::before,
html.skin-theme-clientpref-night .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }
html.skin-citizen-basic .citizen-menu__card::after {
 
     display: none !important;
html.skin-theme-clientpref-night .navbox-list,
     content: none !important;
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.55) !important; backdrop-filter: blur(14px) saturate(100%) !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; }
}
 
/* =============================================
  Navbox 容器深色模式覆盖
  ============================================= */
html.skin-theme-clientpref-night .bl-navbox-wrap table.navbox {
     background: var(--color-surface-1, #202122) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
 
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-group {
    background: var(--color-surface-2, #2d2e2f) !important;
    color: var(--color-primary, #6ba4ff) !important;
     border-color: rgba(255, 255, 255, 0.08) !important;
}
}
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc,
 
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card,
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-list {
html.citizen-feature-performance-mode-clientpref-1 .citizen-toc-card,
     border-color: rgba(255, 255, 255, 0.08) !important;
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 {
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-list a {
     background-color: #1a1a1a !important;  
     color: var(--color-base-20, #e0e0e0) !important;
}
}
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::before,
 
html.citizen-feature-performance-mode-clientpref-1 #mw-panel-toc::after,
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-list a:hover {
html.citizen-feature-performance-mode-clientpref-1 .citizen-menu__card::before,
    color: var(--color-primary--hover, #9bc4ff) !important;
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;
}
}
/* ============================================ */
 
/* --- Section25.Ambox 通知框 Aero 适配补丁 --- */
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-odd {
/* ============================================ */
     background: var(--color-surface-1, #202122) !important;
table.ambox {
     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);
html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-even {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
     background: var(--color-surface-2, #2d2e2f) !important;
}
}
html.skin-theme-clientpref-night table.ambox {
 
     background-color: rgba(30, 30, 30, 0.6) !important;
@media (prefers-color-scheme: dark) {
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
    html.skin-theme-clientpref-os .bl-navbox-wrap table.navbox {
     border-left-width: 8px !important;
        background: var(--color-surface-1, #202122) !important;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
     }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-group {
        background: var(--color-surface-2, #2d2e2f) !important;
        color: var(--color-primary, #6ba4ff) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
     }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-list {
        border-color: rgba(255, 255, 255, 0.08) !important;
     }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-list a {
        color: var(--color-base-20, #e0e0e0) !important;
     }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-list a:hover {
        color: var(--color-primary--hover, #9bc4ff) !important;
    }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-odd {
        background: var(--color-surface-1, #202122) !important;
    }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-even {
        background: var(--color-surface-2, #2d2e2f) !important;
    }
}
}
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox {
 
     backdrop-filter: none !important;
/* ========================= */
     background-color: var(--color-surface-2) !important;
/* --- Ambox 消息框 ---      */
     border: 1px solid var(--border-color-base) !important;
/* ========================= */
 
table.ambox {
     position: relative !important;
    z-index: 100 !important;
    overflow: hidden !important;
     background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     border-style: solid !important;
    border-width: 1px !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
     border-left-width: 8px !important;
     border-left-width: 8px !important;
     box-shadow: none !important;
    border-radius: 12px !important;
     transform: none !important;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    margin: 10px 0 !important;
    width: auto !important;
     clear: both !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}
table.ambox td.ambox-text {
 
     color: var(--color-base-0) !important;
table.ambox:hover {
}
     transform: translateY(-2px);
/* ===================================== */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
/* --- Section26.Player Box ero 样式 --- */
/* ===================================== */
.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;
}
}


/* ================================ */
table.ambox td.ambox-text { color: var(--color-base-0) !important; }
/* --- Section27.全局光效注册表 --- */
 
/* ================================ */
table.ambox-notice { border-left-color: #1e90ff !important; }
table.ambox {
table.ambox-delete { border-left-color: #b22222 !important; }
    position: relative !important;
table.ambox-content { border-left-color: #f28500 !important; }
    overflow: hidden !important;  
table.ambox-style { border-left-color: #f4c430 !important; }
}
table.ambox-good { border-left-color: #66cc66 !important; }
table.ambox-move { border-left-color: #9932cc !important; }
table.ambox-speedy { border-left-color: #b32424 !important; }
table.ambox-protection { border-left-color: #a2a9b1 !important; }
table.ambox-funny { border-left-color: #FF69B4 !important; }
 
table.ambox::before {
table.ambox::before {
     content: "" !important;
     content: "" !important;
第1,553行: 第1,889行:
     inset: -1px;
     inset: -1px;
     border: 2px solid transparent;
     border: 2px solid transparent;
     background: radial-gradient(
     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;
        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: 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: overlay;  
     mix-blend-mode: overlay;
     z-index: 10;
     z-index: 10;
     pointer-events: none;
     pointer-events: none;
}
}
table.ambox::after {
table.ambox::after {
     content: "" !important;
     content: "" !important;
     position: absolute;
     position: absolute;
     inset: 0;
     inset: 0;
     background: radial-gradient(
     background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
        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;
     mix-blend-mode: soft-light;
     z-index: 1;
     z-index: 1;
     pointer-events: none;
     pointer-events: none;
}
}
html.skin-theme-clientpref-night table.ambox::after {
 
     background: radial-gradient(
html.skin-theme-clientpref-night table.ambox {
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
     background-color: rgba(20, 20, 20, 0.55) !important;
        rgba(255, 255, 255, 0.08) 0%,
    border-style: solid !important;
        transparent 70%
    border-width: 1px !important;
     ) !important;
    border-color: 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[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::before,
 
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox::after {
html.skin-theme-clientpref-night table.ambox::after {
    display: none !important;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
}
}
/* ================================= */
 
/* --- 特殊 Infobox 保持边缘贴合 --- */
@media (prefers-color-scheme: dark) {
/* ================================= */
    html.skin-theme-clientpref-os table.ambox {
.infobox::before {
        background-color: rgba(20, 20, 20, 0.55) !important;
     inset: 0 !important;  
        border-style: solid !important;
     border-radius: 14px !important;
        border-width: 1px !important;
     border: 1.5px solid transparent !important;
        border-color: 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; }
}
}
table.infobox[style*="background"]::before,
 
table.infobox[style*="width"]::before {
html[class*="citizen-feature-performance-mode-clientpref-1"] table.ambox {
     inset: 3px !important;
    backdrop-filter: none !important;
     border: 2px solid transparent !important;
    background-color: var(--color-surface-2) !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: var(--border-color-base) !important;
    border-left-width: 8px !important;
     box-shadow: none !important;
     transform: none !important;
}
}
.infobox {
 
     border-radius: 20px !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,
.citizen-overflow-wrapper,
.citizen-overflow-content {
    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;
}
 
.citizen-overflow-content {
    padding: 0 !important;
    margin: 0 !important;
}
 
.citizen-overflow-content > table.wikitable { margin: 0 !important; }
 
.mw-parser-output table.wikitable {
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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-collapse: separate !important;
     border-spacing: 0 !important;
     border-spacing: 0 !important;
     overflow: hidden !important;
     width: 100% !important;
    margin: 1.5em 0 !important;
}
}
.infobox::before,
 
table.infobox::before {
.citizen-table-wrapper > table.wikitable { margin: 0 !important; }
     border-radius: 14px !important;  
 
.mw-parser-output table.wikitable th:not(.notheme),
.mw-parser-output table.wikitable td:not(.notheme) {
     border: 1px solid rgba(128, 128, 128, 0.15) !important;
    padding: 10px 16px !important;
}
}
.infobox .infobox-above,
 
.infobox tr:first-child th,
.mw-parser-output table.wikitable th:not(.notheme) {
.infobox tr:first-child td {
     background-color: transparent !important;
     border-top-left-radius: 12px !important;
     color: var(--color-base-0) !important;
     border-top-right-radius: 12px !important;
}
}


.infobox tr:last-child td,
.mw-parser-output table.wikitable tr:first-child th,
.infobox tr:last-child th {
.mw-parser-output table.wikitable tr:first-child td { border-top: none !important; }
    border-bottom-left-radius: 12px !important;
.mw-parser-output table.wikitable tr:last-child th,
    border-bottom-right-radius: 12px !important;
.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(20, 20, 20, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
}
table.infobox[style*="background"]::after,
 
table.infobox[style*="width"]::after {
html.skin-theme-clientpref-night .mw-parser-output table.wikitable th:not(.notheme) {
     inset: 3px !important;  
     background-color: transparent !important;
     border-radius: 20px !important;
     color: #eaecf0 !important;
}
}
/* ======================================= */
 
/* --- 修复 Basic Infobox 中间过亮问题 --- */
html.skin-theme-clientpref-night .mw-parser-output table.wikitable td:not(.notheme) {
/* ======================================= */
     border-color: rgba(255, 255, 255, 0.08) !important;
html.skin-theme-clientpref-night table.infobox[style*="background"]::after {
     color: #eaecf0 !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;
     mix-blend-mode: soft-light !important;  
}
}
html.skin-theme-clientpref-night table.infobox {
 
     background-color: rgba(40, 40, 40, 0.0) !important;  
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable {
        background-color: rgba(20, 20, 20, 0.55) !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:not(.notheme) {
        background-color: transparent !important;
        color: #eaecf0 !important;
    }
 
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable td:not(.notheme) {
        border-color: rgba(255, 255, 255, 0.05) !important;
        color: #eaecf0 !important;
    }
 
    html.skin-theme-clientpref-os .wikitable:not(.notheme),
    html.skin-theme-clientpref-os .wikitable th:not(.notheme),
    html.skin-theme-clientpref-os .wikitable td:not(.notheme) {
        border-color: rgba(255, 255, 255, 0.2) !important;
    }
}
}
#citizen-sidebar-lastmod,
 
#citizen-sidebar-lastmod .citizen-menu__card {
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;
     box-shadow: none !important;
    border: 1px solid rgba(128, 128, 128, 0.2);
}
}
/* ==================== */
 
/* ==================== */
/* --- 自动模式修复 --- */
/* ==================== */
/* ==================== */
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     html.skin-theme-clientpref-os {
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable {
         --color-surface-0: #1a1b1c !important;
         backdrop-filter: none !important;
         --color-surface-1: #242526 !important;
         -webkit-backdrop-filter: none !important;
         --color-base-0: #eaecf0 !important;
         background-color: #1e1f20 !important;
         --color-heading: #ffffff !important;
         box-shadow: none !important;
         background-color: #1a1b1c !important;
         border: 1px solid #3c3d3e !important;
     }
     }
    html.skin-theme-clientpref-os .citizen-menu__card,
 
    html.skin-theme-clientpref-os #citizen-preferences__card,
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th:not(.notheme) {
     html.skin-theme-clientpref-os .citizen-sticky-header-background,
         background-color: transparent !important;
    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;
     }
     }
    html.skin-theme-clientpref-os .citizen-command-palette__input input,
 
     html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__label,
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td:not(.notheme) {
    html.skin-theme-clientpref-os .citizen-command-palette-list-item__text__description bdi {
         border-color: #3c3d3e !important;
        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;
     }
     }
}
}
/* ------------------ */
.mw-parser-output table.wikitable td.notheme,
.mw-parser-output table.wikitable th.notheme {
    border-color: rgba(0, 0, 0, 0.12) !important;
}
html.skin-theme-clientpref-night .mw-parser-output table.wikitable td.notheme,
html.skin-theme-clientpref-night .mw-parser-output table.wikitable th.notheme {
    border-color: rgba(0, 0, 0, 0.12) !important;
}
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable td.notheme,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable th.notheme {
    border-color: rgba(0, 0, 0, 0.12) !important;
}
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox,
     html.skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox-above,
     html.skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .infobox-title,
         border-color: rgba(0, 0, 0, 0.12) !important;
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os caption.infobox-title {
         background-color: #2c2c2c !important;
        color: #ffffff !important;
     }
     }
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #mw-panel-toc {
 
         background-color: #1e1f20 !important;
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
         border-color: rgba(0, 0, 0, 0.12) !important;
     }
     }
}
}
@media (prefers-color-scheme: dark) {
 
     html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-above {
@media (prefers-color-scheme: light) {
         background-color: #1a3a5a !important;
     html.skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
        color: #CCEEFF !important; 
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
        text-shadow: none !important;
         border-color: rgba(0, 0, 0, 0.12) !important;
     }
     }
}
 
@media (prefers-color-scheme: dark) {
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
     html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox .infobox-header,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color: #F3F3F3"],
         border-color: rgba(0, 0, 0, 0.12) !important;
    html.skin-theme-clientpref-os[class*="citizen-feature-performance-mode-clientpref-1"] .infobox th[style*="background-color:#F3F3F3"] {
         background-color: #333333 !important;
        color: #eeeeee !important;
        text-shadow: none !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-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"] {
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] img:hover,
        background-color: #333333 !important;
html:not(.ve-active) .mw-parser-output .thumbinner img:hover,
        color: #eeeeee !important;
html:not(.ve-active) .mw-parser-output .thumbimage:hover,
        border-color: #444444 !important; 
.mw-parser-output .mw-file-description img:hover {
        text-shadow: none !important;
    transform: 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;
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"]:hover,
        color: #cccccc !important;
html:not(.ve-active) .mw-parser-output .thumbinner:hover {
    }
    transform: none !important;
}
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox {
        border-color: rgba(255, 255, 255, 0.15) !important;
    }


    html.skin-theme-clientpref-os .infobox th,
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
    html.skin-theme-clientpref-os .infobox td {
html:not(.ve-active) .mw-parser-output .thumbinner {
        border-color: rgba(255, 255, 255, 0.1) !important;
    width: min-content !important;
     }
    background-color: rgba(255, 255, 255, 0.35) !important;
     html.skin-theme-clientpref-os .infobox .infobox-header {
     backdrop-filter: blur(14px) saturate(100%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(128, 128, 128, 0.2) !important;
     }
     border-radius: 12px !important;
    html.skin-theme-clientpref-os .catlinks {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
     padding: 10px !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
     box-sizing: content-box !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;
    }
}
}
@media (prefers-color-scheme: dark) {
 
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os #citizen-preferences__card,
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] img,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card,
html:not(.ve-active) .mw-parser-output .thumbimage {
     html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .citizen-menu__card-content {
     display: block !important;
        background-color: #1e1f20 !important;
    border-radius: 6px !important;
        backdrop-filter: none !important;  
    border: none !important;
        -webkit-backdrop-filter: none !important;
    max-width: none !important;
        box-shadow: none !important;
     height: auto !important;
     }
    margin: 0 auto !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;
    }
}
}
/* ================================================ */
 
/* --- 修复:手动深色Night+Basic模式下的搜索面板 --- */
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
/* ================================================ */
html:not(.ve-active) .mw-parser-output .thumbcaption {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette {
     display: block !important;
     background-color: #1e1f20 !important;  
    width: 100% !important;
     color: #ffffff !important;
    text-align: left !important;
     border: 1px solid #3c3d3e !important;
     color: var(--color-base-0) !important;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !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.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input {
 
     background-color: #2c2c2c !important;
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
     border-bottom: 1px solid #3c3d3e !important;
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner {
     background-color: rgba(20, 20, 20, 0.55) !important;
     border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}
}


html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__input input {
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
     color: #ffffff !important;
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbcaption {
     color: #eaecf0 !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 {
@media (prefers-color-scheme: dark) {
    color: #eeeeee !important;
    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(20, 20, 20, 0.55) !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.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette-list-item[aria-selected="true"] {
 
    background-color: #363738 !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 {
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .citizen-command-palette__footer {
    backdrop-filter: none !important;
     background-color: #161718 !important;
    -webkit-backdrop-filter: none !important;
     color: #888888 !important;
     background-color: var(--color-surface-1) !important;
     border-top: 1px solid #3c3d3e !important;
     box-shadow: none !important;
     border: 1px solid var(--border-color-base) !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[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
         background-color: #1e1f20 !important;
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbinner {
        backdrop-filter: none !important; 
         background-color: #1e1f20 !important;
        -webkit-backdrop-filter: none !important;
         border: 1px solid #3c3d3e !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;
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
        border-bottom: 1px solid #3c3d3e !important;
     html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output .thumbcaption {
    }
         color: #eaecf0 !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;
     }
     }
}
}
/* ================================================ */
 
/* --- Section 32. Navbox 极致扁平补丁 (无嵌套) --- */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
/* ================================================ */
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner {
.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: #1e1f20 !important;
.navbox { overflow: hidden !important; margin: 1.5em 0 !important; box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08) !important; }
     border: 1px solid #3c3d3e !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[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html.skin-theme-clientpref-night .navbox-title { background: rgba(54, 121, 204, 0.3) !important; color: #ffffff !important; }
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbcaption {
html.skin-theme-clientpref-night .navbox-group { background: rgba(54, 121, 204, 0.15) !important; color: #ffffff !important; }
     color: #eaecf0 !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 标题阴影修复 --- */
/* --- Voy-box 警告框 --- */
/* ======================================= */
/* ======================== */
.infobox .infobox-title,
 
.infobox.ve-infobox-country .infobox-above {
.voy-box {
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
     text-shadow: none !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.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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 .infobox .infobox-title,
 
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
.voy-box.warning {
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    border-left: 4px solid #f0ad4e !important;
    text-shadow: none !important;
     background-color: rgba(255, 243, 205, 0.5) !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: 表格与缩略图终极修复方案 --- */
/* ================================================== */


/* ================================================== */
.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 {
/* --- 1. 缩略图 (完美换行 + 拯救编辑器) --- */
    content: "" !important;
/* ======================================= */
    position: absolute;
 
    inset: -1px;
/* 【神级护盾:html:not(.ve-active)】
    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;
html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
html:not(.ve-active) .mw-parser-output .thumbinner {
     -webkit-mask-clip: content-box, border-box;
    width: min-content !important;
     -webkit-mask-composite: source-out;
    background-color: rgba(255, 255, 255, 0.4) !important;
     mask-composite: subtract;
     backdrop-filter: blur(12px) saturate(120%) !important;
     mix-blend-mode: overlay;
     -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
     z-index: 10;
     border: 1px solid rgba(128, 128, 128, 0.2) !important;
     pointer-events: none;
     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,
.voy-box::after {
html:not(.ve-active) .mw-parser-output .thumbimage {
     content: "" !important;
     display: block !important;
    position: absolute;
     border-radius: 6px !important;
    inset: 0;
     border: none !important;
     border-radius: 12px;
     max-width: none !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;
     height: auto !important;
     mix-blend-mode: soft-light;
     margin: 0 auto !important;
     z-index: 1;
     pointer-events: none;
}
}


html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html.skin-theme-clientpref-night .voy-box {
html:not(.ve-active) .mw-parser-output .thumbcaption {
     background-color: rgba(20, 20, 20, 0.55) !important;
     display: block !important;
     border: 1px solid rgba(255, 255, 255, 0.1) !important;
     width: 100% !important;  
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
     text-align: left !important;
}
    color: var(--color-base-0) !important;
 
    margin-top: 8px !important;
html.skin-theme-clientpref-night .voy-box.warning { background-color: rgba(102, 77, 30, 0.4) !important; border-left: 4px solid #f0ad4e !important; }
    font-size: 0.9em !important;
html.skin-theme-clientpref-night .voy-box-icon { color: #ffc107 !important; }
    line-height: 1.5 !important;
html.skin-theme-clientpref-night .voy-box-content { color: #eaecf0 !important; }
    white-space: normal !important;
 
     word-wrap: break-word !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(20, 20, 20, 0.55) !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:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],  
    html.skin-theme-clientpref-os .voy-box-icon { color: #ffc107 !important; }
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner {
     html.skin-theme-clientpref-os .voy-box-content { color: #eaecf0 !important; }
    background-color: rgba(30, 30, 30, 0.4) !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; }
     border-color: rgba(255, 255, 255, 0.1) !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; }
     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"] .voy-box {
html[class*="citizen-feature-performance-mode-clientpref-1"]:not(.ve-active) .mw-parser-output .thumbinner {
     backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
     backdrop-filter: none !important;  
     background-color: var(--color-surface-1) !important; box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid var(--border-color-base) !important;
     background-color: var(--color-surface-1) !important;  
    box-shadow: none !important;
}
}


/* ======================================= */
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box.warning { background-color: #fff3cd !important; border-left: 4px solid #f0ad4e !important; }
/* --- 2. Wikitable (空间魔法,防切割版) --- */
/* ======================================= */


/* 【魔法核心】:外壳透明化。
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .voy-box.warning {
  我们给外壳增加 15px 的 padding,在内部“撑”出一个画板,让阴影有地方渲染;
     background-color: #3d3520 !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-left: 4px solid #f0ad4e !important;
  同时给外壳加上 -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;  
}
}


/* 把所有的外观特效,全部绑定在表格本体上 */
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::before,
.mw-parser-output table.wikitable {
html[class*="citizen-feature-performance-mode-clientpref-1"] .voy-box::after { display: none !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;
/* --- 每月新闻 Aero 面板 --- */
     border: 1px solid rgba(128, 128, 128, 0.2) !important;
/* ======================== */
     border-radius: 12px !important;
.aero-news-box {
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important; /* 阴影完美复活 */
    position: relative;
   
    z-index: 20;
    /* 必须使用 separate,才能让表格本体拥有圆角 */
     background-color: rgba(255, 255, 255, 0.35) !important;
     border-collapse: separate !important;
     backdrop-filter: blur(14px) saturate(100%) !important;
     border-spacing: 0 !important;
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     width: 100% !important;
     border: 1px solid rgba(128, 128, 128, 0.2) !important;
     margin: 1.5em 0 !important;
     border-radius: 16px !important;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
     padding: 16px 20px !important;
     margin: 16px 0 !important;
     overflow: hidden !important;
     color: var(--color-base-0) !important;
}
}


/* 如果表格被 wrapper 包裹,重置内部 margin 防止双重边距 */
.aero-news-box-header {
.citizen-table-wrapper > table.wikitable {
    font-size: 1.15rem;
     margin: 0 !important;
    font-weight: bold;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    padding-bottom: 8px;
     margin-bottom: 12px;
    color: var(--color-base-0);
}
}
 
.aero-news-box::before {
/* --- 内部网格线:彻底告别双重框线 --- */
    content: "" !important;
.mw-parser-output table.wikitable th,
    position: absolute;
.mw-parser-output table.wikitable td {
    inset: -1px;
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
    border: 2px solid transparent;
     padding: 10px 16px !important;
    border-radius: 17px;
}
    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 th {
     -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
     background-color: rgba(54, 121, 204, 0.15) !important;
    -webkit-mask-clip: content-box, border-box;
     color: var(--color-primary, #36c) !important;
    -webkit-mask-composite: source-out;
     mask-composite: subtract;
     mix-blend-mode: overlay;
    z-index: 10;
    pointer-events: none;
}
}


/* 强行擦除表格最外圈的网格线,绝对不允许它和圆角外框打架! */
.aero-news-box::after {
.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: 0;
.mw-parser-output table.wikitable tr:last-child td { border-bottom: none !important; }
    border-radius: 16px;
.mw-parser-output table.wikitable tr th:first-child,
    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 td:first-child { border-left: none !important; }
    mix-blend-mode: soft-light;
.mw-parser-output table.wikitable tr th:last-child,
    z-index: 1;
.mw-parser-output table.wikitable tr td:last-child { border-right: none !important; }
    pointer-events: none;
 
}
/* --- 手动修圆角 --- */
html.skin-theme-clientpref-night .aero-news-box {
/* 因为去掉了 overflow: hidden,我们需要手动把四个角落的单元格磨圆,完美填入 12px 的圆角外框 */
     background-color: rgba(20, 20, 20, 0.55) !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; }
 
 
/* ======================================= */
/* --- 夜间模式与 Basic 能效模式同步更新 --- */
/* ======================================= */
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;
     border-color: rgba(255, 255, 255, 0.1) !important;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
     box-shadow: 0 8px 32px 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 .aero-news-box-header { border-bottom-color: rgba(255, 255, 255, 0.1); }
html.skin-theme-clientpref-night .mw-parser-output table.wikitable th,
html.skin-theme-clientpref-night .aero-news-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.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 {
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .aero-news-box { background-color: rgba(20, 20, 20, 0.55) !important; border-color: rgba(255, 255, 255, 0.1) !important; }
    html.skin-theme-clientpref-os .aero-news-box-header { border-bottom-color: rgba(255, 255, 255, 0.1); }
    html.skin-theme-clientpref-os .aero-news-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"] .aero-news-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;
}
}
/* ============================================== */
html[class*="citizen-feature-performance-mode-clientpref-1"] .aero-news-box::before,
/* --- Section25.Wiki 弹出预览菜单毛玻璃美化 --- */
html[class*="citizen-feature-performance-mode-clientpref-1"] .aero-news-box::after { display: none !important; }
/* ============================================== */


/* 1. 禁用原有动画 */
/* ============================== */
.mwe-popups,
/* --- OO-UI 下拉菜单 ---       */
.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;
}


/* 只对伪元素禁用 transition */
.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;
     animation: none !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
     transition: none !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     display: none !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;
}
}


/* 2. 外层容器 */
html.skin-theme-clientpref-day .oo-ui-menuSelectWidget {
.mwe-popups {
     background-color: rgba(255, 255, 255, 0.75) !important;
     background: transparent !important;
     border: 1px solid rgba(0, 0, 0, 0.1) !important;
     border: none !important;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
     box-shadow: none !important;
    isolation: auto !important;
}
}


/* 3. 移除原版箭头伪元素(我们要用伪元素做光效) */
.oo-ui-menuSelectWidget::before,
.mwe-popups::before,
.oo-ui-menuSelectWidget::after {
.mwe-popups::after {
    content: "" !important;
     display: none !important;
     display: block !important;
    position: absolute !important;
    pointer-events: none !important;
}
}


/* 4. 毛玻璃容器 */
.oo-ui-menuSelectWidget::before {
.mwe-popups .mwe-popups-container {
     inset: -1px;
     overflow: visible !important;
     border: 2px solid transparent;
     clip-path: none !important;
     border-radius: 15px;
     -webkit-clip-path: none !important;
     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;
    position: relative !important;
    -webkit-mask-composite: source-out;
    overflow: hidden !important;
    mask-composite: subtract;
   
    mix-blend-mode: screen !important;
    /* 核心毛玻璃 */
     z-index: 10;
    background-color: rgba(255, 255, 255, 0.2) !important;
}
     backdrop-filter: blur(14px) saturate(100%) !important;
 
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
.oo-ui-menuOptionWidget {
     background-image: none !important;
    display: flex !important;
      
     align-items: center !important;
     border-radius: 12px !important;
     padding: 10px 14px !important;
     border: 1px solid rgba(128, 128, 128, 0.1) !important;
     margin: 2px 0 !important;
     box-shadow:  
     border-radius: 10px !important;
        0 8px 32px rgba(0, 0, 0, 0.1),
    transition: all 0.2s ease !important;
        0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
}


/* 5. 液态玻璃 - 边框光效 */
.oo-ui-menuOptionWidget-checkIcon {
.mwe-popups .mwe-popups-container::before {
     position: static !important;
    content: "" !important;
     margin-right: 8px !important;
    display: block !important;
     min-width: 20px !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;
}
}


/* 6. 液态玻璃 - 面光效 */
.oo-ui-menuOptionWidget .oo-ui-iconElement-icon {
.mwe-popups .mwe-popups-container::after {
     position: static !important;
    content: "" !important;
     margin-right: 12px !important;
    display: block !important;
     filter: invert(1) brightness(2) !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;
}
}


/* 7. 内部元素 */
html.skin-theme-clientpref-day .oo-ui-menuOptionWidget .oo-ui-iconElement-icon { filter: invert(0) brightness(1) !important; }
.mwe-popups .mwe-popups-extract,
.mwe-popups .mwe-popups-scroll {
    background: transparent !important;
    overflow: hidden !important;
}


.mwe-popups .mwe-popups-extract::after {
.oo-ui-menuOptionWidget .oo-ui-labelElement-label { color: var(--color-text-primary) !important; font-size: 0.95rem !important; }
     display: none !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; }
 
/* =============================================
  修复 .oo-ui-popupWidget 父级滤镜干扰 + 毛玻璃统一管理
  (合并版,模糊值调小至 14px)
  ============================================= */
 
.oo-ui-popupWidget {
     filter: none !important;
    -webkit-filter: none !important;


/* 8. 页脚 */
    backdrop-filter: blur(14px) saturate(100%) !important;
.mwe-popups footer {
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    background: rgba(255, 255, 255, 0.1) !important;
     border-top: 1px solid rgba(128, 128, 128, 0.08) !important;
}


/* 9. 文字颜色 */
    background-color: rgba(255, 255, 255, 0.35) !important;
.mwe-popups .mwe-popups-extract,
    border-radius: 12px !important;
.mwe-popups .mwe-popups-title,
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
.mwe-popups footer a {
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
     color: var(--color-base) !important;
}


/* 10. 带图片弹窗 */
    transform: translateZ(0) !important;
.mwe-popups-is-tall .mwe-popups-container,
    isolation: isolate !important;
.mwe-popups:not(.mwe-popups-no-image-pointer) .mwe-popups-container {
    will-change: transform, backdrop-filter !important;
     clip-path: none !important;
     overflow: visible !important;
}
}


.mwe-popups .mwe-popups-discreet {
.oo-ui-popupWidget-popup {
     background: transparent !important;
     background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}
}


.mwe-popups .mwe-popups-thumbnail {
html.skin-theme-clientpref-night .oo-ui-popupWidget {
     border-radius: 12px 12px 0 0 !important;
    background-color: rgba(20, 20, 20, 0.55) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
}


/* ============================================== */
@media (prefers-color-scheme: dark) {
/* --- 深色模式 --- */
    html.skin-theme-clientpref-os .oo-ui-popupWidget {
/* ============================================== */
        background-color: rgba(20, 20, 20, 0.55) !important;
 
        backdrop-filter: blur(14px) saturate(100%) !important;
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container {
        -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    background-color: rgba(20, 20, 20, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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.citizen-feature-performance-mode-clientpref-1 .oo-ui-popupWidget {
html.skin-theme-clientpref-night .mwe-popups .mwe-popups-container::after {
    backdrop-filter: none !important;
     background: radial-gradient(
    -webkit-backdrop-filter: none !important;
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
     background-color: var(--color-surface-1, #ffffff) !important;
        rgba(255, 255, 255, 0.1) 0%, 
    border: 1px solid var(--border-color-base) !important;
        transparent 70%
    box-shadow: none !important;
     ) !important;
    transform: none !important;
     isolation: auto !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 {
.citizen-menu__card,
     background: rgba(0, 0, 0, 0.15) !important;
.citizen-toc-card,
     border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
#mw-panel-toc,
.citizen-command-palette,
.infobox {
    position: relative;
     background-image: none !important;
     opacity: 1 !important;
}
}


html.skin-theme-clientpref-night .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
.citizen-menu__card::before,
     background-color: rgba(20, 20, 20, 0.4) !important;
.citizen-toc-card::before,
     backdrop-filter: blur(14px) saturate(100%) !important;
#mw-panel-toc::before,
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
.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,
@media (prefers-color-scheme: dark) {
.infobox::after {
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container {
    content: "" !important;
        background-color: rgba(20, 20, 20, 0.3) !important;
    position: absolute;
        backdrop-filter: blur(14px) saturate(100%) !important;
    inset: 0;
        -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 75%) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    mix-blend-mode: soft-light;
        box-shadow:  
    z-index: 1;
            0 8px 32px rgba(0, 0, 0, 0.3),
    pointer-events: none;
            0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
    }


    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container::after {
html.skin-theme-clientpref-night .citizen-menu__card::after,
        background: radial-gradient(
html.skin-theme-clientpref-night .citizen-toc-card::after,
            400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
html.skin-theme-clientpref-night #mw-panel-toc::after,
            rgba(255, 255, 255, 0.1) 0%,
html.skin-theme-clientpref-night .citizen-command-palette::after,
            transparent 70%
html.skin-theme-clientpref-night .infobox::after {
        ) !important;
    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-os .mwe-popups .mwe-popups-container::before {
html.skin-theme-clientpref-night table.infobox[style*="background"]::after {
        background: radial-gradient(
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2) 0%, transparent 70%) !important;
            180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),  
    mix-blend-mode: soft-light !important;
            rgba(255, 255, 255, 0.8) 0%,  
}
            transparent 80%
        ) border-box !important;
    }


    html.skin-theme-clientpref-os .mwe-popups footer {
.infobox::before,
        background: rgba(0, 0, 0, 0.15) !important;
table.infobox::before,
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
table.infobox[style*="background"]::before,
    }
table.infobox[style*="width"]::before,
   
.infobox.geography::before,
    html.skin-theme-clientpref-os .mwe-popups.mwe-popups-type-generic .mwe-popups-container {
.infobox.vcard::before,
        background-color: rgba(20, 20, 20, 0.4) !important;
.infobox.ve-infobox-country::before {
        backdrop-filter: blur(14px) saturate(100%) !important;
    inset: -1px !important;
        -webkit-backdrop-filter: blur(14px) saturate(100%) !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,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container {
table.infobox.geography[style*="width"]::after,
    backdrop-filter: none !important;
table.infobox.vcard[style*="background"]::after,
    -webkit-backdrop-filter: none !important;
table.infobox.vcard[style*="width"]::after,
     background-color: var(--color-surface-1) !important;
table.infobox.ve-infobox-country[style*="background"]::after,
     border: 1px solid var(--border-color-base) !important;
table.infobox.ve-infobox-country[style*="width"]::after {
     inset: 0 !important;
     border-radius: inherit !important;
}
}


/* Basic 模式关闭光效 */
table.infobox[style*="background"]::after,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::before,
table.infobox[style*="width"]::after {
html[class*="citizen-feature-performance-mode-clientpref-1"] .mwe-popups .mwe-popups-container::after {
     inset: 3px !important;
     display: none !important;
     border-radius: 20px !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;
}
 
html.skin-theme-clientpref-night #mw-panel-toc,
html.skin-theme-clientpref-night .citizen-menu__card {
     background-color: rgba(20, 20, 20, 0.55) !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(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.4) 0%, transparent 70%) !important;
/* ============================================== */
}


.mwe-popups.mwe-popups-type-generic .mwe-popups-container {
html.skin-theme-clientpref-night .citizen-menu__card::before {
     background-color: rgba(255, 255, 255, 0.25) !important;
    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 {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !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.55) !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; }
 
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;
    }
}
 
.infobox {
    position: relative;
    isolation: isolate;
    overflow: visible !important;
}
 
.infobox::before {
    content: "" !important;
    position: absolute;
    inset: -2px;
    border: 3px solid transparent;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        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: xor;
    mask-composite: exclude;
    z-index: 100;
    pointer-events: none;
    border-radius: inherit;
    opacity: 1;
}
 
table.infobox[style*="background"]::after,
table.infobox[style*="width"]::after {
    inset: 3px !important;
    border-radius: calc(20px - 3px) !important;
}
 
.infobox > * {
    position: relative;
    z-index: 1;
}
 
html.skin-theme-clientpref-night .infobox::before {
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        transparent 100%
    ) border-box !important;
}
 
html.skin-theme-clientpref-night .infobox::after {
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.1) 0%,
        transparent 75%
    ) !important;
}
 
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox::before {
        background: radial-gradient(
            200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.1) 40%,
            transparent 80%
        ) border-box !important;
    }
   
    html.skin-theme-clientpref-os .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.citizen-feature-performance-mode-clientpref-1 .infobox::before,
html.citizen-feature-performance-mode-clientpref-1 .infobox::after {
    display: none !important;
}
/* =============================== */
/* --- 最后修改时间徽章 ---        */
/* =============================== */
 
#citizen-sidebar-lastmod.citizen-menu {
     background-color: rgba(255, 255, 255, 0.35) !important;
     backdrop-filter: blur(14px) saturate(100%) !important;
     backdrop-filter: blur(14px) saturate(100%) !important;
     -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
     -webkit-backdrop-filter: blur(14px) 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.55) !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;
    }
}
/* =============================================
  Blockland Wiki 首页组件深色模式适配补丁
  不改变结构/大小,仅调整颜色与背景
  ============================================= */
html.skin-theme-clientpref-night .bl-hero,
html.skin-theme-clientpref-night .bl-hero-text,
html.skin-theme-clientpref-night .bl-sidecol,
html.skin-theme-clientpref-night .bl-maincol {
    color: var(--color-base-0, #eaecf0);
}
html.skin-theme-clientpref-night .bl-hero-kicker,
html.skin-theme-clientpref-night .bl-hero-title {
    color: var(--color-base-10, #f8f9fa);
}
html.skin-theme-clientpref-night .bl-box-body,
html.skin-theme-clientpref-night .bl-box-body * {
    color: var(--color-base-0, #eaecf0);
}
html.skin-theme-clientpref-night .bl-navitem a.new,
html.skin-theme-clientpref-night .bl-list a.new {
    color: #ff9999 !important;
}
html.skin-theme-clientpref-night .bl-list li {
    color: var(--color-base-0);
}
html.skin-theme-clientpref-night .bl-map-wrap {
    background: transparent;
}
html.skin-theme-clientpref-night .bl-map-wrap iframe {
    border-color: rgba(255, 255, 255, 0.2);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .bl-hero,
    html.skin-theme-clientpref-os .bl-hero-text,
    html.skin-theme-clientpref-os .bl-sidecol,
    html.skin-theme-clientpref-os .bl-maincol {
        color: var(--color-base-0, #eaecf0);
    }
    html.skin-theme-clientpref-os .bl-hero-kicker,
    html.skin-theme-clientpref-os .bl-hero-title {
        color: var(--color-base-10, #f8f9fa);
    }
    html.skin-theme-clientpref-os .bl-box-body,
    html.skin-theme-clientpref-os .bl-box-body * {
        color: var(--color-base-0, #eaecf0);
    }
    html.skin-theme-clientpref-os .bl-navitem a.new,
    html.skin-theme-clientpref-os .bl-list a.new {
        color: #ff9999 !important;
    }
    html.skin-theme-clientpref-os .bl-list li {
        color: var(--color-base-0);
    }
    html.skin-theme-clientpref-os .bl-map-wrap iframe {
        border-color: rgba(255, 255, 255, 0.2);
    }
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-box {
    background-color: var(--color-surface-2, #2d2e2f) !important;
    backdrop-filter: none !important;
}
@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-box {
        background-color: var(--color-surface-2, #2d2e2f) !important;
        backdrop-filter: none !important;
    }
}
.bl-navitem a {
    white-space: nowrap !important;
}
/* =====================================================
  最终修复:深色模式统一微调(不改变布局尺寸)
  - bl-stat 保持明亮,不变灰
  - bl-box-title 背景强制透明 + 文字高亮
  - bl-navitem 边框、背景统一深色调
  ===================================================== */
html.skin-theme-clientpref-night .bl-stat,
html.skin-theme-clientpref-night .bl-stat * {
    color: #ffffff !important;
}
html.skin-theme-clientpref-night .bl-box-title {
    background-color: transparent !important;
    color: var(--color-base-20, #ffffff) !important;
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}
html.skin-theme-clientpref-night .bl-box {
    background-color: var(--color-surface-1, #202122) !important;
    border-color: rgba(255, 255, 255, 0.1);
}
html.skin-theme-clientpref-night .bl-navitem {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background-color: transparent !important;
}
html.skin-theme-clientpref-night .bl-navitem a {
    background-color: transparent !important;
    color: var(--color-base-20, #e6e6e6) !important;
    border: none !important;
}
html.skin-theme-clientpref-night .bl-navitem a:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
html.skin-theme-clientpref-night .bl-navitem,
html.skin-theme-clientpref-night .bl-navitem a {
    box-shadow: none !important;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .bl-stat,
    html.skin-theme-clientpref-os .bl-stat * {
        color: #ffffff !important;
    }
    html.skin-theme-clientpref-os .bl-box-title {
        background-color: transparent !important;
        color: var(--color-base-20, #ffffff) !important;
        border-bottom-color: rgba(255, 255, 255, 0.2) !important;
    }
    html.skin-theme-clientpref-os .bl-box {
        background-color: var(--color-surface-1, #202122) !important;
        border-color: rgba(255, 255, 255, 0.1);
    }
    html.skin-theme-clientpref-os .bl-navitem {
        border-color: rgba(255, 255, 255, 0.15) !important;
        background-color: transparent !important;
    }
    html.skin-theme-clientpref-os .bl-navitem a {
        background-color: transparent !important;
        color: var(--color-base-20, #e6e6e6) !important;
        border: none !important;
    }
    html.skin-theme-clientpref-os .bl-navitem a:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
    }
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-navitem a {
    background-color: var(--color-surface-2, #2d2e2f) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-navitem {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background-color: var(--color-surface-2, #2d2e2f) !important;
}
@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-navitem a {
        background-color: var(--color-surface-2, #2d2e2f) !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-navitem {
        border-color: rgba(255, 255, 255, 0.2) !important;
        background-color: var(--color-surface-2, #2d2e2f) !important;
    }
}
/* =====================================================
  深色模式最终修复:.bl-hero + .bl-stat 统一深色背景
  ===================================================== */
html.skin-theme-clientpref-night .bl-hero,
html.skin-theme-clientpref-night .bl-stat {
    background-color: var(--color-surface-0, #1a1b1c) !important;
    background-image: none !important;
}
html.skin-theme-clientpref-night .bl-stat-label,
html.skin-theme-clientpref-night .bl-stat-number,
html.skin-theme-clientpref-night .bl-stat-note {
    color: var(--color-base-20, #ffffff) !important;
}
html.skin-theme-clientpref-night .bl-stat-number a {
    color: var(--color-primary, #6ba4ff) !important;
}
html.skin-theme-clientpref-night .bl-stat-number a:hover {
    color: var(--color-primary--hover, #9bc4ff) !important;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .bl-hero,
    html.skin-theme-clientpref-os .bl-stat {
        background-color: var(--color-surface-0, #1a1b1c) !important;
        background-image: none !important;
    }
    html.skin-theme-clientpref-os .bl-stat-label,
    html.skin-theme-clientpref-os .bl-stat-number,
    html.skin-theme-clientpref-os .bl-stat-note {
        color: var(--color-base-20, #ffffff) !important;
    }
    html.skin-theme-clientpref-os .bl-stat-number a {
        color: var(--color-primary, #6ba4ff) !important;
    }
    html.skin-theme-clientpref-os .bl-stat-number a:hover {
        color: var(--color-primary--hover, #9bc4ff) !important;
    }
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-hero,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-stat {
    background-color: var(--color-surface-1, #202122) !important;
    background-image: none !important;
}
@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-hero,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-stat {
        background-color: var(--color-surface-1, #202122) !important;
        background-image: none !important;
    }
}
/* =============================================
  .bl-hero 毛玻璃 + 光效 + 悬浮动画(亮色/深色通用)
  不改变结构/尺寸,仅视觉增强
  ============================================= */
.bl-hero:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.25) !important;
}
.bl-hero {
    position: relative !important;
    isolation: isolate !important;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1),
                box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1) !important;
    will-change: transform !important;
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.25) !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}
.bl-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: -1px !important;
    border-radius: 25px !important;
    padding: 2px !important;
    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.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;
    pointer-events: none !important;
    z-index: 2 !important;
}
.bl-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 24px !important;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(255, 255, 255, 0.3) 0%,
                transparent 70%) !important;
    mix-blend-mode: soft-light !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
.bl-hero-text,
.bl-stat {
    position: relative !important;
    z-index: 3 !important;
}
html.skin-theme-clientpref-night .bl-hero {
    background-color: rgba(20, 20, 20, 0.55) !important;
    border: 1px solid #3a3a3a !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}
html.skin-theme-clientpref-night .bl-hero::before {
    background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(255, 255, 255, 0.7) 0%,
                rgba(255, 255, 255, 0.2) 40%,
                transparent 80%) border-box !important;
}
html.skin-theme-clientpref-night .bl-hero::after {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(255, 255, 255, 0.12) 0%,
                transparent 70%) !important;
}
html.skin-theme-clientpref-night .bl-hero:hover {
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6) !important;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .bl-hero {
        background-color: rgba(20, 20, 20, 0.55) !important;
        border: 1px solid #3a3a3a !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
    }
    html.skin-theme-clientpref-os .bl-hero::before {
        background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(255, 255, 255, 0.7) 0%,
                    rgba(255, 255, 255, 0.2) 40%,
                    transparent 80%) border-box !important;
    }
    html.skin-theme-clientpref-os .bl-hero::after {
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(255, 255, 255, 0.12) 0%,
                    transparent 70%) !important;
    }
    html.skin-theme-clientpref-os .bl-hero:hover {
        box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6) !important;
    }
}
html.citizen-feature-performance-mode-clientpref-1 .bl-hero {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1, #ffffff) !important;
    border: 1px solid var(--border-color-base, rgba(0, 0, 0, 0.15)) !important;
}
html.citizen-feature-performance-mode-clientpref-1 .bl-hero::before,
html.citizen-feature-performance-mode-clientpref-1 .bl-hero::after {
    display: none !important;
}
html.citizen-feature-performance-mode-clientpref-1 .bl-hero:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-hero {
    background-color: var(--color-surface-1, #202122) !important;
    border: 1px solid #3a3a3a !important;
}
@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-hero {
        background-color: var(--color-surface-1, #202122) !important;
        border: 1px solid #3a3a3a !important;
    }
}
/* =============================================
  首页极浅背景图(仅首页)
  ============================================= */
.page-Main_Page .bl-mainpage,
.page-首页 .bl-mainpage {
    position: relative;
}
.page-Main_Page .bl-mainpage::before,
.page-首页 .bl-mainpage::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url("https://cdn.jsdelivr.net/gh/KKBlockE/BlocklandPicturebed@main/main/%E7%83%AD%E5%B8%A6%E6%AD%A3%E5%8D%88%E5%A4%A9%E7%A9%BA%EF%BC%8C%E5%8F%91%E5%B1%95%E4%B8%AD%E7%9A%84%E7%99%BD%E8%89%B2%E7%A7%AF%E9%9B%A8%E4%BA%91%EF%BC%8C%E5%B9%B3%E9%93%BA%E7%9A%84%E4%BA%91%E7%A0%A7%EF%BC%8C%E7%BE%8E%E6%99%AF%EF%BC%8C%E5%A4%A7%E6%B5%B7%EF%BC%8C%E8%BF%91%E5%A4%84%E7%99%BD%E6%B2%99%EF%BC%8C%E8%93%9D%E5%A4%A9%E7%99%BD%E4%BA%91_2K_202605091538.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    pointer-events: none;
}
html.skin-theme-clientpref-night .page-Main_Page .bl-mainpage::before,
html.skin-theme-clientpref-night .page-首页 .bl-mainpage::before {
    opacity: 0.2;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .page-Main_Page .bl-mainpage::before,
    html.skin-theme-clientpref-os .page-首页 .bl-mainpage::before {
        opacity: 0.2;
    }
}
html.citizen-feature-performance-mode-clientpref-1 .page-Main_Page .bl-mainpage::before,
html.citizen-feature-performance-mode-clientpref-1 .page-首页 .bl-mainpage::before {
    display: none;
}
/* =============================================
  Template:Background 页面背景
  ============================================= */
.bl-page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* =============================================
  Weatherbox 图表卡片
  ============================================= */
.weather-box-chart {
    position: relative;
    float: right !important;
    clear: right !important;
    margin: 0.5em 0 1em 1em !important;
    width: 312px !important;
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    box-sizing: border-box !important;
}
.weather-box-chart .mw-customtoggle {
    color: var(--color-primary, #36c) !important;
    font-size: 0.85em !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    transition: background 0.2s !important;
}
.weather-box-chart .mw-customtoggle:hover {
    background-color: rgba(54, 121, 204, 0.1) !important;
}
.weather-box-chart svg {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
}
.weather-box-chart div:not([class]) {
    color: #202122;
}
html.skin-theme-clientpref-night .weather-box-chart {
    background-color: rgba(20, 20, 20, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-night .weather-box-chart div:not([class]) {
    color: #eaecf0 !important;
}
html.skin-theme-clientpref-night .weather-box-chart svg {
    filter: invert(0.88) hue-rotate(180deg);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .weather-box-chart {
        background-color: rgba(20, 20, 20, 0.55) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    }
    html.skin-theme-clientpref-os .weather-box-chart div:not([class]) {
        color: #eaecf0 !important;
    }
    html.skin-theme-clientpref-os .weather-box-chart svg {
        filter: invert(0.88) hue-rotate(180deg);
    }
}
html.citizen-feature-performance-mode-clientpref-1 .weather-box-chart {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1, #ffffff) !important;
    border: 1px solid var(--border-color-base, #a2a9b1) !important;
    box-shadow: none !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .weather-box-chart {
    background-color: var(--color-surface-1, #202122) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .weather-box-chart {
        background-color: var(--color-surface-1, #202122) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
}
/* =============================================
  评论流容器(毛玻璃 + 暗色适配,修正语法)
  ============================================= */
.cs-stream {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(128, 128, 128, 0.15);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    transition: background 0.2s, border-color 0.2s;
}
html.skin-theme-clientpref-night .cs-stream {
    background: rgba(20, 20, 20, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-stream {
        background: rgba(20, 20, 20, 0.55);
        border-color: rgba(255, 255, 255, 0.08);
    }
}
/* ====================
  Header 结构
==================== */
.cs-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cs-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(128, 128, 128, 0.15);
}
.cs-comment-header-center {
    flex: 1;
    margin-left: 10px;
    font-size: 13px;
    opacity: 0.85;
    color: var(--color-base-0, #202122);
}
.cs-comment-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cs-voting-span {
    display: flex;
    align-items: center;
    gap: 4px;
}
/* ====================
  赞 / 踩按钮(毛玻璃质感)
==================== */
.cs-vote-up-button,
.cs-vote-down-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 32px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    border: 1px solid rgba(128, 128, 128, 0.15);
    color: var(--color-base-0, #202122);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}
.cs-vote-up-button:hover,
.cs-vote-down-button:hover {
    background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.15);
    border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.cs-vote-up-button:active,
.cs-vote-down-button:active {
    transform: translateY(0);
}
html.skin-theme-clientpref-night .cs-vote-up-button,
html.skin-theme-clientpref-night .cs-vote-down-button {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--color-base-20, #ffffff);
}
html.skin-theme-clientpref-night .cs-vote-up-button:hover,
html.skin-theme-clientpref-night .cs-vote-down-button:hover {
    background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
    border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-vote-up-button,
    html.skin-theme-clientpref-os .cs-vote-down-button {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.08);
        color: var(--color-base-20, #ffffff);
    }
    html.skin-theme-clientpref-os .cs-vote-up-button:hover,
    html.skin-theme-clientpref-os .cs-vote-down-button:hover {
        background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
        border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
    }
}
/* ====================
  回复 / 发评论按钮
==================== */
.cs-stream-footer .oo-ui-buttonElement-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    border: 1px solid rgba(128, 128, 128, 0.15);
    color: var(--color-base-0, #202122);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}
.cs-stream-footer .oo-ui-buttonElement-button:hover {
    background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.15);
    border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
html.skin-theme-clientpref-night .cs-stream-footer .oo-ui-buttonElement-button {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--color-base-20, #ffffff);
}
html.skin-theme-clientpref-night .cs-stream-footer .oo-ui-buttonElement-button:hover {
    background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
    border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-stream-footer .oo-ui-buttonElement-button {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.08);
        color: var(--color-base-20, #ffffff);
    }
    html.skin-theme-clientpref-os .cs-stream-footer .oo-ui-buttonElement-button:hover {
        background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
        border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
    }
}
/* ====================
  评论内容
==================== */
.cs-comment-body {
    padding-left: 54px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-base-0, #202122);
}
html.skin-theme-clientpref-night .cs-comment-body {
    color: var(--color-base-20, #ffffff);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-comment-body {
        color: var(--color-base-20, #ffffff);
    }
}
/* ====================
  次级评论(嵌套回复)
==================== */
.cs-reply-comment {
    margin-left: 54px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(128, 128, 128, 0.1);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
}
html.skin-theme-clientpref-night .cs-reply-comment {
    background: rgba(20, 20, 20, 0.55);
    border-color: rgba(255, 255, 255, 0.06);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-reply-comment {
        background: rgba(20, 20, 20, 0.55);
        border-color: rgba(255, 255, 255, 0.06);
    }
}
/* ====================
  更多菜单(OOUI 弹窗/下拉)
==================== */
.oo-ui-popupWidget-popup,
.oo-ui-menuSelectWidget {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}
html.skin-theme-clientpref-night .oo-ui-popupWidget-popup,
html.skin-theme-clientpref-night .oo-ui-menuSelectWidget {
    background: rgba(20, 20, 20, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .oo-ui-popupWidget-popup,
    html.skin-theme-clientpref-os .oo-ui-menuSelectWidget {
        background: rgba(20, 20, 20, 0.55) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    }
}
/* ====================
  性能模式(Basic)禁用毛玻璃
==================== */
html.citizen-feature-performance-mode-clientpref-1 .cs-stream,
html.citizen-feature-performance-mode-clientpref-1 .cs-reply-comment,
html.citizen-feature-performance-mode-clientpref-1 .oo-ui-popupWidget-popup,
html.citizen-feature-performance-mode-clientpref-1 .oo-ui-menuSelectWidget {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1, #ffffff) !important;
}
html.citizen-feature-performance-mode-clientpref-1 .cs-vote-up-button,
html.citizen-feature-performance-mode-clientpref-1 .cs-vote-down-button,
html.citizen-feature-performance-mode-clientpref-1 .cs-stream-footer .oo-ui-buttonElement-button {
    backdrop-filter: none !important;
    background: var(--color-surface-2, #f5f5f5) !important;
    border-color: var(--border-color-base, #ddd) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-stream,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-reply-comment,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .oo-ui-popupWidget-popup,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .oo-ui-menuSelectWidget {
    background-color: var(--color-surface-1, #202122) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-vote-up-button,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-vote-down-button,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-stream-footer .oo-ui-buttonElement-button {
    background: var(--color-surface-2, #2d2e2f) !important;
    color: var(--color-base-20, #ffffff) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-stream,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-reply-comment,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .oo-ui-popupWidget-popup,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .oo-ui-menuSelectWidget {
        background-color: var(--color-surface-1, #202122) !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-vote-up-button,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-vote-down-button,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-stream-footer .oo-ui-buttonElement-button {
        background: var(--color-surface-2, #2d2e2f) !important;
        color: var(--color-base-20, #ffffff) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
}
/**
* QQ群聊记录 - Aero 毛玻璃美化
* 基于 Citizen.css 设计语言
* 版本:1.0
*/
/* =============================================
  容器 - 毛玻璃卡片
  ============================================= */
.qqchat {
    position: relative;
    z-index: 10;
    margin: 1.2em 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.30) !important;
    backdrop-filter: blur(16px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
/* 液态玻璃光效 - 边框辉光 */
.qqchat::before {
    content: "" !important;
    position: absolute !important;
    inset: -1.5px !important;
    border-radius: 21px !important;
    padding: 2px !important;
    background: radial-gradient(
        280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.25) 40%,
        transparent 85%
    ) 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;
}
/* 液态玻璃光效 - 内部柔光 */
.qqchat::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 20px !important;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.30) 0%,
        transparent 75%
    ) !important;
    mix-blend-mode: soft-light !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
/* 悬停微交互 */
.qqchat:hover {
    box-shadow: 0 20px 56px rgba(31, 38, 135, 0.18), 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px);
}
/* =============================================
  折叠按钮 (继承 Citizen 风格)
  ============================================= */
.qqchat .mw-collapsible-toggle {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.20) !important;
    backdrop-filter: blur(8px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.12) !important;
    border-radius: 8px !important;
    padding: 4px 14px !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    color: var(--color-base-0, #202122) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    letter-spacing: 0.3px;
    user-select: none;
}
.qqchat .mw-collapsible-toggle:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(128, 128, 128, 0.25) !important;
    transform: scale(1.03);
}
.qqchat .mw-collapsible-toggle .mw-collapsible-text {
    display: inline-block;
}
/* =============================================
  头部 - 标题栏
  ============================================= */
.qqchat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px 14px 24px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.10);
    position: relative;
    z-index: 5;
}
.qqchat-icon {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}
.qqchat-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-heading, #000000);
    letter-spacing: 0.2px;
    flex: 1;
}
.qqchat-count {
    font-size: 0.80rem;
    font-weight: 400;
    color: var(--color-base-0, #202122);
    opacity: 0.60;
    background: rgba(128, 128, 128, 0.08);
    padding: 2px 14px;
    border-radius: 20px;
    border: 1px solid rgba(128, 128, 128, 0.08);
    white-space: nowrap;
}
/* =============================================
  消息列表容器
  ============================================= */
.qqchat-body {
    padding: 12px 18px 18px 18px;
    max-height: 600px;
    overflow-y: auto;
    position: relative;
    z-index: 5;
    scroll-behavior: smooth;
}
/* 自定义滚动条 - Aero 风格 */
.qqchat-body::-webkit-scrollbar {
    width: 6px;
}
.qqchat-body::-webkit-scrollbar-track {
    background: rgba(128, 128, 128, 0.04);
    border-radius: 10px;
    margin: 8px 0;
}
.qqchat-body::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.20);
    border-radius: 10px;
    transition: background 0.3s ease;
}
.qqchat-body::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 128, 128, 0.35);
}
/* =============================================
  单条消息
  ============================================= */
.qqchat-message {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 12px;
    background: transparent;
    transition: background 0.20s ease;
    position: relative;
}
.qqchat-message:hover {
    background: rgba(255, 255, 255, 0.15);
}
/* 消息元数据行 */
.qqchat-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}
.qqchat-user {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-primary, #2a6bb0);
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
/* 用户颜色点缀 (模拟头像圆点) */
.qqchat-user::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary, #2a6bb0);
    opacity: 0.50;
    margin-right: 2px;
    flex-shrink: 0;
}
/* 不同用户不同颜色 (基于用户名哈希) */
.qqchat-user[data-user="惟遠イエン"]::before { background: #e67e22; }
.qqchat-user[data-user="Bluesky展翅腾飞"]::before { background: #3498db; }
.qqchat-user[data-user="Kuranoka"]::before { background: #9b59b6; }
.qqchat-user[data-user="高远天空"]::before { background: #1abc9c; }
.qqchat-user[data-user="爱玩游戏的-欧卡t"]::before { background: #e74c3c; }
.qqchat-user[data-user="FaustToasts"]::before { background: #f39c12; }
.qqchat-user[data-user="威廉阿道夫"]::before { background: #2c3e50; }
.qqchat-user[data-user="烂Lan兰恩"]::before { background: #d35400; }
.qqchat-user[data-user="Ubi ventus Surgit"]::before { background: #16a085; }
.qqchat-user[data-user="药瓶子"]::before { background: #8e44ad; }
.qqchat-time {
    font-size: 0.70rem;
    color: var(--color-base-0, #202122);
    opacity: 0.40;
    font-weight: 400;
    letter-spacing: 0.2px;
    white-space: nowrap;
    margin-left: auto;
}
/* 消息文本 */
.qqchat-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-base-0, #202122);
    word-break: break-word;
    padding-left: 20px;
    position: relative;
}
/* 无文字消息占位 */
.qqchat-empty {
    color: var(--color-base-0, #202122);
    opacity: 0.30;
    font-style: italic;
    font-size: 0.85rem;
}
/* =============================================
  @提及 高亮
  ============================================= */
.qqchat-mention {
    display: inline;
    background: rgba(54, 121, 204, 0.12);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
    color: var(--color-primary, #2a6bb0);
    border: 1px solid rgba(54, 121, 204, 0.08);
    transition: background 0.2s ease;
}
.qqchat-mention:hover {
    background: rgba(54, 121, 204, 0.20);
}
/* =============================================
  折叠内容展开/收起动画
  ============================================= */
.qqchat .mw-collapsible-content {
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.qqchat.mw-collapsed .mw-collapsible-content {
    display: none;
}
/* =============================================
  深色模式 (自动适配)
  ============================================= */
html.skin-theme-clientpref-night .qqchat {
    background: rgba(20, 20, 20, 0.50) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.40), 0 2px 8px rgba(0, 0, 0, 0.20) !important;
}
html.skin-theme-clientpref-night .qqchat::before {
    background: radial-gradient(
        280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.60) 0%,
        rgba(255, 255, 255, 0.10) 40%,
        transparent 85%
    ) border-box !important;
}
html.skin-theme-clientpref-night .qqchat::after {
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.08) 0%,
        transparent 75%
    ) !important;
}
html.skin-theme-clientpref-night .qqchat .mw-collapsible-toggle {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #eaecf0 !important;
}
html.skin-theme-clientpref-night .qqchat .mw-collapsible-toggle:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}
html.skin-theme-clientpref-night .qqchat-title {
    color: #ffffff !important;
}
html.skin-theme-clientpref-night .qqchat-count {
    color: #eaecf0 !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.06);
}
html.skin-theme-clientpref-night .qqchat-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
html.skin-theme-clientpref-night .qqchat-message:hover {
    background: rgba(255, 255, 255, 0.04);
}
html.skin-theme-clientpref-night .qqchat-text {
    color: #eaecf0 !important;
}
html.skin-theme-clientpref-night .qqchat-time {
    color: #eaecf0 !important;
    opacity: 0.35;
}
html.skin-theme-clientpref-night .qqchat-user {
    color: #6ba4ff !important;
}
html.skin-theme-clientpref-night .qqchat-mention {
    background: rgba(54, 121, 204, 0.20);
    color: #8ab8ff;
    border-color: rgba(54, 121, 204, 0.15);
}
html.skin-theme-clientpref-night .qqchat-mention:hover {
    background: rgba(54, 121, 204, 0.30);
}
html.skin-theme-clientpref-night .qqchat-empty {
    color: #eaecf0;
    opacity: 0.25;
}
html.skin-theme-clientpref-night .qqchat-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
html.skin-theme-clientpref-night .qqchat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
}
html.skin-theme-clientpref-night .qqchat-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}
/* =============================================
  操作系统级深色模式适配
  ============================================= */
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .qqchat {
        background: rgba(20, 20, 20, 0.50) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.40), 0 2px 8px rgba(0, 0, 0, 0.20) !important;
    }
    html.skin-theme-clientpref-os .qqchat::before {
        background: radial-gradient(
            280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.60) 0%,
            rgba(255, 255, 255, 0.10) 40%,
            transparent 85%
        ) border-box !important;
    }
    html.skin-theme-clientpref-os .qqchat::after {
        background: radial-gradient(
            500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.08) 0%,
            transparent 75%
        ) !important;
    }
    html.skin-theme-clientpref-os .qqchat .mw-collapsible-toggle {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        color: #eaecf0 !important;
    }
    html.skin-theme-clientpref-os .qqchat .mw-collapsible-toggle:hover {
        background: rgba(255, 255, 255, 0.14) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
    }
    html.skin-theme-clientpref-os .qqchat-title {
        color: #ffffff !important;
    }
    html.skin-theme-clientpref-os .qqchat-count {
        color: #eaecf0 !important;
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.06);
    }
    html.skin-theme-clientpref-os .qqchat-header {
        border-bottom-color: rgba(255, 255, 255, 0.06);
    }
    html.skin-theme-clientpref-os .qqchat-message:hover {
        background: rgba(255, 255, 255, 0.04);
    }
    html.skin-theme-clientpref-os .qqchat-text {
        color: #eaecf0 !important;
    }
    html.skin-theme-clientpref-os .qqchat-time {
        color: #eaecf0 !important;
        opacity: 0.35;
    }
    html.skin-theme-clientpref-os .qqchat-user {
        color: #6ba4ff !important;
    }
    html.skin-theme-clientpref-os .qqchat-mention {
        background: rgba(54, 121, 204, 0.20);
        color: #8ab8ff;
        border-color: rgba(54, 121, 204, 0.15);
    }
    html.skin-theme-clientpref-os .qqchat-mention:hover {
        background: rgba(54, 121, 204, 0.30);
    }
    html.skin-theme-clientpref-os .qqchat-empty {
        color: #eaecf0;
        opacity: 0.25;
    }
    html.skin-theme-clientpref-os .qqchat-body::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02);
    }
    html.skin-theme-clientpref-os .qqchat-body::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.12);
    }
    html.skin-theme-clientpref-os .qqchat-body::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.22);
    }
}
/* =============================================
  性能模式 (Basic) - 禁用毛玻璃
  ============================================= */
html.citizen-feature-performance-mode-clientpref-1 .qqchat {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--color-surface-1, #ffffff) !important;
    border: 1px solid var(--border-color-base, rgba(0, 0, 0, 0.12)) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}
html.citizen-feature-performance-mode-clientpref-1 .qqchat::before,
html.citizen-feature-performance-mode-clientpref-1 .qqchat::after {
    display: none !important;
    content: none !important;
}
html.citizen-feature-performance-mode-clientpref-1 .qqchat .mw-collapsible-toggle {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--color-surface-2, #f5f5f5) !important;
    border: 1px solid var(--border-color-base, #ddd) !important;
}
html.citizen-feature-performance-mode-clientpref-1 .qqchat .mw-collapsible-toggle:hover {
    background: var(--color-surface-3, #e8e8e8) !important;
}
html.citizen-feature-performance-mode-clientpref-1 .qqchat-message:hover {
    background: rgba(0, 0, 0, 0.02);
}
/* 性能模式 - 深色 */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .qqchat {
    background: var(--color-surface-1, #202122) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .qqchat .mw-collapsible-toggle {
    background: var(--color-surface-2, #2d2e2f) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #eaecf0 !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .qqchat .mw-collapsible-toggle:hover {
    background: var(--color-surface-3, #373839) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .qqchat-message:hover {
    background: rgba(255, 255, 255, 0.02);
}
@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .qqchat {
        background: var(--color-surface-1, #202122) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30) !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .qqchat .mw-collapsible-toggle {
        background: var(--color-surface-2, #2d2e2f) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        color: #eaecf0 !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .qqchat .mw-collapsible-toggle:hover {
        background: var(--color-surface-3, #373839) !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .qqchat-message:hover {
        background: rgba(255, 255, 255, 0.02);
    }
}
/* =============================================
  响应式 - 移动端适配
  ============================================= */
@media screen and (max-width: 768px) {
    .qqchat-header {
        padding: 14px 16px 10px 16px;
        flex-wrap: wrap;
        gap: 6px;
    }
    .qqchat-title {
        font-size: 0.95rem;
        flex: 1 1 100%;
        order: 2;
    }
    .qqchat-icon {
        font-size: 1.3rem;
        order: 1;
    }
    .qqchat-count {
        font-size: 0.70rem;
        padding: 1px 12px;
        order: 3;
        margin-left: auto;
    }
    .qqchat .mw-collapsible-toggle {
        position: relative;
        top: auto;
        right: auto;
        order: 4;
        margin-left: auto;
        font-size: 0.70rem;
        padding: 2px 12px;
    }
    .qqchat-body {
        padding: 8px 10px 12px 10px;
        max-height: 420px;
    }
    .qqchat-message {
        padding: 6px 8px;
    }
    .qqchat-meta {
        gap: 6px;
    }
    .qqchat-user {
        font-size: 0.82rem;
    }
    .qqchat-time {
        font-size: 0.62rem;
    }
    .qqchat-text {
        font-size: 0.85rem;
        padding-left: 14px;
    }
    .qqchat-user::before {
        width: 6px;
        height: 6px;
    }
    .qqchat-mention {
        padding: 0 4px;
        font-size: 0.85rem;
    }
}
@media screen and (max-width: 480px) {
    .qqchat-header {
        padding: 10px 12px 8px 12px;
    }
    .qqchat-title {
        font-size: 0.85rem;
    }
    .qqchat-body {
        padding: 6px 6px 10px 6px;
        max-height: 340px;
    }
    .qqchat-message {
        padding: 4px 6px;
        border-radius: 8px;
    }
    .qqchat-text {
        font-size: 0.80rem;
        padding-left: 10px;
    }
    .qqchat-user {
        font-size: 0.76rem;
    }
    .qqchat-time {
        font-size: 0.58rem;
    }
    .qqchat .mw-collapsible-toggle {
        font-size: 0.62rem;
        padding: 1px 10px;
    }
}
}

2026年8月27日 (四) 00:26的最新版本

/**
 * Blockland Wiki Modern Aero UI OS26.2
 * 风格:Acrylic/Aero/Basic
 * 修改:全局毛玻璃,全局光线追踪,UI全面现代化。
 * 版本:26.2 
 */

 /* Fuck mediawiki编译器 */
/* ============================= */
/* --- 全局变量与主体背景 ---    */
/* ============================= */

: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.35) !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(20, 20, 20, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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(20, 20, 20, 0.55) !important;
        color: #ffffff !important;
        backdrop-filter: blur(14px) saturate(100%) !important;
    }
}

/* ============ */
/* 侧边栏毛玻璃 */
/* ============ */
.mw-logo-icon {
    border-radius: 6px !important;
    overflow: hidden; 
}
.citizen-header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}
.citizen-header::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    width: var(--citizen-width-sidebar, 70px);
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.35);
    background-image: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.15), 
        transparent 80%
    );
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    border-right: 1px solid transparent;
	border-image: radial-gradient(
	  180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
	  rgba(255, 255, 255, 0.9), 
	   rgba(255, 255, 255, 0.2) 80%,
	   transparent
	) 1 / 1 / 0 stretch;
}
@media screen and (max-width: 1119px) {
    .citizen-header::after {
        top: auto;
        bottom: 0;
        width: 100%;
        height: var(--citizen-height-header, 70px);
        border-right: none;
        border-top: 1px solid transparent;
        border-image: radial-gradient(
            150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
            rgba(255, 255, 255, 0.4), 
            transparent 80%
        ) 1 / 1 / 0 stretch;
        background-image: none !important;
    }
}
html.skin-theme-clientpref-night .citizen-header::after {
    background-color: rgba(20, 20, 20, 0.55) !important;
    background-image: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.08), 
        transparent 70%
    ) !important;
	border-image: radial-gradient(
	   180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
	   rgba(255, 255, 255, 0.6), 
	  rgba(255, 255, 255, 0.1) 80%,
	  transparent
	) 1 / 1 / 0 stretch !important;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .citizen-header::after {
        background-color: rgba(20, 20, 20, 0.55) !important;
        background-image: radial-gradient(
            600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
            rgba(255, 255, 255, 0.08), 
            transparent 70%
        ) !important;
		border-image: radial-gradient(
		   180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
		   rgba(255, 255, 255, 0.6), 
		  rgba(255, 255, 255, 0.1) 80%,
		  transparent
		) 1 / 1 / 0 stretch !important;
    }
}
html.citizen-feature-performance-mode-clientpref-1 .citizen-header::after {
    backdrop-filter: none !important;
    background-image: none !important;
    border-image: none !important;
    border-right: 1px solid rgba(128, 128, 128, 0.2);
    background-color: var(--color-surface-1) !important;
    opacity: 1 !important;
}
.citizen-menu__card, 
.citizen-drawer__card,
.citizen-preferences__card {
    z-index: 10000 !important;
    isolation: isolate !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.35) !important;
    background-image: none !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
}

html.skin-theme-clientpref-night .citizen-sticky-header-background {
    background-color: rgba(20, 20, 20, 0.55) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(14px) saturate(100%) !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(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) 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 ---    */
/* ====================== */

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

/* ========== */
/* 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));
    position: relative;
    z-index: 1;
    pointer-events: none;
}
.home-banner-overlay {
    position: relative;
    z-index: 10; 
}
.page-banner-bg,
.page-banner-bg * {
    pointer-events: none !important;
    user-select: none !important;
}
.page-banner {
    pointer-events: none !important;
}
.page-banner-content div {
    pointer-events: auto !important;
}
/* ======================== */
/* --- 搜索页面优化 ---    */
/* ======================== */

.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: table !important;
    position: relative !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.35) !important;
    background-image: none !important;
    color: var(--color-base-0) !important;
    font-size: 0.925rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    overflow: hidden !important;
    opacity: 1 !important;
    float: right !important;
    clear: right !important;
    margin: 0.5em 0 0.5em 1em !important;
    width: 22em !important;
}

.infobox th:not(.infobox-above),
.infobox td:not(.infobox-above) {
    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));
    color: var(--color-primary, #36c);
}

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

.infobox .infobox-title {
    display: block !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: rgba(255, 255, 255, 0.4) !important;
}

.infobox .infobox-above {
    text-shadow: none !important;
    font-weight: bold !important;
    text-align: center !important;
    padding: 8px 5px !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.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 .infobox-header {
    background-color: rgba(54, 121, 204, 0.1) !important;
    color: var(--color-primary, #36c) !important;
    font-weight: bold !important;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-top: 1px solid rgba(128, 128, 128, 0.1) !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03) !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 .infobox {
    background: rgba(20, 20, 20, 0.55) !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 tbody {
    background: rgba(255, 255, 255, 0.06) !important;
}

html.skin-theme-clientpref-night .infobox .infobox-header {
    background-color: rgba(54, 121, 204, 0.1) !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: 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 tbody {
    background: var(--color-surface-1, #ffffff) !important;
}

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

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    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 tbody {
    background-color: #242526 !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox .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;
}

@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-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);
        color: #ffffff;
        background-image: none !important;
        filter: none !important;
    }
    html.skin-theme-clientpref-os .infobox {
        background: rgba(20, 20, 20, 0.55) !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 tbody {
        background: rgba(255, 255, 255, 0.06) !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 {
        background-color: rgba(60, 60, 60, 0.5) !important;
        color: #ffffff !important;
        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-title,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os caption.infobox-title {
        background-color: #2c2c2c;
        color: #ffffff;
    }
    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;
        color: #eeeeee;
        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;
    }
}

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

.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.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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 {
    text-shadow: none !important;
    font-weight: bold !important;
    text-align: center !important;
    padding: 8px 5px !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    margin: 0 !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);
    color: var(--color-primary, #36c);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    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.55) !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 {
    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);
    color: #ffffff;
    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 {
    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;
    color: var(--color-base-0);
    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-header {
    background-color: #2a2a2a;
    color: #eaecf0;
    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 {
        color: #ffffff;
        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.55) !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 {
        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);
        color: #ffffff;
        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);
        color: #ffffff;
        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;
        color: #eaecf0;
        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 {
        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-subheader,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.vcard .infobox-subheader {
        background-color: #2a4a6a;
        color: #ffffff;
    }
    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;
        color: #eaecf0;
    }
    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;
    }
}

.infobox.ve-infobox-country .infobox-country-chart {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.25) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 6px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.infobox.ve-infobox-country .infobox-country-chart > div:first-child {
    background: rgba(54, 121, 204, 0.12) !important;
    color: var(--color-primary, #36c) !important;
    font-weight: bold !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 4px 0 !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
}

.infobox.ve-infobox-country .infobox-country-chart > table {
    background: transparent !important;
    border: none !important;
    margin: 4px 0 !important;
}

.infobox.ve-infobox-country .infobox-country-chart > table tr {
    background: transparent !important;
    border: none !important;
}

.infobox.ve-infobox-country .infobox-country-chart > table td {
    background: transparent !important;
    border: none !important;
    padding: 4px 6px !important;
    font-size: 0.9rem !important;
    color: var(--color-base-0) !important;
}

.infobox.ve-infobox-country .infobox-country-chart > table td:first-child {
    font-weight: 500 !important;
    white-space: nowrap !important;
    width: 4.2em !important;
}

.infobox.ve-infobox-country .infobox-country-chart > table td:nth-child(2) {
    text-align: right !important;
    width: 4.5em !important;
    font-variant-numeric: tabular-nums !important;
}

.infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div {
    border-radius: 7px !important;
    height: 14px !important;
    overflow: hidden !important;
}

.infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div > div {
    border-radius: 7px !important;
    height: 14px !important;
    min-width: 2px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
    transition: width 0.3s ease !important;
}

html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart {
    background: rgba(40, 40, 50, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
}

html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
    background: rgba(54, 121, 204, 0.2) !important;
    color: #8ab8ff !important;
}

html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > table td {
    color: #eaecf0 !important;
}

html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div {
    background: rgba(255, 255, 255, 0.12) !important;
}

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

html[class*="citizen-feature-performance-mode-clientpref-1"] .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
    background: #e8f0fe !important;
    color: #1a5a9e !important;
}

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

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
    background: #1a3050 !important;
    color: #8ab8ff !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart {
        background: rgba(40, 40, 50, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
    }

    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
        background: rgba(54, 121, 204, 0.2) !important;
        color: #8ab8ff !important;
    }

    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > table td {
        color: #eaecf0 !important;
    }

    html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > table td:last-child > div {
        background: rgba(255, 255, 255, 0.12) !important;
    }

    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #2a2a2a !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
    }

    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-country-chart > div:first-child {
        background: #1a3050 !important;
        color: #8ab8ff !important;
    }
}
/* =============================================
   Infobox 深色模式适配 + 圆角标签背景 + 外阴影 + 液态玻璃光效
   ============================================= */

.infobox.geography.vcard,
.infobox.geography.vcard tr,
.infobox.geography.vcard th,
.infobox.geography.vcard td,
.infobox.geography.vcard .infobox-above,
.infobox.geography.vcard .infobox-header,
#map-ctx-1778649814 {
    border: 0 none transparent !important;
    border-top: 0 none transparent !important;
    border-bottom: 0 none transparent !important;
    outline: none !important;
}

html.skin-theme-clientpref-night .infobox.geography.vcard,
html.skin-theme-clientpref-night .infobox.geography.vcard *,
#map-ctx-1778649814 {
    border: 0 none transparent !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox.geography.vcard,
    html.skin-theme-clientpref-os .infobox.geography.vcard *,
    #map-ctx-1778649814 {
        border: 0 none transparent !important;
    }
}

#map-ctx-1778649814 {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* =============================================
   Infobox 暗色模式深度适配 (支持去除所有顽固分割线)
   ============================================= */

html.skin-theme-clientpref-night .mw-parser-output .infobox,
html.skin-theme-clientpref-night .mw-parser-output .infobox tr,
html.skin-theme-clientpref-night .mw-parser-output .infobox th,
html.skin-theme-clientpref-night .mw-parser-output .infobox td,
html.skin-theme-clientpref-night .mw-parser-output .infobox .infobox-above,
html.skin-theme-clientpref-night .mw-parser-output .infobox .infobox-header,
html.skin-theme-clientpref-night .mw-parser-output .infobox table {
    border: 0 none transparent !important;
    border-top: 0 none transparent !important;
    border-bottom: 0 none transparent !important;
    border-left: 0 none transparent !important;
    border-right: 0 none transparent !important;
    outline: none !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mw-parser-output .infobox,
    html.skin-theme-clientpref-os .mw-parser-output .infobox tr,
    html.skin-theme-clientpref-os .mw-parser-output .infobox th,
    html.skin-theme-clientpref-os .mw-parser-output .infobox td,
    html.skin-theme-clientpref-os .mw-parser-output .infobox .infobox-above,
    html.skin-theme-clientpref-os .mw-parser-output .infobox .infobox-header,
    html.skin-theme-clientpref-os .mw-parser-output .infobox table {
        border: 0 none transparent !important;
        border-top: 0 none transparent !important;
        border-bottom: 0 none transparent !important;
        border-left: 0 none transparent !important;
        border-right: 0 none transparent !important;
        outline: none !important;
    }
}

html.skin-theme-clientpref-night.citizen-feature-performance-mode-clientpref-1 .mw-parser-output .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;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os.citizen-feature-performance-mode-clientpref-1 .mw-parser-output .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;
    }
}
.infobox caption.infobox-title {
    margin-bottom: 0 !important;
}
.infobox th.infobox-above,
.infobox td.infobox-above {
    padding: 8px 5px !important;
    line-height: 1.5 !important;
}
html.skin-theme-clientpref-night .infobox .infobox-above,
html.skin-theme-clientpref-night .infobox.ve-infobox-country .infobox-above {
	color: #ffffff !important;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox .infobox-above,
	html.skin-theme-clientpref-os .infobox.ve-infobox-country .infobox-above {
		color: #ffffff !important;
	}
}
.infobox.tornado-no-top-radius > tbody {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    overflow: hidden; 
}
/* ======================== */
/* --- 通知中心 ---        */
/* ======================== */

.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.35) !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.55) !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.55) !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;
}

/* ====================== */
/* --- 通知捆绑项适配 --- */
/* ====================== */
.mw-echo-ui-bundleNotificationItemWidget-group,
.mw-echo-ui-sortedListWidget,
.mw-echo-ui-sortedListWidget-group {
    background: transparent !important;
}
.mw-echo-ui-notificationItemWidget-bundled {
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: background-color 0.2s ease !important;
}

.mw-echo-ui-notificationItemWidget-bundled:last-child {
    border-bottom: none !important;
}
.mw-echo-ui-notificationItemWidget-bundled:hover {
    background-color: rgba(0, 0, 0, 0.03) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-content-message-header,
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-content-message-header strong {
    color: #eaecf0 !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
    color: #8e8e93 !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-actionMenuPopupWidget .oo-ui-iconElement-icon {
    filter: invert(1) !important;
    opacity: 0.6 !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-toggleReadCircleButtonWidget-circle {
    border-color: rgba(255, 255, 255, 0.3) !important;
}
html.skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-unread .mw-echo-ui-toggleReadCircleButtonWidget-circle {
    background-color: var(--color-primary, #36c) !important;
    border-color: var(--color-primary, #36c) !important;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled {
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    }

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

    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-content-message-header,
    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-content-message-header strong {
        color: #eaecf0 !important;
    }

    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
        color: #8e8e93 !important;
    }

    html.skin-theme-clientpref-os .mw-echo-ui-actionMenuPopupWidget .oo-ui-iconElement-icon {
        filter: invert(1) !important;
        opacity: 0.6 !important;
    }

    html.skin-theme-clientpref-os .mw-echo-ui-toggleReadCircleButtonWidget-circle {
        border-color: rgba(255, 255, 255, 0.3) !important;
    }

    html.skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-unread .mw-echo-ui-toggleReadCircleButtonWidget-circle {
        background-color: var(--color-primary, #36c) !important;
        border-color: var(--color-primary, #36c) !important;
    }
}
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled {
    border-bottom: 1px solid #3c3d3e !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night .mw-echo-ui-notificationItemWidget-bundled:hover {
    background-color: #2a2b2c !important;
}
@media (prefers-color-scheme: dark) {
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled {
        border-bottom: 1px solid #3c3d3e !important;
    }

    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-echo-ui-notificationItemWidget-bundled:hover {
        background-color: #2a2b2c !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.35) !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.35) !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.55) !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.55) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mwe-popups .mwe-popups-container {
        background-color: rgba(20, 20, 20, 0.55) !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.55) !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.55) !important;
    backdrop-filter: blur(14px) saturate(100%) !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.55) !important; backdrop-filter: blur(14px) saturate(100%) !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; }
}

/* =============================================
   Navbox 容器深色模式覆盖
   ============================================= */
html.skin-theme-clientpref-night .bl-navbox-wrap table.navbox {
    background: var(--color-surface-1, #202122) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-group {
    background: var(--color-surface-2, #2d2e2f) !important;
    color: var(--color-primary, #6ba4ff) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-list {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-list a {
    color: var(--color-base-20, #e0e0e0) !important;
}

html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-list a:hover {
    color: var(--color-primary--hover, #9bc4ff) !important;
}

html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-odd {
    background: var(--color-surface-1, #202122) !important;
}

html.skin-theme-clientpref-night .bl-navbox-wrap .navbox-even {
    background: var(--color-surface-2, #2d2e2f) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .bl-navbox-wrap table.navbox {
        background: var(--color-surface-1, #202122) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-group {
        background: var(--color-surface-2, #2d2e2f) !important;
        color: var(--color-primary, #6ba4ff) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-list {
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-list a {
        color: var(--color-base-20, #e0e0e0) !important;
    }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-list a:hover {
        color: var(--color-primary--hover, #9bc4ff) !important;
    }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-odd {
        background: var(--color-surface-1, #202122) !important;
    }
    html.skin-theme-clientpref-os .bl-navbox-wrap .navbox-even {
        background: var(--color-surface-2, #2d2e2f) !important;
    }
}

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

table.ambox {
    position: relative !important;
    z-index: 100 !important;
    overflow: hidden !important;
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: 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 0 !important;
    width: auto !important;
    clear: both !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-notice { border-left-color: #1e90ff !important; }
table.ambox-delete { border-left-color: #b22222 !important; }
table.ambox-content { border-left-color: #f28500 !important; }
table.ambox-style { border-left-color: #f4c430 !important; }
table.ambox-good { border-left-color: #66cc66 !important; }
table.ambox-move { border-left-color: #9932cc !important; }
table.ambox-speedy { border-left-color: #b32424 !important; }
table.ambox-protection { border-left-color: #a2a9b1 !important; }
table.ambox-funny { border-left-color: #FF69B4 !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(20, 20, 20, 0.55) !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: 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(20, 20, 20, 0.55) !important;
        border-style: solid !important;
        border-width: 1px !important;
        border-color: 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-style: solid !important;
    border-width: 1px !important;
    border-color: 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,
.citizen-overflow-wrapper,
.citizen-overflow-content {
    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;
}

.citizen-overflow-content {
    padding: 0 !important;
    margin: 0 !important;
}

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

.mw-parser-output table.wikitable {
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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:not(.notheme),
.mw-parser-output table.wikitable td:not(.notheme) {
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
    padding: 10px 16px !important;
}

.mw-parser-output table.wikitable th:not(.notheme) {
    background-color: transparent !important;
    color: var(--color-base-0) !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(20, 20, 20, 0.55) !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:not(.notheme) {
    background-color: transparent !important;
    color: #eaecf0 !important;
}

html.skin-theme-clientpref-night .mw-parser-output table.wikitable td:not(.notheme) {
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #eaecf0 !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable {
        background-color: rgba(20, 20, 20, 0.55) !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:not(.notheme) {
        background-color: transparent !important;
        color: #eaecf0 !important;
    }

    html.skin-theme-clientpref-os .mw-parser-output table.wikitable td:not(.notheme) {
        border-color: rgba(255, 255, 255, 0.05) !important;
        color: #eaecf0 !important;
    }

    html.skin-theme-clientpref-os .wikitable:not(.notheme),
    html.skin-theme-clientpref-os .wikitable th:not(.notheme),
    html.skin-theme-clientpref-os .wikitable td:not(.notheme) {
        border-color: rgba(255, 255, 255, 0.2) !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;
}

@media (prefers-color-scheme: dark) {
    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:not(.notheme) {
        background-color: transparent !important;
    }

    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td:not(.notheme) {
        border-color: #3c3d3e !important;
    }
}

/* ------------------ */

.mw-parser-output table.wikitable td.notheme,
.mw-parser-output table.wikitable th.notheme {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

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

html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable td.notheme,
html[class*="citizen-feature-performance-mode-clientpref-1"] .mw-parser-output table.wikitable th.notheme {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
        border-color: rgba(0, 0, 0, 0.12) !important;
    }

    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
        border-color: rgba(0, 0, 0, 0.12) !important;
    }
}

@media (prefers-color-scheme: light) {
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
    html.skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
        border-color: rgba(0, 0, 0, 0.12) !important;
    }

    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable td.notheme,
    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os .mw-parser-output table.wikitable th.notheme {
        border-color: rgba(0, 0, 0, 0.12) !important;
    }
}
/* ==================== */
/* --- 缩略图 ---       */
/* ==================== */

html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] img:hover,
html:not(.ve-active) .mw-parser-output .thumbinner img:hover,
html:not(.ve-active) .mw-parser-output .thumbimage:hover,
.mw-parser-output .mw-file-description img:hover {
    transform: none !important;
}

html:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"]:hover,
html:not(.ve-active) .mw-parser-output .thumbinner:hover {
    transform: 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.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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(20, 20, 20, 0.55) !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-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html.skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbcaption {
    color: #eaecf0 !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(20, 20, 20, 0.55) !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"]: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;
    border: 1px solid var(--border-color-base) !important;
}

@media (prefers-color-scheme: dark) {
    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 {
        background-color: #1e1f20 !important;
        border: 1px solid #3c3d3e !important;
    }

    html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-os:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
    html[class*="citizen-feature-performance-mode-clientpref-1"].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-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"],
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbinner {
    background-color: #1e1f20 !important;
    border: 1px solid #3c3d3e !important;
}

html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output figure[typeof*="mw:File/Thumb"] figcaption,
html[class*="citizen-feature-performance-mode-clientpref-1"].skin-theme-clientpref-night:not(.ve-active) .mw-parser-output .thumbcaption {
    color: #eaecf0 !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.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !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(20, 20, 20, 0.55) !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(20, 20, 20, 0.55) !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; }

/* ======================== */
/* --- 每月新闻 Aero 面板 --- */
/* ======================== */
.aero-news-box {
    position: relative;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    padding: 16px 20px !important;
    margin: 16px 0 !important;
    overflow: hidden !important;
    color: var(--color-base-0) !important;
}

.aero-news-box-header {
    font-size: 1.15rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    padding-bottom: 8px;
    margin-bottom: 12px;
    color: var(--color-base-0);
}
.aero-news-box::before {
    content: "" !important;
    position: absolute;
    inset: -1px;
    border: 2px solid transparent;
    border-radius: 17px;
    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;
}

.aero-news-box::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    border-radius: 16px;
    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 .aero-news-box {
    background-color: rgba(20, 20, 20, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
html.skin-theme-clientpref-night .aero-news-box-header { border-bottom-color: rgba(255, 255, 255, 0.1); }
html.skin-theme-clientpref-night .aero-news-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 .aero-news-box { background-color: rgba(20, 20, 20, 0.55) !important; border-color: rgba(255, 255, 255, 0.1) !important; }
    html.skin-theme-clientpref-os .aero-news-box-header { border-bottom-color: rgba(255, 255, 255, 0.1); }
    html.skin-theme-clientpref-os .aero-news-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"] .aero-news-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"] .aero-news-box::before,
html[class*="citizen-feature-performance-mode-clientpref-1"] .aero-news-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(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) 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; }

/* =============================================
   修复 .oo-ui-popupWidget 父级滤镜干扰 + 毛玻璃统一管理
   (合并版,模糊值调小至 14px)
   ============================================= */

.oo-ui-popupWidget {
    filter: none !important;
    -webkit-filter: none !important;

    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;

    background-color: rgba(255, 255, 255, 0.35) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;

    transform: translateZ(0) !important;
    isolation: isolate !important;
    will-change: transform, backdrop-filter !important;
    overflow: visible !important;
}

.oo-ui-popupWidget-popup {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

html.skin-theme-clientpref-night .oo-ui-popupWidget {
    background-color: rgba(20, 20, 20, 0.55) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .oo-ui-popupWidget {
        background-color: rgba(20, 20, 20, 0.55) !important;
        backdrop-filter: blur(14px) saturate(100%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    }
}

html.citizen-feature-performance-mode-clientpref-1 .oo-ui-popupWidget {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1, #ffffff) !important;
    border: 1px solid var(--border-color-base) !important;
    box-shadow: none !important;
    transform: none !important;
    isolation: auto !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::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 {
    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.55) !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(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 {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !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.55) !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; }

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;
    }
}

.infobox {
    position: relative;
    isolation: isolate;
    overflow: visible !important;
}

.infobox::before {
    content: "" !important;
    position: absolute;
    inset: -2px;
    border: 3px solid transparent;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        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: xor;
    mask-composite: exclude;
    z-index: 100;
    pointer-events: none;
    border-radius: inherit;
    opacity: 1;
}

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

.infobox > * {
    position: relative;
    z-index: 1;
}

html.skin-theme-clientpref-night .infobox::before {
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.1) 40%, 
        transparent 100%
    ) border-box !important;
}

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

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .infobox::before {
        background: radial-gradient(
            200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
            rgba(255, 255, 255, 0.5) 0%, 
            rgba(255, 255, 255, 0.1) 40%, 
            transparent 80%
        ) border-box !important;
    }
    
    html.skin-theme-clientpref-os .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.citizen-feature-performance-mode-clientpref-1 .infobox::before,
html.citizen-feature-performance-mode-clientpref-1 .infobox::after {
    display: none !important;
}
/* =============================== */
/* --- 最后修改时间徽章 ---        */
/* =============================== */

#citizen-sidebar-lastmod.citizen-menu {
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) 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.55) !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;
    }
}

/* =============================================
   Blockland Wiki 首页组件深色模式适配补丁
   不改变结构/大小,仅调整颜色与背景
   ============================================= */

html.skin-theme-clientpref-night .bl-hero,
html.skin-theme-clientpref-night .bl-hero-text,
html.skin-theme-clientpref-night .bl-sidecol,
html.skin-theme-clientpref-night .bl-maincol {
    color: var(--color-base-0, #eaecf0);
}

html.skin-theme-clientpref-night .bl-hero-kicker,
html.skin-theme-clientpref-night .bl-hero-title {
    color: var(--color-base-10, #f8f9fa);
}

html.skin-theme-clientpref-night .bl-box-body,
html.skin-theme-clientpref-night .bl-box-body * {
    color: var(--color-base-0, #eaecf0);
}

html.skin-theme-clientpref-night .bl-navitem a.new,
html.skin-theme-clientpref-night .bl-list a.new {
    color: #ff9999 !important;
}

html.skin-theme-clientpref-night .bl-list li {
    color: var(--color-base-0);
}

html.skin-theme-clientpref-night .bl-map-wrap {
    background: transparent;
}
html.skin-theme-clientpref-night .bl-map-wrap iframe {
    border-color: rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .bl-hero,
    html.skin-theme-clientpref-os .bl-hero-text,
    html.skin-theme-clientpref-os .bl-sidecol,
    html.skin-theme-clientpref-os .bl-maincol {
        color: var(--color-base-0, #eaecf0);
    }

    html.skin-theme-clientpref-os .bl-hero-kicker,
    html.skin-theme-clientpref-os .bl-hero-title {
        color: var(--color-base-10, #f8f9fa);
    }

    html.skin-theme-clientpref-os .bl-box-body,
    html.skin-theme-clientpref-os .bl-box-body * {
        color: var(--color-base-0, #eaecf0);
    }

    html.skin-theme-clientpref-os .bl-navitem a.new,
    html.skin-theme-clientpref-os .bl-list a.new {
        color: #ff9999 !important;
    }

    html.skin-theme-clientpref-os .bl-list li {
        color: var(--color-base-0);
    }

    html.skin-theme-clientpref-os .bl-map-wrap iframe {
        border-color: rgba(255, 255, 255, 0.2);
    }
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-box {
    background-color: var(--color-surface-2, #2d2e2f) !important;
    backdrop-filter: none !important;
}

@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-box {
        background-color: var(--color-surface-2, #2d2e2f) !important;
        backdrop-filter: none !important;
    }
}

.bl-navitem a {
    white-space: nowrap !important;
}

/* =====================================================
   最终修复:深色模式统一微调(不改变布局尺寸)
   - bl-stat 保持明亮,不变灰
   - bl-box-title 背景强制透明 + 文字高亮
   - bl-navitem 边框、背景统一深色调
   ===================================================== */

html.skin-theme-clientpref-night .bl-stat,
html.skin-theme-clientpref-night .bl-stat * {
    color: #ffffff !important;
}

html.skin-theme-clientpref-night .bl-box-title {
    background-color: transparent !important;
    color: var(--color-base-20, #ffffff) !important;
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

html.skin-theme-clientpref-night .bl-box {
    background-color: var(--color-surface-1, #202122) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

html.skin-theme-clientpref-night .bl-navitem {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background-color: transparent !important;
}

html.skin-theme-clientpref-night .bl-navitem a {
    background-color: transparent !important;
    color: var(--color-base-20, #e6e6e6) !important;
    border: none !important;
}

html.skin-theme-clientpref-night .bl-navitem a:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

html.skin-theme-clientpref-night .bl-navitem,
html.skin-theme-clientpref-night .bl-navitem a {
    box-shadow: none !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .bl-stat,
    html.skin-theme-clientpref-os .bl-stat * {
        color: #ffffff !important;
    }

    html.skin-theme-clientpref-os .bl-box-title {
        background-color: transparent !important;
        color: var(--color-base-20, #ffffff) !important;
        border-bottom-color: rgba(255, 255, 255, 0.2) !important;
    }
    html.skin-theme-clientpref-os .bl-box {
        background-color: var(--color-surface-1, #202122) !important;
        border-color: rgba(255, 255, 255, 0.1);
    }

    html.skin-theme-clientpref-os .bl-navitem {
        border-color: rgba(255, 255, 255, 0.15) !important;
        background-color: transparent !important;
    }
    html.skin-theme-clientpref-os .bl-navitem a {
        background-color: transparent !important;
        color: var(--color-base-20, #e6e6e6) !important;
        border: none !important;
    }
    html.skin-theme-clientpref-os .bl-navitem a:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
    }
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-navitem a {
    background-color: var(--color-surface-2, #2d2e2f) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-navitem {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background-color: var(--color-surface-2, #2d2e2f) !important;
}

@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-navitem a {
        background-color: var(--color-surface-2, #2d2e2f) !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-navitem {
        border-color: rgba(255, 255, 255, 0.2) !important;
        background-color: var(--color-surface-2, #2d2e2f) !important;
    }
}
/* =====================================================
   深色模式最终修复:.bl-hero + .bl-stat 统一深色背景
   ===================================================== */

html.skin-theme-clientpref-night .bl-hero,
html.skin-theme-clientpref-night .bl-stat {
    background-color: var(--color-surface-0, #1a1b1c) !important;
    background-image: none !important;
}

html.skin-theme-clientpref-night .bl-stat-label,
html.skin-theme-clientpref-night .bl-stat-number,
html.skin-theme-clientpref-night .bl-stat-note {
    color: var(--color-base-20, #ffffff) !important;
}
html.skin-theme-clientpref-night .bl-stat-number a {
    color: var(--color-primary, #6ba4ff) !important;
}
html.skin-theme-clientpref-night .bl-stat-number a:hover {
    color: var(--color-primary--hover, #9bc4ff) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .bl-hero,
    html.skin-theme-clientpref-os .bl-stat {
        background-color: var(--color-surface-0, #1a1b1c) !important;
        background-image: none !important;
    }
    html.skin-theme-clientpref-os .bl-stat-label,
    html.skin-theme-clientpref-os .bl-stat-number,
    html.skin-theme-clientpref-os .bl-stat-note {
        color: var(--color-base-20, #ffffff) !important;
    }
    html.skin-theme-clientpref-os .bl-stat-number a {
        color: var(--color-primary, #6ba4ff) !important;
    }
    html.skin-theme-clientpref-os .bl-stat-number a:hover {
        color: var(--color-primary--hover, #9bc4ff) !important;
    }
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-hero,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-stat {
    background-color: var(--color-surface-1, #202122) !important;
    background-image: none !important;
}

@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-hero,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-stat {
        background-color: var(--color-surface-1, #202122) !important;
        background-image: none !important;
    }
}
/* =============================================
   .bl-hero 毛玻璃 + 光效 + 悬浮动画(亮色/深色通用)
   不改变结构/尺寸,仅视觉增强
   ============================================= */

.bl-hero:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.25) !important;
}

.bl-hero {
    position: relative !important;
    isolation: isolate !important;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1),
                box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1) !important;
    will-change: transform !important;
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.25) !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.bl-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: -1px !important;
    border-radius: 25px !important;
    padding: 2px !important;
    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.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;
    pointer-events: none !important;
    z-index: 2 !important;
}

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

.bl-hero-text,
.bl-stat {
    position: relative !important;
    z-index: 3 !important;
}

html.skin-theme-clientpref-night .bl-hero {
    background-color: rgba(20, 20, 20, 0.55) !important;
    border: 1px solid #3a3a3a !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

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

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

html.skin-theme-clientpref-night .bl-hero:hover {
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6) !important;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .bl-hero {
        background-color: rgba(20, 20, 20, 0.55) !important;
        border: 1px solid #3a3a3a !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
    }
    html.skin-theme-clientpref-os .bl-hero::before {
        background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                    rgba(255, 255, 255, 0.7) 0%, 
                    rgba(255, 255, 255, 0.2) 40%, 
                    transparent 80%) border-box !important;
    }
    html.skin-theme-clientpref-os .bl-hero::after {
        background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                    rgba(255, 255, 255, 0.12) 0%, 
                    transparent 70%) !important;
    }
    html.skin-theme-clientpref-os .bl-hero:hover {
        box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6) !important;
    }
}

html.citizen-feature-performance-mode-clientpref-1 .bl-hero {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1, #ffffff) !important;
    border: 1px solid var(--border-color-base, rgba(0, 0, 0, 0.15)) !important;
}

html.citizen-feature-performance-mode-clientpref-1 .bl-hero::before,
html.citizen-feature-performance-mode-clientpref-1 .bl-hero::after {
    display: none !important;
}

html.citizen-feature-performance-mode-clientpref-1 .bl-hero:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15) !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .bl-hero {
    background-color: var(--color-surface-1, #202122) !important;
    border: 1px solid #3a3a3a !important;
}
@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .bl-hero {
        background-color: var(--color-surface-1, #202122) !important;
        border: 1px solid #3a3a3a !important;
    }
}

/* =============================================
   首页极浅背景图(仅首页)
   ============================================= */
.page-Main_Page .bl-mainpage,
.page-首页 .bl-mainpage {
    position: relative;
}

.page-Main_Page .bl-mainpage::before,
.page-首页 .bl-mainpage::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url("https://cdn.jsdelivr.net/gh/KKBlockE/BlocklandPicturebed@main/main/%E7%83%AD%E5%B8%A6%E6%AD%A3%E5%8D%88%E5%A4%A9%E7%A9%BA%EF%BC%8C%E5%8F%91%E5%B1%95%E4%B8%AD%E7%9A%84%E7%99%BD%E8%89%B2%E7%A7%AF%E9%9B%A8%E4%BA%91%EF%BC%8C%E5%B9%B3%E9%93%BA%E7%9A%84%E4%BA%91%E7%A0%A7%EF%BC%8C%E7%BE%8E%E6%99%AF%EF%BC%8C%E5%A4%A7%E6%B5%B7%EF%BC%8C%E8%BF%91%E5%A4%84%E7%99%BD%E6%B2%99%EF%BC%8C%E8%93%9D%E5%A4%A9%E7%99%BD%E4%BA%91_2K_202605091538.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    pointer-events: none;
}

html.skin-theme-clientpref-night .page-Main_Page .bl-mainpage::before,
html.skin-theme-clientpref-night .page-首页 .bl-mainpage::before {
    opacity: 0.2;
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .page-Main_Page .bl-mainpage::before,
    html.skin-theme-clientpref-os .page-首页 .bl-mainpage::before {
        opacity: 0.2;
    }
}

html.citizen-feature-performance-mode-clientpref-1 .page-Main_Page .bl-mainpage::before,
html.citizen-feature-performance-mode-clientpref-1 .page-首页 .bl-mainpage::before {
    display: none;
}
/* =============================================
   Template:Background 页面背景
   ============================================= */
.bl-page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* =============================================
   Weatherbox 图表卡片
   ============================================= */
.weather-box-chart {
    position: relative;
    float: right !important;
    clear: right !important;
    margin: 0.5em 0 1em 1em !important;
    width: 312px !important;
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    box-sizing: border-box !important;
}

.weather-box-chart .mw-customtoggle {
    color: var(--color-primary, #36c) !important;
    font-size: 0.85em !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    transition: background 0.2s !important;
}

.weather-box-chart .mw-customtoggle:hover {
    background-color: rgba(54, 121, 204, 0.1) !important;
}

.weather-box-chart svg {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
}

.weather-box-chart div:not([class]) {
    color: #202122;
}

html.skin-theme-clientpref-night .weather-box-chart {
    background-color: rgba(20, 20, 20, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

html.skin-theme-clientpref-night .weather-box-chart div:not([class]) {
    color: #eaecf0 !important;
}

html.skin-theme-clientpref-night .weather-box-chart svg {
    filter: invert(0.88) hue-rotate(180deg);
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .weather-box-chart {
        background-color: rgba(20, 20, 20, 0.55) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    }
    html.skin-theme-clientpref-os .weather-box-chart div:not([class]) {
        color: #eaecf0 !important;
    }
    html.skin-theme-clientpref-os .weather-box-chart svg {
        filter: invert(0.88) hue-rotate(180deg);
    }
}

html.citizen-feature-performance-mode-clientpref-1 .weather-box-chart {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1, #ffffff) !important;
    border: 1px solid var(--border-color-base, #a2a9b1) !important;
    box-shadow: none !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .weather-box-chart {
    background-color: var(--color-surface-1, #202122) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .weather-box-chart {
        background-color: var(--color-surface-1, #202122) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
}

/* =============================================
   评论流容器(毛玻璃 + 暗色适配,修正语法)
   ============================================= */

.cs-stream {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(128, 128, 128, 0.15);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    transition: background 0.2s, border-color 0.2s;
}

html.skin-theme-clientpref-night .cs-stream {
    background: rgba(20, 20, 20, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-stream {
        background: rgba(20, 20, 20, 0.55);
        border-color: rgba(255, 255, 255, 0.08);
    }
}

/* ====================
   Header 结构
==================== */
.cs-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cs-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(128, 128, 128, 0.15);
}
.cs-comment-header-center {
    flex: 1;
    margin-left: 10px;
    font-size: 13px;
    opacity: 0.85;
    color: var(--color-base-0, #202122);
}
.cs-comment-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cs-voting-span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ====================
   赞 / 踩按钮(毛玻璃质感)
==================== */
.cs-vote-up-button,
.cs-vote-down-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 32px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    border: 1px solid rgba(128, 128, 128, 0.15);
    color: var(--color-base-0, #202122);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}
.cs-vote-up-button:hover,
.cs-vote-down-button:hover {
    background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.15);
    border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.cs-vote-up-button:active,
.cs-vote-down-button:active {
    transform: translateY(0);
}

html.skin-theme-clientpref-night .cs-vote-up-button,
html.skin-theme-clientpref-night .cs-vote-down-button {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--color-base-20, #ffffff);
}
html.skin-theme-clientpref-night .cs-vote-up-button:hover,
html.skin-theme-clientpref-night .cs-vote-down-button:hover {
    background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
    border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-vote-up-button,
    html.skin-theme-clientpref-os .cs-vote-down-button {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.08);
        color: var(--color-base-20, #ffffff);
    }
    html.skin-theme-clientpref-os .cs-vote-up-button:hover,
    html.skin-theme-clientpref-os .cs-vote-down-button:hover {
        background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
        border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
    }
}

/* ====================
   回复 / 发评论按钮
==================== */
.cs-stream-footer .oo-ui-buttonElement-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
    border: 1px solid rgba(128, 128, 128, 0.15);
    color: var(--color-base-0, #202122);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}
.cs-stream-footer .oo-ui-buttonElement-button:hover {
    background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.15);
    border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

html.skin-theme-clientpref-night .cs-stream-footer .oo-ui-buttonElement-button {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--color-base-20, #ffffff);
}
html.skin-theme-clientpref-night .cs-stream-footer .oo-ui-buttonElement-button:hover {
    background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
    border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
}

@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-stream-footer .oo-ui-buttonElement-button {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.08);
        color: var(--color-base-20, #ffffff);
    }
    html.skin-theme-clientpref-os .cs-stream-footer .oo-ui-buttonElement-button:hover {
        background: rgba(var(--color-primary-rgb, 54, 121, 204), 0.25);
        border-color: rgba(var(--color-primary-rgb, 54, 121, 204), 0.5);
    }
}

/* ====================
   评论内容
==================== */
.cs-comment-body {
    padding-left: 54px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-base-0, #202122);
}
html.skin-theme-clientpref-night .cs-comment-body {
    color: var(--color-base-20, #ffffff);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-comment-body {
        color: var(--color-base-20, #ffffff);
    }
}

/* ====================
   次级评论(嵌套回复)
==================== */
.cs-reply-comment {
    margin-left: 54px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(128, 128, 128, 0.1);
    backdrop-filter: blur(14px) saturate(100%);
    -webkit-backdrop-filter: blur(14px) saturate(100%);
}
html.skin-theme-clientpref-night .cs-reply-comment {
    background: rgba(20, 20, 20, 0.55);
    border-color: rgba(255, 255, 255, 0.06);
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .cs-reply-comment {
        background: rgba(20, 20, 20, 0.55);
        border-color: rgba(255, 255, 255, 0.06);
    }
}

/* ====================
   更多菜单(OOUI 弹窗/下拉)
==================== */
.oo-ui-popupWidget-popup,
.oo-ui-menuSelectWidget {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}
html.skin-theme-clientpref-night .oo-ui-popupWidget-popup,
html.skin-theme-clientpref-night .oo-ui-menuSelectWidget {
    background: rgba(20, 20, 20, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .oo-ui-popupWidget-popup,
    html.skin-theme-clientpref-os .oo-ui-menuSelectWidget {
        background: rgba(20, 20, 20, 0.55) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    }
}

/* ====================
   性能模式(Basic)禁用毛玻璃
==================== */
html.citizen-feature-performance-mode-clientpref-1 .cs-stream,
html.citizen-feature-performance-mode-clientpref-1 .cs-reply-comment,
html.citizen-feature-performance-mode-clientpref-1 .oo-ui-popupWidget-popup,
html.citizen-feature-performance-mode-clientpref-1 .oo-ui-menuSelectWidget {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--color-surface-1, #ffffff) !important;
}
html.citizen-feature-performance-mode-clientpref-1 .cs-vote-up-button,
html.citizen-feature-performance-mode-clientpref-1 .cs-vote-down-button,
html.citizen-feature-performance-mode-clientpref-1 .cs-stream-footer .oo-ui-buttonElement-button {
    backdrop-filter: none !important;
    background: var(--color-surface-2, #f5f5f5) !important;
    border-color: var(--border-color-base, #ddd) !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-stream,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-reply-comment,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .oo-ui-popupWidget-popup,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .oo-ui-menuSelectWidget {
    background-color: var(--color-surface-1, #202122) !important;
}
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-vote-up-button,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-vote-down-button,
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .cs-stream-footer .oo-ui-buttonElement-button {
    background: var(--color-surface-2, #2d2e2f) !important;
    color: var(--color-base-20, #ffffff) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-stream,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-reply-comment,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .oo-ui-popupWidget-popup,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .oo-ui-menuSelectWidget {
        background-color: var(--color-surface-1, #202122) !important;
    }
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-vote-up-button,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-vote-down-button,
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .cs-stream-footer .oo-ui-buttonElement-button {
        background: var(--color-surface-2, #2d2e2f) !important;
        color: var(--color-base-20, #ffffff) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
}


/**
 * QQ群聊记录 - Aero 毛玻璃美化
 * 基于 Citizen.css 设计语言
 * 版本:1.0
 */

/* =============================================
   容器 - 毛玻璃卡片
   ============================================= */
.qqchat {
    position: relative;
    z-index: 10;
    margin: 1.2em 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.30) !important;
    backdrop-filter: blur(16px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* 液态玻璃光效 - 边框辉光 */
.qqchat::before {
    content: "" !important;
    position: absolute !important;
    inset: -1.5px !important;
    border-radius: 21px !important;
    padding: 2px !important;
    background: radial-gradient(
        280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.25) 40%,
        transparent 85%
    ) 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;
}

/* 液态玻璃光效 - 内部柔光 */
.qqchat::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 20px !important;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.30) 0%,
        transparent 75%
    ) !important;
    mix-blend-mode: soft-light !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* 悬停微交互 */
.qqchat:hover {
    box-shadow: 0 20px 56px rgba(31, 38, 135, 0.18), 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px);
}

/* =============================================
   折叠按钮 (继承 Citizen 风格)
   ============================================= */
.qqchat .mw-collapsible-toggle {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.20) !important;
    backdrop-filter: blur(8px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(100%) !important;
    border: 1px solid rgba(128, 128, 128, 0.12) !important;
    border-radius: 8px !important;
    padding: 4px 14px !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    color: var(--color-base-0, #202122) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    letter-spacing: 0.3px;
    user-select: none;
}

.qqchat .mw-collapsible-toggle:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(128, 128, 128, 0.25) !important;
    transform: scale(1.03);
}

.qqchat .mw-collapsible-toggle .mw-collapsible-text {
    display: inline-block;
}

/* =============================================
   头部 - 标题栏
   ============================================= */
.qqchat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px 14px 24px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.10);
    position: relative;
    z-index: 5;
}

.qqchat-icon {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}

.qqchat-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-heading, #000000);
    letter-spacing: 0.2px;
    flex: 1;
}

.qqchat-count {
    font-size: 0.80rem;
    font-weight: 400;
    color: var(--color-base-0, #202122);
    opacity: 0.60;
    background: rgba(128, 128, 128, 0.08);
    padding: 2px 14px;
    border-radius: 20px;
    border: 1px solid rgba(128, 128, 128, 0.08);
    white-space: nowrap;
}

/* =============================================
   消息列表容器
   ============================================= */
.qqchat-body {
    padding: 12px 18px 18px 18px;
    max-height: 600px;
    overflow-y: auto;
    position: relative;
    z-index: 5;
    scroll-behavior: smooth;
}

/* 自定义滚动条 - Aero 风格 */
.qqchat-body::-webkit-scrollbar {
    width: 6px;
}

.qqchat-body::-webkit-scrollbar-track {
    background: rgba(128, 128, 128, 0.04);
    border-radius: 10px;
    margin: 8px 0;
}

.qqchat-body::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.20);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.qqchat-body::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 128, 128, 0.35);
}

/* =============================================
   单条消息
   ============================================= */
.qqchat-message {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 12px;
    background: transparent;
    transition: background 0.20s ease;
    position: relative;
}

.qqchat-message:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 消息元数据行 */
.qqchat-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.qqchat-user {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-primary, #2a6bb0);
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 用户颜色点缀 (模拟头像圆点) */
.qqchat-user::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary, #2a6bb0);
    opacity: 0.50;
    margin-right: 2px;
    flex-shrink: 0;
}

/* 不同用户不同颜色 (基于用户名哈希) */
.qqchat-user[data-user="惟遠イエン"]::before { background: #e67e22; }
.qqchat-user[data-user="Bluesky展翅腾飞"]::before { background: #3498db; }
.qqchat-user[data-user="Kuranoka"]::before { background: #9b59b6; }
.qqchat-user[data-user="高远天空"]::before { background: #1abc9c; }
.qqchat-user[data-user="爱玩游戏的-欧卡t"]::before { background: #e74c3c; }
.qqchat-user[data-user="FaustToasts"]::before { background: #f39c12; }
.qqchat-user[data-user="威廉阿道夫"]::before { background: #2c3e50; }
.qqchat-user[data-user="烂Lan兰恩"]::before { background: #d35400; }
.qqchat-user[data-user="Ubi ventus Surgit"]::before { background: #16a085; }
.qqchat-user[data-user="药瓶子"]::before { background: #8e44ad; }

.qqchat-time {
    font-size: 0.70rem;
    color: var(--color-base-0, #202122);
    opacity: 0.40;
    font-weight: 400;
    letter-spacing: 0.2px;
    white-space: nowrap;
    margin-left: auto;
}

/* 消息文本 */
.qqchat-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-base-0, #202122);
    word-break: break-word;
    padding-left: 20px;
    position: relative;
}

/* 无文字消息占位 */
.qqchat-empty {
    color: var(--color-base-0, #202122);
    opacity: 0.30;
    font-style: italic;
    font-size: 0.85rem;
}

/* =============================================
   @提及 高亮
   ============================================= */
.qqchat-mention {
    display: inline;
    background: rgba(54, 121, 204, 0.12);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
    color: var(--color-primary, #2a6bb0);
    border: 1px solid rgba(54, 121, 204, 0.08);
    transition: background 0.2s ease;
}

.qqchat-mention:hover {
    background: rgba(54, 121, 204, 0.20);
}

/* =============================================
   折叠内容展开/收起动画
   ============================================= */
.qqchat .mw-collapsible-content {
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qqchat.mw-collapsed .mw-collapsible-content {
    display: none;
}

/* =============================================
   深色模式 (自动适配)
   ============================================= */
html.skin-theme-clientpref-night .qqchat {
    background: rgba(20, 20, 20, 0.50) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.40), 0 2px 8px rgba(0, 0, 0, 0.20) !important;
}

html.skin-theme-clientpref-night .qqchat::before {
    background: radial-gradient(
        280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.60) 0%,
        rgba(255, 255, 255, 0.10) 40%,
        transparent 85%
    ) border-box !important;
}

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

html.skin-theme-clientpref-night .qqchat .mw-collapsible-toggle {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #eaecf0 !important;
}

html.skin-theme-clientpref-night .qqchat .mw-collapsible-toggle:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

html.skin-theme-clientpref-night .qqchat-title {
    color: #ffffff !important;
}

html.skin-theme-clientpref-night .qqchat-count {
    color: #eaecf0 !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.06);
}

html.skin-theme-clientpref-night .qqchat-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

html.skin-theme-clientpref-night .qqchat-message:hover {
    background: rgba(255, 255, 255, 0.04);
}

html.skin-theme-clientpref-night .qqchat-text {
    color: #eaecf0 !important;
}

html.skin-theme-clientpref-night .qqchat-time {
    color: #eaecf0 !important;
    opacity: 0.35;
}

html.skin-theme-clientpref-night .qqchat-user {
    color: #6ba4ff !important;
}

html.skin-theme-clientpref-night .qqchat-mention {
    background: rgba(54, 121, 204, 0.20);
    color: #8ab8ff;
    border-color: rgba(54, 121, 204, 0.15);
}

html.skin-theme-clientpref-night .qqchat-mention:hover {
    background: rgba(54, 121, 204, 0.30);
}

html.skin-theme-clientpref-night .qqchat-empty {
    color: #eaecf0;
    opacity: 0.25;
}

html.skin-theme-clientpref-night .qqchat-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

html.skin-theme-clientpref-night .qqchat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
}

html.skin-theme-clientpref-night .qqchat-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* =============================================
   操作系统级深色模式适配
   ============================================= */
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .qqchat {
        background: rgba(20, 20, 20, 0.50) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.40), 0 2px 8px rgba(0, 0, 0, 0.20) !important;
    }

    html.skin-theme-clientpref-os .qqchat::before {
        background: radial-gradient(
            280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.60) 0%,
            rgba(255, 255, 255, 0.10) 40%,
            transparent 85%
        ) border-box !important;
    }

    html.skin-theme-clientpref-os .qqchat::after {
        background: radial-gradient(
            500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.08) 0%,
            transparent 75%
        ) !important;
    }

    html.skin-theme-clientpref-os .qqchat .mw-collapsible-toggle {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        color: #eaecf0 !important;
    }

    html.skin-theme-clientpref-os .qqchat .mw-collapsible-toggle:hover {
        background: rgba(255, 255, 255, 0.14) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
    }

    html.skin-theme-clientpref-os .qqchat-title {
        color: #ffffff !important;
    }

    html.skin-theme-clientpref-os .qqchat-count {
        color: #eaecf0 !important;
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.06);
    }

    html.skin-theme-clientpref-os .qqchat-header {
        border-bottom-color: rgba(255, 255, 255, 0.06);
    }

    html.skin-theme-clientpref-os .qqchat-message:hover {
        background: rgba(255, 255, 255, 0.04);
    }

    html.skin-theme-clientpref-os .qqchat-text {
        color: #eaecf0 !important;
    }

    html.skin-theme-clientpref-os .qqchat-time {
        color: #eaecf0 !important;
        opacity: 0.35;
    }

    html.skin-theme-clientpref-os .qqchat-user {
        color: #6ba4ff !important;
    }

    html.skin-theme-clientpref-os .qqchat-mention {
        background: rgba(54, 121, 204, 0.20);
        color: #8ab8ff;
        border-color: rgba(54, 121, 204, 0.15);
    }

    html.skin-theme-clientpref-os .qqchat-mention:hover {
        background: rgba(54, 121, 204, 0.30);
    }

    html.skin-theme-clientpref-os .qqchat-empty {
        color: #eaecf0;
        opacity: 0.25;
    }

    html.skin-theme-clientpref-os .qqchat-body::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02);
    }

    html.skin-theme-clientpref-os .qqchat-body::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.12);
    }

    html.skin-theme-clientpref-os .qqchat-body::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.22);
    }
}

/* =============================================
   性能模式 (Basic) - 禁用毛玻璃
   ============================================= */
html.citizen-feature-performance-mode-clientpref-1 .qqchat {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--color-surface-1, #ffffff) !important;
    border: 1px solid var(--border-color-base, rgba(0, 0, 0, 0.12)) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

html.citizen-feature-performance-mode-clientpref-1 .qqchat::before,
html.citizen-feature-performance-mode-clientpref-1 .qqchat::after {
    display: none !important;
    content: none !important;
}

html.citizen-feature-performance-mode-clientpref-1 .qqchat .mw-collapsible-toggle {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--color-surface-2, #f5f5f5) !important;
    border: 1px solid var(--border-color-base, #ddd) !important;
}

html.citizen-feature-performance-mode-clientpref-1 .qqchat .mw-collapsible-toggle:hover {
    background: var(--color-surface-3, #e8e8e8) !important;
}

html.citizen-feature-performance-mode-clientpref-1 .qqchat-message:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* 性能模式 - 深色 */
html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .qqchat {
    background: var(--color-surface-1, #202122) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30) !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .qqchat .mw-collapsible-toggle {
    background: var(--color-surface-2, #2d2e2f) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #eaecf0 !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .qqchat .mw-collapsible-toggle:hover {
    background: var(--color-surface-3, #373839) !important;
}

html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-night .qqchat-message:hover {
    background: rgba(255, 255, 255, 0.02);
}

@media (prefers-color-scheme: dark) {
    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .qqchat {
        background: var(--color-surface-1, #202122) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30) !important;
    }

    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .qqchat .mw-collapsible-toggle {
        background: var(--color-surface-2, #2d2e2f) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        color: #eaecf0 !important;
    }

    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .qqchat .mw-collapsible-toggle:hover {
        background: var(--color-surface-3, #373839) !important;
    }

    html.citizen-feature-performance-mode-clientpref-1.skin-theme-clientpref-os .qqchat-message:hover {
        background: rgba(255, 255, 255, 0.02);
    }
}

/* =============================================
   响应式 - 移动端适配
   ============================================= */
@media screen and (max-width: 768px) {
    .qqchat-header {
        padding: 14px 16px 10px 16px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .qqchat-title {
        font-size: 0.95rem;
        flex: 1 1 100%;
        order: 2;
    }

    .qqchat-icon {
        font-size: 1.3rem;
        order: 1;
    }

    .qqchat-count {
        font-size: 0.70rem;
        padding: 1px 12px;
        order: 3;
        margin-left: auto;
    }

    .qqchat .mw-collapsible-toggle {
        position: relative;
        top: auto;
        right: auto;
        order: 4;
        margin-left: auto;
        font-size: 0.70rem;
        padding: 2px 12px;
    }

    .qqchat-body {
        padding: 8px 10px 12px 10px;
        max-height: 420px;
    }

    .qqchat-message {
        padding: 6px 8px;
    }

    .qqchat-meta {
        gap: 6px;
    }

    .qqchat-user {
        font-size: 0.82rem;
    }

    .qqchat-time {
        font-size: 0.62rem;
    }

    .qqchat-text {
        font-size: 0.85rem;
        padding-left: 14px;
    }

    .qqchat-user::before {
        width: 6px;
        height: 6px;
    }

    .qqchat-mention {
        padding: 0 4px;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .qqchat-header {
        padding: 10px 12px 8px 12px;
    }

    .qqchat-title {
        font-size: 0.85rem;
    }

    .qqchat-body {
        padding: 6px 6px 10px 6px;
        max-height: 340px;
    }

    .qqchat-message {
        padding: 4px 6px;
        border-radius: 8px;
    }

    .qqchat-text {
        font-size: 0.80rem;
        padding-left: 10px;
    }

    .qqchat-user {
        font-size: 0.76rem;
    }

    .qqchat-time {
        font-size: 0.58rem;
    }

    .qqchat .mw-collapsible-toggle {
        font-size: 0.62rem;
        padding: 1px 10px;
    }
}