/* buy.css (18.11, buy1811): the «Купить доступ» window and the period switch of the scale section (buy.js). Dark by
   default like the site, body.light gives the light one. */
.b18-lock, .b18-lock body { overflow: hidden; }
.b18w { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; }
.b18w[hidden] { display: none; }
.b18-bg { position: absolute; inset: 0; background: rgba(3, 7, 18, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s; }
.b18w.on .b18-bg { opacity: 1; }
.b18-card { position: relative; width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
  scrollbar-width: none; padding: 26px 24px 22px; border-radius: 24px; color: #e8eefc; outline: none;
  background: linear-gradient(170deg, #0f1730, #0a1022 60%); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(148, 178, 255, .16);
  transform: translateY(14px) scale(.98); opacity: 0; transition: transform .24s cubic-bezier(.2, .8, .2, 1), opacity .22s; font-family: inherit; }
.b18-card::-webkit-scrollbar { display: none; }
.b18w.on .b18-card { transform: none; opacity: 1; }
.b18-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .07); color: inherit; cursor: pointer; display: grid; place-items: center; }
[dir="rtl"] .b18-x { right: auto; left: 14px; }
.b18-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.b18-x:hover { background: rgba(255, 255, 255, .14); }
.b18-card h2 { margin: 0 44px 6px 0; font: 700 1.6rem/1.15 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.02em; }
[dir="rtl"] .b18-card h2 { margin: 0 0 6px 44px; }
.b18-lead { margin: 0 0 16px; color: #a9b6d3; font-size: .95rem; line-height: 1.45; }
.b18-lab { display: block; margin: 14px 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8fa0c4; }
.b18-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.b18-t { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 4px 8px; border-radius: 14px; border: 1.5px solid rgba(148, 178, 255, .18);
  background: rgba(255, 255, 255, .03); color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, background .15s; min-width: 0; }
.b18-t b { font: 700 1.05rem/1.1 'Space Grotesk', system-ui, sans-serif; }
.b18-t small { font-size: .68rem; color: #8fa0c4; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b18-t span { font-size: .78rem; font-weight: 600; color: #cfe0ff; }
.b18-t.on { border-color: #38bdf8; background: rgba(56, 189, 248, .12); }
.b18-line { margin: 8px 0 0; min-height: 1.2em; font-size: .82rem; color: #a9b6d3; }
.b18-pers { display: grid; gap: 8px; }
.b18-p { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border-radius: 16px; border: 1.5px solid rgba(148, 178, 255, .18);
  background: rgba(255, 255, 255, .03); color: inherit; font: inherit; text-align: start; cursor: pointer; transition: border-color .15s, background .15s; }
.b18-p.on { border-color: #38bdf8; background: rgba(56, 189, 248, .1); }
.b18-r { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #5b6b90; display: grid; place-items: center; flex: 0 0 auto; }
.b18-p.on .b18-r { border-color: #38bdf8; }
.b18-r i { width: 10px; height: 10px; border-radius: 50%; background: #38bdf8; transform: scale(0); transition: transform .15s; }
.b18-p.on .b18-r i { transform: scale(1); }
.b18-pt { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.b18-pt b { font-size: .98rem; }
.b18-pt em, .b18-pb em { font-style: normal; font-size: .72rem; font-weight: 700; color: #052e1c; background: #4ade80; border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.b18-pt em.b18-m, .b18-pb em.b18-m { color: #0b1a3a; background: #93c5fd; }
.b18-pt small { flex-basis: 100%; font-size: .78rem; color: #8fa0c4; }
.b18-save { color: #4ade80; font-weight: 600; }
.b18-pp { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
[dir="rtl"] .b18-pp { align-items: flex-start; }
.b18-pp s { font-size: .74rem; color: #7c89a8; }
.b18-pp b { font: 700 1.15rem/1.1 'Space Grotesk', system-ui, sans-serif; }
.b18-pp small { font-size: .7rem; color: #8fa0c4; }
.b18-form input { width: 100%; box-sizing: border-box; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid rgba(148, 178, 255, .25);
  background: rgba(255, 255, 255, .05); color: inherit; font: inherit; font-size: 16px; outline: none; transition: border-color .15s; }
.b18-form input:focus { border-color: #38bdf8; }
.b18-hint { display: block; margin: 6px 0 0; font-size: .78rem; color: #8fa0c4; }
.b18-err { min-height: 1.1em; margin: 6px 0 4px; font-size: .84rem; color: #fca5a5; }
.b18-err a { color: #7dd3fc; font-weight: 700; }
.b18-go { width: 100%; justify-content: center; margin-top: 2px; font-size: 1.02rem; }
.b18-go[disabled] { opacity: .75; cursor: progress; }
.b18-fine { margin: 10px 0 0; font-size: .78rem; line-height: 1.45; color: #8fa0c4; }
.b18-24 { margin: 14px 0 0; padding: 12px 14px; border-radius: 16px; background: rgba(74, 222, 128, .07); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .2); }
.b18-24 b { font-size: .88rem; }
.b18-24 ol { margin: 6px 0 0; padding-inline-start: 1.2em; font-size: .84rem; line-height: 1.5; color: #c8d4ee; }
.b18-terms { margin: 12px 0 0; font-size: .74rem; color: #7c89a8; }
.b18-terms a { color: inherit; text-decoration: underline; }
body.light .b18-bg { background: rgba(15, 23, 42, .45); }
body.light .b18-card { color: #0b1222; background: #fff; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .35), inset 0 0 0 1px rgba(15, 23, 42, .08); }
body.light .b18-x { background: rgba(15, 23, 42, .06); }
body.light .b18-lead, body.light .b18-line, body.light .b18-fine { color: #4a5675; }
body.light .b18-lab, body.light .b18-t small, body.light .b18-pt small, body.light .b18-pp small, body.light .b18-hint { color: #5b6784; }
body.light .b18-t, body.light .b18-p { border-color: #dfe5f0; background: #fff; }
body.light .b18-t span { color: #1e3a8a; }
body.light .b18-t.on, body.light .b18-p.on { border-color: #2563eb; background: #f3f7ff; }
body.light .b18-r { border-color: #c4cbda; }
body.light .b18-p.on .b18-r { border-color: #2563eb; }
body.light .b18-r i { background: #2563eb; }
body.light .b18-pt em, body.light .b18-pb em { color: #0f7a45; background: #e3f6ec; }
body.light .b18-pt em.b18-m, body.light .b18-pb em.b18-m { color: #1f4a92; background: #e8effc; }
body.light .b18-save { color: #0f7a45; }
body.light .b18-form input { border-color: #d3dae8; background: #fff; }
body.light .b18-form input:focus { border-color: #2563eb; }
body.light .b18-24 { background: #f1fbf5; box-shadow: inset 0 0 0 1px #cfeedd; }
body.light .b18-24 ol { color: #2c3a58; }
body.light .b18-err { color: #b91c1c; }
body.light .b18-err a { color: #1d4ed8; }
@media (max-width: 700px) {
  .b18w { place-items: end center; padding: 0; }
  .b18-card { max-width: none; max-height: 92dvh; border-radius: 22px 22px 0 0; padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .b18-card h2 { font-size: 1.35rem; }
  .b18-t { padding: 8px 2px 7px; }
  .b18-t b { font-size: .95rem; }
  .b18-t small { display: none; }
  .b18-t span { font-size: .72rem; }
  .b18-p { padding: 10px 12px; gap: 10px; }
}
/* the scale section: the period switch above the cards and 5 scales in a row, HandOfHands as a strip under them */
.b18-per { display: none; justify-content: center; gap: 6px; margin: 1.6rem auto 0; padding: 5px; width: max-content; max-width: 100%; border-radius: 99px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(148, 178, 255, .16); flex-wrap: wrap; }
.b18-per.on { display: flex; }
.b18-pb { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 99px; background: transparent; color: inherit; font: inherit; font-size: .92rem; cursor: pointer; }
.b18-pb b { font-weight: 600; }
.b18-pb.on { background: linear-gradient(120deg, rgba(0, 198, 247, .22), rgba(124, 92, 246, .22)); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .5); }
body.light .b18-per { background: #fff; box-shadow: inset 0 0 0 1px #dfe5f0; }
body.light .b18-pb.on { background: #eef4ff; box-shadow: inset 0 0 0 1px #2563eb; }
.h7-scs.b18 .h7-sc-price { flex-wrap: wrap; }
.h7-scs.b18 .h7-sc-price .b18-was { order: -1; flex-basis: 100%; font-size: .85rem; color: var(--td, #7c89a8); }
.h7-scs.b18 .h7-sc-price .b18-was[hidden] { display: none; }
.h7-scs.b18 .h7-sc-price .b18-tot { flex-basis: 100%; margin-top: .3rem; font-size: .76rem; line-height: 1.35; color: var(--tm, #8fa0c4); }
@media (min-width: 1101px) {
  .h7-scs.b18 .h7-sc-hoh { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "tag h talk go" "price h talk go";
    align-items: center; column-gap: 1.6rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
  .h7-scs.b18 .h7-sc-hoh .h7-sc-tag { grid-area: tag; }
  .h7-scs.b18 .h7-sc-hoh h3 { grid-area: h; margin: 0; font-size: 2rem; }
  .h7-scs.b18 .h7-sc-hoh .h7-sc-price { grid-area: price; margin: 0; }
  .h7-scs.b18 .h7-sc-hoh .h7-sc-inf { display: none; }
  .h7-scs.b18 .h7-sc-hoh .h7-sc-talk { grid-area: talk; margin: 0; }
  .h7-scs.b18 .h7-sc-hoh .h7-sc-go { grid-area: go; margin: 0; }
}
@media (min-width: 1101px) and (max-width: 1279px) {
  .h7-scs.b18 { gap: .7rem; }
  .h7-scs.b18 .h7-sc:not(.h7-sc-hoh) h3 { font-size: 2.5rem; }
}
@media (max-width: 700px) {
  .b18-per { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 18px; gap: 4px; }
  .b18-per.on { display: grid; }
  .b18-pb { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 4px; border-radius: 14px; font-size: .86rem; text-align: center; }
  .b18-pb em { font-size: .66rem; padding: 2px 6px; white-space: normal; line-height: 1.2; }
}
