/* ==========================================
   当谎言遇上病娇 - 蜜糖粉红专属主题 CSS
   ========================================== */

/* 1. 正文区域美化 */
.yandere-text {
    display: block;
    background-color: #fff5f6; /* 极浅蜜桃粉背景 */
    border-left: 5px solid #ff4757; /* 樱桃红左边框 */
    border-right: 1px solid #ffe0e6;
    border-top: 1px solid #ffe0e6;
    border-bottom: 1px solid #ffe0e6;
    padding: 18px 20px;
    margin: 15px 0;
    border-radius: 0 16px 16px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #2f3542; /* 深灰文字，保证可读性 */
    box-shadow: 0 4px 15px rgba(255, 107, 129, 0.05);
}

/* 正文段落间距 */
.yandere-text p {
    margin-bottom: 12px;
    text-indent: 2em; /* 首行缩进 */
}

/* 2. 折叠状态栏整体样式 */
.yandere-details {
    background-color: #ffffff;
    border: 2px solid #ffe0e6;
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 6px 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 6px rgba(255, 107, 129, 0.02);
}

/* 展开时的状态 */
.yandere-details[open] {
    border-color: #ff6b81;
    box-shadow: 0 6px 16px rgba(255, 107, 129, 0.12);
    transform: translateY(-1px);
}

/* 3. 状态栏标题栏（Summary）美化 */
.yandere-summary {
    font-size: 15px;
    font-weight: 700;
    color: #ff4757; /* 樱桃红 */
    cursor: pointer;
    padding: 8px 4px;
    outline: none;
    list-style: none; /* 隐藏默认箭头 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 自定义粉色小爱心箭头 */
.yandere-summary::after {
    content: "🌸";
    font-size: 12px;
    transition: transform 0.3s ease;
}

.yandere-details[open] .yandere-summary::after {
    transform: rotate(45deg) scale(1.2);
}

/* 鼠标悬停效果 */
.yandere-summary:hover {
    color: #ff6b81;
}

/* 4. 状态栏内部 Markdown 样式美化 */
.yandere-details p, .yandere-details ul, .yandere-details ol {
    color: #57606f;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 8px;
}

/* 强力高亮标签 */
.yandere-details strong {
    color: #ff4757;
}

/* 5. 记忆区表格美化 */
.yandere-details table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ffe0e6;
}

.yandere-details th {
    background-color: #ffe0e6;
    color: #ff4757;
    font-weight: bold;
    padding: 8px;
    font-size: 13px;
}

.yandere-details td {
    padding: 8px;
    border-bottom: 1px solid #fff0f2;
    font-size: 12px;
    background-color: #fffcfd;
}

/* 6. 特殊高亮（如病娇值、骨灰罐） */
.yandere-highlight {
    color: #ffa502; /* 警告金 */
    font-weight: bold;
}
/* CG容器样式 */
.cg-container {
    width: 100%;
    text-align: center;
    margin: 15px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 2px solid #ffd700; /* 金色边框，更有抽卡感 */
}

.game-cg {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.game-cg:hover {
    transform: scale(1.05); /* 鼠标悬停稍微放大，高级感拉满 */
}