/* 痴汉电车状态栏 - 暧昧黑暗主题 CSS */
/* 适用于已通过年龄验证的成人内容界面 */
/* 痴汉电车状态栏 - 暧昧黑暗主题 CSS - 修正版 */
/* 字体颜色已修正为紫色系，提高可读性 */

* {
  box-sizing: border-box;
}

body {
  background-color: #0a0a12; /* 深邃的底色 */
  color: #d4c2ff; /* 浅紫色，提高可读性 */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 15px;
  line-height: 1.5;
}

.status-panel {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(20, 20, 30, 0.9), rgba(10, 10, 20, 0.95));
  border-radius: 12px;
  padding: 20px;
  box-shadow: 
    0 0 25px rgba(255, 20, 100, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(80, 60, 90, 0.4);
}

/* === 通用模块样式 === */
.qq-block {
  margin-bottom: 20px;
  background: rgba(25, 22, 32, 0.7);
  border-radius: 10px;
  padding: 16px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #e0d6ff; /* 更亮的紫色 */
}
.qq-block:hover {
  box-shadow: 0 6px 18px rgba(120, 60, 120, 0.2);
}

/* 模块标题 */
.qq-sub-title {
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
  color: #ff6b9d; /* 暧昧的粉红色 */
  font-size: 1.1em;
  text-shadow: 0 0 8px rgba(255, 107, 157, 0.4);
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 107, 157, 0.3);
  letter-spacing: 0.5px;
}

/* === 状态概览表格 === */
.qq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}
.qq-table th, .qq-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(100, 80, 120, 0.3);
  color: #e0d6ff; /* 表格文字改为紫色 */
}
.qq-table th {
  background-color: rgba(60, 40, 70, 0.5);
  color: #d4a5f3; /* 紫色标题 */
  font-weight: 600;
  width: 120px;
}
.qq-table tr:hover td {
  background-color: rgba(80, 60, 100, 0.2);
  color: #f0e8ff; /* hover时更亮的紫色 */
}
.qq-table strong {
  color: #c59ce0; /* 紫色加粗 */
}

/* === 事件正文区域 === */
.qq-main-content {
  border-left-color: #ff6b9d;
}
.content-area {
  max-height: 500px;
  overflow-y: auto;
  padding: 15px;
  background-color: rgba(15, 13, 20, 0.8);
  border-radius: 8px;
  font-size: 0.95em;
  line-height: 1.7;
  color: #d0c6ff; /* 正文紫色文字 */
  border: 1px solid rgba(255, 107, 157, 0.1);
}
/* 自定义滚动条 */
.content-area::-webkit-scrollbar {
  width: 8px;
}
.content-area::-webkit-scrollbar-track {
  background: rgba(30, 25, 40, 0.5);
  border-radius: 4px;
}
.content-area::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ff6b9d, #9d4edd);
  border-radius: 4px;
}
.content-area p {
  margin-bottom: 1em;
}
.content-area p:first-child {
  color: #b394ff; /* 亮紫色 */
  font-style: italic;
}
.content-area p:nth-child(2) {
  color: #ffa8cb; /* 粉色 */
  border-left: 3px solid #ff6b9d;
  padding-left: 10px;
}

/* === 关联人物卡 (可展开收起) === */
details.qq-character {
  border-left-color: #9d4edd;
}
details.qq-character[open] {
  background: rgba(30, 25, 40, 0.8);
}
summary {
  cursor: pointer;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(157, 78, 221, 0.2), transparent);
  border-radius: 8px;
  font-weight: 600;
  color: #d4a5f3; /* 紫色文字 */
  list-style: none;
  transition: all 0.3s ease;
  position: relative;
}
summary:hover {
  background: linear-gradient(90deg, rgba(157, 78, 221, 0.4), transparent);
  color: #e0b3ff; /* 更亮的紫色 */
}
summary::after {
  content: '▶';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s;
  color: #ff6b9d;
}
details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}
.character-card {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(157, 78, 221, 0.3);
  color: #e0d6ff; /* 卡片内文字紫色 */
}

/* 男性/女性标签微调 */
.character-card .qq-sub-title:nth-of-type(1) {
  color: #6b8cff; /* 男性偏蓝色 */
}
.character-card .qq-sub-title:nth-of-type(2) {
  color: #ff6b9d; /* 女性偏粉色 */
}

/* === 记忆区 === */
details.qq-mem {
  border-left-color: #4db8ff;
}
.qq-mem .qq-sub-title {
  color: #4db8ff;
}
.qq-mem .qq-table th,
.qq-mem .qq-table td {
  color: #d4c2ff; /* 记忆区文字紫色 */
}

/* === 行动推荐 === */
details.qq-action {
  border-left-color: #ffcc00;
}
.qq-action .qq-sub-title {
  color: #ffcc00;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.5);
}
.qq-actions {
  padding-left: 20px;
  margin-top: 10px;
}
.qq-actions li {
  margin-bottom: 10px;
  padding: 10px 14px;
  background: rgba(40, 35, 55, 0.7);
  border-radius: 6px;
  border-left: 3px solid #ffcc00;
  transition: all 0.2s ease;
  color: #f0e6ff; /* 行动列表紫色文字 */
}
.qq-actions li:hover {
  background: rgba(60, 50, 80, 0.9);
  transform: translateX(4px);
  border-left-color: #ff6b9d;
  color: #ffffff;
}
.qq-actions li:last-child {
  color: #b394ff; /* 自由输入选项紫色 */
  font-style: italic;
  border-left-color: #666;
}

/* === 响应式调整 === */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  .status-panel {
    padding: 15px;
  }
  .qq-table th, .qq-table td {
    padding: 8px 10px;
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .qq-table th {
    background-color: transparent;
    color: #ffcc00;
    border-bottom: 1px dashed rgba(255, 204, 0, 0.3);
    padding-bottom: 4px;
    margin-top: 10px;
  }
  .qq-table tr {
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(100, 80, 120, 0.3);
    padding-bottom: 10px;
  }
}