
@media (min-width: 1024px) {
  
  html { scrollbar-gutter: stable; }

  
  html body .modal.modal--sheet[open]:not(.chat-sheet) { align-items: center; justify-content: center; }
  html body .modal.modal--sheet:not(.chat-sheet) > .modal__panel {
    width: min(520px, calc(100% - 48px)); height: auto; max-height: min(86vh, 860px);
    border-radius: var(--r-xl); border-width: 1px;
    animation: modal-in var(--dur-3) var(--ease);
  }
  html body .modal.modal--sheet.is-closing:not(.chat-sheet) > .modal__panel { animation: modal-out 200ms cubic-bezier(.4,0,1,1) both; }
  
  html body .modal.modal--sheet.wr-modal > .modal__panel { width: min(620px, calc(100% - 48px)); }
  
  html body .modal.modal--sheet:has(.legal-frame) > .modal__panel { width: min(760px, calc(100% - 48px)); }
  html body .modal.modal--sheet .legal-frame { height: min(74vh, 820px) !important; }

  
  html body .ds-sheet.modal[open] > .modal__panel,
  html body .ds-sheet.modal[open]:has(.ds-deposit[data-deposit-stage]) > .modal__panel { width: min(600px, calc(100% - 48px)); }
  html body .ds-sheet .wallet .ds-deposit .ds-categories { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  
  html body .modal.acc-modal--stk > .modal__panel { width: min(560px, calc(100% - 48px)); }
}
