@media (max-width: 767px) {
  .bottom-sheet {
    position: absolute;
    z-index: 200;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 !important;
  }

  .bottom-sheet__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.5);
    touch-action: none;
  }

  .bottom-sheet__panel {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-height: min(610px, calc(100dvh - 28px));
    flex-direction: column;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    border-radius: 28px 28px 0 0;
    background: var(--shell-surface, #fff);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
  }

  .bottom-sheet[data-bottom-sheet-size="half"] .bottom-sheet__panel {
    max-height: min(610px, 62dvh);
  }

  .bottom-sheet__handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 4px;
    cursor: grab;
  }

  .bottom-sheet__handle span {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--shell-border, #e0edeb);
  }

  .bottom-sheet__content {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
  }

  .bottom-sheet__content--scroll {
    display: block;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }
}
