/* =========================================
   富二代千金雇佣 - 浅色系奢华UI美化
========================================= */

/* 1. 全局容器与正文排版 */
.erp-container {
    font-family: 'Noto Serif SC', 'Microsoft YaHei', serif;
    max-width: 850px;
    margin: 0 auto;
    background-color: #FDFBFB; /* 极浅的玫瑰白背景，保护视力且显质感 */
    color: #2C1E27; /* 深紫灰色正文，对比度高，阅读清晰 */
    line-height: 1.8;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(139, 0, 93, 0.05);
    border: 1px solid rgba(139, 0, 93, 0.1);
}

.story-content {
    font-size: 1.15em;
    margin-bottom: 35px;
    text-align: justify;
}

.story-content p {
    margin-bottom: 18px;
}

/* 2. 角色对话专属颜色美化 (加粗+专属深色调) */
.dialogue {
    font-weight: bold;
    padding: 0 2px;
}
.dialogue.chumu {
    color: #6B21A8; /* 楚沐：深紫色 (高冷、神秘、财阀千金) */
}
.dialogue.suwan {
    color: #BE123C; /* 苏婉：深绯红色 (成熟、美艳、肉欲) */
}
.dialogue.xiaoxiao {
    color: #0369A1; /* 林晓晓：深海蓝色 (原本的清纯、反差感) */
}
.dialogue.player {
    color: #0F766E; /* 玩家：深青绿色 (冷静、掌控全局) */
}
.dialogue.other {
    color: #B45309; /* 其他人：深琥珀色 (如晓晓男友等) */
}

/* 3. 系统面板整体美化 */
.system-panel {
    background-color: #F8F4F6; /* 面板底色更深一点点，区分正文 */
    border: 1px solid #E5D9E0;
    border-radius: 10px;
    padding: 20px;
}

/* 4. 折叠面板 (状态栏 & 记忆区) */
.status-panel, .memory-panel {
    background-color: #FFFFFF;
    border: 1px solid #E5D9E0;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

summary.panel-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #8B005D; /* 主题酒红色 */
    cursor: pointer;
    user-select: none;
    padding: 5px 0;
    outline: none;
    list-style: none; /* 隐藏默认三角符号(部分浏览器) */
}
summary.panel-title::-webkit-details-marker {
    display: none; /* 隐藏默认三角符号(Webkit) */
}
summary.panel-title::before {
    content: "▼ ";
    font-size: 0.8em;
    color: #D4AF37; /* 金色点缀 */
    display: inline-block;
    transition: transform 0.3s ease;
}
details[open] summary.panel-title::before {
    transform: rotate(180deg);
}

/* 5. 内部小标题与卡片 */
.section-title {
    font-size: 1.05em;
    color: #5A3A4B;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3); /* 浅金色下划线 */
    padding-bottom: 6px;
    margin: 15px 0 10px 0;
}

.npc-card {
    background-color: #FDFBFB;
    border-left: 4px solid #8B005D;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 0 6px 6px 0;
    box-shadow: inset 0 0 10px rgba(139,0,93,0.02);
}

.npc-card h4 {
    margin: 0 0 8px 0;
    color: #8B005D;
}

.system-panel ul {
    list-style-type: none;
    padding-left: 5px;
    margin: 0;
    font-size: 0.95em;
}

.system-panel ul li {
    margin-bottom: 6px;
}
.system-panel ul li strong {
    color: #5A3A4B;
}

/* 6. 推荐行动面板 */
.action-panel {
    background-color: #FFFFFF;
    border: 1px solid #E5D9E0;
    border-radius: 8px;
    padding: 18px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(139, 0, 93, 0.04);
}

.action-panel .panel-title {
    color: #8B005D;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 6px;
}

.action-list {
    padding-left: 0;
    list-style-type: none;
    counter-reset: action-counter;
}

.action-item {
    position: relative;
    padding: 12px 15px 12px 40px;
    margin-bottom: 10px;
    background-color: #FDFBFB;
    border: 1px solid #E5D9E0;
    border-radius: 6px;
    color: #2C1E27;
    font-weight: 500;
    transition: all 0.2s ease;
}

.action-item::before {
    counter-increment: action-counter;
    content: counter(action-counter) ".";
    position: absolute;
    left: 15px;
    color: #D4AF37;
    font-weight: bold;
}

.action-item:hover {
    background-color: #FFF0F5; /* 鼠标悬停时的微粉色反馈 */
    border-color: #8B005D;
    transform: translateX(3px);
}

.action-item.custom-action {
    font-style: italic;
    color: #8A7F8D;
    border: 1px dashed #D1B3C4;
    background-color: transparent;
}
.action-item.custom-action::before {
    content: "✍";
    color: #8A7F8D;
}