.host {
  position: relative;
  inline-size: 100%;
  block-size: 100%;
}

.in {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  inline-size: 100%;
  min-block-size: 100%;
}

.centered {
  box-sizing: border-box;
  display: flex;
  flex: 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.inBefore {
  block-size: 1px;
  margin-block-end: -1px;
}

.inAfter {
  block-size: 1px;
  margin-block-start: -1px;
}

.modeNone .in,
.modePlain .in {
  background: var(--vkui--color_background_content);
}

.modeCard .in {
  background: var(--vkui--color_background);
}

@media (min-width: 768px) {
  .modeNone .in {
    background: var(--vkui--color_background);
  }
}

.disableBackground .in {
  background: transparent;
}
