/* ====== 核心逻辑隐藏区 ====== */
/* 隐形魔法：彻底隐藏AI的思维链推演 */
.ai-think {
    display: none; 
}

/* ====== 正文剧情渲染区 (修复白天模式问题) ====== */
.main-story {
    background-color: #1c1c22; /* 强制加上高级深色背景板！屏蔽白天模式的白光 */
    color: #e2e8f0; /* 保持绝赞的浅灰阅读字 */
    line-height: 1.7;
    letter-spacing: 1px;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px; /* 加了背景必须配内边距，才不会挤在边缘 */
    border-radius: 8px; /* 圆角设计，更显柔和高级 */
    border-left: 4px solid #ff4757; /* 左侧加一条警示红线，氛围感拉满 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* 微微的立体阴影 */
    display: block;
}

/* 角色开口说话颜色：欲望玫瑰粉（加粗加亮） */
.talk {
    color: #ff7696;
    font-weight: 600;
    text-shadow: 0 0 2px rgba(255, 118, 150, 0.4);
}

/* 角色内心独白颜色：深海冰蓝（斜体呈现背德心理） */
.thought {
    color: #64b5f6;
    font-style: italic;
    opacity: 1; /* 提高清晰度 */
    font-weight: 500;
}

/* ====== 面板与状态栏 UI ====== */
/* 场记板标题颜色 */
details[open] summary {
    color: #ff4757;
    font-weight: bold;
    border-bottom: 1px solid #4a0000;
    margin-bottom: 5px;
    padding-bottom: 3px;
}

/* 基础监控面板样式（本身带黑框，白天也能看清） */
details {
    background: linear-gradient(145deg, #16161a, #1a1a24);
    border-left: 3px solid #ff4757;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 6px;
    border-radius: 0 6px 6px 0;
    color: #c7c7cc;
    font-size: 13.5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

/* 面板内段落排版优化 */
details p {
    margin: 5px 0;
    line-height: 1.5;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 3px;
}
details p:last-child {
    border-bottom: none;
}

/* 面板折叠标题悬停特效（暗红呼吸感） */
summary {
    cursor: pointer;
    font-weight: 600;
    color: #dcdde1;
}
summary:hover {
    color: #ff6b81;
    text-shadow: 0 0 8px rgba(255, 107, 129, 0.6);
    transition: all 0.3s ease;
}