/* t316: скрыть визуальный скроллбар внутри модалки .wi-ov .wi, скролл пальцем оставляем. CSS только внутри .g-free.fs и .wi-ov */
html[data-theme="dark"] .g-free.fs {
  --fs-row: #1f344e;
  --fs-okb: #2e3f34;
  --fs-okt: #7fcf4e;
  --fs-sep: #2c3442;
  --fs-or: #a3adbd;
  --fs-ch: #a3adbd;
  --fs-mu: #8f9cb0;
  --wi-dim: rgba(31, 41, 55, 0.6);
  --wi-bg: #1e242f;
  --wi-row: #1b2a3d;
  --wi-cls: #262d3a;
  --wi-tx: #f4f7fb;
  --wi-mu: #8f9cb0;
  --wi-sh: 0 20px 60px rgba(0, 0, 0, 0.35);
}
html[data-theme="light"] .g-free.fs,
html:not([data-theme]) .g-free.fs {
  --fs-row: #dcecfd;
  --fs-okb: #edf7e6;
  --fs-okt: #6eb83f;
  --fs-sep: #eef1f5;
  --fs-or: #8f99aa;
  --fs-ch: #8f99aa;
  --fs-mu: #687388;
  --wi-dim: rgba(31, 41, 55, 0.6);
  --wi-bg: #ffffff;
  --wi-row: #eaf3fe;
  --wi-cls: #eef1f5;
  --wi-tx: #202838;
  --wi-mu: #687388;
  --wi-sh: 0 20px 60px rgba(20, 40, 80, 0.18);
}
html[data-theme="dark"] .wi-ov,
html[data-theme="light"] .wi-ov,
html:not([data-theme]) .wi-ov {
  --wi-dim: rgba(31, 41, 55, 0.6);
  --wi-bg: #1e242f;
  --wi-row: #1b2a3d;
  --wi-cls: #262d3a;
  --wi-tx: #f4f7fb;
  --wi-mu: #8f9cb0;
  --wi-sh: 0 20px 60px rgba(0, 0, 0, 0.35);
}
html[data-theme="light"] .wi-ov {
  --wi-dim: rgba(31, 41, 55, 0.6);
  --wi-bg: #ffffff;
  --wi-row: #eaf3fe;
  --wi-cls: #eef1f5;
  --wi-tx: #202838;
  --wi-mu: #687388;
  --wi-sh: 0 20px 60px rgba(20, 40, 80, 0.18);
}

.g-free.fs .fs-h {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  min-height: 44px;
}
.g-free.fs .fs-ic {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #268bf3;
  display: grid;
  place-items: center;
}
.g-free.fs .fs-ic svg {
  width: 18px;
  height: 18px;
}
.g-free.fs .fs-ht {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.g-free.fs .fs-ht b,
.g-free.fs .fs-ht .g-h16 {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
}
.g-free.fs .fs-ht small {
  color: var(--fs-mu, var(--mut, #8f9cb0));
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  margin-top: 0;
}
.g-free.fs .fs-ok {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  padding: 0 12px !important;
  border-radius: 10px;
  background: var(--fs-okb, #edf7e6);
  color: var(--fs-okt, #6eb83f);
  white-space: nowrap;
  justify-content: flex-start;
}
.g-free.fs .fs-ok i,
.g-free.fs .fs-ok > i,
.g-free.fs .fs-ok i[hidden] {
  display: none !important;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #6eb83f;
  color: #fff;
  place-items: center;
}
.g-free.fs .fs-ok i svg {
  width: 12px;
  height: 12px;
}
.g-free.fs.done .fs-ok {
  padding-right: 8px !important;
}
.g-free.fs.done .fs-ok i:not([hidden]) {
  display: grid !important;
}
.g-free.fs .fs-ch {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--fs-ch, var(--fs-mu, var(--soft, #8f9cb0)));
  transition: transform 0.2s ease;
}

/* список шагов вместо старой сетки «два столбика» */
.g-free.fs .g-subs.fs-list,
.g-free.fs .fs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--fs-sep, var(--line, #2a3240));
  grid-template-columns: none;
  column-gap: 0;
  align-items: stretch;
}
.g-free.fs.is-closed .g-subs.fs-list,
.g-free.fs.is-closed .fs-list {
  display: none;
}
.g-free.fs.is-closed .g-free-h > svg.ch,
.g-free.fs.is-closed .fs-ch {
  transform: rotate(180deg);
}
.g-free.fs .fs-step {
  background: var(--fs-row, #1f344e);
  border-radius: 12px;
  min-height: 64px;
  padding: 10px 10px 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-free.fs .fs-mk {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #268bf3;
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}
.g-free.fs .fs-mk b {
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}
.g-free.fs .fs-mk svg {
  display: none;
  width: 12px;
  height: 12px;
}
.g-free.fs .fs-mk-ok {
  display: none;
}
.g-free.fs .fs-step.is-done .fs-mk,
.g-free.fs .fs-step.done .fs-mk {
  background: #6eb83f;
}
.g-free.fs .fs-step.is-done .fs-mk b,
.g-free.fs .fs-step.done .fs-mk b,
.g-free.fs .fs-step.is-done .fs-mk-n,
.g-free.fs .fs-step.done .fs-mk-n {
  display: none;
}
.g-free.fs .fs-step.is-done .fs-mk > svg,
.g-free.fs .fs-step.done .fs-mk > svg {
  display: block;
}
.g-free.fs .fs-step.is-done .fs-mk-ok,
.g-free.fs .fs-step.done .fs-mk-ok {
  display: grid;
}
.g-free.fs .fs-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.g-free.fs .fs-tx b {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}
.g-free.fs .fs-tx small {
  color: var(--fs-mu, var(--mut, #8f9cb0));
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}
.g-free.fs .fs-acts {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-free.fs .fs-lab-short,
.wi-ov .fs-lab-short {
  display: none;
}
.g-free.fs .fs-or {
  color: var(--fs-or, #a3adbd);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
}
.g-free.fs .fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px 0 12px;
  border-radius: 12px;
  background: #268bf3;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.g-free.fs .fs-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: none;
}
@media (hover: hover) {
  html[data-theme] body .g-free.fs a.fs-btn:hover,
  html[data-theme] body .g-free.fs .fs-got:hover {
    background: #187de5;
    filter: none;
  }
}
.g-free.fs .fs-got {
  display: none;
  padding: 0 20px;
  flex: none;
  cursor: default;
}
.g-free.fs .fs-step.is-done .fs-acts,
.g-free.fs .fs-step.done .fs-acts {
  display: none;
}
.g-free.fs .fs-step.is-done .fs-got,
.g-free.fs .fs-step.done .fs-got {
  display: inline-flex;
}

@media (max-width: 900px) {
  .g-free.fs .fs-step {
    flex-wrap: wrap;
  }
  .g-free.fs .fs-acts {
    margin-left: 32px;
  }
}

@media (max-width: 767px) {
  .g-free.fs {
    padding: 12px;
    border-radius: 10px;
  }
  .g-free.fs .fs-h {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 20px;
    column-gap: 12px;
    row-gap: 12px;
    align-items: center;
  }
  .g-free.fs .fs-ht {
    gap: 4px;
  }
  .g-free.fs .fs-ht small {
    font-size: 12px;
    line-height: 16px;
  }
  .g-free.fs .fs-ok,
  html[data-device="mobile"] .g-free.fs .g-free-h > .fs-ok {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: space-between;
    margin-top: 0;
    padding: 0 12px !important;
    line-height: 21px;
  }
  .g-free.fs.done .fs-ok,
  html[data-device="mobile"] .g-free.fs.done .g-free-h > .fs-ok {
    padding-right: 5px !important;
  }
  .g-free.fs .fs-ok i,
  .g-free.fs .fs-ok > i,
  .g-free.fs .fs-ok i[hidden] {
    width: 25px;
    height: 25px;
    border-radius: 8px;
  }
  .g-free.fs .fs-ok i svg {
    width: 14px;
    height: 14px;
  }
  .g-free.fs .fs-ch {
    grid-column: 3;
    grid-row: 1;
    margin-top: 0;
  }
  .g-free.fs .g-subs.fs-list,
  .g-free.fs .fs-list {
    margin-top: 16px;
    padding-top: 16px;
    gap: 8px;
  }
  .g-free.fs .fs-step {
    flex-wrap: wrap;
    align-items: flex-start;
    border-radius: 10px;
    padding: 12px;
    gap: 12px 10px;
    min-height: 0;
  }
  .g-free.fs .fs-tx {
    gap: 2px;
  }
  .g-free.fs .fs-tx small {
    font-size: 12px;
    line-height: 16px;
  }
  .g-free.fs .fs-acts {
    margin: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .g-free.fs .fs-or {
    display: none;
  }
  .g-free.fs .fs-btn {
    height: 35px;
    border-radius: 8px;
    padding: 0 12px 0 8px;
    min-width: 0;
  }
  .g-free.fs .fs-btn img {
    width: 22px;
    height: 22px;
  }
  .g-free.fs .fs-got {
    width: 100%;
    height: 35px;
    padding: 0 16px;
    border-radius: 8px;
  }
  .g-free.fs .fs-step.is-done .fs-acts,
  .g-free.fs .fs-step.done .fs-acts {
    display: none;
  }
}

html[data-device="mobile"] .g-free.fs {
  padding: 12px;
  border-radius: 10px;
}
html[data-device="mobile"] .g-free.fs .fs-h {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  column-gap: 12px;
  row-gap: 12px;
  align-items: center;
}
html[data-device="mobile"] .g-free.fs .fs-ht small {
  font-size: 12px;
  line-height: 16px;
}
html[data-device="mobile"] .g-free.fs .g-free-h > .fs-ok {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  justify-content: space-between;
  line-height: 21px;
}
html[data-device="mobile"] .g-free.fs.done .g-free-h > .fs-ok {
  padding-right: 5px !important;
}
html[data-device="mobile"] .g-free.fs .fs-ok i,
html[data-device="mobile"] .g-free.fs .fs-ok > i,
html[data-device="mobile"] .g-free.fs .fs-ok i[hidden] {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}
html[data-device="mobile"] .g-free.fs .fs-ok i svg {
  width: 14px;
  height: 14px;
}
html[data-device="mobile"] .g-free.fs .fs-ch {
  grid-column: 3;
  grid-row: 1;
}
html[data-device="mobile"] .g-free.fs .g-subs.fs-list,
html[data-device="mobile"] .g-free.fs .fs-list {
  margin-top: 16px;
  padding-top: 16px;
  gap: 8px;
}
html[data-device="mobile"] .g-free.fs .fs-step {
  flex-wrap: wrap;
  align-items: flex-start;
  border-radius: 10px;
  padding: 12px;
  gap: 12px 10px;
  min-height: 0;
}
html[data-device="mobile"] .g-free.fs .fs-acts {
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
html[data-device="mobile"] .g-free.fs .fs-or {
  display: none;
}
html[data-device="mobile"] .g-free.fs .fs-btn {
  height: 35px;
  border-radius: 8px;
  padding: 0 12px 0 8px;
  min-width: 0;
}
html[data-device="mobile"] .g-free.fs .fs-btn img {
  width: 22px;
  height: 22px;
}
html[data-device="mobile"] .g-free.fs .fs-got {
  width: 100%;
  height: 35px;
  padding: 0 16px;
  border-radius: 8px;
}

@media (max-width: 359px) {
  .g-free.fs .fs-btn {
    gap: 6px;
    padding: 0 8px 0 6px;
    font-size: 13px;
  }
  .g-free.fs .fs-btn img {
    width: 20px;
    height: 20px;
  }
}

/* Модалка «Как работает рулетка удачи» */
/* overlay is a direct child of main, and site CSS has `main > * { margin-top: 20px }`
   (some bundles 24px). That margin shifts position:fixed + inset:0 down and leaves
   an undimmed strip at the top of the viewport. Beat it with higher specificity. */
html body .wi-ov,
.wi-ov {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: none;
  background: var(--wi-dim, rgba(31, 41, 55, 0.6));
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
  overflow: hidden;
  z-index: 2147482800;
}
.wi-ov.is-open {
  display: flex;
}
.wi-ov .wi {
  position: relative;
  width: 400px;
  max-width: 100%;
  max-height: calc(100dvh - 80px);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--wi-bg, #1e242f);
  color: var(--wi-tx, #f4f7fb);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--wi-sh, 0 20px 60px rgba(0, 0, 0, 0.35));
}
.wi-ov .wi-x {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 10px;
  background: var(--wi-cls, #262d3a);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.wi-ov .wi-x svg {
  width: 16px;
  height: 16px;
}
.wi-ov .wi-logo {
  height: 40px;
  display: flex;
  justify-content: center;
}
.wi-ov .wi-logo img {
  height: 40px;
  width: auto;
}
.wi-ov .wi-c {
  margin-top: 20px;
}
.wi-ov .wi h2,
.wi-ov .wi-head h2 {
  margin: 0;
  padding: 0 47px;
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: var(--wi-tx, inherit);
}
.wi-ov .wi-lead,
.wi-ov .wi-head p {
  margin: 8px 0 0;
  text-align: center;
  color: var(--wi-mu, #8f9cb0);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
}
.wi-ov .wi-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wi-ov .wi-list li {
  display: flex;
  gap: 12px;
}
.wi-ov .wi-num {
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: #268bf3;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}
.wi-ov .wi-li,
.wi-ov .wi-list div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wi-ov .wi-li h3,
.wi-ov .wi-list b {
  margin: 0;
  padding-top: 2px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}
.wi-ov .wi-li p,
.wi-ov .wi-list div span {
  margin: 8px 0 0;
  color: var(--wi-mu, #8f9cb0);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}
.wi-ov .wi-chs {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wi-ov .wi-ch {
  background: var(--wi-row, #1b2a3d);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wi-ov .wi-ch-h {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wi-ov .wi-mk {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #268bf3;
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}
.wi-ov .wi-mk b {
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}
.wi-ov .wi-mk svg {
  display: none;
  width: 12px;
  height: 12px;
}
.wi-ov .wi-mk-ok {
  display: none;
}
.wi-ov .wi-ch.is-done .wi-mk,
.wi-ov .wi-ch.done .wi-mk {
  background: #6eb83f;
}
.wi-ov .wi-ch.is-done .wi-mk b,
.wi-ov .wi-ch.done .wi-mk b,
.wi-ov .wi-ch.is-done .wi-mk-n,
.wi-ov .wi-ch.done .wi-mk-n {
  display: none;
}
.wi-ov .wi-ch.is-done .wi-mk > svg,
.wi-ov .wi-ch.done .wi-mk > svg {
  display: block;
}
.wi-ov .wi-ch.is-done .wi-mk-ok,
.wi-ov .wi-ch.done .wi-mk-ok {
  display: grid;
}
.wi-ov .wi-ch-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wi-ov .wi-ch-tx b {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wi-ov .wi-ch-tx small {
  color: var(--wi-mu, #8f9cb0);
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
}
.wi-ov .wi-nets {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 5px 5px 0;
}
.wi-ov .wi-net {
  position: relative;
  display: flex;
  width: auto;
  height: auto;
  opacity: 0.45;
  transition: opacity 0.2s;
}
.wi-ov .wi-net + .wi-net {
  margin-left: -8px;
}
.wi-ov .wi-net img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--wi-row, #1b2a3d);
  box-sizing: content-box;
  margin: -2px;
}
.wi-ov .wi-net i {
  display: none;
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: #6eb83f;
  color: #fff;
  place-items: center;
  box-shadow: none;
  border: 2px solid var(--wi-row, #1b2a3d);
}
.wi-ov .wi-net i svg {
  width: 9px;
  height: 9px;
}
.wi-ov .wi-ch.is-done .wi-net,
.wi-ov .wi-ch.done .wi-net {
  opacity: 0.3;
}
.wi-ov .wi-ch.is-done .wi-net.on,
.wi-ov .wi-ch.done .wi-net.on {
  opacity: 1;
  z-index: 1;
}
.wi-ov .wi-ch.is-done .wi-net.on i,
.wi-ov .wi-ch.done .wi-net.on i {
  display: grid;
}
.wi-ov .wi-acts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.wi-ov .wi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 35px;
  padding: 0 12px 0 8px;
  border-radius: 10px;
  background: #268bf3;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
  transition:
    background-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wi-ov .wi-btn img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
}
@media (hover: hover) {
  html[data-theme] body .wi-ov a.wi-btn:hover,
  html[data-theme] body .wi-ov .wi-got:hover {
    background: #187de5;
    filter: none;
  }
}
.wi-ov .wi-got {
  display: none;
  padding: 0 16px;
  width: 100%;
  cursor: default;
}
.wi-ov .wi-ch.is-done .wi-acts,
.wi-ov .wi-ch.done .wi-acts {
  display: none;
}
.wi-ov .wi-ch.is-done .wi-got,
.wi-ov .wi-ch.done .wi-got {
  display: inline-flex;
}
.wi-ov .wi-foot {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wi-ov .wi-spin {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  gap: 10px;
  padding: 0 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}
.wi-ov .wi-spin svg {
  width: 28px;
  height: 28px;
  flex: none;
  transform-origin: 50% 70%;
  animation: t303-gift 1.8s ease-in-out infinite;
}
.wi-ov .wi-foot small {
  display: block;
  margin-top: 12px;
  color: var(--wi-mu, #8f9cb0);
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  text-align: center;
}

@keyframes t303-gift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  35% {
    transform: translateY(-2px) rotate(-8deg);
  }
  70% {
    transform: translateY(1px) rotate(6deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wi-ov .wi-spin svg {
    animation: none;
  }
}

@media (max-width: 767px) {
  .wi-ov {
    padding: 20px 27px;
    align-items: center;
    overflow: hidden;
  }
  .wi-ov .wi {
    max-height: calc(100dvh - 40px);
  }
  .wi-ov .wi {
    border-radius: 22px;
  }
  .wi-ov .wi-x {
    border-radius: 9px;
  }
  .wi-ov .wi-logo {
    height: 44px;
  }
  .wi-ov .wi-logo img {
    height: 44px;
  }
  .wi-ov .wi-c {
    margin-top: 12px;
  }
  .wi-ov .wi h2,
  .wi-ov .wi-head h2 {
    padding: 0 36px;
    font-size: 20px;
  }
  .wi-ov .wi-lead,
  .wi-ov .wi-head p {
    font-size: 14px;
  }
  .wi-ov .wi-acts .wi-btn,
  .wi-ov .wi-ch .wi-got {
    border-radius: 12px;
  }
  .wi-ov .wi-spin {
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    padding: 0 16px;
  }
  .wi-ov .wi-spin svg {
    width: 24px;
    height: 24px;
  }
  .wi-ov .wi-foot small {
    line-height: 16px;
  }
}
html[data-device="mobile"] .wi-ov {
  padding: 20px 27px;
  align-items: center;
  overflow: hidden;
}
html[data-device="mobile"] .wi-ov .wi {
  max-height: calc(100dvh - 40px);
}
html[data-device="mobile"] .wi-ov .wi {
  border-radius: 22px;
}
html[data-device="mobile"] .wi-ov .wi-x {
  border-radius: 9px;
}
html[data-device="mobile"] .wi-ov .wi-logo,
html[data-device="mobile"] .wi-ov .wi-logo img {
  height: 44px;
}
html[data-device="mobile"] .wi-ov .wi-c {
  margin-top: 12px;
}
html[data-device="mobile"] .wi-ov .wi h2,
html[data-device="mobile"] .wi-ov .wi-head h2 {
  padding: 0 36px;
  font-size: 20px;
}
html[data-device="mobile"] .wi-ov .wi-lead,
html[data-device="mobile"] .wi-ov .wi-head p {
  font-size: 14px;
}
html[data-device="mobile"] .wi-ov .wi-spin {
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  padding: 0 16px;
}
html[data-device="mobile"] .wi-ov .wi-spin svg {
  width: 24px;
  height: 24px;
}
html[data-device="mobile"] .wi-ov .wi-foot small {
  line-height: 16px;
}
@media (max-width: 389px) {
  .wi-ov {
    padding: 16px 12px;
  }
}
@media (max-width: 359px) {
  .wi-ov {
    padding: 16px 12px;
  }
  .wi-ov .wi {
    padding: 16px;
  }
  .wi-ov .wi-x {
    right: 16px;
    top: 16px;
  }
  .wi-ov .wi h2,
  .wi-ov .wi-head h2 {
    padding: 0 40px;
  }
  .wi-ov .wi-btn {
    gap: 6px;
    padding: 0 8px 0 6px;
    font-size: 13px;
  }
  .wi-ov .wi-btn img {
    width: 20px;
    height: 20px;
  }
}

html.is-t303-wi-open,
html.is-t303-wi-open body {
  overflow: hidden;
}
.wi-ov .wi::-webkit-scrollbar,
.wi-ov::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* «Подп.» only where icon + «Подписаться» cannot fit (360–390). Desktop keeps the full word. */
@media (max-width: 399px) {
  .g-free.fs .fs-lab-full,
  .wi-ov .fs-lab-full {
    display: none;
  }
  .g-free.fs .fs-lab-short,
  .wi-ov .fs-lab-short {
    display: inline;
  }
}
