/* ===== 隔壁的闷骚少妇爱上我 · 状态栏 & 记忆区专用美化（玫瑰棕·禁忌版） ===== */
/* 主题色：成熟玫瑰棕 + 暖杏，适配暧昧与情欲张力 */

/* 折叠块整体样式 */
details {
    background: rgba(255, 248, 242, 0.96);
    border: 1px solid #efcfc0;
    border-radius: 20px;
    margin: 14px 0;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(150, 80, 60, 0.04);
}
details[open] {
    padding-bottom: 12px;
    background: rgba(255, 252, 248, 0.98);
    border-color: #e8b8a0;
    box-shadow: 0 4px 12px rgba(190, 110, 80, 0.08);
}

/* 折叠块标题栏 */
summary {
    cursor: pointer;
    padding: 12px 18px;
    font-size: 0.88rem;
    color: #b8655a;
    user-select: none;
    list-style: none;
    font-weight: 500;
    background: linear-gradient(135deg, #fff3ea, #ffe5d8);
    border-radius: 20px;
    word-break: break-word;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    border: 1px solid #efcfc0;
}
summary:hover {
    background: linear-gradient(135deg, #ffe5d8, #ffdbcc);
    color: #a55045;
    transform: translateX(2px);
    border-color: #e8b8a0;
}
summary::-webkit-details-marker { display: none; }

/* 折叠块展开图标（玫瑰+红唇） */
summary::before {
    content: "🌹 ";
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    display: inline-block;
}
details[open] summary::before {
    content: "💋 ";
    transform: rotate(0deg);
}

/* 折叠块内部内容 */
details div, details .panel, details .stats-panel {
    color: #8a5e54;
    padding: 14px 16px;
    line-height: 1.7;
    font-size: 0.85rem;
    background: rgba(255, 245, 238, 0.7);
    border-radius: 16px;
    margin: 8px 6px 0 6px;
}

/* 状态栏内行样式 */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #efcfc0;
}
.stat-row:last-child {
    border-bottom: none;
}
.stat-row span:first-child {
    min-width: 90px;
    color: #c07060;
    font-weight: 500;
}
.stat-row span:last-child {
    min-width: 45px;
    text-align: right;
    color: #da8a70;
    font-weight: 500;
}

/* 进度条 —— 好感度/欲望值/闷骚指数 */
.progress-bar {
    background: #f0ddd4;
    border-radius: 20px;
    height: 8px;
    width: 55%;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}
.progress-fill {
    background: linear-gradient(90deg, #e0a090, #c87860);
    height: 100%;
    border-radius: 20px;
    transition: width 0.4s ease;
    box-shadow: 0 0 4px rgba(200, 120, 96, 0.4);
}

/* 记忆区 · 短期记忆表（暧昧日记） */
.memory-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    margin-top: 8px;
}
.memory-table th {
    background: #fff3ea;
    color: #b8655a;
    padding: 8px 10px;
    text-align: left;
    font-weight: 500;
    border-bottom: 2px solid #e0a090;
}
.memory-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #efcfc0;
    color: #9b6e62;
}
.memory-table tr:last-child td {
    border-bottom: none;
}
.memory-table tr:hover td {
    background: rgba(224, 160, 144, 0.08);
}

/* 长记忆摘要卡片 */
.long-memory {
    background: linear-gradient(135deg, #fff3ea, #ffe5d8);
    border-left: 4px solid #da8a70;
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #8a5e54;
    line-height: 1.6;
}

/* 数值变化标识 */
.value-up {
    color: #8aac8a;
    font-weight: bold;
}
.value-down {
    color: #d98c6a;
    font-weight: bold;
}

/* 禁忌专属装饰（红唇、玫瑰、暗涌） */
.lip-icon {
    font-size: 0.9rem;
    margin-right: 6px;
    vertical-align: middle;
}
.rose-icon {
    display: inline-block;
    animation: roseFloat 2s ease-in-out infinite;
}
@keyframes roseFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}
.blush-effect {
    color: #e09078;
    font-size: 0.7rem;
    margin-left: 8px;
    animation: softPulse 1.6s ease infinite;
}
@keyframes softPulse {
    0% { opacity: 0.6; text-shadow: 0 0 0 #e09078; }
    50% { opacity: 1; text-shadow: 0 0 3px #e09078; }
    100% { opacity: 0.6; text-shadow: 0 0 0 #e09078; }
}

/* 分割线（暗红渐变） */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #efcfc0, #d8aa98, #efcfc0, transparent);
    margin: 12px 0;
}

/* 心跳/悸动动画 */
.heart-throb {
    animation: throbPulse 1.3s ease infinite;
}
@keyframes throbPulse {
    0% { text-shadow: 0 0 0 #e0a090; }
    50% { text-shadow: 0 0 6px #e0a090; transform: scale(1.01); }
    100% { text-shadow: 0 0 0 #e0a090; }
}