/* ========================================================= */
/* ===== 1. 折叠栏整体 ===== */
/* ========================================================= */
details {
  display: block;
  background: #0a0a0a;
  border-radius: 0;
  padding: 0;
  margin-bottom: 12px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #1f1f1f;
  border-left: 4px solid #3a1010;
  box-shadow: 0 2px 10px rgba(0,0,0,0.50);
  transition: box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
details[open] {
  box-shadow: 0 4px 18px rgba(192,57,43,0.10);
  border-color: #2f1414;
}
details:hover {
  border-left-color: #b71c1c;
}

details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  position: relative;
  background: #060606;
  border-radius: 0;
  padding: 14px 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #c9a0a0;
  font-style: italic;
  font-size: 1.15em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-left: 4px solid #3a1010;
  text-align: left;
  user-select: none;
  transition: all .18s ease;
  overflow: hidden;
}
details summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #3a1010;
  transition: background .18s ease;
}
details summary::after {
  content: "◆";
  font-size: 0.7em;
  color: #b71c1c;
  text-shadow: 0 0 6px rgba(183,28,28,0.4);
  transition: all .18s ease;
  margin-left: auto;
}
details summary:hover {
  background: #b71c1c;
  color: #f0e0e0;
  border-left-color: #8b1a1a;
  padding-right: 34px;
}
details summary:hover::before { background: #8b1a1a; }
details summary:hover::after {
  content: "▶";
  color: #f0e0e0;
  text-shadow: none;
  transform: translateX(4px);
}
details[open] summary::after { transform: rotate(180deg); }
details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; content: ""; }

/* ========================================================= */
/* ===== 2. 折叠内容区 · 暗黑底 ===== */
/* ========================================================= */
.details-body {
  background: #0f0f0f;
  color: #c0c0c0;
  padding: 16px 22px;
  font-size: 0.95em;
  line-height: 1.7;
  border-top: 1px solid #1f1f1f;
}
.details-body a { color: #c08080; text-decoration: none; }
.details-body a:hover { color: #e0a0a0; text-decoration: underline; }

/* ========================================================= */
/* ===== 3. 对话气泡 · 基础样式 ===== */
/* ========================================================= */
.dialogue-box,
.dialogue-box[data-role] {
  position: relative;
  display: block;
  border-radius: 4px 16px 16px 16px !important;
  padding: 12px 18px 12px 16px !important;
  margin: 14px 0 14px 8px !important;
  text-indent: 0 !important;
  border-left-width: 4px !important;
  border-left-style: solid !important;
}
.dialogue-box .speaker,
.dialogue-box[data-role] .speaker {
  display: block;
  font-size: 0.82em;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.dialogue-box .dialogue-text,
.dialogue-box[data-role] .dialogue-text {
  display: block;
  font-size: 1.04em;
  line-height: 1.7;
}

/* 赵美妍 · 酒红 */
.dialogue-box[data-role="meiyan"],
.dialogue-box[data-role="美妍"] {
  background: linear-gradient(135deg, #fdf5f5 0%, #f8e8e8 100%) !important;
  border-left-color: #c06060 !important;
  box-shadow: 0 2px 10px rgba(192,96,96,0.10) !important;
}
.dialogue-box[data-role="meiyan"] .speaker,
.dialogue-box[data-role="美妍"] .speaker { color: #8b3a3a !important; }
.dialogue-box[data-role="meiyan"] .dialogue-text,
.dialogue-box[data-role="美妍"] .dialogue-text { color: #6b2a2a !important; }

/* 玩家 · 深灰紫 */
.dialogue-box[data-role="user"],
.dialogue-box[data-role="玩家"] {
  background: linear-gradient(135deg, #f3f0f5 0%, #eae4f0 100%) !important;
  border-left-color: #5a4a6a !important;
  box-shadow: 0 2px 10px rgba(90,74,106,0.10) !important;
}
.dialogue-box[data-role="user"] .speaker,
.dialogue-box[data-role="玩家"] .speaker { color: #4a3a5a !important; }
.dialogue-box[data-role="user"] .dialogue-text,
.dialogue-box[data-role="玩家"] .dialogue-text { color: #5a4a6a !important; }

/* ========================================================= */
/* ===== 4. 数值进度条 ===== */
/* ========================================================= */
.stat-bar { margin: 14px 0; }
.stat-bar .stat-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.92em;
  color: #d0d0d0;
  margin-bottom: 6px;
}
.stat-bar .stat-label span {
  font-weight: 500;
  font-size: 0.88em;
  color: #808080;
}
.stat-bar .bar-track {
  width: 100%;
  height: 14px;
  background: #1a1a1a;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.stat-bar .bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width .6s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.3) inset;
}
/* 窥知度 · CRT绿 */
.stat-bar.trust .bar-fill {
  background: linear-gradient(90deg, #228822 0%, #33cc33 100%);
  box-shadow: 0 0 10px rgba(51,204,51,0.15);
}
/* 风险值 · 暗红 */
.stat-bar.desire .bar-fill {
  background: linear-gradient(90deg, #8b1a1a 0%, #e03030 100%);
  box-shadow: 0 0 10px rgba(224,48,48,0.15);
}
/* 设备覆盖率 · 暗金 */
.stat-bar.coverage .bar-fill {
  background: linear-gradient(90deg, #8b6914 0%, #c8a840 100%);
  box-shadow: 0 0 10px rgba(200,168,64,0.12);
}
.stat-detail-label {
  display: inline-block;
  font-size: 0.85em;
  font-weight: 600;
  color: #b06060;
  margin-top: 8px;
  margin-right: 4px;
}

/* ========================================================= */
/* ===== 5. 时间锚点 · 暗红监控台 ===== */
/* ========================================================= */
.time-header {
  background: linear-gradient(135deg, #1a1010 0%, #1c1414 40%, #160e0e 100%);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 20px;
  color: #d0c8c0;
  box-shadow: 0 4px 20px rgba(20,10,10,0.4);
  border: 1px solid rgba(183,28,28,0.15);
  position: relative;
  overflow: hidden;
}
.time-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(183,28,28,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.time-row-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.time-icon { font-size: 1.6em; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4)); }
.time-day { font-size: 1.5em; font-weight: 700; letter-spacing: 1px; color: #f0e0e0; }
.time-sep { font-size: 1.3em; color: #6a5a5a; margin: 0 2px; }
.time-period { font-size: 1.2em; font-weight: 600; color: #d4a0a0; }
.time-clock {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #2a1a1a 0%, #1f1212 100%);
  color: #c08080; font-family: 'Georgia', serif;
  font-size: 0.92em; font-weight: 600; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid #3a2020;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  margin-left: 4px;
}
.time-row-loc { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 0.9em; }
.time-loc-icon { font-size: 1em; }
.time-loc-text { color: #a09890; letter-spacing: 0.5px; }
.time-row-loc + .time-row-loc { margin-top: -2px; }
.time-row-weather { display: flex; align-items: center; gap: 6px; font-size: 0.85em; }
.time-weather-icon { font-size: 1em; }
.time-weather-text { color: #7a7068; }
.time-row-surroundings { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.85em; }
.time-surroundings-icon { font-size: 1em; }
.time-surroundings-text { color: #7a7068; letter-spacing: 0.5px; font-style: italic; }
.time-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(183,28,28,0.2) 20%, rgba(183,28,28,0.2) 80%, transparent 100%);
  margin: 14px 0 12px 0;
}
.time-row-budget { display: flex; align-items: center; gap: 10px; font-size: 0.85em; flex-wrap: wrap; }
.budget-icon { font-size: 1em; }
.budget-label { color: #7a7068; margin-right: 6px; }
.budget-item { font-weight: 600; letter-spacing: 0.3px; padding: 2px 10px; border-radius: 12px; font-size: 0.9em; }
.budget-item.meiyan { color: #c08080; background: rgba(183,28,28,0.10); }
.budget-item.risk { color: #e08060; background: rgba(224,128,96,0.10); }
.budget-item.cov { color: #80c080; background: rgba(51,204,51,0.08); }

/* ========================================================= */
/* ===== 6. 全局包裹卡片 · 暗监控风 ===== */
/* ========================================================= */
.narrative-p { text-indent: 2em; line-height: 1.9; margin: 0.8em 0; }

.khorra-output {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #0c0c0c 0%, #0a0a0a 30%, #080808 100%);
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid #1a1a1a;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  line-height: 1.85;
  color: #b0b0b0;
  position: relative;
}
/* CRT 扫描线覆盖 */
.khorra-output::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 1px, transparent 1px, transparent 2px);
  border-radius: 12px;
  opacity: 0.4;
}
.khorra-output > * { position: relative; z-index: 1; }

/* ========================================================= */
/* ===== 7. 内心独白 · 暗红边框 ===== */
/* ========================================================= */
.inner-monologue {
  font-style: italic;
  color: #8a7068;
  background: linear-gradient(135deg, #0f0a0a 0%, #0d0909 100%);
  border-left: 3px solid #6b2a2a;
  padding: 12px 18px;
  margin: 16px 0;
  border-radius: 0 10px 10px 0;
  font-size: 0.95em;
  line-height: 1.7;
  text-indent: 0;
}

/* ========================================================= */
/* ===== 8. 预算迷你条 ===== */
/* ========================================================= */
.budget-mini {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 0 14px 0; padding: 8px 14px;
  background: linear-gradient(135deg, #0f0f0f 0%, #141414 100%);
  border-radius: 10px; border: 1px solid #1f1f1f;
}
.budget-mini-label { font-size: 0.82em; font-weight: 700; color: #8a7068; white-space: nowrap; }
.budget-mini-bar { flex: 1; height: 8px; background: #1a1a1a; border-radius: 999px; overflow: hidden; }
.budget-mini-fill {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #b06040 0%, #d08050 100%);
  transition: width .5s ease;
}
.budget-mini-num { font-size: 0.82em; font-weight: 700; color: #d08050; white-space: nowrap; }

/* ========================================================= */
/* ===== 9. 副数值进度条 · 深色叠加 ===== */
/* ========================================================= */
.stat-bar.desire.locked .bar-fill { background: #1a1a1a; }
.stat-bar.coverage .bar-track { background: #111111; }

/* ========================================================= */
/* ===== 10. 响应式 ===== */
/* ========================================================= */
@media (max-width: 600px) {
  .time-row-main { flex-wrap: wrap; gap: 4px; }
  .time-row-budget { gap: 6px; flex-wrap: wrap; }
  .budget-item { font-size: 0.85em; padding: 2px 8px; }
  .khorra-output { padding: 12px 14px; }
  .stat-label { flex-wrap: wrap; gap: 4px; }
  .dialogue-box, .dialogue-box[data-role] { margin-left: 0 !important; margin-right: 0 !important; }
}

/* ========================================================= */
/* ===== 11. 场景插图 ===== */
/* ========================================================= */
.scene-illustration {
  width: 100%; max-width: 420px; margin: 18px auto;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(20,10,0,0.3);
  border: 2px solid #2a1a1a; background: #0a0a0a; text-align: center;
}
.scene-illustration img { width: 100%; height: auto; display: block; object-fit: cover; }
.scene-caption {
  display: block; padding: 8px 14px; font-size: 0.82em; font-weight: 600;
  color: #8a7068;
  background: linear-gradient(180deg, #0f0d0d 0%, #0a0808 100%);
  letter-spacing: 0.5px; border-top: 1px solid #1a1a1a;
}

/* ========================================================= */
/* ===== 12. 解锁提醒 ===== */
/* ========================================================= */
.unlock-notice {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 14px 0 18px 0; padding: 12px 20px;
  background: linear-gradient(135deg, #1a1010 0%, #120a0a 100%);
  border: 1px solid #4a2020; border-radius: 10px;
  font-size: 0.92em; color: #c0a0a0;
  box-shadow: 0 2px 10px rgba(128,40,40,0.10);
}
.unlock-icon { font-size: 1.3em; }
.unlock-text strong { color: #c06060; font-weight: 700; }

/* ========================================================= */
/* ===== 13. 强制换行 ===== */
/* ========================================================= */
details, details > * { word-wrap: break-word; overflow-wrap: anywhere; word-break: break-word; white-space: normal; max-width: 100%; }
.stat-panel, .stat-block, .stat-row { max-width: 100%; word-wrap: break-word; overflow-wrap: anywhere; }
.stat-label, .stat-label span, .stat-detail-label { word-wrap: break-word; overflow-wrap: anywhere; white-space: normal; max-width: 100%; }
.stat-bar, .bar-track, .bar-fill { min-width: 0; max-width: 100%; }
.budget-mini { flex-wrap: wrap; }
.unlock-notice { flex-wrap: wrap; text-align: center; }

/* ========================================================= */
/* ===== 14. 暗黑折叠内容区 · 组件深色覆盖 ===== */
/* ========================================================= */
.details-body .stat-bar .stat-label { color: #d0d0d0 !important; }
.details-body .stat-bar .stat-label span { color: #808080 !important; }
.details-body .bar-track { background: #1a1a1a !important; box-shadow: inset 0 1px 3px rgba(0,0,0,0.6) !important; }
.details-body .stat-detail-label { color: #b06060 !important; }
.details-body .budget-mini {
  background: linear-gradient(135deg, #0d0d0d 0%, #111111 100%) !important;
  border-color: #1f1f1f !important;
}
.details-body .budget-mini-label { color: #8a7068 !important; }
.details-body .budget-mini-bar { background: #1a1a1a !important; }
.details-body .budget-mini-num { color: #d08050 !important; }
.details-body .unlock-notice {
  background: linear-gradient(135deg, #1a1010 0%, #120a0a 100%) !important;
  border-color: #4a2020 !important; color: #c0a0a0 !important;
}
.details-body .unlock-text strong { color: #c06060 !important; }

/* ========================================================= */
/* ===== 15. 信息行 ===== */
/* ========================================================= */
.info-line { display: block; width: 100%; margin: 6px 0; line-height: 1.6; }
.info-line .stat-detail-label { display: inline; margin-right: 4px; }
.info-line.note { color: #6a6a6a; font-size: 0.9em; font-style: italic; }

/* ========================================================= */
/* ===== 16. 分支选项 · 监控台面板 ===== */
/* ========================================================= */
.choice-panel.corkboard {
  margin-top: 18px;
  background: linear-gradient(180deg, #0e0e0e 0%, #0b0b0b 50%, #080808 100%);
  border: 2px solid #1a1a1a;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.02);
  padding: 20px 24px 18px 24px;
  position: relative;
  overflow: visible;
  border-radius: 4px;
}
/* 顶部细线装饰 */
.choice-panel.corkboard::before {
  content: "";
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(51,204,51,0.3) 20%, rgba(51,204,51,0.3) 80%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.choice-panel.corkboard > * { position: relative; z-index: 1; }

.choice-panel.corkboard .choice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.choice-panel.corkboard .choice-icon {
  font-size: 1.1em;
  color: #33cc33;
  text-shadow: 0 0 8px rgba(51,204,51,0.4);
}
.choice-panel.corkboard .choice-title {
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #a0c0a0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  font-family: 'Courier New', 'SF Mono', monospace;
  text-transform: uppercase;
}
.choice-panel.corkboard .choice-title::before {
  content: "▶ ";
  color: #33cc33;
  font-size: 0.7em;
}

.choice-panel.corkboard .choice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 操作按钮卡片 */
.choice-panel.corkboard .choice-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #111111 0%, #0c0c0c 100%);
  border: 1px solid #1f1f1f;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
  border-radius: 3px;
}
/* 左侧指示灯 */
.choice-panel.corkboard .choice-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.choice-panel.corkboard .choice-card[data-choice="1"]::before {
  background: #c08060;
  box-shadow: 0 0 6px rgba(192,128,96,0.5);
}
.choice-panel.corkboard .choice-card[data-choice="2"]::before {
  background: #6090b8;
  box-shadow: 0 0 6px rgba(96,144,184,0.5);
}
.choice-panel.corkboard .choice-card[data-choice="3"]::before {
  background: #60a870;
  box-shadow: 0 0 6px rgba(96,168,112,0.5);
}
/* 顶部微弱扫描线 */
.choice-panel.corkboard .choice-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(51,204,51,0.08) 50%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.choice-panel.corkboard .choice-card[data-choice="1"] {
  border-left: 3px solid #8b4a3a;
}
.choice-panel.corkboard .choice-card[data-choice="2"] {
  border-left: 3px solid #3a5a8b;
}
.choice-panel.corkboard .choice-card[data-choice="3"] {
  border-left: 3px solid #3a6b4a;
}

.choice-panel.corkboard .choice-card:hover {
  background: linear-gradient(180deg, #181818 0%, #111111 100%);
  border-color: #33cc33;
  box-shadow:
    0 0 16px rgba(51,204,51,0.1),
    0 4px 12px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.03);
  transform: translateX(3px);
}
.choice-panel.corkboard .choice-card:hover::before {
  box-shadow: 0 0 12px currentColor;
}

.choice-panel.corkboard .choice-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  z-index: 1;
  min-width: 0;
}
/* 标签 → 类似监视器屏幕上的叠加标签 */
.choice-panel.corkboard .choice-label {
  display: inline-block;
  width: fit-content;
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #33cc33;
  padding: 3px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  font-family: 'Courier New', 'SF Mono', monospace;
  background: rgba(51,204,51,0.06);
  border: 1px solid rgba(51,204,51,0.15);
}
.choice-panel.corkboard .choice-card[data-choice="1"] .choice-label { color: #e0a080; background: rgba(192,128,96,0.08); border-color: rgba(192,128,96,0.2); }
.choice-panel.corkboard .choice-card[data-choice="2"] .choice-label { color: #80b0e0; background: rgba(96,144,184,0.08); border-color: rgba(96,144,184,0.2); }
.choice-panel.corkboard .choice-card[data-choice="3"] .choice-label { color: #80c898; background: rgba(96,168,112,0.08); border-color: rgba(96,168,112,0.2); }

.choice-panel.corkboard .choice-text {
  font-size: 0.85em;
  color: #909090;
  line-height: 1.5;
  font-family: 'Georgia', 'Noto Serif SC', serif;
}
.choice-panel.corkboard .choice-card:hover .choice-text {
  color: #c0c0c0;
}

.choice-panel.corkboard .choice-arrow {
  font-size: 0.8em;
  color: #3a3a3a;
  flex-shrink: 0;
  transition: all .2s ease;
  z-index: 1;
  font-family: monospace;
}
.choice-panel.corkboard .choice-card:hover .choice-arrow {
  color: #33cc33;
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(51,204,51,0.4);
}

.choice-panel.corkboard .choice-note {
  margin-top: 14px;
  font-size: 0.7em;
  color: #4a4a4a;
  font-style: italic;
  text-align: center;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

/* ========================================================= */
/* ===== 17. 观察者证件折叠框 ===== */
/* ========================================================= */
details.observer-id-details {
  background: transparent;
  border: none;
  border-left: none;
  box-shadow: none;
  margin-bottom: 12px;
}
details.observer-id-details[open] { box-shadow: none; border-color: transparent; }
details.observer-id-details:hover { border-left-color: transparent; }

details.observer-id-details > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  position: relative;
  background: #1a1a1a;
  border-radius: 10px 10px 0 0;
  padding: 12px 18px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #c0a0a0;
  font-style: normal;
  font-size: 0.95em;
  width: 100%;
  box-sizing: border-box;
  border-left: none;
  text-align: left;
  user-select: none;
  transition: border-radius .15s ease;
}
details.observer-id-details > summary::before {
  content: "OBSERVER";
  font-size: 0.58em;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: rgba(192,160,160,0.6);
  position: absolute;
  top: 6px;
  left: 18px;
}
details.observer-id-details > summary::after {
  content: attr(data-id-type);
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e0c8c8;
  background: rgba(192,160,160,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(192,160,160,0.2);
  margin-left: auto;
  text-shadow: none;
  transform: none;
  transition: none;
}
details.observer-id-details[open] > summary { border-radius: 10px 10px 0 0; }
details.observer-id-details[open] > summary::after { content: attr(data-id-type); transform: none; }
details.observer-id-details > summary:hover {
  background: #221a1a;
  color: #e0c8c8;
  border-left: none;
  padding-right: 18px;
}
details.observer-id-details > summary:hover::before { color: rgba(224,200,200,0.7); }
details.observer-id-details > summary:hover::after {
  color: #e0c8c8;
  border-color: rgba(224,200,200,0.3);
}
details.observer-id-details > summary::-webkit-details-marker { display: none; }
details.observer-id-details > summary::marker { display: none; content: ""; }

.id-card-body {
  background: linear-gradient(170deg, #141414 0%, #1a1a1a 100%) !important;
  border-radius: 0 0 10px 10px !important;
  border: 1px solid #1f1f1f !important;
  border-top: none !important;
  color: #c0c0c0 !important;
  padding: 14px 20px !important;
}
.id-card-body::before {
  content: "Observation Record";
  display: block;
  font-size: 0.56em;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #6a6a6a;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1f1f1f;
}

.id-card-name {
  font-size: 1.3em;
  font-weight: 700;
  color: #e0e0e0;
  letter-spacing: 0.5px;
  margin: 0 0 10px 0;
}

.id-card-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 0.84em;
  margin: 0 0 6px 0;
  color: #c0c0c0;
}
.id-card-row span {
  color: #6a6a6a;
  font-weight: 500;
  min-width: 34px;
  flex-shrink: 0;
}
.id-card-row span + span { margin-left: 14px; }

.id-card-rel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 6px 0;
  padding: 7px 10px;
  background: #111111;
  border-radius: 6px;
  font-size: 0.78em;
  color: #8a7070;
}
.id-card-rel span { color: #6a6a6a; font-weight: 500; }
.id-card-rel span::before { content: "👁️ "; }
.id-card-rel em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.88em;
  color: #c08080;
  font-weight: 600;
  background: rgba(183,28,28,0.08);
  padding: 2px 8px;
  border-radius: 10px;
}

.id-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #1f1f1f;
  font-size: 0.68em;
  color: #6a6a6a;
  margin: 0;
}
.id-card-foot span {
  font-family: 'Courier New', monospace;
  letter-spacing: 1.5px;
  color: #808080;
}

.details-body .id-card-body {
  background: linear-gradient(170deg, #141414 0%, #1a1a1a 100%) !important;
  color: #c0c0c0 !important;
  border-color: #1f1f1f !important;
}
.details-body .id-card-name { color: #e0e0e0 !important; }
.details-body .id-card-row { color: #c0c0c0 !important; }
.details-body .id-card-row span { color: #6a6a6a !important; }
.details-body .id-card-rel { background: #111111 !important; color: #8a7070 !important; }
.details-body .id-card-rel span { color: #6a6a6a !important; }
.details-body .id-card-rel em { color: #c08080 !important; }
.details-body .id-card-foot { border-top-color: #1f1f1f !important; color: #6a6a6a !important; }
.details-body .id-card-foot span { color: #808080 !important; }

/* ========================================================= */
/* ===== 18. 赵美妍 · 对象档案折叠框 ===== */
/* ========================================================= */
details.archive-details {
  background: transparent;
  border: none;
  border-left: none;
  box-shadow: none;
  margin-bottom: 12px;
}
details.archive-details[open] { box-shadow: none; border-color: transparent; }
details.archive-details:hover { border-left-color: transparent; }

details.archive-details > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  position: relative;
  background: #1a1a1a;
  border-radius: 10px 10px 0 0;
  padding: 12px 18px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #c0a0a0;
  font-style: normal;
  font-size: 0.95em;
  width: 100%;
  box-sizing: border-box;
  border-left: none;
  text-align: left;
  user-select: none;
  transition: border-radius .15s ease;
}
details.archive-details > summary::before { display: none; }
details.archive-details > summary::after {
  content: "▾";
  font-size: 0.75em;
  color: rgba(192,160,160,0.6);
  text-shadow: none;
  margin-left: auto;
  transition: transform .2s ease;
}
details.archive-details[open] > summary { border-radius: 10px 10px 0 0; }
details.archive-details[open] > summary::after { transform: rotate(180deg); }
details.archive-details > summary:hover {
  background: #221a1a;
  color: #e0c8c8;
  border-left: none;
  padding-right: 18px;
}
details.archive-details > summary:hover::after { color: #e0c8c8; text-shadow: none; transform: none; }
details.archive-details > summary:hover::before { background: transparent; }
details.archive-details > summary::-webkit-details-marker { display: none; }
details.archive-details > summary::marker { display: none; content: ""; }
details.archive-details[open] > summary:hover::after { transform: rotate(180deg); }

.archive-body {
  background: linear-gradient(170deg, #141414 0%, #1a1a1a 100%) !important;
  border-radius: 0 0 10px 10px !important;
  border: 1px solid #1f1f1f !important;
  border-top: none !important;
  color: #c0c0c0 !important;
  padding: 0 !important;
}

.archive-body::before {
  content: "对象档案  ·  DVR-ARC-0347-001";
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #c0a0a0;
  border-bottom: 1px solid #1f1f1f;
}

.archive-main {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #1f1f1f;
}
.archive-info { flex: 1; display: flex; flex-direction: column; gap: 6px; justify-content: center; min-width: 0; }
.archive-name {
  font-size: 1.3em;
  font-weight: 700;
  color: #e0e0e0;
  letter-spacing: 0.5px;
  margin: 0 0 4px 0;
}
.archive-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.82em;
  margin: 0;
  color: #c0c0c0;
}
.archive-row span {
  color: #6a6a6a;
  font-weight: 500;
  min-width: 32px;
  flex-shrink: 0;
}
.archive-sub { font-weight: 400; color: #808080; font-size: 0.9em; margin-left: 4px; }
.archive-row em {
  font-style: normal;
  color: #c08080;
  font-weight: 700;
  background: rgba(183,28,28,0.08);
  padding: 1px 8px;
  border-radius: 8px;
  font-size: 0.95em;
}

.archive-status {
  padding: 14px 20px;
  border-bottom: 1px solid #1f1f1f;
}
.archive-status::before {
  content: "📋 当前状态";
  display: block;
  font-size: 0.78em;
  font-weight: 700;
  color: #8a7070;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.archive-status .archive-row { margin-bottom: 5px; }
.archive-status .archive-row:last-child { margin-bottom: 0; }

.archive-body > details {
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  border: none;
  border-left: none;
  box-shadow: none;
  border-top: 1px solid #1f1f1f;
}
.archive-body > details[open] { box-shadow: none; border-color: transparent; }
.archive-body > details > summary {
  display: flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
  background: #111111;
  padding: 10px 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #8a7070;
  font-style: normal;
  font-size: 0.82em;
  border-left: none;
  text-align: left;
  user-select: none;
  transition: all .15s ease;
}
.archive-body > details > summary::before { display: none; }
.archive-body > details > summary::after {
  content: "▾";
  font-size: 0.7em;
  color: #6a6a6a;
  margin-left: auto;
  transition: transform .2s ease;
}
.archive-body > details[open] > summary {
  background: #151515;
  border-bottom: 1px solid #1f1f1f;
}
.archive-body > details[open] > summary::after { transform: rotate(180deg); }
.archive-body > details > summary:hover {
  color: #b09090;
  background: #181818;
  border-left: none;
}
.archive-body > details > summary:hover::after { color: #8a6060; }
.archive-body > details > summary::-webkit-details-marker { display: none; }
.archive-body > details > summary::marker { display: none; content: ""; }

.archive-body > details > .details-body {
  background: #0f0f0f !important;
  color: #b0b0b0 !important;
  padding: 14px 20px !important;
  border: none !important;
}
.archive-body > details > .details-body p {
  font-size: 0.83em;
  color: #b0b0b0;
  line-height: 1.7;
  margin: 0 0 6px 0;
}
.archive-body > details > .details-body p:last-child { margin-bottom: 0; }
.archive-body > details > .details-body b {
  color: #c06060;
  font-weight: 700;
}
.archive-body > details > .details-body hr {
  border: none;
  height: 1px;
  background: #1f1f1f;
  margin: 6px 0;
}

.archive-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 10px 20px;
  border-top: 1px solid #1f1f1f;
  font-size: 0.66em;
  color: #6a6a6a;
  margin: 0;
}
.archive-foot span {
  font-family: 'Courier New', monospace;
  letter-spacing: 1.2px;
  color: #808080;
}

.details-body .archive-body {
  background: linear-gradient(170deg, #141414 0%, #1a1a1a 100%) !important;
  color: #c0c0c0 !important;
  border-color: #1f1f1f !important;
}
.details-body .archive-name { color: #e0e0e0 !important; }
.details-body .archive-row { color: #c0c0c0 !important; }
.details-body .archive-row span { color: #6a6a6a !important; }
.details-body .archive-row em { color: #c08080 !important; }
.details-body .archive-foot { border-top-color: #1f1f1f !important; color: #6a6a6a !important; }
.details-body .archive-foot span { color: #808080 !important; }
.details-body .archive-body > details > .details-body {
  background: #0f0f0f !important;
  color: #b0b0b0 !important;
}
.details-body .archive-body > details > .details-body p { color: #b0b0b0 !important; }
.details-body .archive-body > details > .details-body b { color: #c06060 !important; }

/* ========================================================= */
/* ===== 19. 数值状态 · 监控台样式 ===== */
/* ========================================================= */
details.chalkboard-details {
  background: transparent;
  border: 6px solid #2a1a1a;
  border-image: linear-gradient(180deg, #3a1a1a 0%, #1f0e0e 50%, #3a1a1a 100%) 6;
  border-left: 6px solid #2a1a1a;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.6),
    inset 0 0 0 2px rgba(255,255,255,0.01);
  margin-bottom: 14px;
  border-radius: 4px;
  overflow: hidden;
}
details.chalkboard-details[open] {
  box-shadow:
    0 6px 24px rgba(0,0,0,0.7),
    inset 0 0 0 2px rgba(255,255,255,0.01);
  border-color: #2a1a1a;
}
details.chalkboard-details:hover { border-left-color: #4a2a2a; }

details.chalkboard-details > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  position: relative;
  background: linear-gradient(180deg, #1a1010 0%, #0f0808 100%);
  border-radius: 0;
  padding: 14px 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #c0a0a0;
  font-style: italic;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
  border-left: none;
  text-align: left;
  user-select: none;
  transition: all .18s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
details.chalkboard-details > summary::before { display: none; }
details.chalkboard-details > summary::after {
  content: "▾";
  font-size: 0.7em;
  color: rgba(192,160,160,0.4);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  margin-left: auto;
  transition: transform .2s ease;
}
details.chalkboard-details[open] > summary::after { transform: rotate(180deg); }
details.chalkboard-details > summary:hover {
  background: linear-gradient(180deg, #2a1818 0%, #1a0e0e 100%);
  color: #e0c8c8;
  border-left: none;
  padding-right: 22px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
details.chalkboard-details > summary:hover::after { color: rgba(224,200,200,0.6); }
details.chalkboard-details > summary::-webkit-details-marker { display: none; }
details.chalkboard-details > summary::marker { display: none; content: ""; }

.chalkboard-body {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.01) 0%, transparent 50%, rgba(0,0,0,0.05) 100%),
    linear-gradient(180deg, #141414 0%, #0f0f0f 50%, #0c0c0c 100%) !important;
  color: #b0a8a0 !important;
  padding: 18px 22px !important;
  border-top: 2px solid rgba(255,255,255,0.03) !important;
  font-family: 'Georgia', 'Noto Serif SC', 'SimSun', serif;
  position: relative;
}
.chalkboard-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.02) 1px, transparent 1px),
    radial-gradient(circle at 85% 60%, rgba(255,255,255,0.015) 1px, transparent 1px),
    radial-gradient(circle at 40% 85%, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 50px 50px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}
.chalkboard-body > * { position: relative; z-index: 1; }

.chalkboard-body p,
.chalkboard-body span,
.chalkboard-body div {
  color: #b0a8a0 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}

.chalkboard-body::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(192,160,160,0.1) 40%, rgba(192,160,160,0.1) 60%, transparent 100%);
  margin-top: 14px;
}

.chalkboard-body .budget-mini {
  background: rgba(255,255,255,0.02) !important;
  border: 1px dashed rgba(192,160,160,0.15) !important;
  border-radius: 4px;
}
.chalkboard-body .budget-mini-label {
  color: #a09890 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.chalkboard-body .budget-mini-bar {
  background: rgba(0,0,0,0.4) !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.chalkboard-body .budget-mini-fill {
  background: linear-gradient(90deg, #c08060 0%, #d8a080 100%) !important;
  box-shadow: 0 0 6px rgba(192,128,96,0.2);
}
.chalkboard-body .budget-mini-num {
  color: #d8a080 !important;
  text-shadow: 0 0 4px rgba(216,160,128,0.2);
}

.chalkboard-body .stat-bar .stat-label { color: #b0a8a0 !important; }
.chalkboard-body .stat-bar .stat-label span { color: #908880 !important; }
.chalkboard-body .bar-track {
  background: rgba(0,0,0,0.5) !important;
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.6),
    0 1px 0 rgba(255,255,255,0.02);
  border-radius: 3px;
}
.chalkboard-body .stat-bar.trust .bar-fill {
  background: linear-gradient(90deg, #228822 0%, #33cc33 100%) !important;
  box-shadow: 0 0 8px rgba(51,204,51,0.15), 0 1px 2px rgba(0,0,0,0.4);
}
.chalkboard-body .stat-bar.desire .bar-fill {
  background: linear-gradient(90deg, #8b1a1a 0%, #e03030 100%) !important;
  box-shadow: 0 0 8px rgba(224,48,48,0.15), 0 1px 2px rgba(0,0,0,0.4);
}
.chalkboard-body .stat-bar.coverage .bar-fill {
  background: linear-gradient(90deg, #8b6914 0%, #c8a840 100%) !important;
  box-shadow: 0 0 8px rgba(200,168,64,0.12), 0 1px 2px rgba(0,0,0,0.4);
}
.chalkboard-body .stat-bar.desire.locked .bar-fill {
  background: rgba(255,255,255,0.04) !important;
  box-shadow: none;
}
.chalkboard-body .stat-detail-label {
  color: #a09090 !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.chalkboard-body .info-line { color: #a09890 !important; }
.chalkboard-body .info-line .stat-detail-label { color: #a09090 !important; }

.details-body .chalkboard-body {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.01) 0%, transparent 50%, rgba(0,0,0,0.05) 100%),
    linear-gradient(180deg, #141414 0%, #0f0f0f 50%, #0c0c0c 100%) !important;
  color: #b0a8a0 !important;
}

/* ========================================================= */
/* ===== 20. 监视模块折叠框 ===== */
/* ========================================================= */
details.surveillance-details {
  background: transparent;
  border: none;
  border-left: none;
  box-shadow: none;
  margin-bottom: 14px;
}
details.surveillance-details[open] { box-shadow: none; border-color: transparent; }
details.surveillance-details:hover { border-left-color: transparent; }

details.surveillance-details > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  position: relative;
  background: linear-gradient(180deg, #1a1010 0%, #0f0808 100%);
  border-radius: 10px 10px 0 0;
  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #e0c0c0;
  font-style: normal;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
  border-left: none;
  text-align: left;
  user-select: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
details.surveillance-details > summary::before {
display: none;
}
details.surveillance-details > summary::after {
  content: "▾";
  font-size: 0.7em;
  color: rgba(224,192,192,0.5);
  text-shadow: none;
  margin-left: auto;
  transition: transform .2s ease;
}
details.surveillance-details[open] > summary { border-radius: 10px 10px 0 0; }
details.surveillance-details[open] > summary::after { transform: rotate(180deg); }
details.surveillance-details > summary:hover {
  background: linear-gradient(180deg, #2a1818 0%, #1a0e0e 100%);
  color: #f0d8d8;
  border-left: none;
  padding-right: 18px;
}
details.surveillance-details > summary::-webkit-details-marker { display: none; }
details.surveillance-details > summary::marker { display: none; content: ""; }

/* 监视模块内容区 */
.surveillance-body {
  background: #0a0a0a !important;
  border-radius: 0 0 10px 10px !important;
  border: 1px solid #1a1a1a !important;
  border-top: none !important;
  padding: 0 !important;
  color: #b0b0b0 !important;
  font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow: hidden;
}

/* 设备概览区 */
.surv-overview {
  padding: 14px 16px;
  background: #080808;
  border-bottom: 1px solid #151515;
}
.surv-overview-title {
  font-size: 0.75em;
  font-weight: 700;
  color: #8a7068;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-family: monospace;
}
.surv-cam-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.surv-cam-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 4px;
  font-size: 0.68em;
  text-align: center;
  transition: all .2s;
}
.surv-cam-slot.active {
  background: rgba(51,204,51,0.06);
  border: 1px solid rgba(51,204,51,0.2);
}
.surv-cam-slot.inactive {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  opacity: 0.5;
}
.surv-cam-icon { font-size: 1.4em; }
.surv-cam-label { font-weight: 600; color: #909090; letter-spacing: 0.5px; }
.surv-cam-status {
  font-size: 0.85em;
  letter-spacing: 0.5px;
}
.surv-cam-slot.active .surv-cam-label { color: #c0e0c0; }
.surv-cam-slot.active .surv-cam-status { color: #33cc33; }
.surv-cam-slot.inactive .surv-cam-status { color: #4a4a4a; }

.surv-phone-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 0.72em;
}
.surv-phone-icon { font-size: 1.1em; }
.surv-phone-label { color: #909090; letter-spacing: 0.5px; flex: 1; }
.surv-phone-state {
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.85em;
}
.surv-phone-state.hacked {
  color: #33cc33;
  background: rgba(51,204,51,0.08);
  border: 1px solid rgba(51,204,51,0.15);
}
.surv-phone-state.locked {
  color: #6a6a6a;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.surv-divider {
  height: 4px;
  background: #111111;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

/* ===== 监视器画面区 · 监控屏幕风格 ===== */
.surv-monitor-section { padding: 14px 16px; background: #060606; }
.surv-monitor-header { font-size: 0.75em; font-weight: 700; color: #8a7068; letter-spacing: 1px; margin-bottom: 10px; font-family: monospace; }
.surv-monitor-header::before { content: "▶ "; color: #33cc33; font-size: 0.7em; }

/* 监视器屏幕容器 */
.surv-feed {
  margin-bottom: 10px;
  border: 3px solid #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  background: #020202;
  box-shadow:
    inset 0 0 30px rgba(0,0,0,0.8),
    0 4px 16px rgba(0,0,0,0.5);
  position: relative;
}
.surv-feed:last-child { margin-bottom: 0; }
.surv-feed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  border-radius: 3px;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.4), inset 0 0 8px rgba(0,0,0,0.6);
}

/* 监视器顶部栏 · 类似监控录像的叠加信息 */
.surv-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 100%);
  border-bottom: 1px solid rgba(51,204,51,0.15);
  font-family: 'Courier New', 'SF Mono', monospace;
  font-size: 0.6em;
  position: relative;
  z-index: 2;
}
.surv-feed-label {
  color: #33cc33;
  letter-spacing: 0.8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.surv-feed-label::before {
  content: "●";
  color: #e03030;
  font-size: 0.6em;
  animation: recPulse 1s ease-in-out infinite;
  text-shadow: 0 0 6px rgba(224,48,48,0.8);
}
@keyframes recPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.surv-feed-timestamp {
  color: #33cc33;
  letter-spacing: 0.5px;
  opacity: 0.8;
  font-weight: 500;
}

/* 监视器画面区域 */
.surv-feed-body {
  padding: 18px 20px;
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(51,204,51,0.03) 0px, rgba(51,204,51,0.03) 1px, transparent 1px, transparent 3px),
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
/* 四角暗角 */
.surv-feed-body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.5) 100%);
}
.surv-feed-body::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: 'Courier New', monospace;
  font-size: 0.55em;
  color: rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 3;
  letter-spacing: 2px;
}

/* NO SIGNAL 特殊氛围 */
.surv-feed-body.static {
  background:
    repeating-linear-gradient(0deg, rgba(51,204,51,0.02) 0px, rgba(51,204,51,0.02) 1px, transparent 1px, transparent 2px),
    linear-gradient(90deg, rgba(51,204,51,0.01) 0px, rgba(51,204,51,0.01) 1px, transparent 1px, transparent 4px),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.6) 100%);
}

/* 画面描述文字 */
.surv-feed-text {
  display: block;
  font-size: 0.82em;
  color: #a0c0a0;
  line-height: 1.7;
  position: relative;
  z-index: 5;
  text-shadow: 0 0 1px rgba(51,204,51,0.2);
  font-family: 'Georgia', 'Noto Serif SC', serif;
}
.surv-feed-body.static .surv-feed-text {
  color: #7a8a7a;
  text-shadow: 0 0 2px rgba(51,204,51,0.08);
}

/* 提示小字 */
.surv-feed-note {
  display: block;
  font-size: 0.68em;
  color: #4a5a4a;
  font-style: italic;
  margin-top: 8px;
  position: relative;
  z-index: 5;
}

/* 监视器画面右下角CAM水印 */
.surv-feed-body .surv-feed-text::after {
  content: "";
}

/* 手机消息区 */
.surv-phone-section {
  padding: 0;
  background: #080808;
}
.surv-phone-section-header {
  padding: 10px 16px;
  font-size: 0.75em;
  font-weight: 700;
  color: #8a7068;
  letter-spacing: 0.8px;
  font-family: monospace;
  background: #0c0c0c;
  border-bottom: 1px solid #151515;
}
/* ========================================================= */
/* ===== 20b. 微信消息气泡（通用组件） ===== */
/* ========================================================= */
.wechat-msg-list {
  padding: 10px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wechat-msg {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: flex-start;
}
.wechat-msg.left { flex-direction: row; }
.wechat-msg.right { flex-direction: row-reverse; }
.wechat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: 600;
}
.wechat-bubble {
  background: #1a1a1a;
  padding: 8px 12px;
  border-radius: 3px 10px 10px 10px;
  font-size: 0.82em;
  color: #c0c0c0;
  line-height: 1.5;
  word-break: break-word;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.wechat-msg.right .wechat-bubble { border-radius: 10px 3px 10px 10px; }
.wechat-bubble.self { background: #1a2a1a; color: #c0e0c0; }
.wechat-name {
  display: block;
  font-size: 0.72em;
  color: #6a8a6a;
  margin-bottom: 3px;
  letter-spacing: 0.3px;
}
.wechat-text {
  display: block;
}
/* ========================================================= */
/* ===== 21. 记忆区 · 备注提示 ===== */
/* ========================================================= */
.memory-note {
  font-size: 0.72em;
  color: #6a6a6a;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-style: italic;
  text-align: center;
}

/* ========================================================= */
/* ===== 22. 思维链折叠面板 ===== */
/* ========================================================= */
.cot-exec-content {
  font-size: 0.82em;
  color: #8a8a8a;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ========================================================= */
/* ===== 23. 记忆汇总面板 ===== */
/* ========================================================= */
.memory-summary {
  background: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
}
.memory-summary-header {
  background: #060606;
  border-bottom: 1px solid #1f1f1f;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
}
.memory-summary-icon { font-size: 1.1em; }
.memory-summary-title {
  font-weight: 700;
  color: #c0a0a0;
  letter-spacing: 1px;
}
.memory-summary-body {
  padding: 18px;
  font-size: 0.88em;
  line-height: 1.8;
  color: #a0a0a0;
}
.memory-summary-footer {
  background: #060606;
  border-top: 1px solid #1f1f1f;
  padding: 10px 18px;
  font-size: 0.72em;
  color: #6a6a6a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono, monospace);
}

/* ========================================================= */
/* ===== 24. 记忆回廊 · 嵌套折叠 ===== */
/* ========================================================= */
.memory-config {
  margin-bottom: 10px;
}
.memory-config summary {
  font-size: 0.78em;
  font-weight: 600;
  color: #909090;
  cursor: pointer;
  padding: 4px 0;
}
.memory-config-body {
  font-family: var(--font-mono, monospace);
  font-size: 0.7em;
  color: #6a6a6a;
  line-height: 1.7;
  padding: 6px 0;
}
.memory-stm {
  margin-bottom: 8px;
}
.memory-stm summary,
.memory-ltm summary {
  font-size: 0.78em;
  font-weight: 600;
  color: #909090;
  cursor: pointer;
  padding: 4px 0;
}
.memory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72em;
  margin-top: 6px;
}
.memory-table th {
  text-align: left;
  padding: 4px 8px;
  font-weight: 600;
  color: #6a6a6a;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.memory-table td {
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: #808080;
  vertical-align: top;
  line-height: 1.5;
}
.memory-table tr:last-child td {
  border-bottom: none;
}