.hot-profile-overview-layout {
  --hot-profile-flow-base-width: 1400px;
  --hot-profile-flow-base-height: 620px;
  --hot-profile-flow-scale: 0.66;
  --hot-profile-flow-width: calc(var(--hot-profile-flow-base-width) * var(--hot-profile-flow-scale));
  --hot-profile-profile-min-width: 360px;
  align-items: stretch;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.hot-profile-overview-flow-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.hot-profile-overview-flow-inner {
  height: calc(var(--hot-profile-flow-base-height) * var(--hot-profile-flow-scale));
  margin-left: auto;
  margin-right: auto;
  min-width: var(--hot-profile-flow-width);
  padding: 0;
  width: var(--hot-profile-flow-width);
}

.hot-profile-overview-flow-inner .legacy-flow-wrap {
  transform: scale(var(--hot-profile-flow-scale));
  transform-origin: top left;
}

@media (min-width: 1900px) {
  .hot-profile-overview-layout {
    grid-template-columns:
      minmax(var(--hot-profile-profile-min-width), 1fr)
      minmax(var(--hot-profile-flow-width), 2fr);
  }
}
