/* FORMA WIN: модалка выигрыша с фриспинов (макет bonus-deposit-dialog). */
html body.fw36 .fw-bd-shade {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 7, 12, 0.72);
}
html body.fw36 .fw-bd-shade[hidden] {
  display: none;
}
html body.fw36 .fw-bd-dialog {
  position: relative;
  box-sizing: border-box;
  width: min(550px, 100%);
  max-width: 550px;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #221c2c;
  outline: none;
}
html body.fw36 .fw-bd-body {
  max-height: min(92dvh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
}
html body.fw36 .fw-bd-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #392d52;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
html body.fw36 .fw-bd-close:hover {
  background: #53416f;
}
html body.fw36 .fw-bd-close:focus-visible {
  outline: 2px solid #c5adff;
  outline-offset: 2px;
}
html body.fw36 .fw-bd-dialog button {
  font-family: inherit;
  cursor: pointer;
}
html body.fw36 .bonus-deposit-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: 210px;
  padding: 23px 45% 23px 26px;
  overflow: hidden;
  background: #13121b;
  color: #fff;
}
html body.fw36 .bonus-deposit-art {
  position: absolute;
  z-index: -2;
  inset: 0;
}
html body.fw36 .bonus-deposit-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
html body.fw36 .bonus-deposit-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #13121b 0%, #13121b94 43%, transparent 67%);
  pointer-events: none;
}
html body.fw36 .fw-bd-dialog .bonus-deposit-kicker {
  margin: 0 0 10px;
  color: #cab7fc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
html body.fw36 .fw-bd-dialog .bonus-deposit-win {
  margin: 9px 0 0;
  color: #ded1ed;
  font-size: 14px;
  line-height: 1.35;
}
html body.fw36 .bonus-deposit-win strong {
  display: block;
  margin-top: 4px;
  color: #f5dfb6;
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
html body.fw36 .fw-bd-dialog #fwBdTitle {
  max-width: 12em;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 4vw, 31px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
html body.fw36 .bonus-deposit-copy {
  padding: 23px 26px 24px;
}
html body.fw36 .bonus-deposit-copy h3 {
  margin: 0 0 17px;
  color: #241e2d;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
html body.fw36 .bonus-deposit-steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
html body.fw36 .bonus-deposit-steps li {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
html body.fw36 .bonus-deposit-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #eee8fb;
  color: #6745b1;
  font-size: 12px;
  font-weight: 800;
}
html body.fw36 .bonus-deposit-steps strong {
  display: block;
  margin: 0 0 3px;
  font-size: 15px;
  line-height: 1.35;
}
html body.fw36 .fw-bd-dialog .bonus-deposit-steps p {
  margin: 0;
  color: #5b5267;
  font-size: 14px;
  line-height: 1.55;
}
html body.fw36 .bonus-deposit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
html body.fw36 .bonus-deposit-actions button {
  flex: 1 1 auto;
  min-height: 46px;
  padding: 9px 15px;
  border: 0;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
}
html body.fw36 .bonus-deposit-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #6244e8;
  color: #fff;
}
html body.fw36 .bonus-deposit-pay:hover {
  background: #5435d4;
}
html body.fw36 .bonus-deposit-pay:focus-visible,
html body.fw36 .bonus-deposit-dismiss:focus-visible {
  outline: 2px solid #c5adff;
  outline-offset: 2px;
}
html body.fw36 .bonus-deposit-dismiss {
  background: #f0ecf6;
  color: #4e3e62;
}
html body.fw36 .bonus-deposit-dismiss:hover {
  background: #e9e1f4;
}

@media (max-width: 599px) {
  html body.fw36 .fw-bd-shade {
    place-items: end center;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  }
  html body.fw36 .fw-bd-dialog {
    max-width: 440px;
    width: min(440px, 100%);
    border-radius: 22px;
  }
  html body.fw36 .fw-bd-body {
    max-height: calc(100dvh - 8px - max(8px, env(safe-area-inset-bottom)));
  }
  html body.fw36 .bonus-deposit-hero {
    min-height: 0;
    padding: 19px 64px 108px 20px;
  }
  html body.fw36 .bonus-deposit-art {
    inset: auto 0 0 auto;
    aspect-ratio: 495 / 376;
    max-width: 76%;
    height: 142px;
    mask-image: linear-gradient(90deg, transparent, #000 13%);
  }
  html body.fw36 .bonus-deposit-art img {
    object-fit: fill;
  }
  html body.fw36 .bonus-deposit-hero::after {
    background: linear-gradient(180deg, #13121b 1%, #13121b99 45%, transparent 79%);
  }
  html body.fw36 .fw-bd-dialog .bonus-deposit-kicker {
    margin-bottom: 7px;
  }
  html body.fw36 .fw-bd-dialog #fwBdTitle {
    font-size: 24px;
  }
  html body.fw36 .fw-bd-dialog .bonus-deposit-win {
    margin-top: 6px;
  }
  html body.fw36 .bonus-deposit-win strong {
    font-size: clamp(28px, 8vw, 35px);
  }
  html body.fw36 .bonus-deposit-copy {
    padding: 17px 18px 15px;
  }
  html body.fw36 .bonus-deposit-copy h3 {
    margin-bottom: 13px;
    font-size: 18px;
  }
  html body.fw36 .bonus-deposit-steps {
    gap: 11px;
  }
  html body.fw36 .bonus-deposit-actions {
    display: grid;
    gap: 6px;
    margin-top: 16px;
  }
  html body.fw36 .bonus-deposit-actions button {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 599px) and (max-height: 660px) {
  html body.fw36 .bonus-deposit-hero {
    padding-bottom: 85px;
  }
  html body.fw36 .bonus-deposit-art {
    height: 104px;
  }
  html body.fw36 .bonus-deposit-copy {
    padding-top: 14px;
  }
}

@media (min-width: 760px) and (max-width: 1800px), (min-width: 1600px) and (max-height: 760px) {
  html body.fw36 .fw-bd-dialog {
    max-width: 730px;
    width: min(730px, 100%);
  }
  html body.fw36 .bonus-deposit-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.81fr) minmax(0, 1fr);
    align-items: stretch;
  }
  html body.fw36 .fw-bd-body {
    overflow: hidden;
    max-height: min(92dvh, calc(100dvh - 48px));
  }
  html body.fw36 .bonus-deposit-hero {
    align-content: start;
    min-height: 0;
    overflow: hidden;
    padding: 28px 22px 170px 24px;
  }
  html body.fw36 .bonus-deposit-art {
    inset: auto 0 0 0;
    width: 100%;
    height: 66%;
  }
  html body.fw36 .bonus-deposit-art img {
    object-fit: fill;
  }
  html body.fw36 .bonus-deposit-hero::after {
    background: linear-gradient(180deg, #13121b 0%, #13121bbd 40%, transparent 68%);
  }
  html body.fw36 .fw-bd-close {
    color: #584768;
    background: #f1edf6;
  }
  html body.fw36 .fw-bd-close:hover {
    color: #463656;
    background: #ebe3f4;
  }
  html body.fw36 .fw-bd-dialog #fwBdTitle {
    font-size: 28px;
  }
  html body.fw36 .bonus-deposit-win strong {
    font-size: clamp(30px, 4.2vw, 42px);
  }
  html body.fw36 .bonus-deposit-copy {
    min-height: 0;
    overflow: auto;
    padding: 25px 22px 22px;
  }
  html body.fw36 .bonus-deposit-copy h3 {
    margin: 2px 40px 17px 0;
  }
  html body.fw36 .bonus-deposit-steps {
    gap: 12px;
  }
  html body.fw36 .bonus-deposit-actions {
    margin-top: 17px;
  }
}
