跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
标签手工回退
无编辑摘要
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
/* 简中Robloxian Wiki 全局样式 */
/* ========================================
/* 强制全站淡绿色背景 */
  简中Robloxian Wiki — 亮色:清新淡绿
  暗色:纯正黑红构成主义(自动跟随系统)
  ======================================== */
 
/* ---------- 基础 ---------- */
html {
    background-color: #e6f5e6;
}
 
body,
body,
#content,
#content,
第7行: 第15行:
#bodyContent {
#bodyContent {
     background-color: #e6f5e6 !important;
     background-color: #e6f5e6 !important;
}
    color: #1a1a1a;
 
     font-family: 'Helvetica Neue', 'Arial', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
html {
     background-color: #e6f5e6;
}
}


第17行: 第23行:
}
}


body {
/* ---------- 布局 ---------- */
    background-color: #e6f5e6;
}
 
.chanmoegrid {
.chanmoegrid {
     display: flex;
     display: flex;
第34行: 第37行:
     border-radius: 20px;
     border-radius: 20px;
     box-shadow: 0 6px 16px rgba(0,0,0,0.05);
     box-shadow: 0 6px 16px rgba(0,0,0,0.05);
     padding: 25px;
     padding: 24px;
     border: 2px solid transparent;
     border: 2px solid transparent;
    transition: all 0.2s ease;
}
}


第48行: 第52行:
     text-align: center;
     text-align: center;
     border-radius: 24px;
     border-radius: 24px;
     padding: 35px 20px;
     padding: 36px 24px;
}
}


第61行: 第65行:
}
}


/* ---------- 欢迎区 ---------- */
.welcome-title {
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0;
}
.welcome-sub {
    font-size: 1.1em;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    margin: 0;
}
.ascii-divider {
    color: #a5d6a7;
    font-family: monospace;
    text-align: center;
    font-size: 0.9em;
    margin: 14px 0;
}
.welcome-nav {
    margin-top: 16px;
}
/* ---------- 标题 ---------- */
.chanmoe-title {
.chanmoe-title {
     font-size: 1.4em;
     font-size: 1.3em;
     font-weight: bold;
     font-weight: bold;
     margin-bottom: 15px;
     margin-bottom: 14px;
     padding-bottom: 8px;
     padding-bottom: 10px;
     border-bottom: 3px dashed #80cbc4;
     border-bottom: 3px dashed #80cbc4;
     color: #0066cc;
     color: #0066cc;
}
}


/* ---------- 按钮 ---------- */
.chanboard-grid {
.chanboard-grid {
     display: flex;
     display: flex;
第85行: 第120行:
     font-family: "Courier New", monospace;
     font-family: "Courier New", monospace;
     box-shadow: 0 2px 6px rgba(0,0,0,0.05);
     box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: inline-block;
    transition: all 0.2s;
    border: none;
}
.chanboard-btn a {
    color: inherit;
    text-decoration: none;
}
}


第90行: 第133行:
     background: #b9f6ca;
     background: #b9f6ca;
     color: #000;
     color: #000;
    transform: translateY(-2px);
}
/* ---------- 新闻 ---------- */
.chanmoe-news {
    padding: 0;
    overflow: hidden;
}
.chanmoe-news .chanmoe-title {
    background: #e6f4e6;
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px dashed #88cccc;
    border-radius: 20px 20px 0 0;
}
}


.news-list {
    padding: 18px 22px;
    line-height: 1.6;
}
.news-item {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e0e0;
}
.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.news-date {
    font-size: 1.1em;
    font-weight: bold;
    color: #662222;
    margin-bottom: 6px;
}
.news-body {
    color: #333;
}
.news-footer {
    text-align: right;
    padding: 10px 20px;
    background: #e6f4e6;
    border-top: 1px dashed #88cccc;
    font-size: 0.9em;
}
.news-footer a {
    color: #0066cc;
    text-decoration: none;
}
/* ---------- 列表 ---------- */
.chanlist {
.chanlist {
     list-style: none;
     list-style: none;
第99行: 第199行:


.chanlist li {
.chanlist li {
     padding: 6px 0;
     padding: 8px 0;
     border-bottom: 1px solid #e0e0e0;
     border-bottom: 1px solid #e0e0e0;
     font-size: 0.95em;
     font-size: 0.95em;
第119行: 第219行:
}
}


/* ---------- 留言 ---------- */
.chanpost {
.chanpost {
     background: #f1f8e9;
     background: #f1f8e9;
     border-radius: 12px;
     border-radius: 12px;
     padding: 12px 15px;
     padding: 14px;
     margin-top: 10px;
     margin-top: 10px;
     border-left: 4px solid #66bb6a;
     border-left: 4px solid #66bb6a;
    line-height: 1.6;
}
}


.chanpost .post-no {
.post-no {
     color: #757575;
     color: #757575;
     font-size: 0.8em;
     font-size: 0.85em;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}
 
.side-note {
    font-size: 0.85em;
    margin: 10px 0 0;
    color: #555;
}
}


.ascii-divider {
.chanpost-empty {
     color: #a5d6a7;
    padding: 24px;
     font-family: monospace;
    text-align: center;
    color: #888;
    font-weight: bold;
}
 
/* ---------- 冒犯提示条 ---------- */
.chanmoe-offense-bar {
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #c8e6c9;
    font-size: 0.95em;
    background: rgba(255,255,255,0.4);
     color: #333;
}
 
.chanmoe-offense-bar a {
    color: #c41e3a;
    font-weight: bold;
}
 
/* ---------- 你知道吗 ---------- */
.chanmoe-dyk {
    padding-bottom: 16px;
}
 
.dyk-list {
    padding: 4px 2px;
}
 
.dyk-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    margin-bottom: 10px;
    background: #f8faf8;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
    transition: all 0.2s ease;
}
 
.dyk-item:hover {
    background: #e8f5e9;
    transform: translateX(4px);
}
 
.dyk-num {
     font-family: 'Courier New', monospace;
    font-size: 1.6em;
    font-weight: 900;
    color: #4CAF50;
    line-height: 1;
    min-width: 32px;
     text-align: center;
     text-align: center;
     font-size: 0.9em;
    opacity: 0.7;
     margin: 10px 0;
}
 
.dyk-text {
    color: #333;
    line-height: 1.7;
     font-size: 0.95em;
    padding-top: 2px;
}
 
.dyk-text a {
    color: #1565c0;
     text-decoration: none;
    border-bottom: 1px dotted #1565c0;
}
 
.dyk-text a:hover {
    color: #0d47a1;
    border-bottom-style: solid;
}
}


/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
@media (max-width: 768px) {
     .chanmoegrid {
     .chanmoegrid {
         flex-direction: column;
         flex-direction: column;
    }
    .chanmoecard {
        padding: 20px;
     }
     }
}
}


/* ========== 系统暗色模式(暗紫色版) ========== */
/* ========================================
  暗色模式:纯正黑红构成主义
  注意:绝对禁止任何绿色/青色调
  ======================================== */
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     /* 全局背景与基础文字 */
     /* 全局背景:纯黑,不是墨绿 */
     html,
     html,
     body,
     body,
第156行: 第345行:
     #bodyContent,
     #bodyContent,
     .mw-parser-output {
     .mw-parser-output {
         background-color: #1e1a2f !important;
         background-color: #0a0a0a !important;
         color: #e0d6e0 !important;
         color: #e8e8e8 !important;
     }
     }


     /* 覆盖所有常见文本元素,避免残存黑色 */
     /* 所有文字元素强制浅色,确保可读 */
     .mw-body p,
     .mw-body p,
     .mw-body li,
     .mw-body li,
第176行: 第365行:
     .mw-parser-output li,
     .mw-parser-output li,
     .mw-parser-output h2,
     .mw-parser-output h2,
     .mw-parser-output h3 {
     .mw-parser-output h3,
         color: #e0d6e0;
    .mw-parser-output div,
    .mw-parser-output span {
         color: #e8e8e8 !important;
     }
     }


     /* 通用链接 */
     /* 链接:高对比亮红 */
     a {
     a {
         color: #ce93d8;
         color: #ff3333 !important;
        text-decoration: none;
        font-weight: 700;
        border-bottom: 1px solid transparent;
     }
     }
     a:hover {
     a:hover {
         color: #f3e5f5;
         color: #ffffff !important;
        border-bottom-color: #ff3333;
     }
     }
     a:visited {
     a:visited {
         color: #b39ddb;
         color: #cc4444 !important;
    }
 
    /* ---------- 布局 ---------- */
    .chanmoegrid {
        gap: 24px;
        padding: 24px;
     }
     }


     /* 卡片容器 */
     /* 卡片:深灰黑底,红色应力线 */
     .chanmoecard {
     .chanmoecard {
         background: #2b2438;
         background: #141414 !important;
         box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
        border-radius: 0 !important;
         border-color: #4a3b5c;
         box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
        padding: 24px;
         border: 2px solid #2a2a2a;
        position: relative;
        overflow: hidden;
    }
 
    .chanmoecard::before {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 6px; height: 100%;
        background: #c41e3a;
        z-index: 1;
     }
     }
     .chanmoecard:hover {
     .chanmoecard:hover {
         border-color: #ab47bc;
         border-color: #c41e3a;
        box-shadow: 6px 6px 0 rgba(196, 30, 58, 0.25);
        transform: translate(-1px, -1px);
     }
     }


     /* 欢迎横幅 */
     /* ---------- 欢迎区 ---------- */
     .chanmoe-welcome {
     .chanmoe-welcome {
         background: linear-gradient(135deg, #3d2c4a, #5c3f6b);
         background: #0f0f0f !important;
         color: #f3e5f5;
        color: #ffffff !important;
        border-radius: 0 !important;
         border: 3px solid #c41e3a;
        position: relative;
        padding: 44px 32px;
     }
     }


     /* 区块标题 */
    .chanmoe-welcome::after {
        content: "";
        position: absolute;
        top: 0; right: 0;
        width: 160px; height: 160px;
        background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(196, 30, 58, 0.12) 8px,
            rgba(196, 30, 58, 0.12) 16px
        );
        clip-path: polygon(100% 0, 0 0, 100% 100%);
        pointer-events: none;
    }
 
    .welcome-title {
        font-size: 2.4em;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        text-shadow: 4px 4px 0 #c41e3a;
        color: #ffffff !important;
        position: relative;
        z-index: 2;
    }
 
    .welcome-sub {
        display: inline-block;
        background: #ffffff !important;
        color: #000000 !important;
        padding: 6px 20px;
        font-weight: 900;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        transform: skewX(-10deg);
        border: 2px solid #c41e3a;
        margin-top: 14px;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
    }
 
    .ascii-divider {
        color: #c41e3a !important;
        font-weight: 900;
        letter-spacing: 0.25em;
        border-top: 2px solid #333333;
        border-bottom: 2px solid #333333;
        padding: 10px 0;
        margin: 24px auto;
        max-width: 600px;
        position: relative;
        z-index: 2;
    }
 
    .welcome-nav {
        margin-top: 24px;
        position: relative;
        z-index: 2;
    }
 
     /* ---------- 标题 ---------- */
     .chanmoe-title {
     .chanmoe-title {
         color: #ce93d8;
        font-size: 1.2em;
         border-bottom-color: #ab47bc;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
         color: #ffffff !important;
         border-bottom: 3px solid #c41e3a;
        padding: 0 0 10px 18px;
        position: relative;
        background: transparent !important;
     }
     }


     /* 按钮网格 */
    .chanmoe-title::before {
        content: "▶";
        position: absolute;
        left: 0;
        top: -2px;
        color: #c41e3a;
    }
 
    .chanmoe-news .chanmoe-title {
        background: #000000 !important;
        border-bottom: 2px solid #c41e3a;
        padding: 14px 20px;
        margin: 0;
        border-radius: 0 !important;
    }
 
     /* ---------- 按钮:斜切 ---------- */
     .chanboard-btn {
     .chanboard-btn {
         background: #3d2c4a;
         background: transparent !important;
         color: #d1c4e9;
         color: #cccccc !important;
         box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
         border-radius: 0 !important;
        border: 2px solid #444444;
        font-family: 'Helvetica Neue', 'Arial', sans-serif;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transform: skewX(-10deg);
        box-shadow: none;
     }
     }
    .chanboard-btn a {
        color: inherit !important;
        text-decoration: none;
        display: inline-block;
        transform: skewX(10deg);
    }
     .chanboard-btn:hover {
     .chanboard-btn:hover {
         background: #5c3f6b;
         background: #c41e3a !important;
         color: #ffffff;
         color: #ffffff !important;
        border-color: #c41e3a;
        box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
        transform: skewX(-10deg) translateY(-2px);
    }
 
    /* ---------- 新闻 ---------- */
    .news-list {
        padding: 20px 24px;
    }
 
    .news-item {
        border-bottom: 1px solid #2a2a2a;
        padding-bottom: 16px;
        margin-bottom: 16px;
        transition: all 0.2s;
    }
 
    .news-item:hover {
        background: rgba(196, 30, 58, 0.06);
        padding-left: 8px;
    }
 
    .news-item:last-child {
        border-bottom: none;
    }
 
    .news-date {
        font-family: 'Courier New', monospace;
        font-weight: 900;
        color: #ff4444 !important;
        background: #1a1a1a;
        padding: 3px 12px;
        border: 1px solid #444;
        display: inline-block;
        transform: skewX(-6deg);
        margin-bottom: 8px;
        font-size: 1.05em;
    }
 
    .news-body {
        color: #bbbbbb !important;
    }
 
    .news-footer {
        background: #000000 !important;
        border-top: 2px solid #c41e3a;
        text-align: right;
        font-weight: 900;
        text-transform: uppercase;
        font-size: 0.85em;
        letter-spacing: 0.06em;
        padding: 12px 20px;
     }
     }


     /* 列表 */
    .news-footer a {
        color: #ff4444 !important;
        border-bottom: 1px solid #c41e3a;
    }
 
    .news-footer a:hover {
        color: #ffffff !important;
    }
 
     /* ---------- 列表 ---------- */
     .chanlist li {
     .chanlist li {
         border-bottom-color: #4a3b5c;
         border-bottom-color: #2a2a2a;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        padding: 10px 0 10px 22px;
        position: relative;
        color: #cccccc !important;
    }
 
    .chanlist li::before {
        content: "▸";
        position: absolute;
        left: 0;
        color: #c41e3a;
        font-size: 1.3em;
        top: 8px;
     }
     }
     .chanlist a {
     .chanlist a {
         color: #d1c4e9;
         color: #dddddd !important;
        border-bottom: none;
     }
     }
     .chanlist a:hover {
     .chanlist a:hover {
         color: #f3e5f5;
         color: #ff4444 !important;
    }
 
    .chanlist li:hover {
        padding-left: 26px;
        background: rgba(196, 30, 58, 0.08);
     }
     }


     /* 帖子卡片 */
    .chanlist li:hover::before {
        content: "▶";
    }
 
     /* ---------- 留言 ---------- */
     .chanpost {
     .chanpost {
         background: #332940;
         background: #161616 !important;
         border-left-color: #ab47bc;
        border-radius: 0 !important;
         color: #e0d6e0;
         border-left: 4px solid #c41e3a;
         color: #aaaaaa !important;
     }
     }
     .chanpost .post-no {
 
         color: #bdbdbd;
     .post-no {
         color: #c41e3a !important;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.1em;
     }
     }


     /* ASCII 分隔线 */
    .side-note {
     .ascii-divider {
        color: #777777 !important;
         color: #ce93d8;
    }
 
    .side-note a {
        color: #ff4444 !important;
    }
 
    .chanpost-empty {
        color: #555555 !important;
    }
 
    /* ---------- 冒犯提示条 ---------- */
    .chanmoe-offense-bar {
        background: #c41e3a !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 0 !important;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
        position: relative;
        z-index: 2;
    }
 
    .chanmoe-offense-bar a {
        color: #ffffff !important;
        text-decoration: underline;
        text-decoration-thickness: 2px;
        border-bottom: none;
    }
 
     /* ---------- 你知道吗 ---------- */
     .dyk-item {
        background: #161616 !important;
        border-radius: 0 !important;
        border-left: 4px solid #c41e3a;
    }
 
    .dyk-item:hover {
        background: #1c1c1c !important;
        transform: translateX(8px);
        border-left-width: 8px;
    }
 
    .dyk-num {
         color: #ff4444 !important;
        opacity: 1;
        font-size: 2em;
        font-style: italic;
        transform: skewX(-6deg);
        min-width: 40px;
     }
     }


    /* ---------- 新闻区暗色适配 ---------- */
     .dyk-text {
    /* 新闻框整体容器 */
         color: #cccccc !important;
     .chanmoe-main div[style*="border-radius:16px"][style*="box-shadow:0 2px 8px"] {
         background: #2b2438 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
     }
     }


    /* 新闻顶部标题栏 */
     .dyk-text a {
     .chanmoe-main div[style*="border-radius:16px"] > div:first-child {
         color: #ff5555 !important;
        background: #3d2c4a !important;
         border-bottom: 1px solid #c41e3a;
         color: #ce93d8 !important;
         border-bottom-color: #ab47bc !important;
     }
     }


    /* 新闻内容区整体 */
     .dyk-text a:hover {
     .chanmoe-main div[style*="line-height:1.6"] {
        background: #c41e3a;
         color: #e0d6e0;
         color: #ffffff !important;
        padding: 0 4px;
        border-bottom-color: transparent;
     }
     }


     /* 新闻条目标题(红色文字 #662222) */
     /* ---------- 黑幕 ---------- */
     .chanmoe-main div[style*="font-weight:bold"][style*="color:#662222"] {
     .heimu,
         color: #f3e5f5 !important;
    .heimu a,
    a .heimu,
    .heimu a.new {
        background-color: #1a1a1a !important;
         color: #1a1a1a !important;
     }
     }


     /* 新闻条目之间的分隔线 */
     .heimu:hover,
     .chanmoe-main div[style*="border-bottom:1px solid #e6f4e6"] {
     .heimu:active {
         border-bottom-color: #4a3b5c !important;
         color: #ffffff !important;
     }
     }


     /* 底部归档栏 */
     .heimu:hover a,
     .chanmoe-main div[style*="text-align:right"][style*="background:#e6f4e6"] {
     a:hover .heimu,
         background: #3d2c4a !important;
    .heimu:active a,
        border-top-color: #ab47bc !important;
    a:active .heimu {
         color: #ff4444 !important;
     }
     }
}
/* ---------- 剧透文字(全局) ---------- */
.spoiler-text {
    transition: background 0.2s, color 0.2s;
}
.spoiler-text.revealed {
    background: transparent !important;
    color: inherit !important;
}
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
    background-color: #252525;
    color: #252525;
    text-shadow: none;
    cursor: pointer;
}
.heimu:hover,
.heimu:active {
    color: white !important;
}
.heimu:hover a,
a:hover .heimu,
.heimu:active a,
a:active .heimu {
    color: lightblue !important;
}
}

2026年5月29日 (五) 20:20的最新版本

/* ========================================
   简中Robloxian Wiki — 亮色:清新淡绿
   暗色:纯正黑红构成主义(自动跟随系统)
   ======================================== */

/* ---------- 基础 ---------- */
html {
    background-color: #e6f5e6;
}

body,
#content,
.mw-body,
.mw-page-container,
#bodyContent {
    background-color: #e6f5e6 !important;
    color: #1a1a1a;
    font-family: 'Helvetica Neue', 'Arial', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

.mw-parser-output {
    background: transparent;
}

/* ---------- 布局 ---------- */
.chanmoegrid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.chanmoecard {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    padding: 24px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.chanmoecard:hover {
    border-color: #a5d6a7;
}

.chanmoe-welcome {
    flex: 1 1 100%;
    background: linear-gradient(135deg, #c8e6c9, #dcedc1);
    color: #1f3b1f;
    text-align: center;
    border-radius: 24px;
    padding: 36px 24px;
}

.chanmoe-main {
    flex: 2;
    min-width: 280px;
}

.chanmoe-side {
    flex: 1;
    min-width: 250px;
}

/* ---------- 欢迎区 ---------- */
.welcome-title {
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0;
}

.welcome-sub {
    font-size: 1.1em;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    margin: 0;
}

.ascii-divider {
    color: #a5d6a7;
    font-family: monospace;
    text-align: center;
    font-size: 0.9em;
    margin: 14px 0;
}

.welcome-nav {
    margin-top: 16px;
}

/* ---------- 标题 ---------- */
.chanmoe-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 3px dashed #80cbc4;
    color: #0066cc;
}

/* ---------- 按钮 ---------- */
.chanboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chanboard-btn {
    background: #e8f5e9;
    padding: 10px 18px;
    border-radius: 30px;
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    font-family: "Courier New", monospace;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: inline-block;
    transition: all 0.2s;
    border: none;
}

.chanboard-btn a {
    color: inherit;
    text-decoration: none;
}

.chanboard-btn:hover {
    background: #b9f6ca;
    color: #000;
    transform: translateY(-2px);
}

/* ---------- 新闻 ---------- */
.chanmoe-news {
    padding: 0;
    overflow: hidden;
}

.chanmoe-news .chanmoe-title {
    background: #e6f4e6;
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px dashed #88cccc;
    border-radius: 20px 20px 0 0;
}

.news-list {
    padding: 18px 22px;
    line-height: 1.6;
}

.news-item {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-date {
    font-size: 1.1em;
    font-weight: bold;
    color: #662222;
    margin-bottom: 6px;
}

.news-body {
    color: #333;
}

.news-footer {
    text-align: right;
    padding: 10px 20px;
    background: #e6f4e6;
    border-top: 1px dashed #88cccc;
    font-size: 0.9em;
}

.news-footer a {
    color: #0066cc;
    text-decoration: none;
}

/* ---------- 列表 ---------- */
.chanlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chanlist li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95em;
}

.chanlist li:last-child {
    border-bottom: none;
}

.chanlist a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.chanlist a:hover {
    color: #003c8f;
    text-decoration: underline;
}

/* ---------- 留言 ---------- */
.chanpost {
    background: #f1f8e9;
    border-radius: 12px;
    padding: 14px;
    margin-top: 10px;
    border-left: 4px solid #66bb6a;
    line-height: 1.6;
}

.post-no {
    color: #757575;
    font-size: 0.85em;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.side-note {
    font-size: 0.85em;
    margin: 10px 0 0;
    color: #555;
}

.chanpost-empty {
    padding: 24px;
    text-align: center;
    color: #888;
    font-weight: bold;
}

/* ---------- 冒犯提示条 ---------- */
.chanmoe-offense-bar {
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #c8e6c9;
    font-size: 0.95em;
    background: rgba(255,255,255,0.4);
    color: #333;
}

.chanmoe-offense-bar a {
    color: #c41e3a;
    font-weight: bold;
}

/* ---------- 你知道吗 ---------- */
.chanmoe-dyk {
    padding-bottom: 16px;
}

.dyk-list {
    padding: 4px 2px;
}

.dyk-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    margin-bottom: 10px;
    background: #f8faf8;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
    transition: all 0.2s ease;
}

.dyk-item:hover {
    background: #e8f5e9;
    transform: translateX(4px);
}

.dyk-num {
    font-family: 'Courier New', monospace;
    font-size: 1.6em;
    font-weight: 900;
    color: #4CAF50;
    line-height: 1;
    min-width: 32px;
    text-align: center;
    opacity: 0.7;
}

.dyk-text {
    color: #333;
    line-height: 1.7;
    font-size: 0.95em;
    padding-top: 2px;
}

.dyk-text a {
    color: #1565c0;
    text-decoration: none;
    border-bottom: 1px dotted #1565c0;
}

.dyk-text a:hover {
    color: #0d47a1;
    border-bottom-style: solid;
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
    .chanmoegrid {
        flex-direction: column;
    }
    .chanmoecard {
        padding: 20px;
    }
}

/* ========================================
   暗色模式:纯正黑红构成主义
   注意:绝对禁止任何绿色/青色调
   ======================================== */
@media (prefers-color-scheme: dark) {
    /* 全局背景:纯黑,不是墨绿 */
    html,
    body,
    #content,
    .mw-body,
    .mw-page-container,
    #bodyContent,
    .mw-parser-output {
        background-color: #0a0a0a !important;
        color: #e8e8e8 !important;
    }

    /* 所有文字元素强制浅色,确保可读 */
    .mw-body p,
    .mw-body li,
    .mw-body td,
    .mw-body th,
    .mw-body h1,
    .mw-body h2,
    .mw-body h3,
    .mw-body h4,
    .mw-body h5,
    .mw-body h6,
    #firstHeading,
    .mw-page-title-main,
    .mw-parser-output p,
    .mw-parser-output li,
    .mw-parser-output h2,
    .mw-parser-output h3,
    .mw-parser-output div,
    .mw-parser-output span {
        color: #e8e8e8 !important;
    }

    /* 链接:高对比亮红 */
    a {
        color: #ff3333 !important;
        text-decoration: none;
        font-weight: 700;
        border-bottom: 1px solid transparent;
    }
    a:hover {
        color: #ffffff !important;
        border-bottom-color: #ff3333;
    }
    a:visited {
        color: #cc4444 !important;
    }

    /* ---------- 布局 ---------- */
    .chanmoegrid {
        gap: 24px;
        padding: 24px;
    }

    /* 卡片:深灰黑底,红色应力线 */
    .chanmoecard {
        background: #141414 !important;
        border-radius: 0 !important;
        box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
        padding: 24px;
        border: 2px solid #2a2a2a;
        position: relative;
        overflow: hidden;
    }

    .chanmoecard::before {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 6px; height: 100%;
        background: #c41e3a;
        z-index: 1;
    }

    .chanmoecard:hover {
        border-color: #c41e3a;
        box-shadow: 6px 6px 0 rgba(196, 30, 58, 0.25);
        transform: translate(-1px, -1px);
    }

    /* ---------- 欢迎区 ---------- */
    .chanmoe-welcome {
        background: #0f0f0f !important;
        color: #ffffff !important;
        border-radius: 0 !important;
        border: 3px solid #c41e3a;
        position: relative;
        padding: 44px 32px;
    }

    .chanmoe-welcome::after {
        content: "";
        position: absolute;
        top: 0; right: 0;
        width: 160px; height: 160px;
        background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(196, 30, 58, 0.12) 8px,
            rgba(196, 30, 58, 0.12) 16px
        );
        clip-path: polygon(100% 0, 0 0, 100% 100%);
        pointer-events: none;
    }

    .welcome-title {
        font-size: 2.4em;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        text-shadow: 4px 4px 0 #c41e3a;
        color: #ffffff !important;
        position: relative;
        z-index: 2;
    }

    .welcome-sub {
        display: inline-block;
        background: #ffffff !important;
        color: #000000 !important;
        padding: 6px 20px;
        font-weight: 900;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        transform: skewX(-10deg);
        border: 2px solid #c41e3a;
        margin-top: 14px;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
    }

    .ascii-divider {
        color: #c41e3a !important;
        font-weight: 900;
        letter-spacing: 0.25em;
        border-top: 2px solid #333333;
        border-bottom: 2px solid #333333;
        padding: 10px 0;
        margin: 24px auto;
        max-width: 600px;
        position: relative;
        z-index: 2;
    }

    .welcome-nav {
        margin-top: 24px;
        position: relative;
        z-index: 2;
    }

    /* ---------- 标题 ---------- */
    .chanmoe-title {
        font-size: 1.2em;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #ffffff !important;
        border-bottom: 3px solid #c41e3a;
        padding: 0 0 10px 18px;
        position: relative;
        background: transparent !important;
    }

    .chanmoe-title::before {
        content: "▶";
        position: absolute;
        left: 0;
        top: -2px;
        color: #c41e3a;
    }

    .chanmoe-news .chanmoe-title {
        background: #000000 !important;
        border-bottom: 2px solid #c41e3a;
        padding: 14px 20px;
        margin: 0;
        border-radius: 0 !important;
    }

    /* ---------- 按钮:斜切 ---------- */
    .chanboard-btn {
        background: transparent !important;
        color: #cccccc !important;
        border-radius: 0 !important;
        border: 2px solid #444444;
        font-family: 'Helvetica Neue', 'Arial', sans-serif;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transform: skewX(-10deg);
        box-shadow: none;
    }

    .chanboard-btn a {
        color: inherit !important;
        text-decoration: none;
        display: inline-block;
        transform: skewX(10deg);
    }

    .chanboard-btn:hover {
        background: #c41e3a !important;
        color: #ffffff !important;
        border-color: #c41e3a;
        box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
        transform: skewX(-10deg) translateY(-2px);
    }

    /* ---------- 新闻 ---------- */
    .news-list {
        padding: 20px 24px;
    }

    .news-item {
        border-bottom: 1px solid #2a2a2a;
        padding-bottom: 16px;
        margin-bottom: 16px;
        transition: all 0.2s;
    }

    .news-item:hover {
        background: rgba(196, 30, 58, 0.06);
        padding-left: 8px;
    }

    .news-item:last-child {
        border-bottom: none;
    }

    .news-date {
        font-family: 'Courier New', monospace;
        font-weight: 900;
        color: #ff4444 !important;
        background: #1a1a1a;
        padding: 3px 12px;
        border: 1px solid #444;
        display: inline-block;
        transform: skewX(-6deg);
        margin-bottom: 8px;
        font-size: 1.05em;
    }

    .news-body {
        color: #bbbbbb !important;
    }

    .news-footer {
        background: #000000 !important;
        border-top: 2px solid #c41e3a;
        text-align: right;
        font-weight: 900;
        text-transform: uppercase;
        font-size: 0.85em;
        letter-spacing: 0.06em;
        padding: 12px 20px;
    }

    .news-footer a {
        color: #ff4444 !important;
        border-bottom: 1px solid #c41e3a;
    }

    .news-footer a:hover {
        color: #ffffff !important;
    }

    /* ---------- 列表 ---------- */
    .chanlist li {
        border-bottom-color: #2a2a2a;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        padding: 10px 0 10px 22px;
        position: relative;
        color: #cccccc !important;
    }

    .chanlist li::before {
        content: "▸";
        position: absolute;
        left: 0;
        color: #c41e3a;
        font-size: 1.3em;
        top: 8px;
    }

    .chanlist a {
        color: #dddddd !important;
        border-bottom: none;
    }

    .chanlist a:hover {
        color: #ff4444 !important;
    }

    .chanlist li:hover {
        padding-left: 26px;
        background: rgba(196, 30, 58, 0.08);
    }

    .chanlist li:hover::before {
        content: "▶";
    }

    /* ---------- 留言 ---------- */
    .chanpost {
        background: #161616 !important;
        border-radius: 0 !important;
        border-left: 4px solid #c41e3a;
        color: #aaaaaa !important;
    }

    .post-no {
        color: #c41e3a !important;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .side-note {
        color: #777777 !important;
    }

    .side-note a {
        color: #ff4444 !important;
    }

    .chanpost-empty {
        color: #555555 !important;
    }

    /* ---------- 冒犯提示条 ---------- */
    .chanmoe-offense-bar {
        background: #c41e3a !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 0 !important;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
        position: relative;
        z-index: 2;
    }

    .chanmoe-offense-bar a {
        color: #ffffff !important;
        text-decoration: underline;
        text-decoration-thickness: 2px;
        border-bottom: none;
    }

    /* ---------- 你知道吗 ---------- */
    .dyk-item {
        background: #161616 !important;
        border-radius: 0 !important;
        border-left: 4px solid #c41e3a;
    }

    .dyk-item:hover {
        background: #1c1c1c !important;
        transform: translateX(8px);
        border-left-width: 8px;
    }

    .dyk-num {
        color: #ff4444 !important;
        opacity: 1;
        font-size: 2em;
        font-style: italic;
        transform: skewX(-6deg);
        min-width: 40px;
    }

    .dyk-text {
        color: #cccccc !important;
    }

    .dyk-text a {
        color: #ff5555 !important;
        border-bottom: 1px solid #c41e3a;
    }

    .dyk-text a:hover {
        background: #c41e3a;
        color: #ffffff !important;
        padding: 0 4px;
        border-bottom-color: transparent;
    }

    /* ---------- 黑幕 ---------- */
    .heimu,
    .heimu a,
    a .heimu,
    .heimu a.new {
        background-color: #1a1a1a !important;
        color: #1a1a1a !important;
    }

    .heimu:hover,
    .heimu:active {
        color: #ffffff !important;
    }

    .heimu:hover a,
    a:hover .heimu,
    .heimu:active a,
    a:active .heimu {
        color: #ff4444 !important;
    }
}

/* ---------- 剧透文字(全局) ---------- */
.spoiler-text {
    transition: background 0.2s, color 0.2s;
}

.spoiler-text.revealed {
    background: transparent !important;
    color: inherit !important;
}

.heimu,
.heimu a,
a .heimu,
.heimu a.new {
    background-color: #252525;
    color: #252525;
    text-shadow: none;
    cursor: pointer;
}

.heimu:hover,
.heimu:active {
    color: white !important;
}

.heimu:hover a,
a:hover .heimu,
.heimu:active a,
a:active .heimu {
    color: lightblue !important;
}