/* 状态栏外部容器美化 */
details {
    margin: 15px 0;
    padding: 10px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* 展开状态下的边框发光 */
details[open] {
    border-color: #FF1493;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}

/* 折叠标题美化 */
summary {
    list-style: none;
    cursor: pointer;
    font-weight: bold;
    color: #FF1493;
    padding: 5px 10px;
    outline: none;
    display: flex;
    align-items: center;
}

/* 移除默认箭头并添加自定义图标 */
summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: '◢';
    margin-right: 10px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

details[open] summary::before {
    transform: rotate(90deg);
}

/* 内部内容排版 */
details p {
    margin: 8px 0;
    padding-left: 15px;
    border-left: 2px solid #333;
    font-size: 0.9rem;
    color: #bbb;
    line-height: 1.6;
}

/* 状态栏关键词高亮 */
details p strong {
    color: #FF1493;
    margin-right: 5px;
}

/* 剧情分支按钮感设计 */
.branch-option {
    display: block;
    margin: 5px 0;
    padding: 8px;
    background: #2a2a2a;
    border-radius: 4px;
    color: #e0e0e0;
    text-decoration: none;
    transition: background 0.2s;
}

.branch-option:hover {
    background: #3a3a3a;
    color: #FF1493;
}