/* 微信模拟器容器 */
.wx-chat-box {
    background-color: #f3f3f3;
    padding: 15px 10px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #000;
}

/* 时间戳 */
.wx-time {
    text-align: center;
    color: #b2b2b2;
    font-size: 12px;
    margin-bottom: 15px;
}

/* 消息行基础样式 */
.wx-row {
    display: flex;
    margin-bottom: 18px;
    align-items: flex-start;
}

/* 头像 */
.wx-avatar {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background-size: cover;
    flex-shrink: 0;
}

/* 气泡容器 */
.wx-content {
    margin: 0 10px;
    max-width: 70%;
}

/* 昵称 (仅群聊显示) */
.wx-name {
    font-size: 12px;
    color: #888;
    margin-bottom: 3px;
}

/* 气泡样式 */
.wx-bubble {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* 左侧气泡 (对方) */
.wx-row-left .wx-bubble {
    background-color: #ffffff;
    color: #000;
}

/* 右侧气泡 (我) */
.wx-row-right {
    flex-direction: row-reverse;
}

.wx-row-right .wx-bubble {
    background-color: #95ec69;
    color: #000;
}

/* 气泡小尖角 (可选，为了简洁可不加，这里用简单的伪元素实现) */
.wx-row-left .wx-bubble::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 12px;
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.wx-row-right .wx-bubble::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 12px;
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #95ec69;
}
/* 顶级奢华明亮主题 */
.status-card {
    background: #ffffff;
    border: 2px solid #ffd700;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.1);
}
.status-card summary {
    padding: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%);
    color: #fff;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
}
.status-content {
    padding: 10px 15px;
    background: #fffdf5;
}
.status-content p {
    margin: 5px 0 !important;
    padding: 0 !important;
    color: #444;
    font-size: 0.95em;
    line-height: 1.4;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.2);
}
.novel-body {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 20px;
    margin-top: 15px;
    line-height: 1.8;
    color: #2c3e50;
    font-size: 1.1em;
    border-radius: 10px;
}
.heart-voice {
    color: #e67e22;
    font-weight: bold;
    background: #fff3e0;
    padding: 2px 5px;
}
/* 记忆区整体容器 */
.memory-box {
    background: #ffffff;
    border: 2px solid #f1c40f;
    border-radius: 12px;
    margin: 10px 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
    font-family: "Microsoft YaHei", sans-serif;
}

/* 标题栏：皇家金渐变 */
.memory-box summary {
    padding: 12px 15px;
    background: linear-gradient(90deg, #f1c40f 0%, #ffdb58 100%);
    color: #442d00;
    font-weight: 800;
    font-size: 1.05em;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
}

/* 内容区 */
.memory-content {
    padding: 15px;
    background: #fffdf9;
}

/* 单元格布局 */
.memory-section {
    position: relative;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid #f1c40f;
}

/* 标签样式 */
.memory-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #f1c40f;
    color: #fff;
    font-size: 0.75em;
    border-radius: 4px;
    margin-bottom: 5px;
    font-weight: bold;
}

.memory-badge.current {
    background: #e67e22; /* 即时状态用橙色区分 */
}

/* 文字内容排版 */
.memory-text {
    color: #34495e;
    font-size: 0.95em;
    line-height: 1.6;
    text-align: justify;
}

/* 底部状态条 */
.memory-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 0.8em;
    color: #7f8c8d;
    font-style: italic;
}
/* 通用通话容器 */
.call-wrap { background: #1a1a1a; color: #fff; padding: 20px; border-radius: 15px; font-family: sans-serif; position: relative; overflow: hidden; }
/* 模糊背景 */
.call-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; filter: blur(20px); opacity: 0.3; z-index: 0; }
/* 呼叫内容 */
.call-content { position: relative; z-index: 1; text-align: center; }
.call-avatar { width: 100px; height: 100px; border-radius: 50%; border: 2px solid #fff; margin: 20px auto; }
.call-name { font-size: 24px; font-weight: bold; margin-bottom: 10px; }
.call-status { color: #ccc; font-size: 14px; margin-bottom: 30px; }
/* 按钮区 */
.call-btns { display: flex; justify-content: space-around; margin-top: 50px; }
.btn-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.btn-hangup { background-color: #ff3b30; }
.btn-accept { background-color: #4cd964; }
/* 视频特有：小窗口 */
.video-self { position: absolute; top: 20px; right: 20px; width: 80px; height: 120px; border-radius: 8px; border: 1px solid #fff; background: #333; }
/* 朋友圈容器 */
.moments-box { background: #fff; padding: 15px; font-family: sans-serif; border-bottom: 1px solid #eee; color: #000; text-align: left; }
.moments-header { display: flex; align-items: flex-start; }
.moments-avatar { width: 45px; height: 45px; border-radius: 4px; margin-right: 12px; flex-shrink: 0; }
.moments-info { display: flex; flex-direction: column; }
.moments-name { color: #576b95; font-weight: bold; font-size: 16px; margin-bottom: 4px; }
.moments-text { font-size: 15px; line-height: 1.5; margin-bottom: 10px; white-space: pre-wrap; }
.moments-img { width: 180px; border-radius: 4px; margin-bottom: 10px; display: block; }
/* 时间与操作 */
.moments-footer { font-size: 12px; color: #b2b2b2; display: flex; justify-content: space-between; align-items: center; }
.moments-action-btn { background: #f7f7f7; color: #576b95; padding: 2px 8px; border-radius: 4px; font-weight: bold; }
/* 互动区（点赞与评论） */
.moments-interact { background: #f7f7f7; border-radius: 4px; margin-top: 10px; padding: 8px; position: relative; }
.moments-interact::before { content: ""; position: absolute; top: -10px; left: 15px; border: 6px solid transparent; border-bottom-color: #f7f7f7; }
/* 点赞列表 */
.moments-likes { color: #576b95; font-size: 13px; font-weight: bold; border-bottom: 0.5px solid #e2e2e2; padding-bottom: 5px; margin-bottom: 5px; display: flex; align-items: center; }
.moments-likes::before { content: "❤"; margin-right: 5px; font-size: 11px; }
/* 评论列表 */
.moments-comment-item { font-size: 13px; line-height: 1.6; margin-bottom: 2px; }
.moments-comment-name { color: #576b95; font-weight: bold; }