/* 全局页面底色 - 绝密档案粉黑主题 */
.chat-page {
  background: #fff5f8 !important;
  background-attachment: fixed;
}

/* AI回复气泡（档案主面板：白底+粗黑边框） */
.message-bot {
  background: #ffffff !important;
  border: 2px solid #000000 !important;
  border-radius: 12px !important;
  box-shadow: 0 0 6px rgba(255, 36, 104, 0.35) !important;
  margin: 8px 0;
}

/* 用户发言气泡（浅粉+玫红边框） */
.message-user {
  background: #ffe8ef !important;
  border: 2px solid #ff2468 !important;
  border-radius: 12px !important;
  margin: 8px 0;
}

/* 正文通用字体、行高、间距（适配长篇万字文本） */
.msg-content {
  font-family: "Microsoft Yahei", system-ui, sans-serif !important;
  font-size: 15px !important;
  color: #1a1a1a !important;
  line-height: 1.8 !important;
  letter-spacing: 0.4px !important;
  padding: 10px !important;
}

/* 顶部【極密 / TOP SECRET】红色横幅样式 */
.msg-content .top-secret {
  display: block;
  background: #ff2468;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 4px;
  width: fit-content;
  margin: 0 auto 14px auto;
  font-size: 16px;
}

/* 四大板块标题 ①②③④ 黑方块编号样式 */
.msg-content h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin: 16px 0 8px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid #ddd;
}
.msg-content h2::before {
  content: attr(data-num);
  background: #000000;
  color: #fff;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-weight: bold;
  flex-shrink: 0;
}

/* 项目前置 ■ 玫红圆点标记 */
.msg-content .tag {
  color: #ff2468;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}
.msg-content .tag::before {
  content: "■";
  color: #ff2468;
  font-size: 12px;
}

/* 档案填写区块 点阵底纹模拟输入栏 */
.msg-content .input-block {
  background: #fff0f4;
  background-image: radial-gradient(#ffc8da 1px, transparent 1px);
  background-size: 8px 8px;
  border: 1px solid #000;
  padding: 12px;
  border-radius: 6px;
  min-height: 65px;
  margin: 8px 0;
}

/* 底部 PREVIEW 预览区 粉色虚线框 */
.msg-content .preview-box {
  border: 2px dashed #ff2468;
  background: rgba(255, 232, 239, 0.6);
  padding: 14px;
  border-radius: 8px;
  margin-top: 18px;
}

/* 复制按钮 黑底白字按钮样式 */
.msg-content .copy-btn {
  display: block;
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  margin: 10px 0;
  cursor: default;
}

/* 输入框整体样式 */
.input-box {
  background: #ffffffee !important;
  border: 1px solid #ffc8da !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 4px rgba(255, 36, 104, 0.2) !important;
}
