css
/* ========================================= */
/* PART 1: 用户原始内容 (女大学生宿舍风格) */
/* ========================================= */

/* 女大学生宿舍风格 - 青春甜美主题 */
.status-panel {
    background: linear-gradient(135deg, #ffeef8 0%, #f8f0ff 50%, #fff0f5 100%);
    border: 3px solid #ff69b4;
    border-radius: 20px;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
}

.status-panel h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-variant: small-caps;
}

/* 和谐度部分美化 */
.harmony-section {
    background: linear-gradient(135deg, #fff0f5, #ffeef8);
    border: 2px solid #ffb6c1;
    border-radius: 15px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
    position: relative;
    overflow: hidden;
}

.harmony-section::before {
    content: "💕";
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 24px;
    opacity: 0.3;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.harmony-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #d63384;
}

.harmony-row span:first-child {
    font-weight: 600;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.harmony-bar {
    flex: 1;
    height: 20px;
    background: linear-gradient(90deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #ffb6c1;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.harmony-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff69b4, #ff1493, #dc143c);
    border-radius: 8px;
    transition: width 0.8s ease;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.harmony-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.harmony-row span:last-child {
    font-weight: bold;
    color: #ff1493;
    text-shadow: 0 1px 2px rgba(255, 20, 147, 0.3);
}

.limit-reached {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.stage-info {
    text-align: center;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
    font-weight: 650;
    letter-spacing: 1.2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-variant: small-caps;
    position: relative;
    overflow: hidden;
}

.stage-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: stage-shine 3s infinite;
}

@keyframes stage-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 信息卡片通用样式 */
.info-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ffb6c1;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 182, 193, 0.3);
}

.info-card summary {
    background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
    padding: 12px 20px;
    font-weight: bold;
    color: #d63384;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(214, 51, 132, 0.1);
    font-variant: small-caps;
}

.info-card summary:hover {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.info-card[open] summary {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-content {
    padding: 15px 20px;
    background: linear-gradient(135deg, #fafafa, #f8f9fa);
}

/* 场景卡片特殊样式 - 优化后的网格布局 */
.scene-card {
    border-color: #20b2aa;
    background: linear-gradient(135deg, #e0ffff, #f0ffff);
}

.scene-card summary {
    background: linear-gradient(135deg, #48d1cc, #20b2aa);
    color: white;
}

.scene-card summary:hover {
    background: linear-gradient(135deg, #20b2aa, #008b8b);
}

.scene-card .card-content {
    padding: 15px 20px;
    background: linear-gradient(135deg, #fafafa, #f8f9fa);
    display: grid;
    gap: 12px;
}

.scene-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 15px;
    align-items: start;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border-left: 4px solid #20b2aa;
    transition: all 0.3s ease;
    min-height: 45px;
}

.scene-row:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(32, 178, 170, 0.15);
}

.scene-row span:first-child {
    color: #20b2aa;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-variant: small-caps;
    white-space: nowrap;
    align-self: center;
}

.scene-row span:last-child {
    color: #2f4f4f;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.2px;
    line-height: 1.5;
    word-wrap: break-word;
    padding: 2px 0;
}

/* 系统卡片样式 */
.system-card {
    border-color: #6c757d;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.system-card summary {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.daily-limits {
    background: rgba(108, 117, 125, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.limit-counter {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 12px;
}

.remaining {
    color: #6c757d;
    font-style: italic;
    font-size: 14px;
}

.change-value {
    background: linear-gradient(45deg, #17a2b8, #20c997);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 11px;
    margin: 0 2px;
}

.system-note {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.1), transparent);
    padding: 8px 12px;
    border-left: 3px solid #ffc107;
    border-radius: 5px;
    font-style: italic;
    color: #856404;
}

/* 记忆卡片样式 */
.memory-card {
    border-color: #9370db;
    background: linear-gradient(135deg, #f8f0ff, #e6e6fa);
}

.memory-card summary {
    background: linear-gradient(135deg, #9370db, #8a2be2);
    color: white;
}

.memory-title {
    font-weight: bold;
    color: #9370db;
    margin: 10px 0 5px 0;
    padding: 8px 12px;
    background: linear-gradient(90deg, #dda0dd, #e6e6fa);
    border-radius: 8px;
    border-left: 4px solid #9370db;
    font-weight: 650;
    letter-spacing: 1px;
    font-variant: small-caps;
}

.memory-item {
    margin: 8px 0;
    padding: 8px;
    background: linear-gradient(90deg, #f8f0ff, #fff0f5);
    border-left: 3px solid #dda0dd;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.2px;
    word-spacing: 0.5px;
    transition: all 0.3s ease;
}

.memory-item:hover {
    background: linear-gradient(90deg, #e6e6fa, #f0f8ff);
    transform: translateX(2px);
}

.memory-rule {
    background: linear-gradient(90deg, rgba(147, 112, 219, 0.1), transparent);
    padding: 8px 12px;
    border-left: 3px solid #9370db;
    border-radius: 5px;
    font-style: italic;
    color: #663399;
    margin-top: 10px;
}

/* 玩家卡片样式 */
.player-card {
    border-color: #007bff;
    background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
}

.player-card summary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

/* 角色卡片样式 */
.xuwei-card {
    border-color: #fd7e14;
    background: linear-gradient(135deg, #fff3e0, #ffeaa7);
}

.xuwei-card summary {
    background: linear-gradient(135deg, #fd7e14, #e55100);
    color: white;
}

.lazi-card {
    border-color: #dc3545;
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
}

.lazi-card summary {
    background: linear-gradient(135deg, #dc3545, #c62828);
    color: white;
}

.wanqing-card {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
}

.wanqing-card summary {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

/* 详细信息折叠样式 */
.detail-info {
    margin-top: 10px;
    border: 1px solid rgba(255, 182, 193, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.detail-info summary {
    background: rgba(255, 182, 193, 0.2);
    padding: 8px 12px;
    font-size: 14px;
    color: #d63384;
    cursor: pointer;
}

.detail-content {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.5);
}

.kink-tag {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 行动选项卡片样式 */
.action-card {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff8e1, #fffde7);
}

.action-card summary {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    color: #212529;
    font-weight: bold;
}

.action-option {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ffb6c1;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    word-spacing: 0.8px;
}

.action-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
}

.action-option.aggressive {
    border-color: #dc3545;
    background: linear-gradient(135deg, #ffebee, #fff);
}

.action-option.aggressive:hover {
    background: linear-gradient(135deg, #ffcdd2, #ffebee);
}

.action-option.conservative {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8, #fff);
}

.action-option.conservative:hover {
    background: linear-gradient(135deg, #c8e6c9, #e8f5e8);
}

.action-option.intimate {
    border-color: #ff69b4;
    background: linear-gradient(135deg, #ffeef8, #fff);
}

.action-option.intimate:hover {
    background: linear-gradient(135deg, #ffb6c1, #ffeef8);
}

.action-option.balanced {
    border-color: #007bff;
    background: linear-gradient(135deg, #e3f2fd, #fff);
}

.action-option.balanced:hover {
    background: linear-gradient(135deg, #bbdefb, #e3f2fd);
}

.action-option.custom {
    border-color: #6f42c1;
    background: linear-gradient(135deg, #f3e5f5, #fff);
}

.action-option.custom:hover {
    background: linear-gradient(135deg, #e1bee7, #f3e5f5);
}

/* 正文叙述分层样式（已修改三级旁白为天蓝色） */
.status-panel .narr-1,
.card-content .narr-1,
p.narr-1 { 
    color: #495057 !important; 
    line-height: 1.8; 
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    word-spacing: 1px;
}

.status-panel .narr-2,
.card-content .narr-2,
p.narr-2 { 
    color: #6c757d !important; 
    font-style: italic; 
    line-height: 1.7; 
    margin-bottom: 10px;
    font-weight: 350;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.03);
    word-spacing: 0.5px;
}

/* 三级旁白：辅助内容，天蓝色配色（原浅灰修改） */
.status-panel .narr-3,
.card-content .narr-3,
p.narr-3 { 
    color: #87ceeb !important; /* 经典天蓝色，适配主题且清晰度拉满 */
    font-weight: 300; 
    line-height: 1.6; 
    margin-bottom: 8px;
    letter-spacing: 0.1px;
    text-shadow: 0 0.5px 1px rgba(0,0,0,0.05); /* 增强文字立体感，避免模糊 */
    opacity: 1; /* 保证颜色饱满清晰 */
}

.status-panel .dialogue,
.card-content .dialogue,
p.dialogue { 
    color: #ff69b4 !important; 
    border-left: 3px solid #ff69b4; 
    padding-left: 12px; 
    margin: 10px 0; 
    font-weight: 500; 
    background: linear-gradient(90deg, rgba(255, 105, 180, 0.1), transparent);
    border-radius: 0 8px 8px 0;
    font-size: 1.02em;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(255, 105, 180, 0.15);
    position: relative;
    word-spacing: 1px;
}

.status-panel .dialogue::before,
.card-content .dialogue::before,
p.dialogue::before {
    content: "💭";
    position: absolute;
    left: -8px;
    top: 2px;
    font-size: 0.8em;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

.status-panel .environment,
.card-content .environment,
p.environment { 
    background: linear-gradient(90deg, rgba(255, 182, 193, 0.15), transparent) !important; 
    padding: 8px 12px; 
    border-radius: 8px; 
    color: #6c757d !important; 
    font-style: italic; 
    margin: 8px 0;
    font-weight: 350;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.04);
    position: relative;
    word-spacing: 0.8px;
}

.status-panel .environment::after,
.card-content .environment::after,
p.environment::after {
    content: "🌸";
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 0.85em;
    opacity: 0.5;
    animation: sparkle 4s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: rotate(0deg); }
    50% { opacity: 0.8; transform: rotate(180deg); }
}

/* 特殊文字效果类 */
.fancy-text {
    background: linear-gradient(45deg, #ff69b4, #ff1493, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.glow-text {
    color: #ff69b4;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.4),
                 0 0 16px rgba(255, 105, 180, 0.2);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cute-text {
    color: #ff69b4;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
}

.cute-text::after {
    content: "✨";
    position: absolute;
    right: -15px;
    top: -2px;
    font-size: 0.8em;
    opacity: 0.7;
    animation: sparkle 2s ease-in-out infinite;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 场景行改为垂直布局 */
    .scene-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }
    
    .scene-row span:first-child {
        white-space: normal;
        width: 100%;
        font-size: 14px;
        color: #20b2aa;
        font-weight: 600;
        border-bottom: 1px solid rgba(32, 178, 170, 0.3);
        padding-bottom: 4px;
        margin-bottom: 4px;
    }
    
    .scene-row span:last-child {
        width: 100%;
        text-align: left;
        font-size: 13px;
        line-height: 1.4;
        color: #2f4f4f;
        padding: 8px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 6px;
    }
    
    /* 整体面板在手机端的优化 */
    .status-panel {
        padding: 15px;
        margin: 10px;
        border-radius: 15px;
    }
    
    .status-panel h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    /* 和谐度条在手机端的优化 */
    .harmony-row {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .harmony-row span:first-child {
        min-width: auto;
        text-align: center;
        font-size: 14px;
    }
    
    .harmony-bar {
        height: 16px;
        margin: 5px 0;
    }
    
    .harmony-row span:last-child {
        text-align: center;
        font-size: 16px;
    }
    
    /* 卡片内容间距优化 */
    .card-content {
        padding: 12px 15px;
    }
    
    /* 行动选项在手机端的优化 */
    .action-option {
        padding: 12px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 记忆区域优化 */
    .memory-item {
        font-size: 13px;
        padding: 10px;
        line-height: 1.5;
    }
}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
    .scene-row span:first-child {
        font-size: 13px;
    }
    
    .scene-row span:last-child {
        font-size: 12px;
        padding: 6px;
    }
    
    .status-panel {
        padding: 12px;
        margin: 5px;
    }
    
    .harmony-section {
        padding: 12px;
    }
    
    .stage-info {
        padding: 6px 12px;
        font-size: 14px;
    }
}