/* ===== 隐身穿越者 · 原神世界 · 浅蓝色聊天框版 ===== */
/* 浅蓝底色 · 水色微光 · 深色文字 */

.daily-hud {
  background: #eaf4ff;
  border: 1px solid #b8d4e8;
  border-radius: 28px;
  padding: 14px 20px;
  margin-bottom: 16px;
  font-size: 0.9em;
  color: #2c3e6e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hud-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}

.hud-item {
  color: #3a6a8a;
}

.hud-item strong {
  color: #2a7a9a;
  font-weight: 600;
}

.hud-tag {
  font-size: 0.75em;
  color: #5a8aaa;
  margin-top: 6px;
  letter-spacing: 0.3px;
}

/* 正文叙事 */
.daily-scene {
  line-height: 1.85;
  color: #2c3e6e;
  font-size: 1em;
  padding: 12px 0;
  background: transparent;
  border-left: 3px solid #7ab3cc;
  padding-left: 16px;
  margin-left: 8px;
}

/* 折叠块通用 */
details {
  background: #f0f8fe;
  border: 1px solid #c0d8e8;
  border-radius: 24px;
  margin: 14px 0;
  padding: 0;
  transition: 0.2s;
}
details[open] {
  padding-bottom: 12px;
  background: #f5faff;
}
summary {
  cursor: pointer;
  padding: 10px 18px;
  font-size: 0.95em;
  color: #3a6a8a;
  user-select: none;
  list-style: none;
  font-weight: 600;
  background: #e0ecf5;
  border-radius: 24px;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "▶ ";
  font-size: 0.8em;
  color: #7ab3cc;
}
details[open] summary::before {
  content: "▼ ";
}

/* 折叠块内部文字 */
details div, details .panel, details .stats-panel {
  color: #3a5a7a;
  padding: 8px 12px;
}

/* 思维链（GM内部） */
.gm-chain {
  font-family: 'Courier New', monospace;
  font-size: 0.82em;
  color: #5a8aaa;
  background: #f0f8fe;
  padding: 12px 18px;
  white-space: pre-wrap;
  line-height: 1.6;
  border-radius: 20px;
  margin: 12px;
  border-left: 3px solid #7ab3cc;
}

/* 记忆线 */
.memory-line {
  padding: 12px 18px;
  font-size: 0.85em;
  color: #3a5a7a;
  font-family: monospace;
  white-space: pre-wrap;
  line-height: 1.7;
  background: #f0f8fe;
  border-radius: 20px;
  margin: 8px 12px;
  border-left: 2px solid #7ab3cc;
}

/* 状态面板通用 */
.panel {
  padding: 14px 18px;
  font-size: 0.88em;
  color: #2c3e6e;
  line-height: 1.9;
  font-family: monospace;
  white-space: pre-wrap;
  background: #f0f8fe;
  border-radius: 20px;
  margin: 8px 12px;
  border: 1px solid #c0d8e8;
}

/* 数值面板 */
.stats-panel {
  padding: 12px 18px;
}
.stat-row {
  margin-bottom: 10px;
}
.stat {
  font-size: 0.88em;
  color: #3a5a8a;
  font-family: monospace;
  background: #e0ecf5;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 30px;
  margin-right: 8px;
  border: 1px solid #b8d4e8;
}
.stat-change {
  font-size: 0.82em;
  color: #3a5a8a;
  margin-top: 6px;
  font-family: monospace;
  background: #e8f2f8;
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px dashed #7ab3cc;
}

/* 可选行动 */
.actions {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.action-item {
  font-size: 0.95em;
  color: #2a7a9a;
  padding: 10px 18px;
  border-left: 4px solid #7ab3cc;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f0f8fe;
  border-radius: 60px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.action-item:hover {
  border-color: #3a9acc;
  color: #1a6a8a;
  background: #f8fcff;
  transform: translateX(4px);
}

/* 深夜结算 */
.settlement {
  padding: 14px 20px;
  font-size: 0.86em;
  color: #3a5a7a;
  line-height: 2;
  background: #f0f8fe;
  border-radius: 28px;
  margin-top: 16px;
  border: 1px solid #c0d8e8;
}
.settlement p {
  margin: 6px 0;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 6px;
  background: #e0e8f0;
}
::-webkit-scrollbar-thumb {
  background: #7ab3cc;
  border-radius: 10px;
}

/* 整体背景（聊天框容器） */
body {
  background: #eef5fc;
  font-family: 'Segoe UI', 'Poppins', 'Noto Sans CJK SC', system-ui, sans-serif;
}