css
/* 容器定义 - 梵高星月夜主题 */
.starry-night-container {
    background-color: #0a1931; /* 深蓝基调 */
    background-image: radial-gradient(circle at 20% 20%, #185adb 0%, transparent 40%),
                      radial-gradient(circle at 80% 80%, #001e6c 0%, transparent 40%);
    color: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ffcc00; /* 明黄边框 */
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.8;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 900px;
    margin: 10px auto;
}

/* 环境头部 */
.env-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
}

/* 正文框美化 */
.main-story-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #ffcc00;
    text-align: justify;
    font-size: 1.05rem;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease-in;
}

/* 折叠区域通用样式 */
.info-section {
    background: rgba(24, 90, 219, 0.15);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-section summary {
    padding: 12px 15px;
    cursor: pointer;
    list-style: none;
    font-weight: bold;
    color: #ffcc00;
    display: flex;
    align-items: center;
    outline: none;
}

.info-section summary::before {
    content: "✦";
    margin-right: 10px;
    transition: transform 0.3s;
}

.info-section[open] summary::before {
    transform: rotate(45deg);
    color: #fff;
}

.section-content {
    padding: 15px;
    border-top: 1px solid rgba(255, 204, 0, 0.2);
    animation: slideDown 0.4s ease-out;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
    font-size: 0.95rem;
}

.label {
    color: #ffcc00;
    font-weight: bold;
}

/* 进度条 */
.favor-container {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
    border: 1px solid #ffcc00;
    overflow: hidden;
    margin-top: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #185adb, #ffcc00);
    box-shadow: 0 0 10px #ffcc00;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 世界情报 */
.world-intel {
    background: rgba(255, 204, 0, 0.1);
    border: 1px dashed #ffcc00;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.intel-title {
    color: #ffcc00;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* 记忆区滚动条 */
.scroll-area {
    max-height: 150px;
    overflow-y: auto;
    padding-right: 10px;
}

.scroll-area::-webkit-scrollbar {
    width: 4px;
}

.scroll-area::-webkit-scrollbar-thumb {
    background: #ffcc00;
    border-radius: 2px;
}

.mem-entry {
    font-size: 0.9rem;
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 剧情选项按钮 */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #185adb;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: #185adb;
    border-color: #ffcc00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 90, 219, 0.4);
}

.action-btn span {
    color: #ffcc00;
    font-weight: bold;
    margin-right: 8px;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式适配 */
@media (max-width: 600px) {
    .action-grid { grid-template-columns: 1fr; }
    .env-header { flex-direction: column; gap: 5px; }
}
