/* 容器样式（已修复移动端背景问题） */
.bath-container {
    background: #1a1a2e linear-gradient(135deg, #2c003e 0%, #1a1a2e 100%);
    border: 1px solid #ff00ff55;
    border-radius: 12px;
    padding: 10px;
    color: #e0e0e0;
    font-family: "Microsoft YaHei", sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    background-attachment: fixed;
    will-change: transform, background;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

/* 顶部时间地点栏 */
.bath-meta {
    font-size: 0.85em;
    color: #ffb7ff;
    background: rgba(255,255,255,0.05);
    padding: 5px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 3px solid #ff69b4;
}

/* 正文区域 */
.bath-text {
    line-height: 1.8;
    letter-spacing: 0.5px;
    padding: 15px 5px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 折叠栏美化 */
details {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,105,180,0.2);
    border-radius: 8px;
    margin-top: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

details[open] {
    border-color: #ff69b4;
    box-shadow: 0 0 10px rgba(255,105,180,0.2);
}

summary {
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #ff69b4;
    list-style: none;
    outline: none;
    background: rgba(255,105,180,0.1);
}

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

/* 属性条目美化 */
.stat-item {
    padding: 5px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
}

.stat-label { color: #ffb7ff; }
.stat-value { color: #ffffff; }

/* 建议框 */
.suggestion-box {
    background: #00000044;
    border-radius: 4px;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #444;
}
think { display: none; }
/* User的对话：清透薄荷蓝 */
udial {
    color: #81D4FA; 
    font-weight: 500;
}

/* User的内心独白：雾霾灰蓝 + 斜体 */
umono {
    color: #90CAF9;
    font-style: italic;
    opacity: 0.85; 
}

/* 女NPC的对话：柔和海棠粉 */
ndial {
    color: #F48FB1;
    font-weight: 500;
}

/* 女NPC的内心独白：丁香浅紫 + 斜体 */
nmono {
    color: #CE93D8;
    font-style: italic;
    opacity: 0.85;
}

/* ⬇️ 这一步是赛博魔法：多端与日夜间模式自动适配 ⬇️ */
/* 如果用户强行切换到日间模式(浅色背景)，原本的亮色可能看不清，这里让它们自动加深 */
@media (prefers-color-scheme: light) {
    udial { color: #0277BD; } /* 深海蓝 */
    umono { color: #1565C0; opacity: 0.9; }
    ndial { color: #C2185B; } /* 树莓红 */
    nmono { color: #7B1FA2; opacity: 0.9; } /* 深紫 */
}