.yc-stories {
  --yc-modal-border-radius: 20px;
}
.yc-stories__modal {
  --yc-modal-border-radius: 20px;
}
.yc-stories__wrap-outer {
  height: calc(100vh - 2 * var(--yc-modal-margin));
  width: calc(100vw - 2 * var(--yc-modal-margin));
  display: flex;
  border-radius: 20px;
  max-width: 1280px;
  max-height: 640px;
  min-width: 800px;
  min-height: 480px;
  background-color: var(--yc-color-base-selection);
}
.yc-stories__wrap-inner {
  background-color: var(--yc-color-base-background);
  border-radius: 20px;
  max-width: 1280px;
  max-height: 640px;
  min-width: 800px;
  min-height: 480px;
  width: 100%;
  height: 100%;
}
.yc-stories__container {
  display: flex;
  background-color: var(--yc-color-base-selection);
  box-shadow: 0 8px 20px var(--yc-color-sfx-shadow);
  border-radius: 20px;
  position: relative;
  width: 100%;
  height: 100%;
}
.yc-stories__left-pane {
  width: 464px;
  flex-shrink: 0;
  margin-left: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
  background-color: var(--yc-color-base-background);
  border-radius: 17px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
.yc-stories__right-pane {
  padding: 68px;
  display: flex;
  flex-grow: 1;
  align-items: center;
}
.yc-stories__counter {
  font-size: var(--yc-text-body-2-font-size);
  line-height: var(--yc-text-body-2-line-height);
  font-weight: var(--yc-text-body-font-weight);
  color: var(--yc-color-text-secondary);
}
.yc-stories__text-block {
  display: flex;
  flex-grow: 1;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 8px;
}
.yc-stories__text-header {
  font-size: var(--yc-text-display-2-font-size);
  line-height: var(--yc-text-display-2-line-height);
  font-weight: var(--yc-text-display-font-weight);
  color: var(--yc-color-text-primary);
}
.yc-stories__text-content {
  font-size: var(--yc-text-body-2-font-size);
  line-height: var(--yc-text-body-2-line-height);
  font-weight: var(--yc-text-body-font-weight);
  color: var(--yc-color-text-complementary);
}
.yc-stories__text-header + .yc-stories__text-content {
  margin-top: 16px;
}
.yc-stories__story-link-block {
  margin-top: 16px;
}
.yc-stories__controls-block {
  display: flex;
  justify-content: space-between;
}
.yc-stories__controls-block button {
  width: calc(50% - 8px);
}
.yc-stories__media-block {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
}