        /* ===== [ADDED] نظام حماية الروم - لوحة معاينة الرسائل المعلقة ===== */
        #roomguard-panel{
          position:fixed;bottom:16px;left:16px;z-index:20050;
          display:flex;flex-direction:column;gap:8px;max-width:280px;max-height:70vh;overflow-y:auto;
        }
        #roomguard-panel .rg-card{
          background:#fff;border-radius:12px;box-shadow:0 6px 20px rgba(0,0,0,.25);
          padding:10px;border-right:4px solid #8e44ad;
        }
        #roomguard-panel .rg-card-head{display:flex;align-items:center;gap:8px;margin-bottom:6px;}
        #roomguard-panel .rg-pic{width:28px;height:28px;border-radius:50%;object-fit:cover;}
        #roomguard-panel .rg-topic{font-weight:700;font-size:13px;color:#333;}
        #roomguard-panel .rg-card-msg{font-size:13px;color:#444;margin-bottom:8px;word-break:break-word;}
        #roomguard-panel .rg-card-actions{display:flex;gap:6px;}
        #roomguard-panel .rg-yes,#roomguard-panel .rg-no{
          flex:1;border:none;border-radius:8px;padding:6px 0;font-weight:700;cursor:pointer;color:#fff;
        }
        #roomguard-panel .rg-yes{background:#2ecc71;}
        #roomguard-panel .rg-no{background:#e74c3c;}
        /* ===== [ADDED] استوديو تصميم العضوية الموحد ===== */
        .ds-overlay{
          position:fixed;inset:0;z-index:20000;display:none;align-items:center;justify-content:center;
          background:rgba(20,20,30,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
          opacity:0;transition:opacity .2s ease;
        }
        .ds-overlay.ds-open{opacity:1;}
        .ds-modal{
          width:360px;max-width:92vw;max-height:88vh;background:#fbfbfd;border-radius:16px;overflow:hidden;
          display:flex;flex-direction:column;box-shadow:0 20px 50px rgba(0,0,0,.35);
          transform:translateY(14px) scale(.97);transition:transform .22s ease;
        }
        .ds-overlay.ds-open .ds-modal{transform:translateY(0) scale(1);}
        .ds-modal-header{
          display:flex;align-items:center;justify-content:space-between;padding:12px 14px;
          background:linear-gradient(135deg,#6a82fb,#c2185b);color:#fff;flex-shrink:0;
        }
        .ds-modal-title{font-size:15px;font-weight:800;}
        .ds-modal-title .fa{margin-left:6px;}
        .ds-modal-close{
          width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.22);
          display:flex;align-items:center;justify-content:center;transition:all .2s ease;
        }
        .ds-modal-close:hover{background:rgba(220,53,69,.9);transform:rotate(90deg);}
        .ds-preview{
          flex-shrink:0;display:flex;align-items:center;gap:10px;padding:14px;
          background:#eef1fb no-repeat center/cover;position:relative;
        }
        .ds-preview-avatar-wrap{position:relative;width:56px;height:56px;flex-shrink:0;}
        .ds-preview-pic{
          width:56px;height:56px;border-radius:50%;background:#ccc no-repeat center/cover;
          border:2px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.18);
        }
        .ds-preview-frame{position:absolute;top:-14px;left:-14px;width:84px;height:84px;pointer-events:none;}
        .ds-preview-name{font-size:14px;font-weight:800;color:#222;}
        .ds-preview-sub{font-size:11px;color:#666;margin-top:2px;}
        .ds-modal-body{overflow-y:auto;padding:10px 12px 4px;flex:1;}
        .ds-section{
          background:#fff;border-radius:12px;padding:10px;margin-bottom:10px;
          border:1px solid #eee;box-shadow:0 1px 3px rgba(0,0,0,.04);
        }
        .ds-section-head{
          display:flex;align-items:baseline;gap:6px;font-size:13px;font-weight:800;color:#333;
          margin-bottom:8px;text-align:right;
        }
        .ds-section-head .fa{font-size:15px;}
        .ds-section-head small{font-weight:400;color:#999;font-size:10.5px;margin-right:auto;}
        .ds-gallery{
          display:flex;flex-wrap:wrap;gap:6px;overflow-x:visible;width:auto;height:auto;
          margin:0!important;padding:0!important;
        }
        .ds-gallery img{
          width:56px!important;height:56px!important;border-radius:10px;border:2px solid #e6e6ef!important;
          margin:0!important;cursor:pointer;transition:all .15s ease;object-fit:cover;
        }
        .ds-gallery img:hover{transform:translateY(-2px);border-color:#a685e2!important;}
        .ds-gallery img.ds-thumb-active{border-color:#c2185b!important;box-shadow:0 0 0 2px rgba(194,24,91,.25);}
        .ds-social-row{display:flex;align-items:center;gap:6px;margin-bottom:6px;}
        .ds-social-row:last-child{margin-bottom:0;}
        .ds-social-ico{
          width:34px;height:30px;border-radius:8px;color:#fff;display:flex;align-items:center;
          justify-content:center;flex-shrink:0;font-size:13px;
        }
        .ds-input{
          height:30px;font-size:12px;padding:0 8px;border:1px solid #e2e2ea;border-radius:8px;flex:1;
          background:#fafaff;
        }
        .ds-input:focus{outline:none;border-color:#a685e2;background:#fff;}
        .ds-upload-row{display:flex;align-items:center;gap:6px;}
        .ds-upload-btn{height:30px;font-size:11px;border-radius:8px;flex-shrink:0;}
        .ds-file-name{flex:1;font-size:11px;color:#888;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
        .ds-remove-ico{color:#d9534f;font-size:16px;cursor:pointer;flex-shrink:0;}
        .ds-bg-preview{
          width:30px;height:30px;border-radius:7px;background:#eee no-repeat center/cover;
          flex-shrink:0;border:1px solid #e2e2ea;
        }
        .ds-modal-footer{flex-shrink:0;padding:10px 12px;border-top:1px solid #eee;background:#fff;}
        .ds-save-btn{
          width:100%;background:linear-gradient(135deg,#43c56f,#2e9e56)!important;color:#fff;border:none!important;
          border-radius:10px;height:38px;font-weight:800;font-size:13px;box-shadow:0 4px 10px rgba(46,158,86,.3);
        }
        @media (max-width:420px){
          .ds-modal{width:94vw;}
        }

        /* ===== [ADDED] معاينة كارت الاسم (لون/تدرج الخلفية) فوق نافذة الاستوديو ===== */
        .ds-cbg-preview{
          display:inline-block;margin-top:6px;padding:3px 12px;border-radius:20px;
          font-size:12px;font-weight:800;background:#eef0f5;color:#333;
          box-shadow:0 1px 3px rgba(0,0,0,.1);transition:background .15s ease;
        }

        /* ===== [ADDED] قسم لون خلفية الاسم داخل استوديو التصميم ===== */
        .ds-cbg-colors{display:flex;gap:10px;justify-content:space-between;margin-bottom:10px;}
        .ds-cbg-slot{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;}
        .ds-cbg-slot span{font-size:10px;color:#999;font-weight:700;}
        .ds-cbg-dot,
        .ds-cbg2-dot{
          position:relative;width:38px;height:38px;border-radius:50%;cursor:pointer;
          border:2px solid #fff;box-shadow:0 0 0 1px #e2e2ea,0 2px 6px rgba(0,0,0,.12);
          background:#eee;transition:transform .12s ease;
        }
        .ds-cbg-dot:hover,
        .ds-cbg2-dot:hover{transform:scale(1.06);}
        .ds-cbg-dot.ds-cbg-dot-empty,
        .ds-cbg2-dot.ds-cbg-dot-empty{
          background:repeating-linear-gradient(45deg,#f2f2f7,#f2f2f7 4px,#e4e4ee 4px,#e4e4ee 8px)!important;
        }
        .ds-cbg-input,
        .ds-cbg2-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}
        .ds-cbg-clear{
          position:absolute;top:-3px;left:-3px;width:15px;height:15px;border-radius:50%;
          background:#fff;color:#d9534f;font-size:9px;display:flex;align-items:center;justify-content:center;
          box-shadow:0 1px 3px rgba(0,0,0,.25);
        }

        .ds-cbg-row{display:flex;align-items:center;gap:6px;margin-bottom:8px;flex-wrap:wrap;}
        .ds-mix-group{display:flex;gap:6px;flex:1;min-width:0;}
        .ds-mix-btn,
        .ds-mix-btn2{
          flex:1;border:1px solid #ecebf3;background:#fafafd;border-radius:9px;padding:8px 4px;
          font-size:10.5px;font-weight:700;color:#666;cursor:pointer;white-space:nowrap;
          transition:all .15s ease;
        }
        .ds-mix-btn.ds-mix-active,
        .ds-mix-btn2.ds-mix-active{background:linear-gradient(135deg,#6a82fb,#c2185b);color:#fff;border-color:transparent;}
        .ds-glow-btn,
        .ds-glow-btn2{
          flex:1;min-width:120px;border:1px solid #ecebf3;background:#fafafd;border-radius:9px;padding:8px 6px;
          font-size:10.5px;font-weight:700;color:#666;cursor:pointer;transition:all .15s ease;
        }
        .ds-glow-btn.ds-glow-active,
        .ds-glow-btn2.ds-glow-active{background:linear-gradient(135deg,#ffd76a,#ff9f43);color:#fff;border-color:transparent;box-shadow:0 3px 8px rgba(255,159,67,.35);}
        .ds-cbg-reset{
          width:100%;border:none;background:transparent;color:#d9534f;font-size:11px;font-weight:700;
          padding:5px 0;cursor:pointer;
        }
