/* ===== 隔壁的少妇爱上我 · 主动暧昧版 ===== */
/* 柔粉诱惑 · 暖光氛围 · 黑色文字 */

.daily-hud {
  background: #fff0e6;
  border: 1px solid #e2b8a0;
  border-radius: 28px;
  padding: 14px 20px;
  margin-bottom: 16px;
  font-size: 0.9em;
  color: #3a2a24;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 235, 220, 0.9);
}

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

.hud-item {
  color: #6a4a38;
}

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

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

/* ===== 正文叙事 ===== */
.daily-scene {
  line-height: 1.85;
  color: #3a2a24;
  font-size: 1em;
  padding: 12px 0;
  background: transparent;
}

/* ===== 折叠块通用 ===== */
details {
  background: #fffcf8;
  border: 1px solid #eaccb8;
  border-radius: 24px;
  margin: 14px 0;
  padding: 0;
  transition: 0.2s;
}
details[open] {
  padding-bottom: 12px;
  background: #fffef8;
}
summary {
  cursor: pointer;
  padding: 10px 18px;
  font-size: 0.95em;
  color: #8a4a2a;
  user-select: none;
  list-style: none;
  font-weight: 600;
  background: #ffefe4;
  border-radius: 24px;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "▶ ";
  font-size: 0.8em;
  color: #e8905a;
}
details[open] summary::before {
  content: "▼ ";
}

/* 折叠块内部文字 */
details div, details .panel, details .stats-panel {
  color: #3a2a24;
}

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

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

/* ===== 状态面板 ===== */
.panel {
  padding: 14px 18px;
  font-size: 0.88em;
  color: #3a2a24;
  line-height: 1.9;
  font-family: monospace;
  white-space: pre-wrap;
  background: #fffef8;
  border-radius: 20px;
  margin: 8px 12px;
  border: 1px solid #eaccb8;
}

/* ===== 数值面板 ===== */
.stats-panel {
  padding: 12px 18px;
}
.stat-row {
  margin-bottom: 10px;
}
.stat {
  font-size: 0.88em;
  color: #3a2a24;
  font-family: monospace;
  background: #ffede2;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 30px;
  margin-right: 8px;
}
.stat-change {
  font-size: 0.82em;
  color: #3a2a24;
  margin-top: 6px;
  font-family: monospace;
  background: #fff0e6;
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
}

/* ===== 可选行动 ===== */
.actions {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.action-item {
  font-size: 0.95em;
  color: #b8602e;
  padding: 10px 18px;
  border-left: 4px solid #f0a86a;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fffcf8;
  border-radius: 60px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.action-item:hover {
  border-color: #f0824a;
  color: #d6420a;
  background: #fff7f0;
  transform: translateX(4px);
}

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

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

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