.fcr-notification {
  position: fixed;
  z-index: 1000;
  display: flex;
  max-height: 100vh;
  padding: 8px 12px;
  align-items: flex-end;
  width: 354px;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  box-sizing: border-box;
  pointer-events: none;
  flex-direction: column;
}
.fcr-notification-top,
.fcr-notification-topLeft,
.fcr-notification-topRight {
  top: 0;
}
.fcr-notification-bottom,
.fcr-notification-bottomRight,
.fcr-notification-bottomLeft {
  bottom: 0;
}
.fcr-notification-bottomRight,
.fcr-notification-topRight {
  right: 0;
}
.fcr-notification-notice {
  position: relative;
  display: block;
  box-sizing: border-box;
  line-height: 1.4;
  width: 100%;
}
.fcr-notification-notice-wrapper {
  pointer-events: auto;
  position: relative;
  display: block;
  box-sizing: border-box;
  border-radius: var(--fcr_cornerradius_l);
  box-shadow: var(--fcr_web_light_dropup);
  margin: 0 0 8px;
  background: var(--fcr_mobile_ui_scene_color_popup_block1);
  width: 330px;
}
.fcr-notification-notice-content {
  padding: 16px 16px 16px 16px;
}
.fcr-notification-notice-content__text {
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fcr-notification-notice-content__icon {
  float: left;
  margin-right: 12px;
  border-radius: var(--fcr_cornerradius_round);
}
.fcr-notification-notice-content__title {
  font-size: 14px;
  line-height: 1.4;
  color: var(--fcr_ui_scene_icontext1);
}
.fcr-notification-notice-content__title-with-message {
  margin-bottom: 4px;
}
.fcr-notification-notice-content__message {
  font-size: 13px;
  line-height: 1.4;
  color: var(--fcr_ui_scene_icontext1);
}
.fcr-notification-notice-content__actions {
  display: flex;
  justify-content: right;
  gap: 8px;
  margin-top: 8px;
}
.fcr-notification-notice-with-oneline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fcr-notification-notice-with-oneline .fcr-notification-notice-content__text {
  flex: 1;
}

.fcr-notification-notice-closable .fcr-notification-notice-content {
  padding-right: 22px;
}
.fcr-notification-notice-close {
  position: absolute;
  top: 6px;
  right: 6px;
  color: var(--fcr_ui_scene_icontext1);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
  outline: none;
  cursor: pointer;
}

.fcr-notification-notice-close-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--fcr_mobile_ui_scene_fill2);
  border-radius: var(--fcr_cornerradius_round);
}

.fcr-notification-notice-progress {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 0;
  border-radius: var(--fcr_cornerradius_xxl);
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  display: block;
  inline-size: calc(100% - 14px);
  block-size: 2px;
  border: 0;
}
.fcr-notification-notice-progress,
.fcr-notification-notice-progress::-webkit-progress-bar {
  background-color: var(--fcr_ui_scene_ramp_brand2);
}
.fcr-notification-notice-progress::-moz-progress-bar {
  background-color: var(--fcr_ui_scene_ramp_brand6);
}
.fcr-notification-notice-progress::-webkit-progress-value {
  background-color: var(--fcr_ui_scene_ramp_brand6);
}
.fcr-notification-fade {
  overflow: hidden;
  transition: all 0.3s;
}
.fcr-notification-fade-appear-prepare {
  pointer-events: none;
  opacity: 0 !important;
}
.fcr-notification-fade-appear-start {
  transform: translateX(100%);
  opacity: 0;
}
.fcr-notification-fade-appear-active {
  transform: translateX(0);
  opacity: 1;
}
.fcr-notification-stack > .fcr-notification-notice-wrapper {
  transition: all 0.3s;
  position: absolute;
  top: 8px;
  opacity: 1;
}
.fcr-notification-stack > .fcr-notification-notice-wrapper:not(:nth-last-child(-n + 3)) {
  opacity: 0;
  right: 34px;
  width: 282px;
  overflow: hidden;
  color: transparent;
  pointer-events: none;
}
.fcr-notification-stack > .fcr-notification-notice-wrapper:nth-last-child(1) {
  right: 10px;
}
.fcr-notification-stack > .fcr-notification-notice-wrapper:nth-last-child(2) {
  right: 18px;
  width: 314px;
  color: transparent;
  overflow: hidden;
}
.fcr-notification-stack > .fcr-notification-notice-wrapper:nth-last-child(3) {
  right: 26px;
  width: 298px;
  color: transparent;
  overflow: hidden;
}
.fcr-notification-stack.fcr-notification-stack-expanded
  > .fcr-notification-notice-wrapper:not(:nth-last-child(-n + 1)) {
  opacity: 1;
  width: 330px;
  right: 10px;
  overflow: unset;
  color: inherit;
  pointer-events: auto;
}
:not(.fcr-notification-bottom).fcr-notification-stack.fcr-notification-stack-expanded
  > .fcr-notification-notice-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  width: 100%;
  height: calc(100% + 16px);
  background: transparent;
  pointer-events: auto;
  color: #000000;
}

.fcr-notification-stack.fcr-notification-bottomRight > .fcr-notification-notice-wrapper {
  top: unset;
  bottom: 12px;
}
