/* ===== 绯梦汉韵 · 潘玉莲专用版（透明蓝调版） ===== */

/* 整体背景与字体 - 背景完全透明 */
body, .tw-text {
    background: transparent !important;
    color: #7eb8d4;                     /* 雾蓝，不刺眼 */
    font-family: 'SimSun', 'Songti SC', 'Noto Serif SC', serif;
}

/* 正文区域 - 加粗 */
.tw-text p {
    text-indent: 2em;
    margin: 12px 0;
    line-height: 1.85;
    font-size: 15px;
    color: #7eb8d4;
    letter-spacing: 0.4px;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(126, 184, 212, 0.15);
}

/* 对话 - 潘玉莲专色（粉紫蓝） */
.tw-text .f {
    color: #b8a0d4;                     /* 淡紫蓝，保留温柔感 */
    font-weight: 700;
    text-shadow: 0 0 18px rgba(184, 160, 212, 0.25);
}

/* 强调语气 */
.tw-text .f em {
    color: #d0b8e8;
    font-style: italic;
    font-weight: 700;
}

/* ===== 统一折叠面板（透明磨砂） ===== */
details {
    margin: 10px 0;
    background: rgba(10, 16, 20, 0.3);
    border: 1px solid rgba(126, 184, 212, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

details:hover {
    border-color: rgba(126, 184, 212, 0.4);
    box-shadow: 0 0 25px rgba(126, 184, 212, 0.08);
}

details > summary {
    background: rgba(10, 16, 20, 0.25);
    color: #7eb8d4;
    font-size: 13.8px;
    font-weight: 700;
    padding: 11px 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(126, 184, 212, 0.12);
}

details[open] > summary {
    color: #96cce8;
    background: rgba(14, 20, 24, 0.35);
    border-bottom-color: rgba(126, 184, 212, 0.25);
}

details > summary::after {
    content: '▼';
    margin-left: auto;
    font-size: 10px;
    color: #7eb8d4;
    opacity: 0.65;
    transition: transform 0.3s;
}

details[open] > summary::after {
    transform: rotate(180deg);
    color: #96cce8;
}

details > summary::-webkit-details-marker { display: none; }

/* 记忆回廊特殊样式 */
details.star-memory {
    background: rgba(10, 12, 20, 0.25);
    border-color: rgba(184, 160, 212, 0.25);
}

details.star-memory > summary {
    background: rgba(14, 16, 24, 0.3);
    color: #b8a0d4;
    font-weight: 700;
}

/* 行动推荐 - 背景透明 + 淡蓝 */
details.action {
    background: transparent !important;
    border-color: rgba(126, 184, 212, 0.25) !important;
}

details.action > summary {
    background: transparent !important;
    color: #7eb8d4 !important;
    font-weight: 600 !important;
    border-bottom-color: rgba(126, 184, 212, 0.15) !important;
}

details.action[open] > summary {
    color: #96cce8 !important;
    background: rgba(126, 184, 212, 0.05) !important;
}

details.action * {
    color: #7eb8d4 !important;
}

/* 表格统一美化 */
details table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 13.5px;
    color: #7eb8d4;
}

details th {
    background: rgba(14, 18, 24, 0.35);
    color: #b8a0d4;
    padding: 9px 10px;
    font-weight: 700;
    border-bottom: 2px solid rgba(126, 184, 212, 0.25);
}

details td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(126, 184, 212, 0.08);
    color: #7eb8d4;
    font-weight: 600;
}

details tr:hover td {
    background: rgba(126, 184, 212, 0.07);
}

/* 状态栏块 */
.character-block {
    background: rgba(10, 12, 18, 0.25);
    border: 1px solid rgba(126, 184, 212, 0.18);
    border-radius: 10px;
    padding: 12px;
    margin: 10px 0;
}

.character-block p {
    margin: 5px 0;
    color: #7eb8d4;
    font-weight: 600;
}

/* 思维链 / 记忆块 */
.chain-block {
    padding: 10px;
    margin: 8px 0;
    border-left: 3px solid #b8a0d4;
    background: rgba(12, 14, 22, 0.25);
    border-radius: 0 6px 6px 0;
    font-size: 13.5px;
    color: #7eb8d4;
    font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .tw-text p { font-size: 14.2px; }
    details > summary { font-size: 13.2px; padding: 10px 14px; }
}