/* 对话美化CSS */
.story-container {
    background-color: #1a000d; /* 深粉黑色主题背景 */
    color: #ffe6f0; /* 柔和的粉色文字 */
    font-family: 'Georgia', serif; /* 更优雅的字体 */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.5); /* 魅惑的粉色光晕 */
    position: relative;
    overflow: hidden;
}
.story-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(circle at center, rgba(255, 20, 147, 0.1) 0%, rgba(0, 0, 0, 0) 70%); /* 中心粉色放射状渐变 */
    z-index: -1;
}
.time-section {
    text-align: center;
    margin-bottom: 25px;
    background-color: rgba(255, 105, 180, 0.1); /* 浅粉色背景 */
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ff1493; /* 亮粉色边框 */
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}
.time-text {
    font-size: 1.1em;
    font-weight: bold;
    color: #ffb6c1; /* 淡粉色 */
    letter-spacing: 1px;
}
.think-details, .user-details, .npc-details, .memory-details, .options-details {
    background-color: rgba(255, 105, 180, 0.08); /* 浅粉色透明背景 */
    border: 1px solid #ff69b4; /* 亮粉色边框 */
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.2);
    transition: all 0.3s ease-in-out;
}
.think-details[open], .user-details[open], .npc-details[open], .memory-details[open], .options-details[open] {
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.5), 0 0 50px rgba(255, 20, 147, 0.1);
    transform: translateY(-2px);
}
.think-details summary, .user-details summary, .npc-details summary, .memory-details summary, .options-details summary {
    font-size: 1.1em;
    font-weight: bold;
    color: #ff1493; /* 亮粉色 */
    cursor: pointer;
    padding: 8px 10px;
    border-bottom: 2px solid #ff1493;
    margin-bottom: 15px;
    list-style: none; /* 隐藏默认箭头 */
    position: relative;
    transition: color 0.3s ease;
}
.think-details summary::-webkit-details-marker, .user-details summary::-webkit-details-marker, .npc-details summary::-webkit-details-marker, .memory-details summary::-webkit-details-marker, .options-details summary::-webkit-details-marker {
    display: none;
}
.think-details summary::before, .user-details summary::before, .npc-details summary::before, .memory-details summary::before, .options-details summary::before {
    content: '▼'; /* 自定义箭头 */
    position: absolute;
    right: 10px;
    color: #ff1493;
    transition: transform 0.3s ease;
}
.think-details[open] summary::before, .user-details[open] summary::before, .npc-details[open] summary::before, .memory-details[open] summary::before, .options-details[open] summary::before {
    transform: rotate(180deg);
}
.think-details summary:hover, .user-details summary:hover, .npc-details summary:hover, .memory-details summary:hover, .options-details summary:hover {
    color: #fff; /* 悬停变白 */
    text-shadow: 0 0 8px #ff69b4;
}
.status-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 15px;
    font-size: 0.95em;
}
.status-grid span:nth-child(odd) {
    font-weight: bold;
    color: #ffb6c1; /* 淡粉色 */
    text-align: right;
    padding-right: 10px;
    position: relative;
}
.status-grid span:nth-child(odd)::after {
    content: '❤'; /* 爱心装饰 */
    color: #ff1493;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
}
.story-box {
    color: #000000; /* 纯黑色字体 */
    font-family: "Microsoft YaHei", "SimHei", sans-serif; /* 黑体 */
    word-wrap: break-word; /* 保证长文本可以自动换行 */
    line-height: 1.8;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 3px;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}
.story-box p {
    margin: 0 0 15px 0; /* 段落只保留下方间距，上下无多余空白 */
    padding: 0; /* 清除段落默认内边距 */
}
.talk1-box {
    background-color: #fff0f5; /* 浅粉色背景 */
    border: 2px solid #ffc0cb; /* 浅粉色边框 */
    border-radius: 15px;
    padding: 18px 25px;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
    color: #333; /* 对话文本颜色 */
    line-height: 1.7;
    font-size: 1.05em;
}
/* 悬停效果 */
.talk1-box:hover {
    border-color: #ff1493; /* 边框颜色加深 */
    box-shadow: 
        0 0 0 6px rgba(255, 20, 147, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px); /* 轻微上浮 */
}
/* 更精致的花边装饰效果 */
.talk1-box::before {
    content: "";
    display: block;
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, #ff1493, #ff69b4); /* 粉色渐变 */
    border-radius: 2px;
    margin: -20px auto 15px; /* 定位到盒子顶部中间 */
}
.story-wrapper {
    background-color: #2a001a; /* 比container稍浅的背景 */
    border-radius: 10px; /* 只给外层加圆角，避免每个div都有圆角导致衔接处不自然 */
    overflow: hidden; /* 隐藏内部div超出外层圆角的部分 */
    margin-bottom: 20px; /* 整个组和其他元素的间距 */
    border: 2px dashed #ff69b4; /* 虚线边框 */
    background-color: #fce4ec; /* 浅粉色背景 */
    box-shadow: inset 0 0 15px rgba(255, 105, 180, 0.3);
    padding: 10px;
}
.npc-status-card {
    background-color: rgba(255, 105, 180, 0.15);
    border: 1px dashed #ff1493;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 2px 10px rgba(255, 20, 147, 0.2);
}
.npc-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffb6c1;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}
.npc-name::after {
    content: '♡'; /* 爱心装饰 */
    color: #ff1493;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
}
.memory-section {
    background-color: rgba(255, 105, 180, 0.05);
    border: 1px solid #ff1493;
    border-radius: 10px;
    padding: 15px;
    font-size: 0.9em;
    color: #ffb6c1;
}
.memory-section pre {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #ff69b4;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    color: #ffe6f0;
}
.options-list {
    padding: 15px;
    background-color: rgba(255, 105, 180, 0.1);
    border-radius: 10px;
    border: 1px solid #ff1493;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}
.options-list p {
    margin: 0 0 12px 0;
    color: #ffb6c1;
    font-size: 1.1em;
    cursor: pointer;
    padding: 8px 10px;
    transition: all 0.2s ease;
    border-radius: 5px;
}
.options-list p:last-child {
    margin-bottom: 0;
}
.options-list p:hover {
    background-color: rgba(255, 20, 147, 0.2);
    color: #fff;
    text-shadow: 0 0 5px #ff69b4;
    transform: translateX(5px);
}