.pbs {
  --pbs-accent: #4fea9f;
  --pbs-accent-rgb: 79, 234, 159;
  --pbs-on: #0b1a12;
  --pbs-accent-2: color-mix(in srgb, var(--pbs-accent) 72%, #000);
  --pbs-text: #f1f2f6;
  --pbs-muted: #9294a3;
  --pbs-dim: #6e7084;
  --pbs-line: rgba(255, 255, 255, .07);
  --pbs-soft: rgba(255, 255, 255, .035);
  --pbs-soft-2: rgba(255, 255, 255, .06);
  --pbs-card: linear-gradient(180deg, #2a2a34 0%, #232329 100%);
  --pbs-r: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 6px 0 30px;
  color: var(--pbs-text);
  container-type: inline-size;
  container-name: pbs;
}

.pbs *,
.pbs *::before,
.pbs *::after { box-sizing: border-box; }
.pbs button { margin: 0; font-family: inherit; }
.pbs [hidden] { display: none !important; }

.pbs label.pbs-field,
.pbs label.pbs-check,
.pbs label.pbs-search {
  position: relative;
  top: auto;
  left: auto;
  max-width: none;
  margin: 0;
  transform: none;
  transition: none;
}

.pbs .pbs-check input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.pbs .pbs-field input,
.pbs .pbs-search input {
  margin: 0;
  box-shadow: none;
  font-family: inherit;
  line-height: normal;
}

.pbs-sheet__body,
.pbs-sheet__done,
.pbs-desc {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .18) transparent;
}

.pbs-sheet__body::-webkit-scrollbar,
.pbs-sheet__done::-webkit-scrollbar,
.pbs-desc::-webkit-scrollbar { width: 6px; height: 6px; }

.pbs-sheet__body::-webkit-scrollbar-track,
.pbs-sheet__done::-webkit-scrollbar-track,
.pbs-desc::-webkit-scrollbar-track { background: transparent; }

.pbs-sheet__body::-webkit-scrollbar-thumb,
.pbs-sheet__done::-webkit-scrollbar-thumb,
.pbs-desc::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255, 255, 255, .16); }

.pbs-sheet__body::-webkit-scrollbar-thumb:hover,
.pbs-sheet__done::-webkit-scrollbar-thumb:hover,
.pbs-desc::-webkit-scrollbar-thumb:hover { background: rgba(var(--pbs-accent-rgb), .5); }
html.pbs-lock,
html.pbs-lock body { overflow: hidden; }

.pbs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

.pbs-btn .bx { font-size: 18px; }
.pbs-btn:hover,
.pbs-btn:focus { text-decoration: none; }
.pbs-btn:active { transform: translateY(1px); }
.pbs-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.pbs-btn--primary { background: linear-gradient(135deg, var(--pbs-accent), var(--pbs-accent-2)); color: var(--pbs-on); box-shadow: 0 8px 22px -10px rgba(var(--pbs-accent-rgb), .7); }
.pbs-btn--primary:hover { color: var(--pbs-on); box-shadow: 0 10px 26px -8px rgba(var(--pbs-accent-rgb), .8); filter: brightness(1.05); }
.pbs-btn--soft { background: rgba(var(--pbs-accent-rgb), .1); border-color: rgba(var(--pbs-accent-rgb), .3); color: var(--pbs-accent); }
.pbs-btn--soft:hover { background: rgba(var(--pbs-accent-rgb), .18); color: var(--pbs-accent); }
.pbs-btn--ghost { background: var(--pbs-soft); border-color: var(--pbs-line); color: #d6d8e2; }
.pbs-btn--ghost:hover { border-color: rgba(255, 255, 255, .18); color: #fff; }
.pbs-btn--lg { height: 50px; padding: 0 22px; border-radius: 14px; font-size: 15px; }
.pbs-btn.is-busy .bx { animation: pbs-spin .8s linear infinite; }

@keyframes pbs-spin { to { transform: rotate(360deg); } }

.pbs-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: center;
  padding: 30px 32px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(var(--pbs-accent-rgb), .16), transparent 60%),
    radial-gradient(50% 120% at 100% 100%, rgba(122, 168, 255, .1), transparent 60%),
    var(--pbs-card);
  border: 1px solid var(--pbs-line);
}

.pbs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  pointer-events: none;
}

.pbs-hero__main,
.pbs-hero__side { position: relative; z-index: 1; min-width: 0; }

.pbs-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(var(--pbs-accent-rgb), .12);
  border: 1px solid rgba(var(--pbs-accent-rgb), .3);
  color: var(--pbs-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}

.pbs-hero__eyebrow .bx { font-size: 15px; }

.pbs-hero__title {
  margin: 14px 0 10px;
  padding: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-transform: none;
}

.pbs-hero__title em {
  display: block;
  font-style: normal;
  background: linear-gradient(90deg, var(--pbs-accent), #7aa8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pbs-hero__desc { max-width: 560px; margin: 0; color: #b0b2c2; font-size: 14px; line-height: 1.55; }
.pbs-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.pbs-hero__tag,
.pbs-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--pbs-line);
  color: #c9cbd8;
  font-size: 12.5px;
  font-weight: 700;
}

.pbs-hero__tag .bx { color: var(--pbs-accent); font-size: 16px; }
.pbs-hero__badge { background: linear-gradient(135deg, #f5c518, #f08a1c); border-color: transparent; color: #1a1205; }
.pbs-hero__badge .bx { font-size: 16px; }

.pbs-wallet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: var(--pbs-r);
  background: rgba(10, 10, 14, .38);
  border: 1px solid var(--pbs-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.pbs-wallet__row { display: flex; align-items: center; gap: 12px; min-width: 0; }

.pbs-wallet__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(var(--pbs-accent-rgb), .24), rgba(var(--pbs-accent-rgb), .08));
  color: var(--pbs-accent);
  font-size: 22px;
}

.pbs-wallet__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.pbs-wallet__text small { color: var(--pbs-muted); font-size: 12px; font-weight: 600; }
.pbs-wallet__text b { overflow: hidden; color: #fff; font-size: 20px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.pbs-wallet__topup { flex: 0 0 auto; height: 36px; padding: 0 12px; }

.pbs-wallet__keys {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 11px;
  background: rgba(245, 184, 46, .08);
  color: #e7c56f;
  font-size: 12.5px;
  font-weight: 700;
}

.pbs-wallet__keys .bx { font-size: 16px; }
.pbs-wallet__keys b { color: #f5b82e; }

.pbs-wallet__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--pbs-soft);
  color: #d6d8e2;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.pbs-wallet__link span { flex: 1 1 auto; }
.pbs-wallet__link .bx { font-size: 17px; color: var(--pbs-muted); }
.pbs-wallet__link:hover { background: var(--pbs-soft-2); color: #fff; text-decoration: none; }
.pbs-wallet--guest { flex-direction: row; flex-wrap: wrap; align-items: center; }
.pbs-wallet--guest .pbs-wallet__text b { font-size: 15px; }
.pbs-wallet--guest .pbs-wallet__text small { white-space: normal; }
.pbs-wallet--guest .pbs-btn { width: 100%; }

.pbs-shop {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 22px;
  background: var(--pbs-card);
  border: 1px solid var(--pbs-line);
}

.pbs-shop__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pbs-servers { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }

.pbs-server {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  height: 52px;
  padding: 0 14px 0 8px;
  border: 1px solid var(--pbs-line);
  border-radius: 14px;
  background: var(--pbs-soft);
  color: #c3c5d2;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.pbs-server:hover { border-color: rgba(255, 255, 255, .18); color: #fff; }

.pbs-server__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: var(--pbs-dim);
  font-size: 18px;
  transition: background .2s ease, color .2s ease;
}

.pbs-server__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pbs-server__text b { overflow: hidden; font-size: 13.5px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.pbs-server__text small { overflow: hidden; color: var(--pbs-dim); font-size: 11px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.pbs-server__text small:empty { display: none; }

.pbs-server em {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .07);
  color: var(--pbs-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.pbs-server.is-active { background: rgba(var(--pbs-accent-rgb), .1); border-color: rgba(var(--pbs-accent-rgb), .45); color: #fff; }
.pbs-server.is-active .pbs-server__icon { background: var(--pbs-accent); color: var(--pbs-on); }
.pbs-server.is-active em { background: rgba(var(--pbs-accent-rgb), .18); color: var(--pbs-accent); }

.pbs-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 260px;
  min-width: 180px;
  margin: 0;
}

.pbs-search .bx { position: absolute; left: 13px; color: var(--pbs-dim); font-size: 18px; pointer-events: none; }

.pbs-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--pbs-line);
  border-radius: 13px;
  background: rgba(0, 0, 0, .22);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}

.pbs-search input::placeholder { color: var(--pbs-dim); }
.pbs-search input:focus { border-color: rgba(var(--pbs-accent-rgb), .45); background: rgba(0, 0, 0, .32); }

.pbs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pbs-grid.is-loading { opacity: .55; pointer-events: none; transition: opacity .2s ease; }
.pbs-grid > .pbs-empty { grid-column: 1 / -1; }

.pbs-card {
  --pbs-c: var(--pbs-accent);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--pbs-r);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--pbs-line);
  cursor: pointer;
  outline: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.pbs-card:hover,
.pbs-card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--pbs-c) 45%, transparent);
  box-shadow: 0 20px 40px -22px color-mix(in srgb, var(--pbs-c) 60%, transparent);
}

.pbs-card.is-disabled { cursor: default; opacity: .6; }
.pbs-card.is-disabled:hover { transform: none; box-shadow: none; border-color: var(--pbs-line); }

.pbs-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(0, 0, 0, .3);
}

.pbs-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform .5s ease;
}

.pbs-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(30, 30, 37, .9));
  pointer-events: none;
}

.pbs-card:hover .pbs-card__media img { transform: scale(1.05); }

.pbs-card__sale {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff6a5c, #e5352b);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 16px -6px rgba(229, 53, 43, .8);
}

.pbs-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }

.pbs-card__name {
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--pbs-c);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-transform: none;
}

.pbs-card__meta { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }

.pbs-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--pbs-soft-2);
  color: #b6b8c4;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.pbs-chip .bx { font-size: 14px; color: var(--pbs-dim); }
.pbs-chip--group { background: rgba(245, 197, 24, .1); color: #f1cf6a; }
.pbs-chip--group .bx { color: #f5c518; }

.pbs-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.pbs-card__price { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pbs-card__price small { color: var(--pbs-muted); font-size: 11.5px; font-weight: 700; }
.pbs-card__price b { overflow: hidden; color: #fff; font-size: 20px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.pbs-card__price--none b { color: var(--pbs-muted); font-size: 14px; }
.pbs-card__buy { flex: 0 0 auto; height: 38px; padding: 0 14px; }
.pbs-card.is-disabled .pbs-card__buy { display: none; }

.pbs-card--skeleton {
  min-height: 300px;
  cursor: default;
  background: linear-gradient(100deg, rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, .07) 50%, rgba(255, 255, 255, .03) 70%);
  background-size: 300% 100%;
  animation: pbs-shimmer 1.4s ease-in-out infinite;
}

.pbs-card--skeleton:hover { transform: none; box-shadow: none; }

@keyframes pbs-shimmer {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

.pbs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 38px 16px;
  color: var(--pbs-muted);
  text-align: center;
}

.pbs-empty .bx { margin-bottom: 4px; color: var(--pbs-dim); font-size: 40px; }
.pbs-empty b { color: #e3e5ee; font-size: 15px; }
.pbs-empty span { font-size: 13px; }
.pbs-empty--page { border-radius: 22px; background: var(--pbs-card); border: 1px solid var(--pbs-line); }

.pbs-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.pbs-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
  border: 1px dashed rgba(255, 255, 255, .08);
}

.pbs-step em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(var(--pbs-accent-rgb), .12);
  color: var(--pbs-accent);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.pbs-step span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pbs-step b { color: #e3e5ee; font-size: 13.5px; }
.pbs-step small { color: var(--pbs-muted); font-size: 12px; }

.pbs-sheet {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pbs-sheet__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 10, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
}

.pbs-sheet__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #2a2a33 0%, #1f1f26 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}

.pbs-sheet.is-open .pbs-sheet__overlay { opacity: 1; }
.pbs-sheet.is-open .pbs-sheet__panel { opacity: 1; transform: none; }

.pbs-sheet__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--pbs-line);
}

.pbs-sheet__img {
  display: inline-flex;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(0, 0, 0, .3);
}

.pbs-sheet__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pbs-sheet__titles { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.pbs-sheet__titles small { color: var(--pbs-muted); font-size: 12px; font-weight: 700; }
.pbs-sheet__titles b { overflow: hidden; font-size: 20px; font-weight: 800; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }

.pbs-sheet__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--pbs-line);
  border-radius: 12px;
  background: var(--pbs-soft);
  color: #c3c5d2;
  font-size: 22px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.pbs-sheet__close:hover { background: rgba(255, 92, 92, .14); color: #ff9b9b; }

.pbs-sheet__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.pbs-sheet__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px; }
.pbs-sheet__col--info { border-right: 1px solid var(--pbs-line); background: rgba(0, 0, 0, .1); }

.pbs-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--pbs-muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pbs-label .bx { color: var(--pbs-accent); font-size: 15px; }
[data-pbs-buyer] { display: flex; flex-direction: column; gap: 12px; }
[data-pbs-buyer] > .pbs-label,
[data-pbs-paywith] > .pbs-label { margin-top: 4px; }
[data-pbs-paywith] { display: flex; flex-direction: column; gap: 10px; }

.pbs-desc { color: #c9cbd8; font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.pbs-desc img { max-width: 100%; height: auto; border-radius: 12px; }
.pbs-desc a { color: var(--pbs-accent); }
.pbs-desc ul { margin: 0; padding-left: 18px; }
.pbs-desc__empty { margin: 0; color: var(--pbs-muted); }

.pbs-dsc { display: flex; flex-direction: column; gap: 12px; }

.pbs-dsc__block {
  --pbs-dsc-c: var(--pbs-accent);
  padding: 12px;
  border-radius: 16px;
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--pbs-dsc-c) 12%, transparent), transparent 60%),
    rgba(255, 255, 255, .03);
  border: 1px solid color-mix(in srgb, var(--pbs-dsc-c) 28%, transparent);
}

.pbs-dsc__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

.pbs-dsc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--pbs-dsc-c) 18%, transparent);
  color: var(--pbs-dsc-c);
  font-size: 17px;
}

.pbs-dsc__head b { flex: 1 1 auto; min-width: 0; color: var(--pbs-dsc-c); font-size: 14.5px; font-weight: 800; line-height: 1.25; }

.pbs-dsc__head em {
  flex: 0 0 auto;
  height: 20px;
  padding: 0 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  color: var(--pbs-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 20px;
}

.pbs-dsc__head em:empty { display: none; }

.pbs .pbs-desc .pbs-dsc__list,
.pbs-dsc__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pbs-dsc__list.is-wide { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.pbs-dsc__item {
  --pbs-dsc-i: var(--pbs-dsc-c);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 4px 9px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(0, 0, 0, .18);
  color: #e3e5ee;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.pbs-dsc__item > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--pbs-dsc-i) 16%, transparent);
  color: var(--pbs-dsc-i);
  font-size: 14px;
}

.pbs-dsc__item > span { min-width: 0; overflow-wrap: anywhere; }

.pbs-dsc__img {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 220px;
  margin-top: 4px;
  object-fit: cover;
  border-radius: 10px;
}

.pbs-tarifs { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }

.pbs .pbs-tarif {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 12px 11px;
  border-radius: 13px;
}

.pbs .pbs-tarif__radio {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.pbs .pbs-tarif.is-active .pbs-tarif__radio::after { inset: 2px; }
.pbs .pbs-tarif__main { width: 100%; padding-right: 20px; }
.pbs .pbs-tarif__main b { font-size: 13.5px; line-height: 1.2; }
.pbs .pbs-tarif__main small { font-size: 11px; }
.pbs .pbs-tarif__price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.pbs .pbs-tarif__price b { order: 1; font-size: 16px; }
.pbs .pbs-tarif__price s { order: 2; font-size: 11px; }
.pbs .pbs-tarif__price small { order: 3; flex-basis: 100%; font-size: 11px; }
.pbs .pbs-tarif__sale { top: -7px; right: auto; left: 10px; }

.pbs-tarif {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pbs-line);
  border-radius: 14px;
  background: var(--pbs-soft);
  color: var(--pbs-text);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.pbs-tarif:hover { border-color: rgba(255, 255, 255, .18); }
.pbs-tarif.is-active { background: rgba(var(--pbs-accent-rgb), .08); border-color: rgba(var(--pbs-accent-rgb), .55); }

.pbs-tarif__radio {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25);
  transition: border-color .2s ease;
}

.pbs-tarif.is-active .pbs-tarif__radio { border-color: var(--pbs-accent); }

.pbs-tarif.is-active .pbs-tarif__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--pbs-accent);
}

.pbs-tarif__main { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.pbs-tarif__main b { font-size: 14.5px; font-weight: 800; }
.pbs-tarif__main small { color: var(--pbs-muted); font-size: 11.5px; font-weight: 600; }
.pbs-tarif__main small:empty { display: none; }
.pbs-tarif__price { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex: 0 0 auto; }
.pbs-tarif__price s { color: var(--pbs-dim); font-size: 11.5px; font-weight: 700; }
.pbs-tarif__price s:empty,
.pbs-tarif__price small:empty { display: none; }
.pbs-tarif__price b { color: #fff; font-size: 16px; font-weight: 800; white-space: nowrap; }
.pbs-tarif__price small { color: #f5b82e; font-size: 11.5px; font-weight: 700; }

.pbs-tarif__sale {
  position: absolute;
  top: -8px;
  right: 12px;
  height: 18px;
  padding: 0 7px;
  border-radius: 6px;
  background: #e5352b;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 18px;
}

.pbs-guest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(var(--pbs-accent-rgb), .06);
  border: 1px solid rgba(var(--pbs-accent-rgb), .22);
}

.pbs-guest > .bx { color: var(--pbs-accent); font-size: 26px; }
.pbs-guest span { display: flex; flex: 1 1 180px; flex-direction: column; gap: 2px; }
.pbs-guest b { font-size: 14px; }
.pbs-guest small { color: var(--pbs-muted); font-size: 12px; }

.pbs-seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--pbs-line);
}

.pbs-seg button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  gap: 6px;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--pbs-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.pbs-seg button .bx { font-size: 17px; }
.pbs-seg button:hover { color: #fff; }
.pbs-seg button.is-active { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.pbs-seg--small button { height: 32px; font-size: 12px; }

.pbs-bind,
.pbs-gift { display: flex; flex-direction: column; gap: 8px; }

.pbs-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.pbs-field .bx { position: absolute; left: 13px; color: var(--pbs-dim); font-size: 18px; pointer-events: none; transition: color .2s ease; }

.pbs-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--pbs-line);
  border-radius: 13px;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.pbs-field input::placeholder { color: var(--pbs-dim); font-weight: 500; }
.pbs-field input:focus { border-color: rgba(var(--pbs-accent-rgb), .5); box-shadow: 0 0 0 3px rgba(var(--pbs-accent-rgb), .12); }
.pbs-field:focus-within .bx { color: var(--pbs-accent); }
.pbs-field.is-bad input { border-color: rgba(255, 92, 92, .6); box-shadow: 0 0 0 3px rgba(255, 92, 92, .12); }
.pbs-field.is-bad .bx { color: #ff8f8f; }

.pbs-hint { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--pbs-muted); font-size: 12px; line-height: 1.45; }
.pbs-hint .bx { flex: 0 0 auto; margin-top: 1px; font-size: 14px; }
.pbs-hint code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #e3e5ee; font-size: 11.5px; }

.pbs-gift__row { display: flex; gap: 8px; }
.pbs-gift__row .pbs-btn { height: 46px; }

.pbs-gift__found {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(var(--pbs-accent-rgb), .08);
  border: 1px solid rgba(var(--pbs-accent-rgb), .3);
}

.pbs-gift__found img { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.pbs-gift__found span { display: flex; flex: 1 1 auto; flex-direction: column; gap: 1px; min-width: 0; }
.pbs-gift__found small { color: var(--pbs-muted); font-size: 11px; font-weight: 700; }
.pbs-gift__found b { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.pbs-gift__found > .bx { color: var(--pbs-accent); font-size: 22px; }

.pbs-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(245, 197, 24, .07);
  border: 1px solid rgba(245, 197, 24, .2);
  color: #e7cf8a;
  font-size: 12.5px;
  line-height: 1.45;
}

.pbs-note .bx { flex: 0 0 auto; color: #f5c518; font-size: 17px; }
.pbs-note b { color: #f5c518; }

.pbs-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 0;
  color: #c3c5d2;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.pbs-check input { position: absolute; opacity: 0; pointer-events: none; }

.pbs-check__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid rgba(var(--pbs-accent-rgb), .85);
  background: rgba(var(--pbs-accent-rgb), .12);
  box-shadow: inset 0 0 0 1px rgba(var(--pbs-accent-rgb), .25);
  color: transparent;
  font-size: 16px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.pbs-check:hover .pbs-check__box {
  border-color: var(--pbs-accent);
  background: rgba(var(--pbs-accent-rgb), .18);
}

.pbs .pbs-check .pbs-check__box .bx {
  position: static;
  display: block;
  margin: 0;
  transform: none;
  line-height: 1;
}

.pbs-check input:checked + .pbs-check__box { background: var(--pbs-accent); border-color: var(--pbs-accent); color: var(--pbs-on); }
.pbs-check input:focus-visible + .pbs-check__box { box-shadow: 0 0 0 3px rgba(var(--pbs-accent-rgb), .25); }
.pbs-check a { color: var(--pbs-accent); }

.pbs-sheet__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 14px 18px;
  border-top: 1px solid var(--pbs-line);
  background: rgba(0, 0, 0, .18);
}

.pbs-total { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pbs-total small { color: var(--pbs-muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pbs-total b { color: #fff; font-size: 24px; font-weight: 800; line-height: 1.15; }
.pbs-total__after { color: var(--pbs-muted); font-size: 12px; font-weight: 600; }
.pbs-total__after.is-bad { color: #ff8f8f; }

.pbs-sheet__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }

.pbs-sheet__error {
  flex: 1 1 100%;
  order: -1;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 92, 92, .1);
  border: 1px solid rgba(255, 92, 92, .28);
  color: #ffb3b3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.pbs-sheet__error a { color: #fff; font-weight: 800; }
.pbs-sheet__error .m-icon { display: none; }

.pbs-confirm {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(245, 197, 24, .08);
  border: 1px solid rgba(245, 197, 24, .25);
  color: #f1dc9c;
  font-size: 13.5px;
  font-weight: 700;
}

.pbs-confirm__btns { display: flex; gap: 8px; }

.pbs-sheet__done { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 26px 22px; }

.pbs-done { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto; text-align: center; }

.pbs-done__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pbs-accent), var(--pbs-accent-2));
  color: var(--pbs-on);
  font-size: 38px;
  box-shadow: 0 0 0 10px rgba(var(--pbs-accent-rgb), .1), 0 16px 34px -12px rgba(var(--pbs-accent-rgb), .7);
  animation: pbs-pop .4s cubic-bezier(.2, 1.4, .4, 1) both;
}

@keyframes pbs-pop {
  from { transform: scale(.6); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.pbs-done__title { margin-top: 8px; font-size: 22px; font-weight: 800; }
.pbs-done__service { color: var(--pbs-muted); font-size: 14px; font-weight: 700; }
.pbs-done__fields { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 8px; text-align: left; }

.pbs-done__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--pbs-soft);
  border: 1px solid var(--pbs-line);
}

.pbs-done__field small { color: var(--pbs-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.pbs-done__field code {
  display: block;
  padding: 0;
  overflow-wrap: anywhere;
  background: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: copy;
}

.pbs-done__field code:hover { color: var(--pbs-accent); }
.pbs-done__gift { margin: 0; color: #e3e5ee; font-size: 14px; text-align: center; }
.pbs-done__until { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--pbs-accent); font-size: 13.5px; font-weight: 700; }
.pbs-done__until .bx { font-size: 17px; }
.pbs-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }

@container pbs (max-width: 900px) {
  .pbs-hero { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .pbs-hero__title { font-size: 28px; }
  .pbs-steps { grid-template-columns: minmax(0, 1fr); }
}

@container pbs (max-width: 600px) {
  .pbs-shop { padding: 14px; }
  .pbs-hero__title { font-size: 24px; }
  .pbs-servers { flex-wrap: nowrap; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .pbs-servers::-webkit-scrollbar { display: none; }
  .pbs-server { flex: 0 0 auto; }
  .pbs-search { flex: 1 1 100%; }
  .pbs-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .pbs-card__body { padding: 12px; }
  .pbs-card__name { font-size: 15px; }
  .pbs-card__foot { flex-direction: column; align-items: stretch; }
  .pbs-card__price b { font-size: 17px; }
  .pbs-card__buy { width: 100%; }
}

@media (max-width: 820px) {
  .pbs-sheet { align-items: flex-end; padding: 0; }
  .pbs-sheet__panel { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(40px); }
  .pbs-sheet__body { grid-template-columns: minmax(0, 1fr); }
  .pbs-sheet__col--info { border-right: 0; border-bottom: 1px solid var(--pbs-line); }
  .pbs-desc { max-height: 220px; overflow-y: auto; }
  .pbs-sheet__foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .pbs-sheet__actions { flex: 1 1 100%; margin-left: 0; }
  .pbs-sheet__actions .pbs-btn--primary { flex: 1 1 auto; }
  .pbs-seg button { padding: 0 6px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pbs-card,
  .pbs-card__media img,
  .pbs-sheet__panel,
  .pbs-sheet__overlay { transition: none; }
  .pbs-card--skeleton,
  .pbs-done__icon { animation: none; }
}
