    /* RESPONSIVE */
    /* ================================================================ */
    @media (max-width: 1100px) {
      #leftPanel { width: 280px; min-width: 280px; padding: 12px; }
      #rightPanel { width: 300px; min-width: 300px; padding: 12px; }
      .library-modal { max-width: 95%; min-width: unset; }
      .editor-body-fixed { grid-template-columns: 1fr; height: auto; max-height: calc(92vh - 70px); }
      .editor-viewport-fixed { height: 50vh; min-height: 300px; }
    }
    @media (max-width: 820px) {
      #container { flex-direction: column; height: calc(100vh - 64px - 56px - 48px); }
      #leftPanel { width: 100%; min-width: unset; height: 35%; border-left: none; border-bottom: 1px solid rgba(0,0,0,0.06); padding: 10px; order: -1; border-radius: 0; margin: 0; }
      #rightPanel { width: 100%; min-width: unset; height: 40%; border-right: none; border-top: 1px solid rgba(0,0,0,0.06); padding: 10px; border-radius: 0; margin: 0; }
      #canvas-wrapper { height: 25%; border-radius: 0; margin: 0; }
      #global-header { border-radius: 0; }
      #app-footer { border-radius: 0; margin: 0; }
      #subHeaderBar { padding: 4px 8px; gap: 4px; }
      .shb-preset-group { flex-wrap: wrap; padding: 4px 8px; min-width: auto; width: 100%; justify-content: center; }
      .shb-preset-name-input { width: 70px; }
      .shb-preset-select { min-width: 80px; max-width: 100px; }
      .shb-lock-btn { padding: 3px 8px; font-size: 10px; }
      .shb-lock-btn .lock-label { font-size: 9px; }
      .subscribe-btn { font-size: 11px; padding: 4px 12px; }
      .subscribe-btn .diamond-icon { font-size: 13px; }
      .daynight-toggle { height: 28px; width: 76px; }
      .daynight-toggle .dn-icon-bg { font-size: 13px; width: 20px; height: 20px; }
      .daynight-toggle .dn-thumb { width: 22px; height: 22px; font-size: 12px; left: 3px; }
      .daynight-toggle .dn-thumb.night { left: calc(100% - 25px); }
      .library-modal { max-width: 100%; width: 100%; min-width: unset; border-radius: 0; max-height: 100vh; }
      .library-modal .model-grid-lib { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
      .library-modal .modal-header .header-center { position: static; transform: none; order: 3; width: 100%; justify-content: center; margin-top: 8px; }
      .subscribe-modal .modal-card { padding: 20px 16px; }
      .payment-modal .modal-card { padding: 20px 16px; }
      .plan-item { padding: 12px 14px; flex-wrap: wrap; gap: 6px; }
      .plan-price { font-size: 14px; }
      .payment-actions .action-btn { flex: 1 1 100%; }
      .user-info { padding: 3px 10px 3px 8px; font-size: 11px; }
      .user-info .user-renders { padding: 1px 8px; font-size: 10px; }
      .user-info .user-name { max-width: 60px; }
      .render-limit-warning { font-size: 11px; padding: 8px 16px; bottom: 55px; }
      #global-header { padding: 0 10px; gap: 8px; height: 56px; border-radius: 0; }
      .header-btn { padding: 4px 10px; font-size: 11px; }
      .shb-model-group .library-btn { padding: 3px 10px; font-size: 11px; }
      .shb-model-group .current-model-name { font-size: 11px; }
      #global-header .app-name { font-size: 16px; }
      #global-header .version { font-size: 9px; top: -3px; }
      #app-footer .footer-center .creator-name { font-size: 12px; }
      #app-footer .footer-text { font-size: 9px; }
      .screen-watermark .watermark-box { padding: 20px 30px; }
      .screen-watermark .watermark-box .watermark-line1 { font-size: 30px; }
      .screen-watermark .watermark-box .watermark-line2 { font-size: 18px; }
      .editor-body-fixed { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
      .editor-viewport-fixed { height: 40vh; min-height: 250px; }
      .tools-grid { grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
      .tool-btn-editor { min-height: 40px; padding: 6px 4px; }
      .tool-btn-editor i { font-size: 16px; }
      .editor-actions-fixed { flex-direction: column; gap: 6px; }
      .action-btn-fixed { padding: 8px 12px; font-size: 12px; }
      .filter-item-editor label { min-width: 40px; font-size: 10px; }
      .protection-box { padding: 28px 20px; }
      .protection-title { font-size: 18px; }
      .protection-message { font-size: 13px; }
      .protection-footer { flex-direction: column; }
      .protection-btn { justify-content: center; padding: 14px 20px; }
    }
    @media (max-width: 500px) {
      .screen-watermark .watermark-box { padding: 14px 20px; }
      .screen-watermark .watermark-box .watermark-line1 { font-size: 22px; }
      .screen-watermark .watermark-box .watermark-line2 { font-size: 14px; }
      #app-footer .footer-center .creator-name { font-size: 10px; }
      #app-footer .footer-text { display: none; }
      .library-modal { max-width: 100%; width: 100%; border-radius: 0; max-height: 100vh; min-width: unset; }
      .library-modal .model-grid-lib { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
      .editor-viewport-fixed { height: 30vh; min-height: 180px; }
      .tools-grid { grid-template-columns: 1fr 1fr; }
    }
  
    /* ================================================================ */
