.chat-card, .chat-card * { box-sizing: border-box; margin: 0; padding: 0; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
body { background: transparent !important; }
.chat-card {
    max-width: 720px;
    margin: 10px auto;
    background: linear-gradient(180deg, #fff0f5 0%, #fff 100%); /* 樱花粉渐变 */
    border: 2px solid #ffc1e3;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(255, 182, 193, 0.25), inset 0 0 0 4px rgba(255,255,255,0.8); /* 外柔光 + 内白边 */
    color: #6a4c52; /* 温暖的深褐色字体 */
    position: relative;
    overflow: hidden;
}
.chat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 12px;
    background: repeating-linear-gradient(45deg, #ffb7b2, #ffb7b2 10px, #ffdac1 10px, #ffdac1 20px);
    opacity: 0.6;
}
.init-setup-box {
    background: rgba(255, 240, 245, 0.8); /* 极淡粉色背景 */
    border: 1px dashed #ffb7b2;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(255, 183, 178, 0.2);
}
.init-setup-box h4 { 
    color: #ff6f91; margin-bottom: 16px; font-size: 17px; 
    display: flex; align-items: center; gap: 8px;
}
.init-setup-box h4::before { content: '📸'; } 
.init-row { display: flex; gap: 12px; margin-bottom: 12px; align-items: center; }
.init-row label { 
    min-width: 70px; font-size: 13px; color: #d65db1; 
    font-weight: bold; text-align: right;
}
.init-row input { 
    flex: 1; padding: 10px 14px; border: 2px solid #ffe4e1; 
    border-radius: 12px; outline: none; background: #fff; color: #555; 
    font-size: 14px; transition: 0.3s;
}
.init-row input:focus { border-color: #ff9aa2; box-shadow: 0 0 8px rgba(255, 154, 162, 0.3); }
.generate-btn {
    width: 100%; background: linear-gradient(to right, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: white; border: none; padding: 12px; border-radius: 50px; cursor: pointer; 
    font-size: 15px; font-weight: bold; letter-spacing: 1px; margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 154, 162, 0.4); transition: transform 0.2s;
}
.generate-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 154, 162, 0.6); }
.generate-btn:active { transform: scale(0.98); }
#config-output {
    display: none; margin-top: 15px; background: #fff5f8; color: #886c75;
    padding: 12px; border-radius: 12px; font-size: 12px; border: 1px solid #ffdde1;
    white-space: pre-wrap; position: relative;
}
#config-output::after {
    content: '👆 请手动将以上内容复制给AI'; display: block; text-align: center;
    color: #ff9aa2; margin-top: 8px; font-size: 11px;
}
.scene-box {
    background: rgba(255, 255, 255, 0.7);
    border-left: 4px solid #b28dff; /* 梦幻紫边框 */
    padding: 14px 18px; margin-bottom: 20px; border-radius: 4px 12px 12px 4px;
    font-size: 15px; color: #756b85; line-height: 1.6;
    position: relative;
}
.scene-box::before {
    content: '🌸'; position: absolute; right: 10px; top: 10px; opacity: 0.3; font-size: 20px;
}
.main-text { line-height: 1.9; margin-bottom: 24px; font-size: 15.5px; text-align: justify; color: #594a4a; }
.hl { 
    color: #e056fd; font-weight: bold; background: linear-gradient(120deg, #f6d365 0%, #fda085 100%); 
    padding: 0 4px; border-radius: 4px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.char-img { 
    display: block; width: 180px; height: auto; margin: 0 auto 15px; border-radius: 20px; 
    border: 4px solid #fff; box-shadow: 0 8px 20px rgba(255, 154, 162, 0.3); 
    transform: rotate(-2deg); transition: 0.3s; background: #fff;
}
.char-img:hover { transform: rotate(0deg) scale(1.02); }
.live-module { margin: 24px 0; position: relative; }
.live-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; color: #ff6f91; font-weight: bold; }
.live-badge { 
    background: #ff6f91; color: white; padding: 3px 10px; border-radius: 20px; 
    font-size: 11px; animation: breathe 3s infinite ease-in-out; box-shadow: 0 0 10px #ff6f91;
}
.live-screen { 
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); /* 紫粉渐变背景 */
    height: 130px; border-radius: 16px; position: relative; overflow: hidden; 
    border: 2px solid #fff; box-shadow: inset 0 0 20px rgba(255,255,255,0.5);
}
.danmaku {
    position: absolute; white-space: nowrap; color: #fff; font-size: 14px; font-weight: 600; 
    text-shadow: 1px 1px 2px rgba(168, 85, 247, 0.4); /* 紫色阴影 */
    animation: fly linear infinite; opacity: 0.95;
}
.status-section { background: rgba(255,255,255,0.6); border: 1px solid #fff; border-radius: 16px; padding: 16px; margin-top: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.status-header { color: #d65db1; font-weight: bold; font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.status-item { 
    background: #fff; padding: 10px 14px; border-radius: 12px; font-size: 13px; 
    display: flex; justify-content: space-between; color: #888; border: 1px solid #f0f0f0;
}
.item-value { color: #ff8fab; font-weight: bold; }

.inv-section { margin-top: 16px; background: #fff0f5; border-radius: 12px; padding: 12px; border: 1px solid #fff59d; }
.inv-title { font-size: 13px; color: #fbc02d; font-weight: bold; margin-bottom: 8px; }
.inv-list { display: flex; gap: 8px; flex-wrap: wrap; }
.inv-tag { 
    background: #fff; border: 1px solid #fff9c4; color: #d65db1; padding: 6px 12px; 
    border-radius: 20px; font-size: 12px; display: flex; align-items: center; gap: 4px; 
    box-shadow: 0 2px 5px rgba(245, 127, 23, 0.1);
}
/* ====== 动画 ====== */
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } }
@keyframes fly { from { left: 100%; transform: translateX(20px); } to { left: 0%; transform: translateX(-100%); } }
@media (max-width: 600px) {
    .chat-card { padding: 20px; margin: 5px; border-radius: 16px; }
    .status-grid { grid-template-columns: 1fr; }
    .init-row { flex-direction: column; align-items: stretch; }
    .init-row label { text-align: left; margin-bottom: 4px; }
}
/* ====== 选项模块美化 ====== */
.choices-section {
    margin-top: 24px;
    border-top: 2px dashed #ffdde1; /* 顶部虚线分割 */
    padding-top: 16px;
}
.choice-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: #fff; /* 白色背景 */
    border: 2px solid #ffc1e3; /* 粉色边框 */
    border-radius: 50px; /* 胶囊形状，更少女 */
    color: #ff6f91; /* 粉色文字 */
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(255, 193, 227, 0.2);
    position: relative;
    overflow: hidden;
}
.choice-btn:hover {
    background: #fff0f5; /* 悬停变淡粉色 */
    border-color: #ff6f91;
    transform: translateX(4px); /* 悬停轻微右移 */
}
.choice-btn:last-child {
    margin-bottom: 0;
}