@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/*!
 * Cropper.js v1.6.1
 * Copyright 2015-present Chen Fengyuan
 * Integrated via CamCash Pro Core
 */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}
        
        :root {
            --theme-light-blue: #a3e0ff;
            --theme-dark-blue: #00b4ff;
            --theme-black: #000000;
        }

        /* Fixed Overflow issue causing keyboard/scrolling bugs on Android */
        html, body { height: 100%; margin: 0; padding: 0; }
        body { font-family: 'Poppins', sans-serif; background-color: #f0f2f5; overflow-x: hidden; overflow-y: auto; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; width: 100vw; position: relative; text-rendering: optimizeSpeed; }
        
        .glass { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); }
        .neon-btn { background: linear-gradient(135deg, var(--theme-dark-blue) 0%, #4facfe 100%); transition: 0.3s; }
        
        .screen { display: none; height: 100%; width: 100%; position: absolute; top: 0; left: 0; overflow-y: auto; overflow-x: hidden; padding-bottom: 100px; background: #fff; -webkit-overflow-scrolling: touch; transform: translateZ(0); }
        .screen.active { display: block; animation: fadeIn 0.15s ease-out; contain: content; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } 
        
        .auth-bg { background: linear-gradient(180deg, var(--theme-light-blue) 0%, var(--theme-dark-blue) 100%); }
        .input-group { position: relative; margin-bottom: 1.5rem; }
        .input-field { width: 100%; padding: 14px 15px; background: #f3f4f6; border: 1.5px dashed #94a3b8; border-radius: 16px; outline: none; transition: 0.3s; font-size: 0.95rem; font-weight: 600; color: #1f2937; }
        .input-field:focus { border-color: var(--theme-dark-blue); border-style: solid; background: #fff; box-shadow: 0 0 0 4px rgba(0, 180, 255, 0.15); }
        .input-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #9ca3af; cursor: pointer; font-size: 1.1rem; }

        #video-preview { object-fit: cover; width: 100%; height: 100%; position: fixed; top: 0; z-index: 0; background: #000; will-change: transform; }
        
        .snap-btn-container { position: fixed; bottom: 80px; left: 0; right: 0; z-index: 100; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 20px; transition: bottom 0.3s ease; width: 100%; }
        .snap-btn { width: 85px; height: 85px; border-radius: 50%; border: 6px solid white; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(0,0,0,0.3); cursor: pointer; backdrop-filter: blur(4px); transition: 0.2s; }
        .snap-btn div { width: 65px; height: 65px; background: white; border-radius: 50%; transition: 0.2s; }
        .snap-btn:active { transform: scale(0.9); }
        .snap-btn:active div { transform: scale(0.85); }
        .snap-btn.recording { border-color: #ef4444; }        
        .snap-btn.recording div { background: #ef4444; transform: scale(0.6); border-radius: 10px; }
        .snap-btn.disabled { opacity: 0.5; cursor: not-allowed; border-color: #9ca3af; }
        .snap-btn.disabled div { background: #9ca3af; }
        
        .earning-popup { position: fixed; top: 20px; right: 20px; background: #10b981; color: white; padding: 10px 20px; border-radius: 50px; display: none; z-index: 9999; font-weight: bold; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2); backdrop-filter: blur(5px); }
        
        /* IMPROVED CHAT BUBBLES */
        .chat-bubble { max-width: 80%; min-width: 65px; padding: 6px 10px 20px 10px !important; border-radius: 12px; font-size: 0.8rem; line-height: 1.4; word-wrap: break-word; position: relative; margin-bottom: 3px !important; box-shadow: 0 1px 2px rgba(0,0,0,0.08); touch-action: pan-y; transition: transform 0.1s linear; contain: layout style; will-change: transform; transform: translateZ(0); }
        .draggable-text { position: absolute; pointer-events: auto; cursor: move; color: white; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,0.5); font-size: 24px; padding: 10px; min-width: 50px; text-align: center; white-space: nowrap; user-select: none; }
        .active-label { background: #22c55e; color: white; font-size: 8px; font-weight: 900; padding: 2px 6px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; height: 14px; margin-left: 5px; animation: pulseActive 2s infinite; }
        @keyframes pulseActive { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
        
        .sent { background: linear-gradient(135deg, var(--theme-dark-blue) 0%, #0077ff 100%); color: white; border-bottom-right-radius: 4px; margin-left: auto; }
        .sent .text-content { color: white !important; font-size: 0.8rem; margin-bottom: 2px;}
        
        .received { background: #ffffff; color: #1f2937; border-bottom-left-radius: 4px; margin-right: auto; border: 1px solid rgba(0,0,0,0.05); }
        .received .text-content { color: #1f2937 !important; font-size: 0.8rem; margin-bottom: 2px;}
        
        .chat-bubble .msg-time { position: absolute; right: 8px; bottom: 4px; font-size: 0.6rem; font-weight: 600; display: flex; align-items: center; gap: 3px; line-height: 1; opacity: 0.7; transition: opacity 0.2s ease-out; pointer-events: none; }
        .sent .chat-bubble .msg-time { color: rgba(255,255,255,0.9) !important; }
        .received .chat-bubble .msg-time { color: rgba(0,0,0,0.45) !important; }
        
        .msg-time { font-size: 0.6rem; font-weight: 600; display: flex; align-items: center; gap: 2px; opacity: 0.7; transition: opacity 0.2s ease-out; pointer-events: none; }
        .bubble-swiping-active .msg-time { opacity: 1 !important; transform: scale(1.1); }
        .msg-tick { font-size: 0.6rem; margin-left: 2px; } 
        .system-msg { align-self: center; background: rgba(0,0,0,0.1); backdrop-filter: blur(4px); color: #555; font-size: 0.7rem; padding: 4px 10px; border-radius: 10px; margin: 5px 0; font-weight: bold; }
        
        .edited-tag { font-size: 8px; font-style: italic; opacity: 0.7; margin-left: 4px; }

        ::-webkit-scrollbar { width: 0px; background: transparent; } .msg-wrapper { content-visibility: auto; contain-intrinsic-size: auto 60px; } 
        
        .filter-option { transition: transform 0.2s; }        
        .filter-option:active { transform: scale(0.9); }
        #text-overlay-container { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }

        .scanner-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10; pointer-events: none; display: none; }
        .scan-line { width: 100%; height: 4px; background: var(--theme-dark-blue); box-shadow: 0 0 10px var(--theme-dark-blue); position: absolute; top: 0; animation: scanAnim 3s linear infinite; opacity: 0.8; } 
        @keyframes scanAnim { 0% { top: 0%; } 50% { top: 100%; } 100% { top: 0%; } } 
        .ai-hud-corner { position: absolute; width: 40px; height: 40px; border: 3px solid rgba(0, 180, 255, 0.5); } 
        .tl { top: 20px; left: 20px; border-right: 0; border-bottom: 0; }
        .tr { top: 20px; right: 20px; border-left: 0; border-bottom: 0; }
        .bl { bottom: 120px; left: 20px; border-right: 0; border-top: 0; }
        .br { bottom: 120px; right: 20px; border-left: 0; border-top: 0; }
        .analyzing-text { position: absolute; bottom: 180px; left: 50%; transform: translateX(-50%); color: var(--theme-dark-blue); font-family: monospace; font-weight: bold; background: rgba(0,0,0,0.6); padding: 5px 15px; border-radius: 999px; backdrop-filter: blur(4px); display: none; }

        .processing-modal { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.85); backdrop-filter: blur(5px); display: none; flex-direction: column; align-items: center; justify-content: center; color: var(--theme-dark-blue); } 
        
        .radar-spinner { width: 50px; height: 50px; border: 4px solid rgba(0, 180, 255, 0.3); border-top: 4px solid var(--theme-dark-blue); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 1rem; } 
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } 

        .date-header { padding: 10px 0; font-size: 0.8rem; font-weight: 800; color: #9ca3af; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #f3f4f6; margin-bottom: 10px; }
        .nav-camera-btn { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--theme-dark-blue) 0%, var(--theme-light-blue) 100%); transform: translateY(-12px); box-shadow: 0 5px 15px rgba(0, 180, 255, 0.4); display: flex; align-items: center; justify-content: center; border: 3px solid white; transition: 0.3s; }
        .nav-camera-btn:active { transform: translateY(-10px) scale(0.9); }
        
        .bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 100px; padding: 10px; background: rgba(0,0,0,0.03); border-radius: 15px; }
        .bar { flex: 1; background: var(--theme-dark-blue); border-radius: 4px 4px 2px 2px; min-height: 5px; transition: 0.5s; }

        .switch { position: relative; display: inline-block; width: 44px; height: 24px; }
        .switch input { opacity: 0; width: 0; height: 0; }
        .slider-toggle { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
        .slider-toggle:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }        
        input:checked + .slider-toggle { background-color: var(--theme-dark-blue); }        
        input:checked + .slider-toggle:before { transform: translateX(20px); }
        
        .edit-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); z-index: 1500; display: none; align-items: center; justify-content: center; padding: 20px; }
        .edit-popup-content { background: white; width: 100%; max-width: 400px; border-radius: 28px; overflow: hidden; animation: popupAnim 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
        @keyframes popupAnim { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

        .txn-status-dot { width: 8px; height: 8px; border-radius: 50%; }

        .policy-content { font-size: 0.85rem; line-height: 1.6; color: #4b5563; }
        .policy-content h4 { font-weight: 800; color: #1f2937; margin-top: 1rem; margin-bottom: 0.5rem; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.5px; }

        .golden-badge { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: white; padding: 4px 10px; border-radius: 50px; font-weight: 800; font-size: 10px; display: flex; align-items: center; gap: 5px; box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3); cursor: pointer; border: 1px solid rgba(255,255,255,0.5); }

        .preview-top-bar { background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%); }
        .preview-bottom-tools { background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); }

        .snap-message { border-radius: 18px; border-bottom-right-radius: 4px; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 6px 10px !important; transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.2s, box-shadow 0.2s; touch-action: pan-y; margin-bottom: 2px !important; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.15);}
        .snap-message.viewed { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

        .delivering-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); display: none; flex-direction: column; align-items: center; justify-content: center; color: white; text-align: center; }
        .delivered-check { width: 80px; height: 80px; border-radius: 50%; border: 4px solid #10b981; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #10b981; animation: popCheck 0.4s ease-out; }
        @keyframes popCheck { 0% { transform: scale(0); } 100% { transform: scale(1); } }

        .settings-header-fixed { position: fixed; top: 0; left: 0; right: 0; height: 80px; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); z-index: 100; display: none; align-items: center; padding: 0 24px; border-bottom: 1px solid rgba(0,0,0,0.05); }

        .nav-dp-circle { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #cbd5e1; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f1f5f9; }
        .nav-dp-circle img { width: 100%; height: 100%; object-fit: cover; }

        #message-action-menu { position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 5000; display: none; align-items: flex-end; justify-content: center; }
        .action-sheet { background: white; width: 100%; border-radius: 30px 30px 0 0; padding: 20px 0px 40px 0px; animation: slideUp 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
        @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
        .action-item { display: flex; align-items: center; gap: 15px; padding: 16px 24px; border-radius: 0px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: 0.2s; }
        .action-item:active { background: #f3f4f6; transform: scale(0.98); }

        .friend-earning-pill { background: #10b981; color: #fff; font-size: 9px; font-weight: 900; padding: 2px 8px; border-radius: 50px; display: inline-flex; align-items: center; justify-content: center; border: none; box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2); }

        .reward-progress-bar { width: 100%; height: 12px; background: #e2e8f0; border-radius: 10px; overflow: hidden; position: relative; box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); }
        .reward-progress-fill { height: 100%; background: linear-gradient(90deg, var(--theme-dark-blue), #4facfe); border-radius: 10px; transition: 1s cubic-bezier(0.4, 0, 0.2, 1); width: 0%; box-shadow: 0 0 10px rgba(0,180,255,0.5); }
        .refer-step-circle { width: 32px; height: 32px; border-radius: 50%; background: #eff6ff; color: var(--theme-dark-blue); display: flex; align-items: center; justify-content: center; font-weight: 800; border: 1px solid #dbeafe; }

        .reaction-container { position: absolute; bottom: -8px; display: flex; gap: 4px; z-index: 5; }
        .sent .reaction-container { right: 12px; flex-direction: row-reverse; }
        .received .reaction-container { left: 12px; }
        .reaction-pill { background: rgba(255,255,255,0.95); backdrop-filter: blur(4px); border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; padding: 2px 5px; font-size: 9px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 2px; cursor: pointer; }
        
        .msg-selected .chat-bubble, .msg-selected .snap-message { border: 2.5px solid var(--theme-dark-blue) !important; background-color: rgba(0, 180, 255, 0.08) !important; color: #000 !important; box-shadow: 0 5px 25px rgba(0,180,255,0.2) !important; transform: scale(0.96); transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        .msg-selected .text-content { color: #000 !important; }
        
        .bubble-swiping-active .chat-bubble, .bubble-swiping-active .snap-message { background-color: rgba(0, 180, 255, 0.1) !important; border: 2px solid var(--theme-dark-blue) !important; }
        .bubble-swiping-active .text-content { color: #000 !important; }

        .reply-preview-container {
            width: 100%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
            border-top-left-radius: 20px; border-top-right-radius: 20px; padding: 8px 12px;
            border-top: 1px solid rgba(0,0,0,0.05); z-index: 10;
            animation: slideUpReply 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 -4px 15px rgba(0,0,0,0.03); margin-bottom: 0;
        }
        @keyframes slideUpReply { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

        .reply-preview { 
            background: rgba(241, 245, 249, 0.8); border-left: 4px solid var(--theme-dark-blue); 
            padding: 8px 12px; border-radius: 10px; font-size: 10px; display: flex; 
            justify-content: space-between; align-items: center; 
        }
        .reply-preview p { color: var(--theme-dark-blue); font-weight: 700; margin-bottom: 2px; }
        .reply-preview .reply-text { color: #4b5563; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }

        .quoted-msg { display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,0.04); border-left: 3px solid rgba(0,0,0,0.2); padding: 5px 8px; border-radius: 8px; font-size: 9px; margin-bottom: 6px; color: rgba(0,0,0,0.7); cursor: pointer;}
        .sent .quoted-msg { border-left-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9) !important; }
        .sent .quoted-msg p { color: rgba(255,255,255,0.9) !important; }

        /* COMPACT EMOJI BAR */
        .emoji-bar-center { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-radius: 24px; padding: 10px 16px; box-shadow: 0 15px 35px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 10px; border: 1px solid rgba(0,0,0,0.05); z-index: 5000; animation: bounceIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
        .emoji-bar-center span { font-size: 22px; transition: 0.2s; cursor: pointer; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
        .emoji-bar-center span:active { transform: scale(1.3); }
        @keyframes bounceIn { from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

        .swipe-hint { position: absolute; top: 50%; transform: translateY(-50%); color: var(--theme-dark-blue); opacity: 0; transition: 0.2s; }
        .bubble-swiping-left .swipe-hint { opacity: 1; right: -25px; }
        .bubble-swiping-right .swipe-hint { opacity: 1; left: -25px; }

        .chat-bubble.reply-highlight { border: 2px solid var(--theme-dark-blue); background: rgba(0, 180, 255, 0.15); }





        /* BEAUTIFUL DEFAULT CHAT BACKGROUND SETTINGS (DOODLE) */
        .chat-room-redesign { 
            background-color: #efeae2; 
            background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png') !important;
            background-repeat: repeat !important;
            background-size: 400px !important;
            background-position: center !important;
            height: 100%; 
            will-change: transform;
        }
        .friend-list-item {
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            border: none !important;
            margin-bottom: 10px !important;
            border-radius: 1.5rem !important;
            padding: 12px 14px !important;
            box-shadow: none !important;
            background: white !important;
        }
        .friend-list-item:active { transform: scale(0.96); opacity: 0.85; background: #f8fafc !important; }

        @keyframes slideInSmooth {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }
        .active-smooth-chat { display: flex !important; animation: slideInSmooth 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

        /* PREMIUM SOLID CHAT INPUT BAR REDESIGN */
        .whatsapp-input-container { padding: 12px 16px; padding-bottom: 12px; background: rgba(255,255,255,0.98) !important; border-top: 1px solid rgba(0,0,0,0.05) !important; display: flex; align-items: flex-end; gap: 10px; position: relative; z-index: 40; }
        .whatsapp-input-box { flex: 1; background: #f3f4f6 !important; border: 1.5px dashed #94a3b8 !important; border-radius: 32px; padding: 4px 6px; display: flex; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.03); min-height: 48px; position: relative; overflow: hidden; transition: all 0.3s ease; }
        .whatsapp-input-box:focus-within { background: #ffffff !important; border-color: var(--theme-dark-blue) !important; border-style: solid !important; box-shadow: 0 10px 25px rgba(0,180,255,0.12); }
        .whatsapp-input-field { flex: 1; border: none; outline: none; padding: 10px 16px; font-size: 0.95rem; max-height: 120px; overflow-y: auto; background: transparent; z-index: 20; font-weight: 500; color: #1f2937; }
        
        .whatsapp-send-btn { width: 42px; height: 42px; background: linear-gradient(135deg, var(--theme-dark-blue) 0%, #0077ff 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 4px 10px rgba(0,180,255,0.3); flex-shrink: 0; transition: 0.2s; cursor: pointer;}
        .whatsapp-send-btn:active { transform: scale(0.9); }
        .input-icon-btn { color: #8696a0; padding: 5px; cursor: pointer; font-size: 1.2rem; }

        .context-menu-sheet { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); z-index: 9999; display: none; align-items: flex-end; justify-content: center; }
        .context-sheet-body { background: white; width: 100%; border-radius: 30px 30px 0 0; padding: 30px 24px; animation: slideUp 0.3s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 -10px 40px rgba(0,0,0,0.1); }

        .search-pill { white-space: nowrap; padding: 8px 16px; border-radius: 12px; background: #f3f4f6; color: #4b5563; font-weight: 700; font-size: 11px; cursor: pointer; transition: 0.2s; border: 1px solid transparent; }
        .search-pill.active { background: #eff6ff; color: var(--theme-dark-blue); border-color: #dbeafe; box-shadow: 0 2px 5px rgba(0,180,255,0.1); }
        .verified-badge { color: var(--theme-dark-blue); font-size: 10px; margin-left: 2px; }

        .wallet-visa-card { background: linear-gradient(135deg, #0f172a 0%, #334155 100%); border-radius: 32px; position: relative; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.15); transition: 0.3s; }
        .wallet-visa-card:active { transform: scale(0.98); }
        .wallet-visa-card::before { content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); }
        .wallet-visa-card .chip { width: 45px; height: 35px; background: linear-gradient(135deg, #ffd700 0%, #eab308 100%); border-radius: 8px; position: relative; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
        .wallet-stat-box { background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 24px; transition: 0.2s; }
        .wallet-stat-box:active { background: #f1f5f9; }
        .withdraw-btn { background: linear-gradient(to right, var(--theme-black), #333333); color: white; border-radius: 20px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
        .add-money-btn { background: linear-gradient(to right, var(--theme-dark-blue), #0082FF); color: white; border-radius: 20px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

        .unread-dot { width: 10px; height: 10px; background: var(--theme-dark-blue); border-radius: 50%; display: block; border: 2px solid white; box-shadow: 0 2px 4px rgba(0,180,255,0.4); }

        #chat-room .fa-camera { display: none !important; }
        .info-button-header { font-size: 18px; color: var(--theme-dark-blue); cursor: pointer; padding: 5px; transition: 0.2s; }
        .info-button-header:active { transform: scale(0.9); }
        .full-report-module { background: white; padding: 20px; border-radius: 30px; border: 1px solid #eee; }

        @keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

        .low-perf .glass { backdrop-filter: none !important; background: rgba(255,255,255,0.98); } .low-perf .animate-pulse, .low-perf .animate-bounce, .low-perf .animate-spin { animation: none !important; }
        .low-perf .shadow-xl, .low-perf .shadow-2xl { box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; }
        .low-perf * { animation-duration: 0s !important; transition-duration: 0s !important; }

        #camera { background: #000 !important; }

        .insta-tool-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; color: white; font-weight: 600; font-size: 10px; cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
        .insta-tool-btn div { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; font-size: 16px; border: 1px solid rgba(255,255,255,0.3); transition: 0.2s; }
        .insta-tool-btn:active div { transform: scale(0.9); background: rgba(255,255,255,0.3); }
        
        .discard-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); z-index: 6000; display: none; align-items: center; justify-content: center; }
        .discard-box { background: #262626; color: white; width: 80%; max-width: 320px; padding: 24px; border-radius: 24px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

        #appLoader { position: fixed; inset: 0; background: #fff; z-index: 999999; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.3s ease; }
        
        .sys-notif { position: fixed; top: -110px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.98); backdrop-filter: blur(15px); border-radius: 24px; padding: 14px 20px; box-shadow: 0 15px 45px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 14px; z-index: 999999; transition: top 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); width: 92%; max-width: 420px; border-left: 5px solid var(--theme-dark-blue); border: 1px solid rgba(255,255,255,0.8); }
        .sys-notif.show { top: 20px; }

        .txn-filter-btn { padding: 6px 14px; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; transition: 0.2s; background: #f1f5f9; color: #64748b; white-space: nowrap; box-shadow: inset 0 0 0 1px transparent;}
        .txn-filter-btn.active { background: var(--theme-dark-blue); color: white; box-shadow: 0 4px 10px rgba(0,180,255,0.3); }

        #ban-screen { position: fixed; inset: 0; z-index: 999999; background: white; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
        #ban-screen i { font-size: 4rem; color: #ef4444; margin-bottom: 1rem; }
        #ban-screen h2 { font-size: 1.5rem; font-weight: 900; color: #1f2937; margin-bottom: 0.5rem; }
        #ban-screen p { font-size: 0.9rem; color: #6b7280; font-weight: 500; margin-bottom: 2rem; }
        #ban-screen button { background: var(--theme-dark-blue); color: white; padding: 12px 24px; border-radius: 50px; font-weight: bold; width: 100%; max-width: 250px; box-shadow: 0 5px 15px rgba(0, 180, 255, 0.3); }

        /* No Internet Overlay Styles */
        #no-internet-screen { z-index: 99999999; }

        .msg-check-box { display: none; position: absolute; left: -25px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border: 2px solid #cbd5e1; border-radius: 6px; background: white; z-index: 10; pointer-events: none; align-items: center; justify-content: center; transition: 0.2s; }
        .in-multi-select .msg-check-box { display: flex; }
        .msg-selected .msg-check-box { background: var(--theme-dark-blue); border-color: var(--theme-dark-blue); }
        .msg-selected .msg-check-box::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: white; font-size: 10px; }
        
        .btn-primary-theme { background-color: var(--theme-black) !important; color: white !important; }
        .text-theme-dark { color: var(--theme-dark-blue); }

        /* Full Screen Emoji Animation */
        @keyframes floatUpEmoji {
            0% { transform: translateY(0) scale(0.5) rotate(0deg); opacity: 1; }
            100% { transform: translateY(-110vh) scale(2) rotate(20deg); opacity: 0; }
        }

        @keyframes bigHeartBeat {
            0% { transform: scale(1); }
            10% { transform: scale(1.4); }
            20% { transform: scale(1.2); }
            30% { transform: scale(1.6); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        .heart-animate { 
            animation: bigHeartBeat 1.5s ease-in-out infinite; display: inline-block; color: #ef4444; font-size: 4rem !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; border: none !important; margin-bottom: 10px !important;
        }
        .heart-animate .msg-time { display: none !important; }
        .heart-animate .text-content { font-size: 4rem !important; padding: 0 !important; color: transparent !important; text-shadow: 0 0 0 #ef4444; }
        
        .unread-badge { 
            background: #ef4444; color: white; border-radius: 50%; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 2px 5px; font-size: 9px; font-weight: 900; box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
        }

        .online-dot { 
            width: 12px; height: 12px; background: #10b981; border: 2px solid white; border-radius: 50%; position: absolute; bottom: 0; right: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }

        .e2e-label { 
            background: rgba(254,252,232,0.8); backdrop-filter: blur(5px); color: #854d0e; font-size: 9px; font-weight: 700; text-align: center; padding: 6px 10px; border-radius: 12px; margin: 10px auto 16px auto; width: 85%; max-width: 300px; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); cursor: pointer; border: 1px solid rgba(254,240,138,0.5); z-index: 10;
        }

        @keyframes pulseFast {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.1); opacity: 0.8; }
            100% { transform: scale(1); opacity: 1; }
        }
        .snappy-loader { animation: pulseFast 0.6s infinite ease-in-out; }

        @keyframes superBlink {
            0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 10px rgba(0,180,255,0.8)); }
            50% { opacity: 0.5; transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(0,180,255,0)); }
        }
        .app-blink-anim { animation: superBlink 1.5s ease-in-out infinite; }

        .media-preview-thumb { transition: transform 0.2s, border 0.2s; border: 2px solid transparent; }
        .media-preview-thumb.active { border-color: var(--theme-dark-blue); transform: scale(1.1); box-shadow: 0 4px 10px rgba(0,180,255,0.3); }

        @keyframes typingPulse {
            0% { box-shadow: 0 0 0 0 rgba(0, 180, 255, 0.6); }
            70% { box-shadow: 0 0 0 8px rgba(0, 180, 255, 0); }
            100% { box-shadow: 0 0 0 0 rgba(0, 180, 255, 0); }
        }
        .typing-glow {
            animation: typingPulse 1.5s infinite; border-color: var(--theme-dark-blue) !important; border-width: 2px !important;
        }

        .graph-bar-wrapper { transition: all 0.3s ease; }
        .graph-bar-wrapper:hover .graph-tooltip { opacity: 1; }

        /* UNIQUE DP MODAL STYLING (SIMPLIFIED) */
        .dp-premium-card {
            background: #1a1a1a;
            border-radius: 32px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            padding: 10px;
            transform: scale(0.95);
            opacity: 0;
            transition: all 0.15s ease-out;
        }
        .dp-premium-card.active-dp {
            transform: scale(1);
            opacity: 1;
        }
        .dp-premium-img-wrap {
            border-radius: 24px;
            overflow: hidden;
            background: #000;
        }
        
        @keyframes waveAnim {
            0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6); }
            50% { box-shadow: 0 0 0 10px rgba(168, 85, 247, 0); }
            100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
        }
        .voice-playing-wave {
            animation: waveAnim 1s infinite;
        }

        /* Magic Pop Animation for Big Emojis */
        @keyframes magicPop {
            0% { transform: scale(0.4); opacity: 0; }
            40% { transform: scale(1.4); opacity: 1; }
            80% { transform: scale(1); opacity: 1; }
            100% { transform: scale(1.6); opacity: 0; filter: blur(5px); }
        }
        
        /* Chat Header Blur */
        #chat-room .sticky.top-0 {
            background: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        /* New Attachment Menu UI */
        .attachment-menu {
            position: absolute; bottom: 60px; left: 10px;
            background: rgba(255,255,255,0.95); backdrop-filter: blur(15px);
            border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            display: none; flex-direction: column; gap: 4px; padding: 12px; z-index: 60;
            border: 1px solid rgba(0,0,0,0.05); width: 160px;
        }
        .attach-btn { 
            display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13px; 
            padding: 10px 14px; border-radius: 14px; cursor: pointer; transition: 0.2s; color: #374151;
        }
        .attach-btn:hover { background: #f3f4f6; color: var(--theme-dark-blue); }

        .group-label { background: #ede9fe; color: #6d28d9; padding: 2px 6px; border-radius: 4px; font-size: 7px; font-weight: 900; letter-spacing: 0.5px; border: 1px solid #ddd6fe; }
        .admin-label { background: #dcfce7; color: #15803d; padding: 1px 4px; border-radius: 4px; font-size: 6px; font-weight: 900; margin-left: 4px; border: 1px solid #bbf7d0; }
        
        .poll-voter-stack img { margin-left: -8px; border: 2px solid white; }
        .poll-voter-stack img:first-child { margin-left: 0; }

        /* Voice Note Recording UI Styles */
        .rec-wave { width: 3px; background: #ef4444; border-radius: 3px; animation: recWaveAnim 1s infinite ease-in-out; }
        .rec-wave:nth-child(1) { animation-delay: 0.0s; height: 40%; }
        .rec-wave:nth-child(2) { animation-delay: 0.1s; height: 80%; }
        .rec-wave:nth-child(3) { animation-delay: 0.2s; height: 60%; }
        .rec-wave:nth-child(4) { animation-delay: 0.3s; height: 100%; }
        .rec-wave:nth-child(5) { animation-delay: 0.4s; height: 50%; }
        @keyframes recWaveAnim { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

        .game-cell { 
            background: white; border-radius: 1.2rem; min-height: 70px; cursor: pointer; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
            box-shadow: 0 4px 10px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05);
            font-size: 2.2rem; font-weight: 900;
        }
        .game-cell:active { transform: scale(0.9); background: #f8fafc; }
        .game-cell.x::before { content: 'X'; color: #3b82f6; animation: popIn 0.3s forwards; }
        .game-cell.o::before { content: 'O'; color: #ef4444; animation: popIn 0.3s forwards; }
        .game-cell.disabled { pointer-events: none; }
        .game-cell.winner { background: #dcfce7 !important; border-color: #4ade80 !important; color: #166534 !important; transform: scale(1.05); z-index: 10; shadow: 0 0 15px rgba(74,222,128,0.3); }

        .bingo-cell { 
            background: white; border-radius: 12px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
            font-weight: 800; font-size: 14px; color: #4b5563; cursor: pointer; transition: 0.2s; border: 1px solid #f1f5f9; box-shadow: 0 2px 4px rgba(0,0,0,0.02);
        }
        .bingo-cell.marked-me { background: #10b981 !important; color: white !important; transform: scale(0.9); box-shadow: inset 0 2px 10px rgba(0,0,0,0.2); border-color: #059669; }
        .bingo-cell.marked-them { background: #ef4444 !important; color: white !important; transform: scale(0.9); box-shadow: inset 0 2px 10px rgba(0,0,0,0.2); border-color: #dc2626; }
        .bingo-cell.last-marked { border: 2px solid #fbbf24; animation: pulseGlow 1.5s infinite; }
        .bingo-cell.disabled { pointer-events: none; }
        @keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(251,191,36,0.7); } 70% { box-shadow: 0 0 0 10px rgba(251,191,36,0); } 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); } }
        .bingo-letter-active { background: #10b981 !important; color: white !important; transform: scale(1.1); box-shadow: 0 4px 10px rgba(16,185,129,0.3); }

        .game-reaction-overlay { position: absolute; pointer-events: none; font-size: 40px; animation: emojiFloatUp 1.5s ease-out forwards; z-index: 10000; }
        .hot-badge { position: absolute; -top: 6px; -right: -3px; background: #ef4444; color: white; font-size: 6px; font-weight: 900; padding: 1px 3px; border-radius: 4px; letter-spacing: 0.5px; box-shadow: 0 0 5px rgba(239, 68, 68, 0.4); animation: pulseHotBadge 1.5s infinite; border: 1.5px solid white; z-index: 50; pointer-events: none; }
        @keyframes pulseHotBadge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
        @keyframes emojiFloatUp { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-100px); opacity: 0; } }

        /* Circular Cropper UI for Profile Photos */
        #dp-crop-modal .cropper-view-box,
        #dp-crop-modal .cropper-face {
            border-radius: 50%;
        }
        
        /* CamCash Branded Cropper Overrides */
        .cropper-view-box { outline-color: var(--theme-dark-blue) !important; }
        .cropper-line, .cropper-point { background-color: var(--theme-dark-blue) !important; }
        .cropper-modal { background-color: #000; opacity: 0.8 !important; }