/* --- 全局样式设定 --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');

.chat-container {
    font-family: 'Noto Sans SC', sans-serif;
}

/* --- 状态栏卡片基础样式 --- */
.status-card {
    background: linear-gradient(145deg, #1f2847, #2c3a5f); /* 渐变背景，增加层次感 */
    border: 1px solid #4a6a8a;
    border-radius: 15px; /* 更大的圆角 */
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    color: #e0e0e0;
}

/* --- 装饰性伪元素 --- */
.status-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 106, 138, 0.1), transparent 40%);
    animation: rotate-glow 15s linear infinite;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- 卡片标题样式 --- */
.status-card h3 {
    color: #a6d8ff; /* 明亮的青蓝色标题 */
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a6a8a;
    text-shadow: 0 0 10px #a6d8ff;
    text-align: center;
}

/* --- 信息网格布局 --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.info-grid p {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
    border-left: 3px solid #6b8ead;
}

.info-grid p strong {
    color: #8cb8d7; /* 标签文字颜色 */
    margin-right: 8px;
}

/* --- 进度条容器样式 --- */
.progress-bar-container {
    margin-bottom: 15px;
}

.progress-bar-container label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #b0c4de;
    font-size: 0.9em;
}

.progress-bar-bg {
    background-color: #1a1a2e;
    border-radius: 20px;
    padding: 3px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.progress-bar {
    height: 18px;
    border-radius: 20px;
    box-shadow: 0 0 10px, 0 0 5px;
    transition: width 0.5s ease-in-out, background-color 0.5s;
    position: relative;
    overflow: hidden;
}

/* 进度条动画光效 */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2.5s ease-in-out infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 不同类型的进度条颜色 */
.progress-bar.good { background-color: #2ecc71; box-shadow: 0 0 10px #2ecc71; } /* 好感值 - 绿色 */
.progress-bar.bad { background-color: #e74c3c; box-shadow: 0 0 10px #e74c3c; } /* 绿帽值 - 红色 */
.progress-bar.lust { background-color: #e91e63; box-shadow: 0 0 10px #e91e63; } /* 性欲值 - 粉色 */

.progress-value {
    float: right;
    font-size: 0.9em;
    color: #b0c4de;
    margin-top: -24px;
}

/* --- 特殊信息与内心想法 --- */
.special-info {
    border-top: 1px solid #4a6a8a;
    padding-top: 15px;
    margin-top: 20px;
}

.inner-thought {
    background-color: rgba(22, 28, 50, 0.7);
    border-left: 5px solid #a6d8ff;
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #cdd6e4;
}

.inner-thought p {
    margin: 0;
}
