跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
无编辑摘要
标签:已被回退
第1行: 第1行:
/* ========================================
/* ========================================
   简中Robloxian Wiki — 4chan 清新淡绿
   简中Robloxian Wiki — 临床档案风格
   字号下调版
   Clinical Records Style v1.0 · 2026-09-06
   ======================================== */
   ======================================== */


*, *::before, *::after {
*, *::before, *::after { box-sizing: border-box; }
    box-sizing: border-box;
}


html {
html {
     background-color: #e6f5e6;
     background-color: #0e0e0e;
     font-size: 14px;
     font-size: 14px;
    color: #e0e0e0;
}
}


body,
body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output {
#content,
     background-color: #0e0e0e !important;
.mw-body,
     color: #d8d8d8 !important;
.mw-page-container,
     font-family: 'Courier New', 'Noto Sans SC', 'Microsoft YaHei', monospace;
#bodyContent {
     line-height: 1.65;
     background-color: #e6f5e6 !important;
     color: #1a1a1a;
     font-family: "Helvetica Neue", "Arial", "Noto Sans SC", "Microsoft YaHei", sans-serif;
     line-height: 1.6;
}
}


.mw-parser-output {
a { color: #b0b0b0; }
     background: transparent;
a:hover { color: #ffffff; }
 
.mw-parser-output { background: transparent; }
 
/* ---------- 顶部横幅(极简档案条) ---------- */
.custom-header {
     max-width: 960px;
    margin: 0 auto 24px auto;
    border-bottom: 1px solid #333;
    padding-bottom: 16px;
    text-align: center;
}
}


/* ---------- 布局 ---------- */
.custom-header h1 {
.chanmoegrid {
     font-size: 2em;
     display: flex;
     font-weight: 900;
     flex-wrap: wrap;
     letter-spacing: 0.18em;
     gap: 16px;
     color: #ccc;
     max-width: 1200px;
     margin: 0 0 6px 0;
     margin: 0 auto;
     text-transform: uppercase;
     padding: 16px;
}
}


.chanmoecard {
.custom-header .tagline {
     background: #ffffff;
     font-size: 0.85em;
    border-radius: 16px;
     color: #777;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
     font-style: italic;
     padding: 18px;
     border: 2px solid transparent;
    transition: all 0.2s ease;
    overflow: hidden;
}
}


.chanmoecard:hover {
.custom-header .ascii-bar {
     border-color: #a5d6a7;
    font-family: 'Courier New', monospace;
     font-size: 0.78em;
    color: #555;
    letter-spacing: 0.1em;
    margin: 8px 0;
}
}


.chanmoe-welcome {
.custom-header .nav-row a {
     flex: 1 1 100%;
     display: inline-block;
     background: linear-gradient(135deg, #c8e6c9, #dcedc1);
     background: #1a1a1a;
     color: #1f3b1f;
    border: 1px solid #333;
     text-align: center;
    padding: 5px 14px;
     border-radius: 20px;
    margin: 2px;
     padding: 28px 20px;
     color: #bbb;
     text-decoration: none;
     font-size: 0.8em;
     letter-spacing: 0.05em;
}
}


.chanmoe-main {
.custom-header .nav-row a:hover {
     flex: 2;
     background: #222;
     min-width: 280px;
    color: #fff;
     border-color: #c41e3a;
}
}


.chanmoe-side {
.custom-header .disclaimer-link {
     flex: 1;
     display: block;
     min-width: 250px;
    margin-top: 10px;
     font-size: 0.7em;
    color: #555;
}
}


/* ---------- 图文混排 ---------- */
.custom-header .disclaimer-link a { color: #888; }
.thumb {
 
     margin: 0;
/* ---------- 两栏主布局 ---------- */
.two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 960px;
     margin: 0 auto;
}
}


.thumb.tleft {
.col-main { flex: 2; min-width: 280px; }
    float: left;
.col-side { flex: 1; min-width: 240px; }
    margin: 4px 14px 12px 0 !important;
    max-width: 100%;
}


.thumb.tright {
/* ---------- 档案面板 ---------- */
     float: right;
.panel {
     margin: 4px 0 12px 14px !important;
     border: 1px solid #333;
     max-width: 100%;
     margin-bottom: 20px;
     background: #141414;
}
}


.thumbinner {
.panel-header {
     border: 1px solid #e0e0e0;
     background: #1a1a1a;
     background: #fafafa;
     color: #ccc;
     padding: 3px;
     padding: 8px 14px;
     border-radius: 6px;
    font-weight: bold;
    font-size: 0.95em;
    letter-spacing: 0.06em;
     border-bottom: 1px solid #333;
}
}


.thumbcaption {
.panel-header .label {
    font-family: 'Courier New', monospace;
    color: #888;
     font-size: 0.8em;
     font-size: 0.8em;
     color: #666;
     margin-left: 8px;
    padding: 4px 3px 3px;
     letter-spacing: 0.1em;
    text-align: center;
     border-top: 1px solid #e8e8e8;
    margin-top: 3px;
}
}


.thumb img {
.panel-body { padding: 12px 14px; }
     max-width: 100%;
 
     height: auto;
.panel-body p { margin: 0 0 10px 0; }
     border-radius: 4px;
.panel-body ul { margin: 0; padding-left: 18px; }
     display: block;
.panel-body li { margin-bottom: 4px; font-size: 0.9em; }
 
/* ---------- 档案强调块 ---------- */
.rec {
     border-left: 3px solid #555;
    background: #1a1a1a;
    padding: 10px 14px;
     margin: 10px 0;
     font-size: 0.9em;
     line-height: 1.65;
}
}


/* ---------- 欢迎区 ---------- */
.rec.warn { border-left-color: #c41e3a; }
.welcome-title {
.rec.note { border-left-color: #888; }
    font-size: 1.6em;
.rec .label {
     font-weight: bold;
     font-weight: bold;
     margin: 8px 0;
    color: #aaa;
     margin-bottom: 4px;
    display: block;
}
}


.welcome-sub {
/* ---------- 信息卡(人物/组织) ---------- */
     font-size: 1em;
.infocard {
     background: linear-gradient(90deg, #4CAF50, #2196F3);
     float: right;
     -webkit-background-clip: text;
     width: 280px;
     background-clip: text;
     margin: 0 0 18px 20px;
     color: transparent;
     border: 1px solid #444;
     font-weight: 500;
     font-size: 0.85em;
     margin: 0;
     background: #161616;
     page-break-inside: avoid;
}
}


.ascii-divider {
.infocard .ic-header {
     color: #a5d6a7;
    background: #1a1a1a;
     font-family: monospace;
     color: #ccc;
    padding: 6px 10px;
    font-weight: bold;
     font-size: 0.95em;
     text-align: center;
     text-align: center;
     font-size: 0.85em;
     border-bottom: 1px solid #444;
     margin: 10px 0;
     letter-spacing: 0.05em;
}
}


.welcome-nav {
.infocard table { width: 100%; border-collapse: collapse; }
     margin-top: 12px;
.infocard td, .infocard th {
     padding: 4px 8px;
    border-bottom: 1px solid #2a2a2a;
    vertical-align: top;
    font-size: 0.92em;
}
}
 
.infocard td.k {
/* ---------- 标题 ---------- */
     color: #999;
.chanmoe-title {
     font-size: 1.1em;
     font-weight: bold;
     font-weight: bold;
     margin-bottom: 10px;
     width: 32%;
    padding-bottom: 8px;
     white-space: nowrap;
     border-bottom: 2px dashed #80cbc4;
    color: #0066cc;
}
}
 
.infobox-img {
/* ---------- 按钮 ---------- */
     text-align: center;
.chanboard-grid {
     padding: 8px;
     display: flex;
     border-bottom: 1px solid #333;
     flex-wrap: wrap;
     gap: 8px;
}
}
 
.infobox-img img {
.chanboard-btn {
     max-width: 120px;
     background: #e8f5e9;
     height: auto;
    padding: 8px 14px;
     filter: grayscale(100%);
    border-radius: 24px;
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
     font-family: "Courier New", monospace;
     box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: inline-block;
    transition: all 0.2s;
    border: none;
    font-size: 0.9em;
}
}
 
.infobox-img .cap {
.chanboard-btn a {
    display: block;
     color: inherit;
    font-size: 0.75em;
     text-decoration: none;
     color: #777;
     margin-top: 4px;
}
}


.chanboard-btn:hover {
/* ---------- 涂黑(档案遮盖) ---------- */
     background: #b9f6ca;
.heimu, .heimu a, a .heimu, .heimu a.new {
     background-color: #000;
     color: #000;
     color: #000;
     transform: translateY(-2px);
     text-shadow: none;
    padding: 0 4px;
    cursor: default;
}
}
 
.heimu:hover, .heimu:active, .heimu.reveal {
/* ---------- 新闻 ---------- */
     color: #ddd !important;
.chanmoe-news {
     background-color: #000;
     padding: 0;
     overflow: hidden;
}
}
 
.heimu:hover a, a:hover .heimu, .heimu:active a, a:active .heimu,
.chanmoe-news .chanmoe-title {
.heimu.reveal a, a.heimu.reveal {
    background: #e6f4e6;
     color: #8ab4f8 !important;
    padding: 10px 16px;
    margin: 0;
     border-bottom: 1px dashed #88cccc;
    border-radius: 16px 16px 0 0;
}
}


.news-list {
/* ---------- 模板角标(临床版) ---------- */
     padding: 14px 18px;
.template-badge {
     line-height: 1.6;
     border: 1px solid #444;
}
     background: #141414;
 
    padding: 6px 12px;
.news-item {
     margin: 8px 0;
     margin-bottom: 12px;
     font-size: 0.82em;
     padding-bottom: 12px;
     color: #aaa;
     border-bottom: 1px solid #e0e0e0;
}
}


.news-item:last-child {
.template-badge .tb-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
 
.news-date {
    font-size: 0.95em;
     font-weight: bold;
     font-weight: bold;
     color: #662222;
     color: #ccc;
     margin-bottom: 4px;
    font-size: 0.9em;
    letter-spacing: 0.05em;
     margin-bottom: 6px;
}
}


.news-body {
.template-badge ul { margin: 0; padding-left: 16px; }
    color: #333;
.template-badge li { margin-bottom: 3px; }
    font-size: 0.95em;
}


.news-footer {
.template-badge.in-progress { border-color: #b8860b; }
    text-align: right;
.template-badge.in-progress .tb-header { color: #d4a017; }
    padding: 8px 16px;
    background: #e6f4e6;
    border-top: 1px dashed #88cccc;
    font-size: 0.85em;
}


.news-footer a {
.template-badge.exposed { border-color: #555; }
    color: #0066cc;
.template-badge.exposed .tb-header { color: #999; }
    text-decoration: none;
}


/* ---------- 列表 ---------- */
.template-badge.wanted { border-color: #8b0000; }
.chanlist {
.template-badge.wanted .tb-header { color: #c41e3a; }
    list-style: none;
    margin: 0;
    padding: 0;
}


.chanlist li {
.template-badge.under-invest { border-color: #666; }
    padding: 6px 0;
.template-badge.under-invest .tb-header { color: #bbb; }
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9em;
}


.chanlist li:last-child {
.template-badge.record-complete { border-color: #444; }
    border-bottom: none;
.template-badge.record-complete .tb-header { color: #888; }
}


.chanlist a {
/* ---------- 折叠块 ---------- */
     color: #0066cc;
.collapsible-box {
     text-decoration: none;
     border: 1px solid #333;
     font-weight: bold;
     margin: 14px 0;
     background: #141414;
}
}


.chanlist a:hover {
.collapsible-box .cb-header {
     color: #003c8f;
    background: #1a1a1a;
     text-decoration: underline;
     color: #aaa;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85em;
    border-bottom: 1px solid #333;
     user-select: none;
}
}


/* ---------- 留言 ---------- */
.collapsible-box .cb-header:hover { background: #222; color: #ccc; }
.chanpost {
.collapsible-box .cb-body { padding: 12px; }
    background: #f1f8e9;
    border-radius: 10px;
    padding: 12px;
    margin-top: 8px;
    border-left: 3px solid #66bb6a;
    line-height: 1.6;
    font-size: 0.9em;
}


.post-no {
/* ---------- 人物/组织页面 ---------- */
     color: #757575;
.entity-title {
     font-size: 0.8em;
     font-size: 1.8em;
     font-weight: bold;
     font-weight: 900;
     display: block;
    letter-spacing: 0.1em;
     margin-bottom: 3px;
    color: #ccc;
     border-bottom: 2px solid #444;
     padding-bottom: 8px;
     margin: 0 0 16px 0;
}
}


.side-note {
.record-section {
     font-size: 0.8em;
     border-left: 2px solid #333;
     margin: 8px 0 0;
     padding-left: 14px;
     color: #555;
     margin: 18px 0;
}
}


.chanpost-empty {
.record-section h3 {
     padding: 20px;
     font-size: 1.05em;
    text-align: center;
     color: #bbb;
     color: #888;
     margin: 0 0 8px 0;
     font-weight: bold;
     letter-spacing: 0.05em;
     font-size: 0.9em;
}
}


/* ---------- 冒犯提示条 ---------- */
.record-section h3 .num {
.chanmoe-offense-bar {
     color: #666;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #c8e6c9;
    font-size: 0.85em;
    background: rgba(255,255,255,0.4);
    color: #333;
}
 
.chanmoe-offense-bar a {
     color: #c41e3a;
     font-weight: bold;
     font-weight: bold;
    margin-right: 6px;
}
}


/* ---------- 你知道吗 ---------- */
.rec-chrono { font-size: 0.9em; line-height: 1.7; }
.chanmoe-dyk {
.rec-chrono dt { font-weight: bold; color: #aaa; margin-top: 8px; }
    padding-bottom: 12px;
.rec-chrono dd { margin-left: 16px; color: #bbb; }
}


.dyk-list {
/* ---------- 引用块 ---------- */
     padding: 2px;
.rec-quote {
    border-left: 3px solid #444;
    background: #181818;
     padding: 8px 12px;
    margin: 12px 0;
    font-size: 0.88em;
    color: #aaa;
    font-style: italic;
}
}


.dyk-item {
.rec-quote cite {
     display: flex;
     display: block;
     align-items: flex-start;
     margin-top: 6px;
     gap: 10px;
     font-size: 0.8em;
    padding: 10px;
     color: #777;
    margin-bottom: 8px;
     font-style: normal;
     background: #f8faf8;
     border-radius: 10px;
    border-left: 3px solid #4CAF50;
    transition: all 0.2s ease;
}
}


.dyk-item:hover {
/* ---------- 事件时间线 ---------- */
     background: #e8f5e9;
.timeline {
     transform: translateX(3px);
    border-left: 2px solid #333;
     padding-left: 14px;
     margin: 16px 0;
}
}


.dyk-num {
.timeline .t-event {
     font-family: "Courier New", monospace;
     margin-bottom: 14px;
     font-size: 1.3em;
     padding-bottom: 14px;
     font-weight: 900;
     border-bottom: 1px solid #222;
    color: #4CAF50;
    line-height: 1;
    min-width: 26px;
    text-align: center;
    opacity: 0.7;
}
}


.dyk-text {
.timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }
    color: #333;
    line-height: 1.6;
    font-size: 0.9em;
    padding-top: 2px;
}


.dyk-text a {
.timeline .t-date {
     color: #1565c0;
    font-family: 'Courier New', monospace;
     text-decoration: none;
    font-size: 0.85em;
     border-bottom: 1px dotted #1565c0;
     color: #888;
     font-weight: bold;
     margin-bottom: 4px;
}
}


.dyk-text a:hover {
.timeline .t-title { color: #bbb; font-weight: bold; margin-bottom: 4px; }
    color: #0d47a1;
.timeline .t-body { font-size: 0.9em; color: #aaa; line-height: 1.65; }
    border-bottom-style: solid;
}


/* ---------- 黑幕 ---------- */
/* ---------- 标签 ---------- */
.heimu,
.tag {
.heimu a,
    display: inline-block;
a .heimu,
    background: #1a1a1a;
.heimu a.new {
    border: 1px solid #333;
     background-color: #252525;
     color: #aaa;
     color: #252525;
     padding: 2px 8px;
     text-shadow: none;
    font-size: 0.75em;
     cursor: pointer;
     letter-spacing: 0.04em;
     margin: 1px;
}
}


.heimu:hover,
.tag.red { border-color: #8b0000; color: #c41e3a; }
.heimu:active {
.tag.yellow { border-color: #b8860b; color: #d4a017; }
    color: white !important;
.tag.grey { border-color: #555; color: #999; }
}


.heimu:hover a,
/* ---------- 移动端 ---------- */
a:hover .heimu,
.heimu:active a,
a:active .heimu {
    color: lightblue !important;
}
 
/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
@media (max-width: 768px) {
     html {
     html { font-size: 13px; }
        font-size: 13px;
     .two-col { flex-direction: column; gap: 12px; }
    }
     .infocard { float: none; width: 100%; margin: 12px 0; }
 
     .entity-title { font-size: 1.4em; }
     .chanmoegrid {
        flex-direction: column;
        padding: 8px;
        gap: 10px;
    }
 
    .chanmoecard {
        padding: 12px;
        border-radius: 12px;
    }
 
    .chanmoe-welcome {
        padding: 20px 12px;
        border-radius: 16px;
    }
 
    .welcome-title {
        font-size: 1.3em;
    }
 
    .welcome-sub {
        font-size: 0.9em;
    }
 
    .ascii-divider {
        font-size: 0.7em;
    }
 
    .chanmoe-title {
        font-size: 1em;
        padding-bottom: 6px;
        margin-bottom: 8px;
    }
 
    .chanboard-grid {
        justify-content: center;
        gap: 6px;
    }
 
    .chanboard-btn {
        padding: 6px 12px;
        font-size: 0.85em;
        border-radius: 20px;
    }
 
     .thumb.tleft,
    .thumb.tright {
        float: none;
        margin: 8px auto !important;
        max-width: min(100%, 260px);
    }
 
    .thumbcaption {
        font-size: 0.75em;
    }
 
    .news-list {
        padding: 10px 12px;
    }
 
    .news-date {
        font-size: 0.9em;
    }
 
     .news-body {
        font-size: 0.9em;
    }
 
    .news-footer {
        padding: 6px 12px;
        font-size: 0.8em;
    }
 
    .dyk-item {
        padding: 8px;
        gap: 6px;
    }
 
    .dyk-num {
        font-size: 1.1em;
        min-width: 20px;
    }
 
    .dyk-text {
        font-size: 0.85em;
    }
 
    .chanlist li {
        font-size: 0.85em;
        padding: 5px 0;
    }
 
    .chanpost {
        font-size: 0.85em;
        padding: 8px;
    }
 
    .post-no {
        font-size: 0.75em;
    }
 
    .chanmoe-offense-bar {
        font-size: 0.8em;
        padding: 6px 10px;
    }
}
}

2026年9月5日 (六) 20:21的版本

/* ========================================
   简中Robloxian Wiki — 临床档案风格
   Clinical Records Style v1.0 · 2026-09-06
   ======================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    background-color: #0e0e0e;
    font-size: 14px;
    color: #e0e0e0;
}

body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output {
    background-color: #0e0e0e !important;
    color: #d8d8d8 !important;
    font-family: 'Courier New', 'Noto Sans SC', 'Microsoft YaHei', monospace;
    line-height: 1.65;
}

a { color: #b0b0b0; }
a:hover { color: #ffffff; }

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

/* ---------- 顶部横幅(极简档案条) ---------- */
.custom-header {
    max-width: 960px;
    margin: 0 auto 24px auto;
    border-bottom: 1px solid #333;
    padding-bottom: 16px;
    text-align: center;
}

.custom-header h1 {
    font-size: 2em;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #ccc;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.custom-header .tagline {
    font-size: 0.85em;
    color: #777;
    font-style: italic;
}

.custom-header .ascii-bar {
    font-family: 'Courier New', monospace;
    font-size: 0.78em;
    color: #555;
    letter-spacing: 0.1em;
    margin: 8px 0;
}

.custom-header .nav-row a {
    display: inline-block;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 5px 14px;
    margin: 2px;
    color: #bbb;
    text-decoration: none;
    font-size: 0.8em;
    letter-spacing: 0.05em;
}

.custom-header .nav-row a:hover {
    background: #222;
    color: #fff;
    border-color: #c41e3a;
}

.custom-header .disclaimer-link {
    display: block;
    margin-top: 10px;
    font-size: 0.7em;
    color: #555;
}

.custom-header .disclaimer-link a { color: #888; }

/* ---------- 两栏主布局 ---------- */
.two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.col-main { flex: 2; min-width: 280px; }
.col-side { flex: 1; min-width: 240px; }

/* ---------- 档案面板 ---------- */
.panel {
    border: 1px solid #333;
    margin-bottom: 20px;
    background: #141414;
}

.panel-header {
    background: #1a1a1a;
    color: #ccc;
    padding: 8px 14px;
    font-weight: bold;
    font-size: 0.95em;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #333;
}

.panel-header .label {
    font-family: 'Courier New', monospace;
    color: #888;
    font-size: 0.8em;
    margin-left: 8px;
    letter-spacing: 0.1em;
}

.panel-body { padding: 12px 14px; }

.panel-body p { margin: 0 0 10px 0; }
.panel-body ul { margin: 0; padding-left: 18px; }
.panel-body li { margin-bottom: 4px; font-size: 0.9em; }

/* ---------- 档案强调块 ---------- */
.rec {
    border-left: 3px solid #555;
    background: #1a1a1a;
    padding: 10px 14px;
    margin: 10px 0;
    font-size: 0.9em;
    line-height: 1.65;
}

.rec.warn { border-left-color: #c41e3a; }
.rec.note { border-left-color: #888; }
.rec .label {
    font-weight: bold;
    color: #aaa;
    margin-bottom: 4px;
    display: block;
}

/* ---------- 信息卡(人物/组织) ---------- */
.infocard {
    float: right;
    width: 280px;
    margin: 0 0 18px 20px;
    border: 1px solid #444;
    font-size: 0.85em;
    background: #161616;
    page-break-inside: avoid;
}

.infocard .ic-header {
    background: #1a1a1a;
    color: #ccc;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 0.95em;
    text-align: center;
    border-bottom: 1px solid #444;
    letter-spacing: 0.05em;
}

.infocard table { width: 100%; border-collapse: collapse; }
.infocard td, .infocard th {
    padding: 4px 8px;
    border-bottom: 1px solid #2a2a2a;
    vertical-align: top;
    font-size: 0.92em;
}
.infocard td.k {
    color: #999;
    font-weight: bold;
    width: 32%;
    white-space: nowrap;
}
.infobox-img {
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #333;
}
.infobox-img img {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
}
.infobox-img .cap {
    display: block;
    font-size: 0.75em;
    color: #777;
    margin-top: 4px;
}

/* ---------- 涂黑(档案遮盖) ---------- */
.heimu, .heimu a, a .heimu, .heimu a.new {
    background-color: #000;
    color: #000;
    text-shadow: none;
    padding: 0 4px;
    cursor: default;
}
.heimu:hover, .heimu:active, .heimu.reveal {
    color: #ddd !important;
    background-color: #000;
}
.heimu:hover a, a:hover .heimu, .heimu:active a, a:active .heimu,
.heimu.reveal a, a.heimu.reveal {
    color: #8ab4f8 !important;
}

/* ---------- 模板角标(临床版) ---------- */
.template-badge {
    border: 1px solid #444;
    background: #141414;
    padding: 6px 12px;
    margin: 8px 0;
    font-size: 0.82em;
    color: #aaa;
}

.template-badge .tb-header {
    font-weight: bold;
    color: #ccc;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.template-badge ul { margin: 0; padding-left: 16px; }
.template-badge li { margin-bottom: 3px; }

.template-badge.in-progress { border-color: #b8860b; }
.template-badge.in-progress .tb-header { color: #d4a017; }

.template-badge.exposed { border-color: #555; }
.template-badge.exposed .tb-header { color: #999; }

.template-badge.wanted { border-color: #8b0000; }
.template-badge.wanted .tb-header { color: #c41e3a; }

.template-badge.under-invest { border-color: #666; }
.template-badge.under-invest .tb-header { color: #bbb; }

.template-badge.record-complete { border-color: #444; }
.template-badge.record-complete .tb-header { color: #888; }

/* ---------- 折叠块 ---------- */
.collapsible-box {
    border: 1px solid #333;
    margin: 14px 0;
    background: #141414;
}

.collapsible-box .cb-header {
    background: #1a1a1a;
    color: #aaa;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85em;
    border-bottom: 1px solid #333;
    user-select: none;
}

.collapsible-box .cb-header:hover { background: #222; color: #ccc; }
.collapsible-box .cb-body { padding: 12px; }

/* ---------- 人物/组织页面 ---------- */
.entity-title {
    font-size: 1.8em;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #ccc;
    border-bottom: 2px solid #444;
    padding-bottom: 8px;
    margin: 0 0 16px 0;
}

.record-section {
    border-left: 2px solid #333;
    padding-left: 14px;
    margin: 18px 0;
}

.record-section h3 {
    font-size: 1.05em;
    color: #bbb;
    margin: 0 0 8px 0;
    letter-spacing: 0.05em;
}

.record-section h3 .num {
    color: #666;
    font-weight: bold;
    margin-right: 6px;
}

.rec-chrono { font-size: 0.9em; line-height: 1.7; }
.rec-chrono dt { font-weight: bold; color: #aaa; margin-top: 8px; }
.rec-chrono dd { margin-left: 16px; color: #bbb; }

/* ---------- 引用块 ---------- */
.rec-quote {
    border-left: 3px solid #444;
    background: #181818;
    padding: 8px 12px;
    margin: 12px 0;
    font-size: 0.88em;
    color: #aaa;
    font-style: italic;
}

.rec-quote cite {
    display: block;
    margin-top: 6px;
    font-size: 0.8em;
    color: #777;
    font-style: normal;
}

/* ---------- 事件时间线 ---------- */
.timeline {
    border-left: 2px solid #333;
    padding-left: 14px;
    margin: 16px 0;
}

.timeline .t-event {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #222;
}

.timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }

.timeline .t-date {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #888;
    font-weight: bold;
    margin-bottom: 4px;
}

.timeline .t-title { color: #bbb; font-weight: bold; margin-bottom: 4px; }
.timeline .t-body { font-size: 0.9em; color: #aaa; line-height: 1.65; }

/* ---------- 标签 ---------- */
.tag {
    display: inline-block;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #aaa;
    padding: 2px 8px;
    font-size: 0.75em;
    letter-spacing: 0.04em;
    margin: 1px;
}

.tag.red { border-color: #8b0000; color: #c41e3a; }
.tag.yellow { border-color: #b8860b; color: #d4a017; }
.tag.grey { border-color: #555; color: #999; }

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
    html { font-size: 13px; }
    .two-col { flex-direction: column; gap: 12px; }
    .infocard { float: none; width: 100%; margin: 12px 0; }
    .entity-title { font-size: 1.4em; }
}