.host {
  position: relative;
  display: block;
  list-style-type: none;
  background: var(--vkui--color_background_secondary);
  border-radius: var(--vkui--size_card_border_radius--regular);
}

.modeShadow {
  box-shadow: var(
    --vkui--elevation3,
    0 2px 24px 0 rgb(0, 0, 0, 0.08),
    0 0 2px 0 rgb(0, 0, 0, 0.08)
  );
}

.modeShadow,
.modeOutline,
.modePlain {
  background: var(--vkui--color_background_contrast_themed);
}

.withBorder::after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  box-sizing: border-box;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  pointer-events: none;
  content: '';
  border: var(--vkui--size_border--regular) solid var(--vkui--color_image_border_alpha);
  border-radius: inherit;
}

/* CardScroll sizing rules live in CardScroll.global.module.css. */
