/* @🍮 */
        body {
            margin: 0;
            padding: 0;
            background-color: #e9e9e9;
            font-family: sans-serif;
            display: flex;
            justify-content: center;
        }
        
        .screen {
            width: 100%;
            max-width: 400px; 
            min-height: 100vh;
            background-color: #f0f0f0;
            padding: 20px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .editable {
            outline: none;
            cursor: text;
        }

        .profile-card {
            background-color: #ffffff;
            border-radius: 20px;
            padding: 40px 20px 20px;
            position: relative;
            text-align: center;
            margin-top: 40px; 
        }
        
        .avatar-container {
            width: 80px;
            height: 80px;
            background-color: #ffffff;
            border-radius: 50%;
            position: absolute;
            top: -40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }
        
        .avatar {
            width: 70px;
            height: 70px;
            background-color: #ddd;
            border-radius: 50%;
            cursor: pointer; 
            background-size: cover;
            background-position: center;
        }
        .nickname { font-size: 24px; font-weight: bold; color: #000; margin-bottom: 5px; }
        .userid { font-size: 14px; color: #999; margin-bottom: 15px; }
        .bio { font-size: 12px; color: #999; margin-bottom: 15px; }
        .location {
            font-size: 12px; color: #999;
            display: flex; justify-content: center; align-items: center; gap: 5px;
        }

        .middle-row {
            display: flex;
            gap: 15px;
            height: 220px;
        }

        .left-widget-wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .left-widget {
            background-color: #ffffff;
            border-radius: 20px;
            padding: 15px;
            flex: 1;
            display: flex;
            flex-direction: column;
            box-sizing: border-box;
        }
        
        .widget-top-row {
            display: flex;
            align-items: center;
            gap: 8px;
            padding-bottom: 8px; /* 给下面留一点点呼吸的空间 */
        }
        .small-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: #eee;
            background-size: cover;
            background-position: center;
            cursor: pointer;
            flex-shrink: 0;
        }
        
        .widget-section {
            padding: 6px 0; /* 稍微调小了一点点上下间距，免得内容太多溢出卡片 */
            font-size: 12px;
            color: #333;
            flex: 1;
            display: flex;
            align-items: center;
        }
        .divider { border-bottom: 1px dashed #ccc; }
        
        .outside-text {
            font-size: 12px;
            color: #666;
            text-align: center;
            margin-top: 5px;
        }

        .polaroid {
            flex: 1;
            background-color: #ffffff;
            border-radius: 10px;
            padding: 10px;
            display: flex;
            flex-direction: column;
            box-sizing: border-box;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .polaroid-img {
            flex: 1;
            background-color: #e0e0e0;
            border-radius: 5px;
            margin-bottom: 10px;
            cursor: pointer;
            background-size: cover;
            background-position: center;
        }
        .polaroid-text { text-align: center; font-size: 12px; color: #333; }

        .music-card {
            background-color: #ffffff;
            border-radius: 20px;
            padding: 15px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 2px 10px rgba(0,0,0,0.03);
        }
        .music-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
        .music-info { display: flex; align-items: center; gap: 10px; }
        .music-text-title { margin: 0; font-size: 14px; color: #000; font-weight: bold; }
        .music-text-sub { margin: 0; font-size: 10px; color: #999; margin-top: 2px; }
        .music-controls { display: flex; gap: 10px; }
        .progress-bar { height: 4px; background-color: #eee; border-radius: 2px; overflow: hidden; }
        .progress { width: 30%; height: 100%; background-color: #999; }
        
        .svg-icon { width: 24px; height: 24px; fill: #666; }

        .apps-container {
            display: flex;
            justify-content: space-between;
            padding: 10px 10px;
            margin-top: auto; 
        }
        .app-item { display: flex; flex-direction: column; align-items: center; gap: 5px; }
        .app-icon {
            width: 55px; height: 55px;
            background-color: #ffffff;
            border-radius: 15px;
            display: flex; justify-content: center; align-items: center;
        }
        .app-name { font-size: 12px; color: #333; }
    
        /* @🍮 设置界面专属样式开始 */
        .settings-overlay { position: fixed; top: 100%; left: 0; width: 100%; height: 100%; background: #f0f0f0; transition: top 0.35s ease-in-out; z-index: 100; padding: 20px; box-sizing: border-box; display: flex; flex-direction: column; gap: 15px; overflow-y: auto; font-family: sans-serif; }
        .settings-overlay.active { top: 0; }
        .settings-header { display: flex; align-items: center; justify-content: space-between; font-weight: bold; margin-bottom: 5px; color: #333; }
        .close-btn { cursor: pointer; }
        .set-row { display: flex; align-items: center; justify-content: space-between; background: #fff; padding: 15px; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
        .set-row-input { display: flex; flex-direction: column; background: #fff; padding: 12px 15px; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
        .set-row-input input { border: none; outline: none; background: transparent; font-size: 14px; width: 100%; color: #333; }
        .preset-btn { background: #333; color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 13px; cursor: pointer; }
        
        /* 苹果风开关 */
        .toggle-switch { width: 44px; height: 24px; background: #d1d1d1; border-radius: 12px; position: relative; cursor: pointer; transition: background 0.3s; flex-shrink: 0; }
        .toggle-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: left 0.3s, transform 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
        .toggle-switch.on { background: #34c759; }
        .toggle-switch.on::after { left: 42px; transform: translateX(-100%); }
        
        .set-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #333; font-weight: 500; }
        .set-label svg { fill: #555; }
        
        /* 自制预设弹窗 */
        .preset-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 200; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; }
        .preset-modal.active { display: flex; opacity: 1; }
        .preset-content { background: #fff; width: 85%; max-width: 320px; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .preset-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; font-size: 14px; color: #333; }
        .preset-actions { display: flex; gap: 12px; }
        .preset-actions svg { width: 18px; height: 18px; fill: #666; cursor: pointer; transition: fill 0.2s; }
        .preset-actions svg:active { fill: #000; }
        .close-preset-btn { background: #f0f0f0; color: #333; text-align: center; padding: 10px; border-radius: 12px; font-size: 14px; cursor: pointer; margin-top: 5px; }
        
        /* @🍮 进度条与新弹窗样式开始 */
        .set-row-group { display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); padding: 5px 0; }
        .set-row-group .set-row { box-shadow: none; padding: 10px 15px; border-radius: 0; }
        .slider-container { display: none; align-items: center; gap: 15px; padding: 0 15px 15px 15px; animation: slideDown 0.3s ease-out; }
        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        .slider-container input[type="range"] { flex: 1; accent-color: #333; }
        .slider-value { font-size: 14px; color: #666; font-weight: bold; width: 35px; text-align: right; }
        
        .custom-dialog { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 300; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.2s; }
        .custom-dialog.active { display: flex; opacity: 1; }
        .dialog-content { background: #fff; width: 80%; max-width: 300px; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .dialog-title { font-weight: bold; text-align: center; color: #333; }
        .dialog-input { border: 1px solid #ddd; padding: 10px; border-radius: 10px; outline: none; font-size: 14px; }
        .dialog-btns { display: flex; gap: 10px; }
        .dialog-btn { flex: 1; padding: 10px; text-align: center; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: bold; }
        .dialog-btn.cancel { background: #f0f0f0; color: #666; }
        .dialog-btn.confirm { background: #333; color: #fff; }
        
        .model-list { max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; }
        .model-item { padding: 10px; background: #f9f9f9; border-radius: 8px; font-size: 13px; color: #333; cursor: pointer; word-break: break-all; }
        .model-item:active { background: #e0e0e0; }
        
        /* 存储详情界面 */
        .storage-overlay { position: fixed; top: 100%; left: 0; width: 100%; height: 100%; background: #f0f0f0; transition: top 0.35s ease-in-out; z-index: 150; padding: 20px; box-sizing: border-box; display: flex; flex-direction: column; gap: 15px; overflow-y: auto; font-family: sans-serif; }
        .storage-overlay.active { top: 0; }
        .chart-container { display: flex; align-items: center; justify-content: center; padding: 20px; background: #fff; border-radius: 16px; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
        .pie-chart { width: 150px; height: 150px; border-radius: 50%; background: #eee; margin-bottom: 20px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
        .legend { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; font-size: 12px; color: #333; }
        .legend-item { display: flex; align-items: center; gap: 5px; }
        .legend-color { width: 12px; height: 12px; border-radius: 3px; }
        .storage-list { background: #fff; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 5px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
        .storage-item { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 5px; border-bottom: 1px solid #f9f9f9; color:#333; word-break: break-all; }
        .storage-item:last-child { border-bottom: none; }
        /* @🍮 进度条与新弹窗样式结束 */
        /* @🍮 设置界面专属样式结束 */
    
        /* @🍮 微信界面专属样式开始 */
        .wechat-overlay { position: fixed; top: 100%; left: 0; width: 100%; height: 100%; background: #ededed; transition: top 0.35s ease-in-out; z-index: 120; display: flex; flex-direction: column; font-family: sans-serif; }
        .wechat-overlay.active { top: 0; }
        .wechat-header { background: #ededed; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; font-weight: bold; color: #000; flex-shrink: 0; }
        .wechat-header-left { display: flex; align-items: center; cursor: pointer; }
        .wechat-header-title { font-size: 17px; }
        .wechat-header-right { display: flex; align-items: center; gap: 15px; position: relative; }
        .wechat-content { flex: 1; overflow-y: auto; background: #ededed; }
        
        .wechat-bottom-nav { background: #f7f7f7; border-top: 1px solid #d9d9d9; display: flex; justify-content: space-around; padding: 8px 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); flex-shrink: 0; }
        .wechat-nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #191919; cursor: pointer; }
        .wechat-nav-item.active { color: #07c160; }
        .wechat-nav-icon { width: 24px; height: 24px; fill: currentColor; }
        .wechat-nav-text { font-size: 10px; }

        .wechat-dropdown { position: absolute; top: 40px; right: -5px; background: #4c4c4c; border-radius: 6px; width: 140px; display: none; flex-direction: column; z-index: 130; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
        .wechat-dropdown.active { display: flex; }
        .wechat-dropdown::before { content: ''; position: absolute; top: -10px; right: 15px; border-width: 5px; border-style: solid; border-color: transparent transparent #4c4c4c transparent; }
        .wechat-dropdown-item { display: flex; align-items: center; padding: 12px 15px; gap: 12px; border-bottom: 1px solid #5a5a5a; color: #fff; cursor: pointer; }
        .wechat-dropdown-item:last-child { border-bottom: none; }
        .wechat-dropdown-icon { width: 20px; height: 20px; fill: #fff; }
        .wechat-dropdown-text { font-size: 15px; }
                .discover-group { background: #fff; margin-bottom: 8px; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
        .discover-item { display: flex; align-items: center; padding: 15px; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
        .discover-item:last-child { border-bottom: none; }
        .discover-icon { width: 24px; height: 24px; margin-right: 15px; display:flex; justify-content:center; align-items:center;}
        .discover-text { flex: 1; font-size: 16px; color: #333; }
        .discover-arrow { width: 16px; height: 16px; fill: #b2b2b2; }
        /* @🍮 微信界面专属样式结束 */

        /* @🍮 朋友圈专属样式开始 */
        .moments-overlay { position: fixed; top: 100%; left: 0; width: 100%; height: 100%; background: #ffffff; transition: top 0.35s ease-in-out; z-index: 125; display: flex; flex-direction: column; font-family: sans-serif; overflow-y: auto;}
        .moments-overlay.active { top: 0; }
        .moments-top-bar { position: sticky; top: 0; left: 0; width: 100%; height: 50px; margin-bottom: -50px; display: flex; justify-content: space-between; align-items: center; padding: 0 15px; box-sizing: border-box; z-index: 126; background: transparent; transition: background 0.3s; color: #fff;}
        .moments-top-bar svg { fill: currentColor; width: 24px; height: 24px; cursor: pointer; }
        .moments-header { position: relative; width: 100%; height: 350px; background-color: #333; background-size: cover; background-position: center; background-image: url('https://img.baibai.cv/f/3YRqie/mmexport1785515299260.jpg'); cursor: pointer; }
        .moments-user-info { position: absolute; bottom: -25px; right: 15px; display: flex; align-items: flex-end; gap: 15px; }
        .moments-username { color: #fff; font-size: 18px; font-weight: bold; margin-bottom: 30px; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
        .moments-avatar { width: 70px; height: 70px; border-radius: 8px; background-color: #ddd; background-size: cover; background-position: center; border: 2px solid #fff; cursor: pointer; }

        /* 发送朋友圈界面 */
        .moments-publish-overlay { position: fixed; top: 100%; left: 0; width: 100%; height: 100%; background: #ffffff; transition: top 0.3s ease-in-out; z-index: 127; display: flex; flex-direction: column; font-family: sans-serif; }
        .moments-publish-overlay.active { top: 0; }
        .mp-header { display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 0 15px; background: #ededed; color: #333; font-size: 16px; }
        .mp-header-btn { cursor: pointer; }
        .mp-header-btn.publish { background: #07c160; color: #fff; padding: 5px 12px; border-radius: 4px; font-size: 14px; font-weight: bold; }
        .mp-header-title { font-weight: bold; }
        .mp-content { padding: 20px 15px; flex: 1; }
        .mp-textarea { width: 100%; height: 120px; border: none; outline: none; resize: none; font-size: 16px; color: #333; }
        .mp-options { margin-top: 10px; border-top: 1px solid #f0f0f0; }
        .mp-option-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; color: #333; cursor: pointer; }
        .mp-option-item-right { display: flex; align-items: center; gap: 5px; color: #999; font-size: 14px; }
        /* @🍮 朋友圈专属样式结束 */


        /* @🍮 聊天室专属样式开始 */
        .chat-room-overlay { position: fixed; top: 0; left: 100%; width: 100%; height: 100%; background: #ededed; transition: left 0.3s ease-in-out; z-index: 130; display: flex; flex-direction: column; font-family: sans-serif; }
        .chat-room-overlay.active { left: 0; }
        .chat-header { background: #ededed; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; font-weight: bold; color: #000; flex-shrink: 0; border-bottom: 1px solid #d9d9d9; }
        .chat-header-left, .chat-header-right { display: flex; align-items: center; cursor: pointer; width: 30px; }
        .chat-header-left svg, .chat-header-right svg { width: 24px; height: 24px; fill: #000; }
        .chat-header-title { font-size: 17px; flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .chat-messages { flex: 1; overflow-y: auto; background: #ededed; padding: 15px; }
        .chat-bottom-bar { background: #f7f7f7; border-top: 1px solid #d9d9d9; display: flex; align-items: center; padding: 8px 10px; gap: 10px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); flex-shrink: 0; }
        .chat-input-container { flex: 1; background: #fff; border-radius: 4px; display: flex; align-items: center; padding: 5px 10px; height: 40px; box-sizing: border-box; min-width: 0; }
        .chat-input { flex: 1; border: none; outline: none; background: transparent; font-size: 15px; color: #333; min-width: 0; width: 100%; }
        .chat-voice-icon { width: 24px; height: 24px; fill: #000; cursor: pointer; flex-shrink: 0; }
        .chat-icon { width: 28px; height: 28px; fill: #000; cursor: pointer; flex-shrink: 0; }
        
        .contact-item { display: flex; align-items: center; padding: 12px 15px; background: #fff; border-bottom: 1px solid #f0f0f0; cursor: pointer; gap: 15px; }
        .contact-avatar { width: 44px; height: 44px; background: #34c759; border-radius: 6px; flex-shrink: 0; display:flex; justify-content:center; align-items:center; color:#fff; font-size:20px; font-weight:bold;}
        .contact-name { font-size: 16px; color: #333; flex: 1; }
        
        /* 列表左滑专属样式 */
        .chat-list-wrapper { position: relative; overflow: hidden; width: 100%; border-bottom: 1px solid #f0f0f0; }
        .chat-list-wrapper .contact-item { border-bottom: none; position: relative; z-index: 2; transition: transform 0.2s ease; background: #fff; }
        .chat-list-wrapper.pinned .contact-item { background: #f9f9f9; }
        .swipe-actions { position: absolute; top: 0; right: 0; height: 100%; display: flex; z-index: 1; }
        .swipe-btn { width: 65px; height: 100%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 14px; cursor: pointer; }
        .swipe-btn.pin { background: #c7c7cc; }
        .swipe-btn.del { background: #ff3b30; }

        /* @🍮 聊天室气泡与表情面板专属样式开始 */
        .message-row { display: flex; margin-bottom: 15px; width: 100%; }
        .message-row.mine { justify-content: flex-end; }
        .message-avatar { width: 40px; height: 40px; border-radius: 6px; background-color: #ddd; flex-shrink: 0; background-size: cover; background-position: center; }
        .message-content { max-width: 70%; padding: 10px 12px; border-radius: 8px; font-size: 15px; line-height: 1.4; word-break: break-all; }
        .message-row.theirs .message-content { background: #fff; color: #333; margin-left: 10px; border-top-left-radius: 0; }
        .message-row.mine .message-content { background: #95ec69; color: #000; margin-right: 10px; border-top-right-radius: 0; }
        .message-row.mine .message-avatar { background-image: url('https://img.baibai.cv/f/3YRqie/mmexport1785515299260.jpg'); }
        .message-image { max-width: 150px; border-radius: 8px; display: block; }
        
        .emoji-panel { background: #f7f7f7; border-top: 1px solid #d9d9d9; display: none; flex-direction: column; height: 250px; flex-shrink: 0; }
        .emoji-panel.active { display: flex; }
        .emoji-header { display: flex; align-items: center; justify-content: space-between; padding: 5px 10px; background: #ededed; border-bottom: 1px solid #e0e0e0; }
        .emoji-nav { display: flex; overflow-x: auto; gap: 10px; flex: 1; padding: 5px 0; scrollbar-width: none; }
        .emoji-nav::-webkit-scrollbar { display: none; }
        .emoji-cat { padding: 5px 10px; font-size: 13px; color: #666; background: #fff; border-radius: 12px; white-space: nowrap; cursor: pointer; user-select: none; }
        .emoji-cat.active { background: #000; color: #fff; }
        .emoji-actions { display: flex; gap: 10px; align-items: center; padding-left: 10px; flex-shrink: 0; }
        .emoji-grid { flex: 1; overflow-y: auto; padding: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 10px; align-content: start; }
        .emoji-item { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
        .emoji-img { width: 100%; aspect-ratio: 1; border-radius: 8px; background-color: #eee; background-size: cover; background-position: center; }
        .emoji-name { font-size: 10px; color: #666; text-align: center; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .emoji-item.selected { box-shadow: 0 0 0 3px #07c160; opacity: 0.8; }
        
        /* @🍮 左侧菜单面板专属样式 */
        .chat-left-menu { position: absolute; bottom: 65px; left: 10px; background: #4c4c4c; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); display: none; flex-direction: column; z-index: 150; padding: 5px 0; min-width: 120px;}
        .chat-left-menu.active { display: flex; }
        .chat-left-menu::after { content: ''; position: absolute; bottom: -10px; left: 15px; border-width: 5px; border-style: solid; border-color: #4c4c4c transparent transparent transparent; }
        .chat-menu-item { padding: 12px 15px; font-size: 14px; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 10px; }
        .chat-menu-item:active { background: #5a5a5a; }

        /* @🍮 语音气泡专属样式 (独立框与新波纹) */
        .message-body { display: flex; flex-direction: column; max-width: 70%; gap: 5px; }
        .message-row.theirs .message-body { margin-left: 10px; align-items: flex-start; }
        .message-row.mine .message-body { margin-right: 10px; align-items: flex-end; }
        .message-body .message-content { margin: 0 !important; max-width: 100% !important; cursor: pointer; }
        
        .voice-bubble { display: flex; align-items: center; gap: 5px; user-select: none; }
        .voice-icon-svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
        .message-row.mine .voice-bubble { flex-direction: row-reverse; }
        .message-row.mine .voice-icon-svg { transform: scaleX(-1); }
        
        .voice-text-box { display: none; padding: 10px 12px; border-radius: 8px; font-size: 15px; line-height: 1.4; word-break: break-all; max-width: 100%; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
        .message-row.theirs .voice-text-box { background: #fff; color: #333; border-top-left-radius: 0; }
        .message-row.mine .voice-text-box { background: #95ec69; color: #000; border-top-right-radius: 0; }
        .voice-text-box.active { display: block; }
        
        /* @🍮 文字图翻转魔法专属样式开始 */
        .text-image-container {
            perspective: 1000px;
            width: 140px;
            height: 180px;
            cursor: pointer;
            margin: 0 5px;
        }
        .text-image-card {
            width: 100%;
            height: 100%;
            position: relative;
            transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
            transform-style: preserve-3d;
        }
        .text-image-card.flipped {
            transform: rotateY(180deg);
        }
        .text-image-front, .text-image-back {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            backface-visibility: hidden;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }
        .text-image-front {
            background-image: url('https://img.baibai.cv/f/VqNMs4/Image_1771584544984_681.jpg');
            background-size: cover;
            background-position: center;
        }
        .text-image-back {
            background: #fff;
            color: #333;
            transform: rotateY(180deg);
            padding: 12px;
            box-sizing: border-box;
            overflow-y: auto;
            font-size: 14px;
            line-height: 1.5;
            word-break: break-all;
            scrollbar-width: none; 
        }
        .text-image-back::-webkit-scrollbar { display: none; }
        .message-row.mine .text-image-back {
            background: #95ec69;
            color: #000;
        }
        
        /* @🍮 文字图翻转魔法专属样式结束 */

        /* @🍮 微信转账魔法专属样式开始 */
        .message-content.transfer-wrap { background: transparent !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
        .transfer-bubble { width: 220px; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; border: 1px solid rgba(0,0,0,0.05); user-select: none; }
        .transfer-top { background-color: #f39b38; padding: 12px 15px; display: flex; align-items: center; gap: 12px; color: #fff; transition: background-color 0.2s; }
        .transfer-top.accepted { background-color: #f7c388; }
        .transfer-icon { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8); display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
        .transfer-icon svg { width: 22px; height: 22px; fill: #fff; }
        .transfer-info { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow: hidden; }
        .transfer-amount { font-size: 16px; font-weight: 500; }
        .transfer-note { font-size: 13px; opacity: 0.9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .transfer-bottom { background-color: #fff; padding: 5px 15px; font-size: 10px; color: #999; text-align: left; }
        /* @🍮 微信转账魔法专属样式结束 */


        /* @🍮 聊天室气泡与表情面板专属样式结束 */
        
        
        /* @🍮 聊天设置专属样式开始 */
        .chat-settings-overlay { position: fixed; top: 100%; left: 0; width: 100%; height: 100%; background: #ededed; transition: top 0.35s ease-in-out; z-index: 140; display: flex; flex-direction: column; font-family: sans-serif; overflow-y: auto; }
        .chat-settings-overlay.active { top: 0; }
        .chat-settings-header { background: #ededed; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; font-weight: bold; color: #000; flex-shrink: 0; border-bottom: 1px solid #d9d9d9; }
        .cs-header-left { display: flex; align-items: center; cursor: pointer; }
        /* @🍮 聊天设置专属样式结束 */

        /* @🍮 聊天室专属样式结束 */