css
/* 恋爱风格UI容器 */
.love-ui-container {
    --primary-pink: #ffb7c5;
    --deep-pink: #ff8fa3;
    --soft-white: #fff9fb;
    --text-dark: #5a4a4e;
    --text-light: #8e7c82;
    --accent-blue: #a2d2ff;
    --shadow: 0 4px 15px rgba(255, 183, 197, 0.3);
    --radius: 16px;
    
    font-family: 'Georgia', 'Microsoft YaHei', serif;
    max-width: 650px;
    margin: 20px auto;
    background: linear-gradient(135deg, #fff0f3 0%, #fff 100%);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* 通用卡片样式 */
.love-card {
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 183, 197, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.love-card[open] {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    border-color: var(--primary-pink);
}

/* Summary 标题栏 */
.love-summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 15px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,240,245,0.5));
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    color: var(--text-dark);
    transition: background 0.3s;
    user-select: none;
}

.love-summary::-webkit-details-marker {
    display: none;
}

.love-summary:hover {
    background: linear-gradient(90deg, #fff5f7, #fff);
}

.love-card[open] .love-summary {
    border-bottom: 1px dashed var(--primary-pink);
}

.love-summary .icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.love-summary .title {
    flex-grow: 1;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
}

.love-summary .arrow {
    font-size: 0.8em;
    color: var(--deep-pink);
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.love-card[open] .love-summary .arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* 内容区域 */
.love-content {
    padding: 15px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 布局网格 */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.info-grid.compact {
    gap: 8px;
}

.info-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.info-item.full-width {
    grid-column: span 2;
}

.info-item.highlight {
    background: rgba(255, 183, 197, 0.15);
    border-left: 3px solid var(--deep-pink);
}

.info-item .label {
    font-size: 0.85em;
    color: var(--text-light);
    margin-bottom: 2px;
}

.info-item .value {
    font-weight: 500;
}

/* 角色面板特定样式 */
.profile-header {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.basic-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.tag {
    background: #fff;
    border: 1px solid var(--primary-pink);
    color: var(--deep-pink);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
}

.inventory-box {
    background: #fafafa;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px dashed #ddd;
}

.item-list {
    margin: 5px 0;
    padding-left: 20px;
    list-style-type: square;
    color: var(--text-dark);
}

/* 状态条 (Affection/Collapse) */
.stats-container {
    margin: 15px 0;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.03);
}

.stat-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-label {
    font-size: 0.85em;
    width: 70px;
    font-weight: bold;
}

.progress-bar {
    flex-grow: 1;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.love-bar .progress-fill {
    background: linear-gradient(90deg, #ffdde1, #ee9ca7);
}

.break-bar .progress-fill {
    background: linear-gradient(90deg, #a18cd1, #fbc2eb);
}

.stat-val {
    font-size: 0.8em;
    width: 30px;
    text-align: right;
    color: var(--text-light);
}

.thought-bubble {
    font-style: italic;
    background: #fdf6f9;
    border: 1px solid #fae1eb;
}

/* 嵌套Details */
.sub-details {
    margin-top: 10px;
    border-top: 1px solid #eee;
}

.sub-details summary {
    padding: 8px 0;
    font-size: 0.9em;
    color: var(--deep-pink);
    cursor: pointer;
    outline: none;
    list-style: none;
}
.sub-details summary::-webkit-details-marker { display: none; }

.sub-content {
    font-size: 0.9em;
    color: var(--text-light);
    padding: 5px 10px;
    background: #fcfcfc;
    border-radius: 6px;
}

/* 社交网络 */
.system-toast {
    text-align: center;
    font-size: 0.8em;
    color: #bbb;
    margin-bottom: 10px;
}

.post {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 3px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.post.hot { border-left-color: #ff6b6b; }
.post.rising { border-left-color: #4ecdc4; }
.post.plot { border-left-color: #ffe66d; }

.post-tag {
    font-size: 0.7em;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 2px;
}

.post-title {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.post-body {
    font-size: 0.9em;
    color: #666;
}

.comment-floor {
    padding: 4px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.85em;
}

/* 记忆表格 */
.table-wrapper {
    overflow-x: auto;
    margin-top: 5px;
}

.mem-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
}

.mem-table th {
    text-align: left;
    background: rgba(255, 183, 197, 0.2);
    padding: 6px;
    color: var(--text-dark);
}

.mem-table td {
    padding: 6px;
    border-bottom: 1px solid #eee;
    color: #666;
}

.memory-meta {
    text-align: right;
    font-size: 0.8em;
    color: var(--deep-pink);
    margin-bottom: 8px;
}

/* 行动推荐 */
.action-card {
    background: #fff;
    padding: 15px;
    border-radius: var(--radius);
    border: 2px solid var(--primary-pink);
    text-align: center;
}

.action-header {
    font-weight: bold;
    color: var(--deep-pink);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-btn {
    background: #fff0f5;
    border: 1px solid var(--primary-pink);
    padding: 10px;
    border-radius: 8px;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-size: 0.95em;
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    background: var(--deep-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 143, 163, 0.3);
}

/* 移动端适配 */
@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .info-item.full-width {
        grid-column: span 1;
    }
}
/* 
 * ═══════════════════════════════════════
 *   💗 恋爱少女风格美化样式 💗
 * ═══════════════════════════════════════
 */

/* 动画定义区 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.05); }
    20%, 40% { transform: scale(0.95); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 105, 180, 0.3), 0 0 20px rgba(255, 182, 193, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 105, 180, 0.5), 0 0 30px rgba(255, 182, 193, 0.4); }
}

@keyframes slide-in-heart {
    from { transform: translateX(-100%) rotate(-45deg); opacity: 0; }
    to { transform: translateX(0) rotate(0deg); opacity: 1; }
}

/* 
 * ---------------------------------
 *   模块一：对话气泡美化 (AI侧)
 * ---------------------------------
 */
.group .bg-gray-100\/90 {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4E1 50%, #FFC0CB 100%) !important;
    border: 3px solid #FFB6C1 !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 24px rgba(255, 105, 180, 0.3), 
                0 4px 12px rgba(255, 182, 193, 0.2),
                inset 0 2px 4px rgba(255, 255, 255, 0.5) !important;
    color: #333333 !important;
    padding: 18px 22px !important;
    position: relative !important;
    animation: slide-in-heart 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    transition: all 0.3s ease !important;
}

/* 气泡爱心装饰 */
.group .bg-gray-100\/90::before {
    content: "💗" !important;
    position: absolute !important;
    top: -12px !important;
    right: 15px !important;
    font-size: 20px !important;
    animation: heartbeat 1.5s ease-in-out infinite !important;
    filter: drop-shadow(0 2px 4px rgba(255, 105, 180, 0.4)) !important;
}

/* 气泡闪烁星星装饰 */
.group .bg-gray-100\/90::after {
    content: "✨" !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 20px !important;
    font-size: 16px !important;
    animation: sparkle 2s ease-in-out infinite !important;
}

/* 气泡悬停效果 */
.group .bg-gray-100\/90:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(255, 105, 180, 0.4), 
                0 8px 16px rgba(255, 182, 193, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.6) !important;
    border-color: #FF69B4 !important;
}

/* 
 * ---------------------------------
 *   模块二：平台按钮美化
 * ---------------------------------
 */
.flex.items-center.gap-2.pb-2 > button {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4),
                0 2px 8px rgba(255, 105, 180, 0.3) !important;
    font-weight: bold !important;
    text-transform: none !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    padding: 10px 24px !important;
    position: relative !important;
    overflow: hidden !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* 按钮爱心波纹效果 */
.flex.items-center.gap-2.pb-2 > button::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.4) !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.6s, height 0.6s !important;
}

/* 按钮悬停效果 */
.flex.items-center.gap-2.pb-2 > button:hover {
    background: linear-gradient(135deg, #FF1493 0%, #C71585 100%) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.6),
                0 4px 12px rgba(255, 105, 180, 0.4),
                0 0 30px rgba(255, 182, 193, 0.3) !important;
    animation: glow-pulse 1.5s ease-in-out infinite !important;
}

/* 按钮悬停时的爱心波纹扩散 */
.flex.items-center.gap-2.pb-2 > button:hover::before {
    width: 300px !important;
    height: 300px !important;
}

/* 按钮点击效果 */
.flex.items-center.gap-2.pb-2 > button:active {
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 2px 10px rgba(255, 20, 147, 0.5) !important;
}

/* 
 * ---------------------------------
 *   模块三：多余元素隐藏
 * ---------------------------------
 */
.MuiButtonBase-root.MuiButton-root.MuiButton-default.css-w13mdt,
.absolute.z-40 .px-4.py-2.hover\:bg-indigo-100:nth-child(5),
.css-nkqe49 {
    /* display: none !important; */ /* 保持原样 */
}

/* 
 * ---------------------------------
 *   模块四：输入栏美化
 * ---------------------------------
 */
#ai-chat-input {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0F5 100%) !important;
    border: 3px solid #FFB6C1 !important;
    border-radius: 20px !important;
    color: #333333 !important;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3),
                inset 0 2px 4px rgba(255, 105, 180, 0.1) !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* 输入框焦点效果 */
#ai-chat-input:focus {
    outline: none !important;
    border-color: #FF69B4 !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFE4E1 100%) !important;
    box-shadow: 0 6px 25px rgba(255, 105, 180, 0.5),
                0 0 30px rgba(255, 182, 193, 0.4),
                inset 0 2px 6px rgba(255, 105, 180, 0.15) !important;
    animation: glow-pulse 2s ease-in-out infinite !important;
}

/* 输入框占位符样式 */
#ai-chat-input::placeholder {
    color: #FFB6C1 !important;
    font-style: italic !important;
    transition: all 0.3s ease !important;
}

#ai-chat-input:focus::placeholder {
    color: #FF69B4 !important;
    transform: translateX(5px) !important;
}

/* 输入框容器 */
#ai-chat-bottom-input { 
    background: linear-gradient(to top, rgba(255, 240, 245, 0.95), rgba(255, 228, 225, 0.9)) !important;
    backdrop-filter: blur(10px) !important;
    border-top: 2px solid #FFB6C1 !important;
    padding: 15px !important;
    box-shadow: 0 -4px 20px rgba(255, 182, 193, 0.2) !important;
}

/* 
 * ---------------------------------
 *   模块五：额外装饰元素
 * ---------------------------------
 */

/* 为整体聊天区域添加浪漫氛围 */
body {
    position: relative !important;
}

/* 可选：添加浮动的爱心背景装饰 */
body::before {
    content: "" !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 105, 180, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 192, 203, 0.06) 0%, transparent 50%) !important;
    pointer-events: none !important;
    z-index: -1 !important;
    animation: float 6s ease-in-out infinite !important;
}

/* 滚动条美化（适用于支持的浏览器） */
::-webkit-scrollbar {
    width: 12px !important;
}

::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, #FFF0F5, #FFE4E1) !important;
    border-radius: 10px !important;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFB6C1, #FF69B4) !important;
    border-radius: 10px !important;
    border: 2px solid #FFF0F5 !important;
    transition: all 0.3s ease !important;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FF69B4, #FF1493) !important;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.5) !important;
}