:root {
  --mobile-max: 430px;
}

html {
  height: 100%;
}

body.mobile-first {
  min-height: 100dvh;
  background: #0a0a12;
  display: flex;
  justify-content: center;
}

.mobile-shell {
  position: relative;
  width: 100%;
  max-width: var(--mobile-max);
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

@media (min-width: 431px) {
  .mobile-shell {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 8px 48px rgba(0, 0, 0, 0.45);
  }
}

.mobile-shell .bottom-sheet,
.mobile-shell .sheet-backdrop,
.mobile-shell .toast,
.mobile-shell #landscape-warn {
  position: absolute;
}

.mobile-shell .bottom-sheet {
  left: 0;
  right: 0;
}

.mobile-shell .toast {
  left: 50%;
  transform: translateX(-50%);
}
