css
/* ========== 全局容器控制 ========== */
text, footer {
    max-width: 100%;
    overflow-x: hidden;
}

/* ========== 顶部状态栏 - 薄荷绿小清新 ========== */
header {
    background: linear-gradient(135deg, #d1f2eb 0%, #a7f3d0 50%, #6ee7b7 100%);
    border-left: 5px solid #34d399;
    padding: 14px 22px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #065f46;
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
}

/* ========== 正文区域 - 米白书本质感 ========== */
text {
    display: block;
    background: linear-gradient(to bottom, #fffbeb 0%, #fef3c7 100%);
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    border: 1px solid #fde68a;
    position: relative;
}

text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 29px,
            rgba(251, 191, 36, 0.03) 29px,
            rgba(251, 191, 36, 0.03) 30px
        );
    pointer-events: none;
    border-radius: 8px;
}

text p {
    margin-bottom: 16px;
    text-indent: 2em;
    line-height: 1.9;
    color: #78350f;
    font-family: "Georgia", "Times New Roman", "STSong", "SimSun", serif;
    font-size: 15px;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ========== 底部状态栏容器 ========== */
footer {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
    max-width: 100%;
    box-shadow: none;
}

/* ========== 折叠区域通用样式 ========== */
footer details {
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

footer details summary {
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 25px;
}

footer details summary::before {
    content: '▶';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

footer details[open] summary::before {
    transform: rotate(90deg);
}

footer details[open] summary {
    margin-bottom: 15px;
    padding-bottom: 12px;
}

footer details div, footer details p {
    line-height: 1.7;
    margin-top: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

footer details strong {
    font-weight: 600;
    word-wrap: break-word;
}

/* ========== 主角信息 - 白底天蓝色 ========== */
footer details:nth-of-type(1) {
    background: #ffffff;
    border: 2px solid #93c5fd;
    box-shadow: 0 3px 12px rgba(147, 197, 253, 0.25);
}

footer details:nth-of-type(1) summary {
    color: #1e40af;
    text-shadow: none;
}

footer details:nth-of-type(1)[open] summary {
    border-bottom: 2px solid rgba(147, 197, 253, 0.4);
}

footer details:nth-of-type(1) div,
footer details:nth-of-type(1) p {
    color: #1e3a8a;
}

footer details:nth-of-type(1) strong {
    color: #2563eb;
}

footer details:nth-of-type(1):hover {
    border-color: #60a5fa;
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.35);
}

/* ========== 当前场景NPC - 白底粉色 ========== */
.npc {
    background: #ffffff;
    border: 2px solid #fbcfe8;
    box-shadow: 0 3px 12px rgba(251, 207, 232, 0.25);
}

.npc summary {
    color: #be185d;
    text-shadow: none;
}

.npc[open] summary {
    border-bottom: 2px solid rgba(251, 207, 232, 0.4);
}

.npc div {
    padding: 12px 0;
    color: #831843;
}

.npc strong {
    display: block;
    font-size: 18px;
    color: #be185d;
    margin-bottom: 12px;
    text-shadow: none;
    padding: 8px 12px;
    background: rgba(251, 207, 232, 0.15);
    border-radius: 6px;
    border-left: 4px solid #f9a8d4;
}

.npc hr {
    border: none;
    border-top: 1px dashed rgba(251, 207, 232, 0.5);
    margin: 20px 0;
}

.npc:hover {
    border-color: #f9a8d4;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
}

/* ========== 三女攻略进度 - 白底紫色（带进度条） ========== */
.conquered {
    background: #ffffff;
    border: 2px solid #c4b5fd;
    box-shadow: 0 3px 12px rgba(196, 181, 253, 0.25);
}

.conquered summary {
    color: #6d28d9;
    text-shadow: none;
}

.conquered[open] summary {
    border-bottom: 2px solid rgba(196, 181, 253, 0.4);
}

.conquered div {
    padding: 12px 0;
    color: #5b21b6;
}

.conquered strong {
    display: block;
    font-size: 17px;
    color: #7c3aed;
    margin-bottom: 10px;
    text-shadow: none;
    padding: 6px 10px;
    background: rgba(196, 181, 253, 0.15);
    border-radius: 6px;
    border-left: 4px solid #a78bfa;
}

.conquered hr {
    border: none;
    border-top: 1px dashed rgba(196, 181, 253, 0.5);
    margin: 15px 0;
}

.conquered:hover {
    border-color: #a78bfa;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

/* ========== 进度条样式（三女攻略进度专用） ========== */
.conquered .progress-bar {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    flex-wrap: wrap;
}

.conquered .progress-bar span:first-child {
    min-width: 75px;
    font-size: 14px;
    font-weight: 600;
    color: #5b21b6;
    flex-shrink: 0;
}

.conquered .progress-bar .bar {
    flex: 1;
    height: 26px;
    background: rgba(196, 181, 253, 0.2);
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid rgba(196, 181, 253, 0.5);
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
    min-width: 120px;
}

/* 好感度进度条填充 */
.conquered .progress-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #f472b6 0%, #fb7185 50%, #fda4af 100%);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(244, 114, 182, 0.4);
}

/* 沦陷度进度条填充 */
.conquered .progress-bar .fill-fall {
    height: 100%;
    background: linear-gradient(90deg, #a78bfa 0%, #c084fc 50%, #d8b4fe 100%);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
}

/* 进度条右侧数值显示 - 好感度 */
.conquered .progress-bar .value {
    min-width: 50px;
    font-size: 16px;
    font-weight: 700;
    color: #ec4899;
    text-shadow: none;
    flex-shrink: 0;
    text-align: center;
}

/* 进度条右侧数值显示 - 沦陷度 */
.conquered .progress-bar .value-fall {
    min-width: 50px;
    font-size: 16px;
    font-weight: 700;
    color: #a855f7;
    text-shadow: none;
    flex-shrink: 0;
    text-align: center;
}

/* ========== 赵凯威胁度 - 白底橙红色 ========== */
.threat {
    background: #ffffff;
    border: 2px solid #fca5a5;
    box-shadow: 0 3px 12px rgba(252, 165, 165, 0.25);
}

.threat summary {
    color: #dc2626;
    text-shadow: none;
}

.threat[open] summary {
    border-bottom: 2px solid rgba(252, 165, 165, 0.4);
}

.threat div {
    padding: 12px 0;
    color: #991b1b;
}

.threat strong {
    color: #dc2626;
}

.threat:hover {
    border-color: #f87171;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

/* ========== 记忆回廊 - 白底米黄色 ========== */
.memory {
    background: #ffffff;
    border: 2px solid #fde68a;
    box-shadow: 0 3px 12px rgba(253, 230, 138, 0.25);
    position: relative;
}

.memory::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 29px,
            rgba(251, 191, 36, 0.03) 29px,
            rgba(251, 191, 36, 0.03) 30px
        );
    pointer-events: none;
    border-radius: 8px;
}

.memory summary {
    color: #b45309;
    text-shadow: none;
    font-family: "Georgia", "Times New Roman", serif;
}

.memory[open] summary {
    border-bottom: 2px solid rgba(253, 230, 138, 0.5);
}

.memory div {
    color: #92400e;
    position: relative;
    z-index: 1;
}

.memory strong {
    color: #b45309;
    font-family: "Georgia", "Times New Roman", serif;
}

.memory:hover {
    border-color: #fbbf24;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

/* ========== 记忆区表格容器 ========== */
.memory > div {
    overflow-x: auto;
    max-width: 100%;
}

/* ========== 记忆区表格样式 ========== */
.memory table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin-top: 15px;
    background: rgba(254, 252, 232, 0.5);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
    position: relative;
    z-index: 1;
}

.memory thead {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.memory thead th {
    padding: 12px 10px;
    color: #78350f;
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid #fbbf24;
    font-size: 14px;
    font-family: "Georgia", "Times New Roman", serif;
}

.memory tbody td {
    padding: 10px;
    color: #92400e;
    border-bottom: 1px solid rgba(253, 230, 138, 0.3);
    vertical-align: top;
    font-size: 13px;
    font-family: "Georgia", "Times New Roman", serif;
    background: rgba(255, 255, 255, 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.memory tbody tr:hover {
    background: rgba(254, 243, 199, 0.4);
}

.memory tbody tr:last-child td {
    border-bottom: none;
}

.memory hr {
    border: none;
    border-top: 2px solid rgba(253, 230, 138, 0.4);
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

/* ========== 行动建议样式 - 白底灰绿色（可折叠） ========== */
.actions {
    background: #ffffff;
    border: 2px solid #d1d5db;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.actions summary {
    color: #374151;
    text-shadow: none;
}

.actions[open] summary {
    border-bottom: 2px solid rgba(209, 213, 219, 0.4);
}

.actions div {
    padding: 12px 0;
    color: #374151;
    line-height: 2;
}

.actions:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.actions div br + * {
    display: inline-block;
    margin-top: 8px;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    header {
        font-size: 12px;
        padding: 12px 16px;
    }
    
    text {
        padding: 20px 15px;
    }
    
    text p {
        font-size: 14px;
    }
    
    footer {
        padding: 0;
    }
    
    footer details {
        padding: 12px;
    }
    
    footer details summary {
        font-size: 15px;
    }
    
    .conquered .progress-bar {
        gap: 8px;
    }
    
    .conquered .progress-bar span:first-child {
        min-width: auto;
    }
    
    .conquered .progress-bar .bar {
        min-width: 100px;
    }
    
    .conquered .progress-bar .value,
    .conquered .progress-bar .value-fall {
        font-size: 14px;
        min-width: 45px;
    }
    
    .memory table {
        font-size: 11px;
        min-width: 500px;
    }
    
    .memory thead th,
    .memory tbody td {
        padding: 8px 5px;
    }
}