/* 容器基础样式：古风宣纸质感 */
.game-panel {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px solid #5d5d5d;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: "PingFang SC", "Microsoft YaHei", serif;
}

/* 状态栏折叠组件美化 */
.game-panel details {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    transition: all 0.3s ease;
}

.game-panel details[open] {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.game-panel summary {
    padding: 10px 15px;
    font-weight: bold;
    color: #4a4a4a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px transparent;
}

.game-panel details[open] summary {
    border-bottom: 1px solid #ddd;
    color: #FF1493; /* 对应师尊的色系点缀 */
}

/* 伪元素添加展开图标 */
.game-panel summary::after {
    content: '◈';
    font-size: 12px;
    transition: transform 0.3s;
}

.game-panel details[open] summary::after {
    transform: rotate(90deg);
}

/* 内部文本分段 */
.game-panel p {
    padding: 8px 15px;
    margin: 0;
    line-height: 1.6;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
    font-size: 0.95em;
    color: #333;
}

/* 剧情分歧点特殊样式 */
.game-panel p:last-child {
    border-bottom: none;
    background: rgba(255, 20, 147, 0.05);
    border-radius: 0 0 8px 8px;
}

/* 移动端适配优化 */
@media (max-width: 768px) {
    .game-panel {
        padding: 10px;
        font-size: 14px;
    }
}

/* 简单的呼吸灯效果，用于强调关键信息 */
@keyframes pulse-light {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.game-panel b {
    animation: pulse-light 2s infinite ease-in-out;
}