/* ===== 背景 ===== */
body {
  font-family: "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e293b, #020617);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* ===== 左右布局 ===== */
.layout {
  display: flex;
  gap: 24px;
  width: 1100px;
  align-items: stretch;
}

/* ===== 左边输入区 ===== */
.left {
  flex: 1;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(25px);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
}

/* ===== 右边结果区 ===== */
.right {
  flex: 1;
}

/* ===== 标题 ===== */
h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

/* ===== 输入框 ===== */
textarea {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px;
  background: rgba(0,0,0,0.35);
  color: white;
  outline: none;
}

textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 10px rgba(99,102,241,0.5);
}

/* ===== 按钮 ===== */
button {
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99,102,241,0.4);
}

/* ===== 结果卡片 ===== */
#result {
  height: 100%;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  line-height: 2;
  white-space: pre-wrap;
  font-size: 15px;
  color: #e2e8f0;

  max-height: 520px;
  overflow-y: auto;

  box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
}

/* ===== 标题头 ===== */
#result::before {
  content: "📊 审核报告";
  display: block;
  font-size: 18px;
  margin-bottom: 16px;
  color: #a5b4fc;
  font-weight: 500;
}

/* ===== 评分（第一行🔥） ===== */
#result::first-line {
  font-size: 34px;
  font-weight: bold;
  color: #22c55e;
  display: block;
  margin-bottom: 10px;
}

/* ===== 分块视觉（核心🔥🔥🔥） ===== */
#result {
  border-left: 4px solid #6366f1;
  padding-left: 18px;
}

/* ===== 分段间距 ===== */
#result br {
  display: block;
  margin-bottom: 10px;
  content: "";
}

/* ===== 强化标题感（关键） ===== */
#result {
  letter-spacing: 0.3px;
}

/* ===== 列表优化 ===== */
#result {
  word-break: break-word;
}

/* ===== 滚动条 ===== */
#result::-webkit-scrollbar {
  width: 6px;
}

#result::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

/* ===== 风险颜色 ===== */
.high-risk {
  color: #ef4444;
  font-weight: bold;
}

.low-risk {
  color: #22c55e;
  font-weight: bold;
}

/* ===== 评分颜色（自动视觉） ===== */
#result {
  position: relative;
}

/* ===== Hover微动效（高级感🔥） ===== */
.left:hover,
#result:hover {
  box-shadow: 0 25px 90px rgba(0,0,0,0.6);
  transition: 0.3s;
}