/* 容器与正文美化 */
.main-container {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #444;
    line-height: 1.6;
}

.story-content {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #f0e6ff;
    box-shadow: 0 4px 12px rgba(180, 150, 255, 0.1);
    margin-bottom: 20px;
}

.story-content p {
    margin-bottom: 1em;
    text-indent: 2em;
}

/* 状态栏整体风格 */
.status-panel details {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.status-panel details:hover {
    border-color: #ff99cc;
    transform: translateY(-1px);
}

/* 标题栏(Summary)设计 */
.status-panel summary {
    padding: 10px 15px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    outline: none;
    display: flex;
    align-items: center;
    color: #fff;
}

/* 各模块配色 - 明亮显眼方案 */
.s-top { background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%); } /* 蔚蓝：当前情况 */
.s-user { background: linear-gradient(90deg, #f6d365 0%, #fda085 100%); } /* 暖金：主角档案 */
.s-npc { background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 100%); } /* 桃粉：红颜录 */
.s-battle { background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%); } /* 紫罗兰：斗法数据 */
.s-task { background: linear-gradient(90deg, #84fab0 0%, #8fd3f4 100%); } /* 翠蓝：任务见闻 */
.s-memo { background: linear-gradient(90deg, #cfd9df 0%, #e2ebf0 100%); color: #555 !important; } /* 银灰：记忆区 */
.s-action { background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%); color: #843c39 !important; } /* 橘粉：行动推荐 */

/* 内容框设计 */
.s-box {
    padding: 12px;
    font-size: 0.9em;
    background: #fffafb;
    color: #555;
    border-top: 1px solid #f0f0f0;
}

/* 数值高亮 */
.val-lp { color: #2ecc71; font-weight: bold; } /* 灵力绿色 */
.val-lust { color: #e91e63; font-weight: bold; } /* 淫欲深粉 */
.val-bond { color: #9b59b6; font-weight: bold; } /* 灵绊紫色 */
.val-status { color: #f39c12; font-style: italic; } /* 状态橘色 */

/* 移除默认箭头并添加自定义图标 */
.status-panel summary::-webkit-details-marker { display: none; }
.status-panel summary::before {
    content: "✦";
    margin-right: 8px;
    font-size: 1.1em;
}