/* ==================== 地雷系·华丽哥特 ==================== */
/* 设计：破碎蕾丝 · 暗黑教堂 · 血渍光泽 */
/* 适用于回复格式容器，请确保父级背景为深色 */

/* ----- 基础色调 & 字体 ----- */
:root {
  --bg-deep: #0a0508;          /* 最深黑紫 */
  --bg-panel: #110a0f;         /* 面板底色 */
  --border-gothic: #4a1a2e;    /* 暗血红边框 */
  --accent-blood: #b81b3c;     /* 血色强调 */
  --accent-gold: #9e7a5c;      /* 旧金/铜锈色 */
  --text-pale: #e3d6dc;        /* 苍白紫灰 */
  --text-dim: #a28b96;         /* 暗哑文字 */
  --glow-crimson: 0 0 6px rgba(184, 27, 60, 0.5);
  --font-serif: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Crimson Text', 'Garamond', serif;
}

/* 引入哥特风格字体 (需在HTML头部自行添加Google Fonts链接) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* ----- 全局重置 & 容器 ----- */
.reply-container {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-deep);
  border: 2px solid var(--border-gothic);
  box-shadow: 0 0 20px rgba(0,0,0,0.8), inset 0 0 8px rgba(184,27,60,0.2);
  padding: 20px 18px;
  font-family: var(--font-body);
  color: var(--text-pale);
  position: relative;
  border-image: repeating-linear-gradient(45deg, #4a1a2e, #7a2e4a, #4a1a2e) 30;
}

/* 装饰性伪元素：破碎的尖刺 */
.reply-container::before {
  content: "⚰️🕷️🕸️";
  position: absolute;
  top: -12px;
  left: 20px;
  font-size: 18px;
  color: var(--accent-blood);
  text-shadow: var(--glow-crimson);
  letter-spacing: 8px;
  opacity: 0.7;
}

.reply-container::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 10px;
  width: 120px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="%23b81b3c" opacity="0.4"><path d="M10,10 L20,2 L30,10 L40,2 L50,10 L60,2 L70,10 L80,2 L90,10 L100,2 L100,20 L0,20 L0,10 Z"/></svg>') repeat-x;
  background-size: 60px 20px;
}

/* ==================== 顶部状态栏 - 高清晰度优化 ==================== */
.status-bar-top {
  background: #2d0e1b; /* 深黑紫红色底，不透明 */
  backdrop-filter: none; /* 移除毛玻璃效果 */
  border: 1px solid var(--border-gothic);
  border-left: 6px solid var(--accent-blood);
  padding: 14px 16px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 15px #00000066, 0 4px 8px #0000004d;
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 6px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #ffffff; /* 纯白色文字 */
  font-weight: 600; /* 加粗 */
  text-shadow: 0 1px 3px black;
  border-bottom: 1px dotted #5f3a48;
  padding-bottom: 3px;
}

.status-item.full-width {
  width: 100%;
}

.icon {
  color: var(--accent-blood);
  filter: drop-shadow(0 0 4px #b81b3c);
  font-size: 1.1rem;
}

/* ==================== 正文叙述区域 ==================== */
text {
  display: block;
  margin: 20px 0 28px;
}

text p {
  background: #140b10;
  padding: 22px 24px;
  border: 1px solid #6d2e44;
  border-radius: 2px 18px 2px 18px;
  box-shadow: inset 0 0 30px #030101, 0 6px 0 #2e121b;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ead7df;
  text-shadow: 0 1px 2px black;
  position: relative;
  quotes: "“" "”" "‘" "’";
}

text p::before {
  content: "❦";
  font-size: 28px;
  color: var(--accent-blood);
  position: absolute;
  left: -6px;
  top: -18px;
  opacity: 0.8;
  transform: rotate(-15deg);
}

text p::after {
  content: "❦";
  font-size: 28px;
  color: var(--accent-blood);
  position: absolute;
  right: -6px;
  bottom: -22px;
  opacity: 0.8;
  transform: rotate(165deg);
}

/* ==================== 底部折叠卡片区 ==================== */
.status-bar-bottom {
  margin-top: 18px;
  border-top: 3px double #7a2e4a;
  padding-top: 16px;
}

/* 卡片通用设计 */
.status-card {
  margin-bottom: 16px;
  background: #10090d;
  border: 1px solid #581c30;
  border-radius: 0px 12px 0px 12px;
  box-shadow: 0 4px 8px #00000099, inset 0 1px 0 #3f1f2b;
  transition: all 0.2s;
}

.status-card[open] {
  border-color: var(--accent-blood);
  box-shadow: 0 0 12px #b81b3c33, inset 0 0 8px #290e18;
}

/* 折叠标题 */
.status-card summary {
  padding: 12px 18px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: #f0d5e0;
  text-shadow: 2px 2px 0 #3b0e1a;
  background: linear-gradient(145deg, #1f0e16, #0f060b);
  border-left: 12px solid var(--accent-blood);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 2px;
  border-bottom: 1px dashed #6d2e44;
}

.status-card summary::-webkit-details-marker {
  display: none;
}

.status-card summary::before {
  content: "🗝️";
  font-size: 1.4rem;
  filter: drop-shadow(0 0 2px gold);
  margin-right: 8px;
}

.status-card summary::after {
  content: "▼";
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--accent-gold);
  transition: transform 0.3s;
}

.status-card[open] summary::after {
  transform: rotate(180deg);
  color: var(--accent-blood);
}

/* ==================== 卡片内容区 - 高对比度修复版 ==================== */
.profile-content, .memory-content {
  padding: 18px 18px 20px;
  background: #26151e; /* 提亮：深玫瑰色底，比原来亮40% */
  border-top: 1px solid #8a3a58; /* 加亮边框 */
  font-size: 0.95rem;
  color: #fcf0f5; /* 接近纯白的粉白 */
}

.profile-content p, .memory-content p {
  margin: 8px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  border-bottom: 1px solid #6a3045;
  padding-bottom: 6px;
  color: #fcf0f5;
}

/* 标签样式 - 保持亮金色 */
.label {
  display: inline-block;
  min-width: 130px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: #f5dca8; /* 更亮的金色 */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  border-right: 2px solid #b84c6a;
  margin-right: 12px;
}

/* 值样式 - 纯白高亮，确保"白音"这类内容清晰可见 */
.value {
  color: #ffffff !important;
  font-weight: 800;
  text-shadow: 0 0 8px #b81b3c, 0 1px 2px #000000;
  font-size: 1rem;
  background: transparent;
}

/* 身体状态列表 - 提亮背景 */
.body-state-list li {
  margin-bottom: 10px;
  border-left: 4px solid #e83a5c; /* 更亮的血色 */
  padding-left: 16px;
  background: #2d1824; /* 提亮背景 */
  line-height: 1.8;
  color: #fcf0f5;
}

.body-state-list .label {
  min-width: 100px;
  border-right: none;
  color: #f5dca8;
}

/* 选项区块文字增强 */
.choice-item {
  background: #24161c; /* 提亮 */
  border: 1px solid #a04060;
  padding: 12px 18px;
  font-size: 1.1rem;
  border-radius: 0 20px 0 20px;
  box-shadow: 3px 3px 0 #2f131f;
  transition: 0.15s;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fcf0f5;
}

.choice-desc {
  color: #f5e0ea;
  font-style: italic;
  text-shadow: 0 1px 1px #000000;
}

/* ==================== 选项区块 (修复版) ==================== */
.choice-box {
  margin-top: 30px;
  padding: 24px 16px 16px;
  background: #0c0508;
  border: 1px solid #4a1a2e;
  border-radius: 4px;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.choice-title {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--bg-deep);
  padding: 0 15px;
  font-family: var(--font-serif);
  color: var(--accent-blood);
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 3px;
  border-left: 4px solid #b81b3c;
  border-right: 4px solid #b81b3c;
  text-shadow: 0 0 6px black;
  margin: 0;
}

.choice-item {
  background: #180e13;
  border: 1px solid #692b41;
  padding: 12px 18px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  border-radius: 0 15px 0 15px;
  box-shadow: 2px 2px 0 #2f131f;
  color: #e3d6dc; /* 苍白紫灰，确保文字清晰可见 */
  transition: all 0.2s ease;
  font-weight: 500;
  cursor: pointer;
}

/* 去掉最后一个选项的底部边距 */
.choice-item:last-child {
  margin-bottom: 0;
}

/* 鼠标悬浮时的动态反馈：血色高亮 + 微微浮起 */
.choice-item:hover {
  background: #24131c;
  border-color: var(--accent-blood);
  box-shadow: 4px 4px 0 #1e0c13, 0 0 12px rgba(184, 27, 60, 0.5);
  transform: translate(-2px, -2px);
  color: #ffffff; /* 悬浮时文字变纯白，增强交互感 */
}

/* ==================== 手机优化 ==================== */
@media (max-width: 600px) {
  .reply-container { 
    padding: 12px; 
  }
  .status-item { 
    font-size: 0.75rem; 
  }
  .label { 
    min-width: 100px; 
  }
}