跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
标签:已被回退
无编辑摘要
标签:已被回退
第1行: 第1行:
/* ========================================
/* ========================================
   简中Robloxian Wiki — 临床档案风格
   RSCA — Roblox Simplified Chinese Archives
   Clinical Records Style v1.0 · 2026-09-06
   ROBLOX 简中档案 · 全局样式表
   ======================================== */
   ======================================== */
:root {
  --bg-primary: #0e0e0e;
  --bg-secondary: #141414;
  --bg-tertiary: #1a1a1a;
  --border-primary: #333;
  --border-secondary: #444;
  --text-primary: #d8d8d8;
  --text-secondary: #b0b0b0;
  --text-muted: #888;
  --text-faint: #555;
  --accent-red: #c41e3a;
  --accent-gold: #d4a017;
  --accent-green: #4caf50;
  --font-mono: 'Courier New', 'Noto Sans SC', monospace;
  --font-sans: 'Helvetica Neue', 'Arial', 'Microsoft YaHei', sans-serif;
  --max-width: 960px;
  --gap: 24px;
  --radius: 4px;
}
/* ---------- 基础重置 ---------- */


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


html {
html {
    background-color: #0e0e0e;
  background: var(--bg-primary);
    font-size: 14px;
  font-size: 14px;
    color: #e0e0e0;
  color: var(--text-primary);
}
}


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


a { color: #b0b0b0; }
a { color: var(--text-secondary); text-decoration: none; }
a:hover { color: #ffffff; }
a:hover { color: #fff; }


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


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


.custom-header h1 {
.rsca-logo {
    font-size: 2em;
  width: 80px;
    font-weight: 900;
  height: auto;
    letter-spacing: 0.18em;
  margin-bottom: 8px;
    color: #ccc;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}
}


.custom-header .tagline {
.rsca-title {
    font-size: 0.85em;
  font-size: 2em;
    color: #777;
  font-weight: 900;
    font-style: italic;
  letter-spacing: 0.18em;
  color: #ccc;
  margin: 0 0 4px 0;
  text-transform: uppercase;
}
}


.custom-header .ascii-bar {
.rsca-tagline {
    font-family: 'Courier New', monospace;
  font-size: 0.85em;
    font-size: 0.78em;
  color: var(--text-muted);
    color: #555;
  font-style: italic;
    letter-spacing: 0.1em;
  margin: 0 0 8px 0;
    margin: 8px 0;
}
}


.custom-header .nav-row a {
.rsca-ascii {
    display: inline-block;
  font-family: var(--font-mono);
    background: #1a1a1a;
  font-size: 0.78em;
    border: 1px solid #333;
  color: var(--text-faint);
    padding: 5px 14px;
  letter-spacing: 0.1em;
    margin: 2px;
  margin: 8px 0;
    color: #bbb;
    text-decoration: none;
    font-size: 0.8em;
    letter-spacing: 0.05em;
}
}


.custom-header .nav-row a:hover {
.rsca-nav {
    background: #222;
  margin-top: 12px;
    color: #fff;
    border-color: #c41e3a;
}
}


.custom-header .disclaimer-link {
.rsca-nav a {
    display: block;
  display: inline-block;
    margin-top: 10px;
  background: var(--bg-tertiary);
    font-size: 0.7em;
  border: 1px solid var(--border-primary);
    color: #555;
  padding: 5px 14px;
  margin: 2px;
  color: var(--text-secondary);
  font-size: 0.8em;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
}
}


.custom-header .disclaimer-link a { color: #888; }
.rsca-nav a:hover {
  background: #222;
  color: #fff;
  border-color: var(--accent-red);
}


/* ---------- 两栏主布局 ---------- */
.rsca-disclaimer {
.two-col {
  display: block;
    display: flex;
  margin-top: 10px;
    flex-wrap: wrap;
  font-size: 0.7em;
    gap: 24px;
  color: var(--text-faint);
    max-width: 960px;
    margin: 0 auto;
}
}


.col-main { flex: 2; min-width: 280px; }
.rsca-disclaimer a { color: var(--text-muted); }
.col-side { flex: 1; min-width: 240px; }
 
/* ---------- 两栏布局 ---------- */
 
.rsca-layout {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  max-width: var(--max-width);
  margin: 0 auto;
}
 
.rsca-main { flex: 2; min-width: 280px; }
.rsca-side { flex: 1; min-width: 240px; }


/* ---------- 档案面板 ---------- */
/* ---------- 档案面板 ---------- */
.panel {
 
    border: 1px solid #333;
.rsca-panel {
    margin-bottom: 20px;
  border: 1px solid var(--border-primary);
    background: #141414;
  margin-bottom: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}
}


.panel-header {
.rsca-panel-header {
    background: #1a1a1a;
  background: var(--bg-tertiary);
    color: #ccc;
  color: #ccc;
    padding: 8px 14px;
  padding: 8px 14px;
    font-weight: bold;
  font-weight: bold;
    font-size: 0.95em;
  font-size: 0.95em;
    letter-spacing: 0.06em;
  letter-spacing: 0.06em;
    border-bottom: 1px solid #333;
  border-bottom: 1px solid var(--border-primary);
  border-radius: var(--radius) var(--radius) 0 0;
}
}


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


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


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


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


.rec.warn { border-left-color: #c41e3a; }
.rsca-rec.warn { border-left-color: var(--accent-red); }
.rec.note { border-left-color: #888; }
.rsca-rec.note { border-left-color: var(--text-muted); }
.rec .label {
.rsca-rec .label { font-weight: bold; color: var(--text-secondary); margin-bottom: 4px; display: block; }
    font-weight: bold;
 
    color: #aaa;
/* ---------- 信息卡 ---------- */
    margin-bottom: 4px;
 
    display: block;
.rsca-infocard {
  float: right;
  width: 280px;
  margin: 0 0 18px 20px;
  border: 1px solid var(--border-secondary);
  font-size: 0.85em;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}
}


/* ---------- 信息卡(人物/组织) ---------- */
.rsca-infocard-header {
.infocard {
  background: var(--bg-tertiary);
    float: right;
  color: #ccc;
    width: 280px;
  padding: 6px 10px;
    margin: 0 0 18px 20px;
  font-weight: bold;
    border: 1px solid #444;
  font-size: 0.95em;
    font-size: 0.85em;
  text-align: center;
    background: #161616;
  border-bottom: 1px solid var(--border-secondary);
    page-break-inside: avoid;
  letter-spacing: 0.05em;
  border-radius: var(--radius) var(--radius) 0 0;
}
}


.infocard .ic-header {
.rsca-infocard table { width: 100%; border-collapse: collapse; }
    background: #1a1a1a;
.rsca-infocard td, .rsca-infocard th {
    color: #ccc;
  padding: 4px 8px;
    padding: 6px 10px;
  border-bottom: 1px solid var(--bg-tertiary);
    font-weight: bold;
  vertical-align: top;
    font-size: 0.95em;
  font-size: 0.92em;
    text-align: center;
    border-bottom: 1px solid #444;
    letter-spacing: 0.05em;
}
}
.rsca-infocard td.k { color: var(--text-muted); font-weight: bold; width: 32%; white-space: nowrap; }


.infocard table { width: 100%; border-collapse: collapse; }
.rsca-infocard-img {
.infocard td, .infocard th {
  text-align: center;
    padding: 4px 8px;
  padding: 8px;
    border-bottom: 1px solid #2a2a2a;
  border-bottom: 1px solid var(--border-primary);
    vertical-align: top;
    font-size: 0.92em;
}
}
.infocard td.k {
 
    color: #999;
.rsca-infocard-img img {
    font-weight: bold;
  max-width: 120px;
    width: 32%;
  height: auto;
    white-space: nowrap;
  filter: grayscale(100%);
  border-radius: var(--radius);
}
}
.infobox-img {
 
    text-align: center;
.rsca-infocard-img .cap { display: block; font-size: 0.75em; color: var(--text-muted); margin-top: 4px; }
    padding: 8px;
 
    border-bottom: 1px solid #333;
/* ---------- 涂黑 ---------- */
 
.rsca-redact, .rsca-redact a, a .rsca-redact, .rsca-redact a.new {
  background: #000;
  color: #000;
  text-shadow: none;
  padding: 0 4px;
  cursor: default;
}
}
.infobox-img img {
 
    max-width: 120px;
.rsca-redact:hover, .rsca-redact:active, .rsca-redact.reveal {
    height: auto;
  color: var(--text-primary) !important;
    filter: grayscale(100%);
  background: #000;
}
.infobox-img .cap {
    display: block;
    font-size: 0.75em;
    color: #777;
    margin-top: 4px;
}
}


/* ---------- 涂黑(档案遮盖) ---------- */
.rsca-redact:hover a, a:hover .rsca-redact, .rsca-redact:active a, a:active .rsca-redact,
.heimu, .heimu a, a .heimu, .heimu a.new {
.rsca-redact.reveal a, a.rsca-redact.reveal { color: #8ab4f8 !important; }
    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 {
.rsca-badge {
    font-weight: bold;
  border: 1px solid var(--border-secondary);
    color: #ccc;
  background: var(--bg-secondary);
    font-size: 0.9em;
  padding: 6px 12px;
    letter-spacing: 0.05em;
  margin: 8px 0;
    margin-bottom: 6px;
  font-size: 0.82em;
  color: var(--text-secondary);
  border-radius: var(--radius);
}
}


.template-badge ul { margin: 0; padding-left: 16px; }
.rsca-badge .tb-header { font-weight: bold; color: #ccc; font-size: 0.9em; letter-spacing: 0.05em; margin-bottom: 6px; }
.template-badge li { margin-bottom: 3px; }
.rsca-badge ul { margin: 0; padding-left: 16px; }
.rsca-badge li { margin-bottom: 3px; }


.template-badge.in-progress { border-color: #b8860b; }
.rsca-badge.in-progress { border-color: var(--accent-gold); }
.template-badge.in-progress .tb-header { color: #d4a017; }
.rsca-badge.in-progress .tb-header { color: var(--accent-gold); }


.template-badge.exposed { border-color: #555; }
.rsca-badge.exposed { border-color: var(--border-secondary); }
.template-badge.exposed .tb-header { color: #999; }
.rsca-badge.exposed .tb-header { color: var(--text-muted); }


.template-badge.wanted { border-color: #8b0000; }
.rsca-badge.wanted { border-color: var(--accent-red); }
.template-badge.wanted .tb-header { color: #c41e3a; }
.rsca-badge.wanted .tb-header { color: var(--accent-red); }


.template-badge.under-invest { border-color: #666; }
.rsca-badge.under-invest { border-color: var(--text-muted); }
.template-badge.under-invest .tb-header { color: #bbb; }
.rsca-badge.under-invest .tb-header { color: var(--text-secondary); }


.template-badge.record-complete { border-color: #444; }
.rsca-badge.record-complete { border-color: var(--border-secondary); }
.template-badge.record-complete .tb-header { color: #888; }
.rsca-badge.record-complete .tb-header { color: var(--text-muted); }


/* ---------- 折叠块 ---------- */
/* ---------- 折叠块 ---------- */
.collapsible-box {
 
    border: 1px solid #333;
.rsca-collapse {
    margin: 14px 0;
  border: 1px solid var(--border-primary);
    background: #141414;
  margin: 14px 0;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}
}


.collapsible-box .cb-header {
.rsca-collapse-header {
    background: #1a1a1a;
  background: var(--bg-tertiary);
    color: #aaa;
  color: var(--text-secondary);
    padding: 6px 12px;
  padding: 6px 12px;
    cursor: pointer;
  cursor: pointer;
    font-size: 0.85em;
  font-size: 0.85em;
    border-bottom: 1px solid #333;
  border-bottom: 1px solid var(--border-primary);
    user-select: none;
  user-select: none;
  border-radius: var(--radius) var(--radius) 0 0;
}
}


.collapsible-box .cb-header:hover { background: #222; color: #ccc; }
.rsca-collapse-header:hover { background: #222; color: #ccc; }
.collapsible-box .cb-body { padding: 12px; }
.rsca-collapse-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 {
.rsca-entity-title {
    border-left: 2px solid #333;
  font-size: 1.8em;
    padding-left: 14px;
  font-weight: 900;
    margin: 18px 0;
  letter-spacing: 0.1em;
  color: #ccc;
  border-bottom: 2px solid var(--border-secondary);
  padding-bottom: 8px;
  margin: 0 0 16px 0;
}
}


.record-section h3 {
.rsca-section {
    font-size: 1.05em;
  border-left: 2px solid var(--border-primary);
    color: #bbb;
  padding-left: 14px;
    margin: 0 0 8px 0;
  margin: 18px 0;
    letter-spacing: 0.05em;
}
}


.record-section h3 .num {
.rsca-section h3 {
    color: #666;
  font-size: 1.05em;
    font-weight: bold;
  color: var(--text-secondary);
    margin-right: 6px;
  margin: 0 0 8px 0;
  letter-spacing: 0.05em;
}
}


.rec-chrono { font-size: 0.9em; line-height: 1.7; }
.rsca-section h3 .num { color: var(--text-faint); font-weight: bold; margin-right: 6px; }
.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;
.rsca-quote {
    background: #181818;
  border-left: 3px solid var(--border-secondary);
    padding: 8px 12px;
  background: var(--bg-secondary);
    margin: 12px 0;
  padding: 8px 12px;
    font-size: 0.88em;
  margin: 12px 0;
    color: #aaa;
  font-size: 0.88em;
    font-style: italic;
  color: var(--text-secondary);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}
}


.rec-quote cite {
.rsca-quote cite { display: block; margin-top: 6px; font-size: 0.8em; color: var(--text-muted); font-style: normal; }
    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 {
.rsca-timeline {
    margin-bottom: 14px;
  border-left: 2px solid var(--border-primary);
    padding-bottom: 14px;
  padding-left: 14px;
    border-bottom: 1px solid #222;
  margin: 16px 0;
}
}


.timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }
.rsca-timeline .t-event {
 
  margin-bottom: 14px;
.timeline .t-date {
  padding-bottom: 14px;
    font-family: 'Courier New', monospace;
  border-bottom: 1px solid var(--bg-tertiary);
    font-size: 0.85em;
    color: #888;
    font-weight: bold;
    margin-bottom: 4px;
}
}


.timeline .t-title { color: #bbb; font-weight: bold; margin-bottom: 4px; }
.rsca-timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }
.timeline .t-body { font-size: 0.9em; color: #aaa; line-height: 1.65; }
.rsca-timeline .t-date { font-family: var(--font-mono); font-size: 0.85em; color: var(--text-muted); font-weight: bold; margin-bottom: 4px; }
.rsca-timeline .t-title { color: var(--text-secondary); font-weight: bold; margin-bottom: 4px; }
.rsca-timeline .t-body { font-size: 0.9em; color: var(--text-secondary); line-height: 1.65; }


/* ---------- 标签 ---------- */
/* ---------- 标签 ---------- */
.tag {
 
    display: inline-block;
.rsca-tag {
    background: #1a1a1a;
  display: inline-block;
    border: 1px solid #333;
  background: var(--bg-tertiary);
    color: #aaa;
  border: 1px solid var(--border-primary);
    padding: 2px 8px;
  color: var(--text-secondary);
    font-size: 0.75em;
  padding: 2px 8px;
    letter-spacing: 0.04em;
  font-size: 0.75em;
    margin: 1px;
  letter-spacing: 0.04em;
  margin: 1px;
  border-radius: var(--radius);
}
}


.tag.red { border-color: #8b0000; color: #c41e3a; }
.rsca-tag.red { border-color: var(--accent-red); color: var(--accent-red); }
.tag.yellow { border-color: #b8860b; color: #d4a017; }
.rsca-tag.yellow { border-color: var(--accent-gold); color: var(--accent-gold); }
.tag.grey { border-color: #555; color: #999; }
.rsca-tag.grey { border-color: var(--border-secondary); color: var(--text-muted); }


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

2026年9月6日 (日) 08:32的版本

/* ========================================
   RSCA — Roblox Simplified Chinese Archives
   ROBLOX 简中档案 · 全局样式表
   ======================================== */

:root {
  --bg-primary: #0e0e0e;
  --bg-secondary: #141414;
  --bg-tertiary: #1a1a1a;
  --border-primary: #333;
  --border-secondary: #444;
  --text-primary: #d8d8d8;
  --text-secondary: #b0b0b0;
  --text-muted: #888;
  --text-faint: #555;
  --accent-red: #c41e3a;
  --accent-gold: #d4a017;
  --accent-green: #4caf50;
  --font-mono: 'Courier New', 'Noto Sans SC', monospace;
  --font-sans: 'Helvetica Neue', 'Arial', 'Microsoft YaHei', sans-serif;
  --max-width: 960px;
  --gap: 24px;
  --radius: 4px;
}

/* ---------- 基础重置 ---------- */

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

html {
  background: var(--bg-primary);
  font-size: 14px;
  color: var(--text-primary);
}

body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output {
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-mono);
  line-height: 1.65;
}

a { color: var(--text-secondary); text-decoration: none; }
a:hover { color: #fff; }

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

/* ---------- 顶部横幅 ---------- */

.rsca-header {
  max-width: var(--max-width);
  margin: 0 auto 24px;
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 16px;
  text-align: center;
}

.rsca-logo {
  width: 80px;
  height: auto;
  margin-bottom: 8px;
}

.rsca-title {
  font-size: 2em;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #ccc;
  margin: 0 0 4px 0;
  text-transform: uppercase;
}

.rsca-tagline {
  font-size: 0.85em;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 8px 0;
}

.rsca-ascii {
  font-family: var(--font-mono);
  font-size: 0.78em;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  margin: 8px 0;
}

.rsca-nav {
  margin-top: 12px;
}

.rsca-nav a {
  display: inline-block;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  padding: 5px 14px;
  margin: 2px;
  color: var(--text-secondary);
  font-size: 0.8em;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
}

.rsca-nav a:hover {
  background: #222;
  color: #fff;
  border-color: var(--accent-red);
}

.rsca-disclaimer {
  display: block;
  margin-top: 10px;
  font-size: 0.7em;
  color: var(--text-faint);
}

.rsca-disclaimer a { color: var(--text-muted); }

/* ---------- 两栏布局 ---------- */

.rsca-layout {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  max-width: var(--max-width);
  margin: 0 auto;
}

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

/* ---------- 档案面板 ---------- */

.rsca-panel {
  border: 1px solid var(--border-primary);
  margin-bottom: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}

.rsca-panel-header {
  background: var(--bg-tertiary);
  color: #ccc;
  padding: 8px 14px;
  font-weight: bold;
  font-size: 0.95em;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-primary);
  border-radius: var(--radius) var(--radius) 0 0;
}

.rsca-panel-header .label {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.8em;
  margin-left: 8px;
  letter-spacing: 0.1em;
}

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

/* ---------- 强调块 ---------- */

.rsca-rec {
  border-left: 3px solid var(--border-secondary);
  background: var(--bg-tertiary);
  padding: 10px 14px;
  margin: 10px 0;
  font-size: 0.9em;
  line-height: 1.65;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.rsca-rec.warn { border-left-color: var(--accent-red); }
.rsca-rec.note { border-left-color: var(--text-muted); }
.rsca-rec .label { font-weight: bold; color: var(--text-secondary); margin-bottom: 4px; display: block; }

/* ---------- 信息卡 ---------- */

.rsca-infocard {
  float: right;
  width: 280px;
  margin: 0 0 18px 20px;
  border: 1px solid var(--border-secondary);
  font-size: 0.85em;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}

.rsca-infocard-header {
  background: var(--bg-tertiary);
  color: #ccc;
  padding: 6px 10px;
  font-weight: bold;
  font-size: 0.95em;
  text-align: center;
  border-bottom: 1px solid var(--border-secondary);
  letter-spacing: 0.05em;
  border-radius: var(--radius) var(--radius) 0 0;
}

.rsca-infocard table { width: 100%; border-collapse: collapse; }
.rsca-infocard td, .rsca-infocard th {
  padding: 4px 8px;
  border-bottom: 1px solid var(--bg-tertiary);
  vertical-align: top;
  font-size: 0.92em;
}
.rsca-infocard td.k { color: var(--text-muted); font-weight: bold; width: 32%; white-space: nowrap; }

.rsca-infocard-img {
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid var(--border-primary);
}

.rsca-infocard-img img {
  max-width: 120px;
  height: auto;
  filter: grayscale(100%);
  border-radius: var(--radius);
}

.rsca-infocard-img .cap { display: block; font-size: 0.75em; color: var(--text-muted); margin-top: 4px; }

/* ---------- 涂黑 ---------- */

.rsca-redact, .rsca-redact a, a .rsca-redact, .rsca-redact a.new {
  background: #000;
  color: #000;
  text-shadow: none;
  padding: 0 4px;
  cursor: default;
}

.rsca-redact:hover, .rsca-redact:active, .rsca-redact.reveal {
  color: var(--text-primary) !important;
  background: #000;
}

.rsca-redact:hover a, a:hover .rsca-redact, .rsca-redact:active a, a:active .rsca-redact,
.rsca-redact.reveal a, a.rsca-redact.reveal { color: #8ab4f8 !important; }

/* ---------- 模板角标 ---------- */

.rsca-badge {
  border: 1px solid var(--border-secondary);
  background: var(--bg-secondary);
  padding: 6px 12px;
  margin: 8px 0;
  font-size: 0.82em;
  color: var(--text-secondary);
  border-radius: var(--radius);
}

.rsca-badge .tb-header { font-weight: bold; color: #ccc; font-size: 0.9em; letter-spacing: 0.05em; margin-bottom: 6px; }
.rsca-badge ul { margin: 0; padding-left: 16px; }
.rsca-badge li { margin-bottom: 3px; }

.rsca-badge.in-progress { border-color: var(--accent-gold); }
.rsca-badge.in-progress .tb-header { color: var(--accent-gold); }

.rsca-badge.exposed { border-color: var(--border-secondary); }
.rsca-badge.exposed .tb-header { color: var(--text-muted); }

.rsca-badge.wanted { border-color: var(--accent-red); }
.rsca-badge.wanted .tb-header { color: var(--accent-red); }

.rsca-badge.under-invest { border-color: var(--text-muted); }
.rsca-badge.under-invest .tb-header { color: var(--text-secondary); }

.rsca-badge.record-complete { border-color: var(--border-secondary); }
.rsca-badge.record-complete .tb-header { color: var(--text-muted); }

/* ---------- 折叠块 ---------- */

.rsca-collapse {
  border: 1px solid var(--border-primary);
  margin: 14px 0;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}

.rsca-collapse-header {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.85em;
  border-bottom: 1px solid var(--border-primary);
  user-select: none;
  border-radius: var(--radius) var(--radius) 0 0;
}

.rsca-collapse-header:hover { background: #222; color: #ccc; }
.rsca-collapse-body { padding: 12px; }

/* ---------- 实体页面 ---------- */

.rsca-entity-title {
  font-size: 1.8em;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ccc;
  border-bottom: 2px solid var(--border-secondary);
  padding-bottom: 8px;
  margin: 0 0 16px 0;
}

.rsca-section {
  border-left: 2px solid var(--border-primary);
  padding-left: 14px;
  margin: 18px 0;
}

.rsca-section h3 {
  font-size: 1.05em;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
  letter-spacing: 0.05em;
}

.rsca-section h3 .num { color: var(--text-faint); font-weight: bold; margin-right: 6px; }

/* ---------- 引用块 ---------- */

.rsca-quote {
  border-left: 3px solid var(--border-secondary);
  background: var(--bg-secondary);
  padding: 8px 12px;
  margin: 12px 0;
  font-size: 0.88em;
  color: var(--text-secondary);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.rsca-quote cite { display: block; margin-top: 6px; font-size: 0.8em; color: var(--text-muted); font-style: normal; }

/* ---------- 时间线 ---------- */

.rsca-timeline {
  border-left: 2px solid var(--border-primary);
  padding-left: 14px;
  margin: 16px 0;
}

.rsca-timeline .t-event {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-tertiary);
}

.rsca-timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }
.rsca-timeline .t-date { font-family: var(--font-mono); font-size: 0.85em; color: var(--text-muted); font-weight: bold; margin-bottom: 4px; }
.rsca-timeline .t-title { color: var(--text-secondary); font-weight: bold; margin-bottom: 4px; }
.rsca-timeline .t-body { font-size: 0.9em; color: var(--text-secondary); line-height: 1.65; }

/* ---------- 标签 ---------- */

.rsca-tag {
  display: inline-block;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  padding: 2px 8px;
  font-size: 0.75em;
  letter-spacing: 0.04em;
  margin: 1px;
  border-radius: var(--radius);
}

.rsca-tag.red { border-color: var(--accent-red); color: var(--accent-red); }
.rsca-tag.yellow { border-color: var(--accent-gold); color: var(--accent-gold); }
.rsca-tag.grey { border-color: var(--border-secondary); color: var(--text-muted); }

/* ---------- 移动端 ---------- */

@media (max-width: 768px) {
  html { font-size: 13px; }
  .rsca-layout { flex-direction: column; gap: 12px; }
  .rsca-infocard { float: none; width: 100%; margin: 12px 0; }
  .rsca-entity-title { font-size: 1.4em; }
}