/* Shaxmatnoma do'koni: qulf stillari. Barcha klasslar sn- bilan; sahifa stillaridan himoyalangan. */

.sn-ov, .sn-ov *, .sn-chip, .sn-chip * {
  all: unset;
  box-sizing: border-box;
}

.sn-ov {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2147483600;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, .72);
  overflow-y: auto; overflow-x: hidden;
  font-family: Poppins, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; line-height: 1.45; color: #fff;
  -webkit-text-size-adjust: 100%;
}
.sn-panel {
  display: block; position: relative;
  width: 100%; max-width: 420px; max-height: 100%;
  margin: auto;
  padding: 26px 20px 20px;
  background: #0E0E0E; color: #fff;
  border: 1px solid #2a2a2a; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  overflow-y: auto; overflow-x: hidden;
}
.sn-x {
  position: absolute; right: 10px; top: 8px;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 18px; background: #1d1d1d; color: #fff;
  font-size: 22px; line-height: 1; text-align: center; cursor: pointer;
}
.sn-x:hover { background: #2c2c2c; }
.sn-title {
  display: block; padding-right: 40px; margin: 0 0 8px;
  font-size: 19px; font-weight: 700; line-height: 1.25; color: #fff;
  overflow-wrap: anywhere;
}
.sn-info { display: block; margin: 0 0 10px; font-size: 14px; color: #d0d0d0; }
.sn-price { display: block; margin: 0 0 14px; font-size: 24px; font-weight: 700; color: #FF2E88; }
.sn-steps { display: block; margin: 0 0 16px; }
.sn-step { display: flex; align-items: flex-start; margin: 0 0 8px; font-size: 14px; color: #fff; }
.sn-num {
  display: flex; flex: 0 0 auto; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-right: 10px;
  border-radius: 11px; background: #FF2E88; color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1;
}
.sn-steptxt { display: block; flex: 1 1 auto; min-width: 0; padding-top: 1px; overflow-wrap: anywhere; }

.sn-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  border-radius: 12px; border: 0;
  background: #262626; color: #fff;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
}
.sn-primary { width: 100%; background: #FF2E88; color: #fff; }
.sn-primary:hover, .sn-go:hover { background: #ff4a99; }
.sn-go { flex: 0 0 auto; background: #FF2E88; }
.sn-go[disabled] { opacity: .6; cursor: default; }
.sn-or { display: block; margin: 16px 0 8px; font-size: 13px; color: #9a9a9a; text-align: center; }
.sn-form { display: flex; gap: 8px; width: 100%; }
.sn-input {
  display: block; flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px;
  border: 1px solid #3a3a3a; border-radius: 12px;
  background: #181818; color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; -webkit-user-select: text; user-select: text;
  cursor: text;
}
.sn-input:focus { border-color: #FF2E88; }
.sn-input::placeholder { color: #666; font-weight: 400; }
.sn-msg { display: none; margin: 10px 0 0; font-size: 13px; }
.sn-msg.sn-err, .sn-msg.sn-ok { display: block; }
.sn-err { color: #ff7a7a; }
.sn-ok { color: #5fe08d; }
.sn-help { display: block; margin: 14px 0 0; font-size: 13px; color: #9a9a9a; text-align: center; text-decoration: underline; cursor: pointer; }

/* doimiy tugmacha */
.sn-chip {
  position: fixed; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  display: flex; align-items: stretch;
  height: 32px; max-width: calc(100vw - 20px);
  border-radius: 16px; background: #0E0E0E; color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
  overflow: hidden;
  font-family: Poppins, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.sn-chip-a, .sn-chip-s {
  display: flex; align-items: center; height: 100%; padding: 0 10px;
  color: #fff; font-size: 12px; font-weight: 600; line-height: 1;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.sn-chip-a:hover, .sn-chip-s:hover { background: #222; }
.sn-chip-s { border-left: 1px solid rgba(255, 255, 255, .22); color: #FF2E88; }
.sn-chip-ok { color: #5fe08d; cursor: default; }
.sn-chip-ok:hover { background: transparent; }

/* oila patchlari uchun qulflangan element */
.sn-locked { position: relative; opacity: .6; cursor: pointer; }
.sn-locked::after {
  content: ""; position: absolute; right: 2px; top: 2px;
  width: 9px; height: 9px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF2E88' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2' fill='%230E0E0E'/><path d='M8 11V7a4 4 0 0 1 8 0v4'/></svg>") center / contain no-repeat;
}
/* keng qatorlar: qulf o'ngda, matnga tegmaydi */
.li.sn-locked, .ch.sn-locked, .exl.sn-locked { padding-right: 30px; }
.li.sn-locked::after, .ch.sn-locked::after, .exl.sn-locked::after {
  right: 8px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%);
}
