/* ===== 思维链隐藏 ===== */
cot {
  display: none;
}
/* ===== 顶部状态栏 ===== */
status {
  display: block;
  background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
  color: #2c3e50;
  padding: 14px 20px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(161, 196, 253, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}
/* ===== 正文区域 ===== */
text {
  display: block;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  padding: 24px;
  border-radius: 16px;
  margin: 18px 0;
  line-height: 2;
  font-size: 15px;
  color: #2c3e50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
}
text p {
  margin: 14px 0;
  text-indent: 2em;
}
text p:first-child {
  margin-top: 0;
}
text p:last-child {
  margin-bottom: 0;
}
/* ===== 折叠面板基础样式 ===== */
.info-panel {
  background: #ffffff;
  border-radius: 14px;
  margin: 14px 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}
.info-panel:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.info-panel[open] {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.info-panel summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  user-select: none;
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-panel summary::-webkit-details-marker {
  display: none;
}
.info-panel summary::after {
  content: '▼';
  position: absolute;
  right: 20px;
  font-size: 12px;
  transition: transform 0.3s ease;
  opacity: 0.6;
}
.info-panel[open] summary::after {
  transform: rotate(180deg);
}
.info-panel summary:hover {
  background: rgba(0, 0, 0, 0.02);
}
/* ===== 主角信息面板 ===== */
.user-info {
  border-color: #ffd700;
}
.user-info summary {
  background: linear-gradient(135deg, #fff9e6 0%, #ffecb3 100%);
  color: #f57c00;
}
.user-info[open] {
  border-color: #ffc107;
}
/* ===== 美咲面板 ===== */
.misaki-info {
  border-color: #ffcce0;
}
.misaki-info summary {
  background: linear-gradient(135deg, #fff0f6 0%, #ffe0f0 100%);
  color: #e91e63;
}
.misaki-info[open] {
  border-color: #ff4081;
}
/* ===== 凛子面板 ===== */
.rinko-info {
  border-color: #ffd699;
}
.rinko-info summary {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  color: #ff6f00;
}
.rinko-info[open] {
  border-color: #ff9800;
}
/* ===== 雪乃面板 ===== */
.yukino-info {
  border-color: #b3e5fc;
}
.yukino-info summary {
  background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
  color: #0277bd;
}
.yukino-info[open] {
  border-color: #03a9f4;
}
/* ===== 推荐选项面板 ===== */
.suggest-panel {
  border-color: #c8e6c9;
}
.suggest-panel summary {
  background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
  color: #388e3c;
}
.suggest-panel[open] {
  border-color: #66bb6a;
}
/* ===== 记忆区面板 ===== */
.memory-panel {
  border-color: #d1c4e9;
}
.memory-panel summary {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  color: #7b1fa2;
}
.memory-panel[open] {
  border-color: #ab47bc;
}
/* ===== 面板内容区域 ===== */
.info-content {
  padding: 20px;
  background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.info-item {
  margin: 12px 0;
  display: flex;
  align-items: flex-start;
  line-height: 1.8;
}
.info-item .label {
  font-weight: 600;
  color: #667eea;
  min-width: 80px;
  flex-shrink: 0;
}
.info-item .value {
  color: #495057;
  flex: 1;
}
.info-item .heart-value {
  color: #e91e63;
  font-weight: 600;
}
.info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
/* ===== 推荐选项样式 ===== */
.suggest-content {
  padding: 16px 20px;
  background: linear-gradient(to bottom, #f9fdf9 0%, #ffffff 100%);
  animation: slideDown 0.3s ease;
}
.suggest-item {
  padding: 12px 16px;
  margin: 10px 0;
  background: #ffffff;
  border-left: 4px solid #66bb6a;
  border-radius: 8px;
  color: #2c3e50;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.suggest-item:hover {
  background: #f1f8e9;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(102, 187, 106, 0.2);
}
/* ===== 记忆区样式 ===== */
.memory-content {
  padding: 16px 20px;
  background: linear-gradient(to bottom, #faf8fc 0%, #ffffff 100%);
  animation: slideDown 0.3s ease;
}
.memory-section {
  margin: 16px 0;
}
.memory-title {
  font-weight: 600;
  color: #7b1fa2;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e1bee7;
  font-size: 15px;
}
.memory-item {
  padding: 10px 14px;
  margin: 8px 0;
  background: #ffffff;
  border-left: 3px solid #ab47bc;
  border-radius: 6px;
  color: #495057;
  line-height: 1.7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.memory-turn {
  font-weight: 600;
  color: #7b1fa2;
  margin-right: 8px;
}
/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
  status {
    padding: 12px 16px;
    font-size: 13px;
    border-radius: 12px;
  }
  text {
    padding: 18px;
    font-size: 14px;
    border-radius: 12px;
  }
  .info-panel summary {
    padding: 14px 16px;
    font-size: 15px;
  }
  .info-content {
    padding: 16px;
  }
  .info-item .label {
    min-width: 70px;
    font-size: 14px;
  }
  .info-row {
    grid-template-columns: 1fr;
  }
  .suggest-content {
    padding: 12px 16px;
  }
  .suggest-item {
    padding: 10px 12px;
    font-size: 14px;
  }
  .memory-content {
    padding: 12px 16px;
  }
}
/* ===== 滚动条美化 ===== */
.info-content::-webkit-scrollbar,
.suggest-content::-webkit-scrollbar,
.memory-content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.info-content::-webkit-scrollbar-track,
.suggest-content::-webkit-scrollbar-track,
.memory-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.info-content::-webkit-scrollbar-thumb,
.suggest-content::-webkit-scrollbar-thumb,
.memory-content::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 10px;
}
.info-content::-webkit-scrollbar-thumb:hover,
.suggest-content::-webkit-scrollbar-thumb:hover,
.memory-content::-webkit-scrollbar-thumb:hover {
  background: #764ba2;
}