/* /vbucks-calculator — builds on item-shop.css (cards, panel, inputs). */

.ft-vbc-page .is-hidden {
  display: none !important;
}

.ft-vbc-page .ft-shop-page__wrap {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ft-vbc-hero__lead {
  margin: 0;
  max-width: 34rem;
  color: #a1a1aa;
  font-size: 0.92rem;
  line-height: 1.8;
}

.ft-vbc-calc {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
}

.ft-vbc-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ft-vbc-form__label {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.ft-vbc-form__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.ft-vbc-mode {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.ft-vbc-mode__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.1rem;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: #a1a1aa;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ft-vbc-mode__btn img,
.ft-vbc-mode__btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.ft-vbc-mode__btn:hover:not(.is-active) {
  color: #e4e4e7;
}

.ft-vbc-mode__btn.is-active {
  background: rgb(var(--ft-brand-rgb) / 0.16);
  color: #fff;
}

.ft-vbc-form__unit {
  position: absolute;
  top: 50%;
  left: 0.95rem;
  display: none;
  color: #a1a1aa;
  font-size: 0.85rem;
  font-weight: 800;
  transform: translateY(-50%);
  pointer-events: none;
}

.ft-vbc-calc.is-toman .ft-vbc-form__icon {
  display: none;
}

.ft-vbc-calc.is-toman .ft-vbc-form__unit {
  display: block;
}

.ft-vbc-calc.is-toman .ft-vbc-form__input.ft-item-shop-input {
  padding-left: 3.9rem;
}

.ft-vbc-summary.is-toman {
  flex-direction: row-reverse;
}

.ft-vbc-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ft-vbc-form__field {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
}

.ft-vbc-form__icon {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  width: 1.35rem;
  height: 1.35rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.ft-vbc-form__input.ft-item-shop-input {
  min-height: 3.25rem;
  padding-left: 2.9rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
}

.ft-vbc-form__input[aria-invalid="true"] {
  border-color: rgba(248, 113, 113, 0.6);
}

.ft-vbc-form__reset {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.ft-vbc-form__reset:hover:not(:disabled) {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
}

.ft-vbc-form__reset:disabled {
  opacity: 0.4;
  cursor: default;
}

.ft-vbc-groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ft-vbc-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ft-vbc-group + .ft-vbc-group {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ft-vbc-group__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ft-vbc-group__head::before {
  content: "";
  width: 0.25rem;
  height: 1.1rem;
  border-radius: 999px;
  background: rgb(var(--ft-brand-rgb));
}

.ft-vbc-group__title {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.ft-vbc-group__count {
  min-width: 1.5rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.ft-vbc-form__error {
  margin: 0;
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 700;
}

.ft-vbc-picks {
  display: flex;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  padding: 0.1rem 0 0.6rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--ft-brand-rgb) / 0.55) rgba(255, 255, 255, 0.06);
  -webkit-overflow-scrolling: touch;
}

.ft-vbc-picks::-webkit-scrollbar {
  height: 4px;
}

.ft-vbc-picks::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.ft-vbc-picks::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgb(var(--ft-brand-rgb) / 0.55);
}

@media (max-width: 639.98px) {
  .ft-vbc-form__row {
    display: contents;
  }

  .ft-vbc-form__top {
    order: 0;
  }

  .ft-vbc-form__field {
    flex: none;
    order: 1;
  }

  .ft-vbc-form__error {
    order: 2;
  }

  .ft-vbc-picks {
    order: 3;
  }

  .ft-vbc-form__reset {
    order: 4;
  }
}

.ft-vbc-picks__btn {
  flex: 0 0 auto;
  min-height: 2.35rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ft-vbc-picks__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ft-vbc-picks__btn.is-active {
  border-color: rgb(var(--ft-brand-rgb) / 0.6);
  background: rgb(var(--ft-brand-rgb) / 0.14);
  color: rgb(var(--ft-brand-rgb));
}

.ft-vbc-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  margin-top: 1.15rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgb(var(--ft-brand-rgb) / 0.22);
  background: rgb(var(--ft-brand-rgb) / 0.06);
}

.ft-vbc-summary__vbucks,
.ft-vbc-summary__price {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.ft-vbc-summary__vbucks img {
  display: block;
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
}

.ft-vbc-summary__vbucks > span,
.ft-vbc-summary__price > span,
.ft-vbc-summary__approx {
  display: block;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}

.ft-vbc-summary__approx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #a1a1aa;
  text-box: none;
}

.ft-vbc-summary .is-pending {
  display: inline-block;
  width: 5.5rem;
  height: 1.35rem;
  border-radius: 0.45rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.06) 75%);
  background-size: 200% 100%;
  color: transparent;
  text-box: none;
  animation: ft-vbc-shimmer 1.2s linear infinite;
}

@keyframes ft-vbc-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.ft-vbc-summary__price {
  color: rgb(var(--ft-brand-rgb));
}

.ft-vbc-summary__unit {
  color: #a1a1aa;
  font-size: 0.85rem;
  font-weight: 700;
}

.ft-vbc-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ft-vbc-results__head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ft-vbc-results__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ft-vbc-results__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: rgb(var(--ft-brand-rgb) / 0.12);
  color: rgb(var(--ft-brand-rgb));
}

.ft-vbc-results__icon.is-accounts {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.ft-vbc-results__title .ft-item-shop-section__title {
  margin: 0;
}

.ft-vbc-results__count {
  flex-shrink: 0;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgb(var(--ft-brand-rgb) / 0.12);
  color: rgb(var(--ft-brand-rgb));
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.ft-vbc-results__count:empty {
  display: none;
}

.ft-vbc-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border-radius: 0.8rem;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ft-vbc-clear:hover,
.ft-vbc-clear:focus-visible {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(248, 113, 113, 0.16);
  color: #fff;
}

.ft-vbc-clear > svg,
.ft-vbc-form__reset > svg {
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.ft-vbc-clear:hover > svg,
.ft-vbc-clear:focus-visible > svg,
.ft-vbc-form__reset:hover:not(:disabled) > svg,
.ft-vbc-form__reset:focus-visible > svg {
  transform: rotate(-120deg);
}

.ft-vbc-clear:active > svg,
.ft-vbc-form__reset:active:not(:disabled) > svg {
  transform: rotate(-360deg);
}

.ft-vbc-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ft-vbc-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: max-content;
  max-width: min(16rem, calc(100vw - 1rem));
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  background: #f4f4f5;
  color: #18181b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: right;
  direction: rtl;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  pointer-events: none;
}

.ft-vbc-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: var(--tip-arrow, 50%);
  border: 6px solid transparent;
  border-top-color: #f4f4f5;
  transform: translateX(-50%);
}

.ft-vbc-tooltip.is-below::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #f4f4f5;
}

.ft-vbc-tooltip.is-measuring {
  transition: none;
}

.ft-vbc-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.18s ease, visibility 0s;
}

.ft-vbc-type-trigger__end {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -0.35rem;
  padding: 0.35rem;
}

.ft-vbc-type-trigger .ft-vbc-type-trigger__clear {
  display: none;
  transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ft-vbc-type-trigger.is-filtered .ft-vbc-type-trigger__end:hover .ft-vbc-type-trigger__check {
    display: none;
  }

  .ft-vbc-type-trigger.is-filtered .ft-vbc-type-trigger__end:hover .ft-vbc-type-trigger__clear {
    display: block;
    color: #fca5a5;
    transform: rotate(-120deg);
  }
}
.ft-vbc-type-trigger .ft-vbc-type-trigger__check {
  display: none;
}

.ft-vbc-check .ft-vbc-check__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #a1a1aa;
  transition: color 0.15s ease;
}

.ft-vbc-check__input:checked ~ .ft-vbc-check__icon {
  color: #34d399;
}

.ft-vbc-type-trigger.is-filtered .ft-vbc-type-trigger__chev {
  display: none;
}

.ft-vbc-type-trigger.is-filtered .ft-vbc-type-trigger__check {
  display: block;
  stroke-width: 3;
}

.ft-vbc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.ft-vbc-type-trigger,
.ft-vbc-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  padding: 0.4rem 0.85rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(24, 24, 27, 0.7);
  color: #d4d4d8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ft-vbc-type-trigger:hover:not(:disabled),
.ft-vbc-check:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.ft-vbc-type-trigger svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #a1a1aa;
}

.ft-vbc-type-trigger.is-filtered {
  border-color: rgb(var(--ft-brand-rgb) / 0.55);
  background: rgb(var(--ft-brand-rgb) / 0.12);
  color: #fff;
}

.ft-vbc-type-trigger.is-filtered svg {
  color: rgb(var(--ft-brand-rgb));
}

.ft-vbc-type-trigger:disabled {
  opacity: 0.5;
  cursor: default;
}

.ft-vbc-type-trigger__count,
.ft-vbc-check__count {
  min-width: 1.5rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  font-size: 0.7rem;
  line-height: 1.4;
  text-align: center;
}

.ft-vbc-check {
  position: relative;
}

.ft-vbc-check__text,
.ft-vbc-check__count,
.ft-vbc-type-trigger__label,
.ft-vbc-type-trigger__count {
  display: block;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}

.ft-vbc-check__count,
.ft-vbc-type-trigger__count {
  padding-block: 0.3rem;
}

.ft-vbc-check__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.ft-vbc-check__box {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.35rem;
  border: 1.5px solid #52525b;
  background: transparent;
  color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ft-vbc-check__box svg {
  width: 0.75rem;
  height: 0.75rem;
  stroke-width: 3.2;
}

.ft-vbc-check:has(.ft-vbc-check__input:checked) {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(16, 185, 129, 0.1);
  color: #fff;
}

.ft-vbc-check__input:checked ~ .ft-vbc-check__box {
  border-color: #10b981;
  background: #10b981;
  color: #fff;
  transform: scale(1.05);
}

.ft-vbc-check__input:checked ~ .ft-vbc-check__count {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.ft-vbc-check:has(.ft-vbc-check__input:focus-visible) {
  outline: 2px solid rgba(52, 211, 153, 0.55);
  outline-offset: 2px;
}

.ft-vbc-types-overlay:not(.is-open),
.ft-vbc-types-modal:not(.is-open) {
  opacity: 0;
  pointer-events: none;
}

.ft-vbc-types-modal:not(.is-open) {
  transform: translate(-50%, -48%) scale(0.97);
}

.ft-vbc-types .ft-item-shop-type-btn {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}

.ft-vbc-empty {
  margin: 0;
  padding: 2rem 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: #a1a1aa;
  font-size: 0.88rem;
  line-height: 1.8;
  text-align: center;
}

.ft-vbc-near {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ft-vbc-near__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ft-vbc-near__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.ft-vbc-near__heading {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.ft-vbc-near__heading .ft-item-shop-section__title {
  margin: 0;
}

.ft-vbc-near__note {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.8rem;
}

.ft-vbc-card .ft-item-shop-card__open {
  text-decoration: none;
}

.ft-vbc-card.is-giftable {
  border-color: rgba(52, 211, 153, 0.22);
}

.ft-vbc-card__gift-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: calc(100% - 1.1rem);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.88);
  color: #ecfdf5;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.ft-vbc-card__gift-badge svg {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}

.ft-vbc-card__badges {
  position: absolute;
  top: 0.55rem;
  inset-inline-start: 0.55rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  max-width: calc(100% - 1.1rem);
}

.ft-vbc-card__badges--end {
  inset-inline-start: auto;
  inset-inline-end: 0.55rem;
  align-items: flex-end;
}

.ft-vbc-card__badges > .ft-item-shop-card__badge,
.ft-vbc-card__badges > .ft-vbc-card__gift-badge {
  position: static;
  max-width: 100%;
}

.ft-vbc-card__new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.3rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, #ba6022);
  color: #1c1917;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ft-vbc-card__strip.is-urgent {
  color: #fca5a5;
}

.ft-vbc-types .ft-item-shop-type-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.ft-vbc-card__foot {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
}

.ft-vbc-card__foot > .ft-vbc-card__gift.btn-fort,
.ft-vbc-card__foot > .ft-vbc-card__view {
  flex: 1 1 0%;
  width: auto;
  min-width: 0;
  min-height: 2.25rem;
  padding-inline: 0.5rem;
}

.ft-vbc-card__gift svg {
  width: 0.95rem;
  height: 0.95rem;
}

.ft-vbc-card__gift:disabled {
  opacity: 0.65;
  cursor: wait;
}

.ft-vbc-card__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ft-vbc-card__view:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.ft-vbc-card__view svg {
  width: 0.9rem;
  height: 0.9rem;
}

.ft-vbc-card__skel-line {
  height: 2.4rem;
  margin: 0.7rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
}

.ft-vbc-info {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.ft-vbc-info__card {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.3rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(160deg, rgba(39, 39, 42, 0.55), rgba(24, 24, 27, 0.55));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ft-vbc-info__card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.ft-vbc-info__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.ft-vbc-info__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: rgb(var(--ft-brand-rgb) / 0.12);
  color: rgb(var(--ft-brand-rgb));
}

.ft-vbc-info__icon.is-amber {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.ft-vbc-info__icon.is-green {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.ft-vbc-info__title {
  margin: 0;
  line-height: 1.5;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.ft-vbc-info__text {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.84rem;
  line-height: 1.9;
}

.ft-vbc-info__link {
  color: rgb(var(--ft-brand-rgb));
  text-decoration: none;
}

.ft-vbc-info__link:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .ft-vbc-form__row {
    flex-direction: row;
  }

  .ft-vbc-form__reset {
    min-width: 7.5rem;
  }

  .ft-vbc-picks {
    flex-wrap: wrap;
    margin: 0.15rem 0 0;
    padding: 0;
    overflow: visible;
  }

  .ft-vbc-results__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ft-vbc-summary__vbucks,
  .ft-vbc-summary__price {
    font-size: 1.6rem;
  }
}

@media (min-width: 1024px) {
  .ft-vbc-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ft-vbc-accounts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ft-vbc-accounts__all {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--ft-brand-rgb) / 0.3);
  background: rgb(var(--ft-brand-rgb) / 0.08);
  color: rgb(var(--ft-brand-rgb));
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ft-vbc-accounts__all svg {
  transition: transform 0.2s ease;
}

.ft-vbc-accounts__all:hover {
  border-color: rgb(var(--ft-brand-rgb));
  background: rgb(var(--ft-brand-rgb));
  color: var(--ft-brand-contrast, #fff);
}

.ft-vbc-accounts__all:hover svg {
  transform: translateX(-3px);
}

.ft-vbc-accounts__all:focus-visible {
  outline: 2px solid rgb(var(--ft-brand-rgb) / 0.6);
  outline-offset: 2px;
}

.ft-vbc-accounts__list {
  display: grid;
  gap: 0.6rem;
}

.ft-vbc-account {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(24, 24, 27, 0.55);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ft-vbc-account:hover {
  border-color: rgb(var(--ft-brand-rgb) / 0.35);
  background: rgba(39, 39, 42, 0.6);
}

@keyframes ft-vbc-pulse {
  to {
    opacity: 0.5;
  }
}

.ft-vbc-account__avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
  font-weight: 800;
}

.ft-vbc-account__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ft-vbc-account__main {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ft-vbc-account__name {
  overflow: hidden;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ft-vbc-account__status {
  color: #a1a1aa;
  font-size: 0.7rem;
  font-weight: 700;
}

.ft-vbc-account__status.is-ready {
  color: #6ee7b7;
}

.ft-vbc-account__status.is-waiting {
  color: #fcd34d;
}

.ft-vbc-account__vbucks {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ft-vbc-account__vbucks img {
  width: 1rem;
  height: 1rem;
}

.ft-vbc-account__go {
  display: inline-flex;
  flex-shrink: 0;
  color: #71717a;
}

.ft-vbc-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgb(var(--ft-brand-rgb) / 0.25);
  background: linear-gradient(135deg, rgb(var(--ft-brand-rgb) / 0.12), rgba(24, 24, 27, 0.6));
}

.ft-vbc-cta__title {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.ft-vbc-cta__sub {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.86rem;
  line-height: 1.8;
}

.ft-vbc-cta__btn.btn-fort {
  padding-inline: 1.4rem;
  text-decoration: none;
  white-space: nowrap;
}

.ft-vbc-shop-timer {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ft-vbc-shop-timer[hidden] {
  display: none;
}

.ft-vbc-shop-timer {
  pointer-events: none;
}

.ft-vbc-shop-timer__toggle,
.ft-vbc-shop-timer.is-open .ft-vbc-shop-timer__body {
  pointer-events: auto;
}

.ft-vbc-shop-timer__toggle,
.ft-vbc-shop-timer__body {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(24, 24, 27, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ft-vbc-shop-timer__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  color: rgb(var(--ft-brand-rgb));
  cursor: pointer;
}

.ft-vbc-shop-timer__icon-close,
.ft-vbc-shop-timer.is-open .ft-vbc-shop-timer__icon-open {
  display: none;
}

.ft-vbc-shop-timer.is-open .ft-vbc-shop-timer__icon-close {
  display: block;
}

.ft-vbc-shop-timer__body {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 999px;
  color: #e4e4e7;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.ft-vbc-shop-timer.is-open .ft-vbc-shop-timer__body {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.ft-vbc-shop-timer__icon {
  display: none;
  color: rgb(var(--ft-brand-rgb));
}

.ft-vbc-shop-timer__clock {
  color: rgb(var(--ft-brand-rgb));
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.ft-vbc-shop-timer.is-soon .ft-vbc-shop-timer__clock {
  color: #fca5a5;
}

.ft-vbc-shop-timer__updating,
.ft-vbc-shop-timer.is-updating .ft-vbc-shop-timer__label,
.ft-vbc-shop-timer.is-updating .ft-vbc-shop-timer__clock {
  display: none;
}

.ft-vbc-shop-timer.is-updating .ft-vbc-shop-timer__updating {
  display: inline;
  animation: ft-vbc-pulse 0.9s ease-in-out infinite alternate;
}

@media (min-width: 640px) {
  .ft-vbc-accounts__all {
    align-self: center;
  }

  .ft-vbc-accounts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft-vbc-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ft-vbc-cta__btn.btn-fort {
    width: auto;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .ft-vbc-shop-timer {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .ft-vbc-shop-timer__toggle {
    display: none;
  }

  .ft-vbc-shop-timer__body,
  .ft-vbc-shop-timer.is-open .ft-vbc-shop-timer__body {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    pointer-events: auto;
  }

  .ft-vbc-shop-timer__icon {
    display: block;
  }

  .ft-vbc-shop-timer__body:hover {
    border-color: rgb(var(--ft-brand-rgb) / 0.35);
  }
}

@media (min-width: 1024px) {
  .ft-vbc-accounts__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ft-vbc-dock__label,
.ft-vbc-dock-timer {
  display: none;
}

@media (max-width: 639.98px) {
  .ft-vbc-page {
    padding-bottom: 5rem;
  }

  .ft-vbc-toolbar {
    position: fixed;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    left: 0.75rem;
    z-index: 50;
    flex-wrap: nowrap;
    gap: 0.15rem;
    padding: 0.3rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(24, 24, 27, 0.86);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 1.5rem));
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.15), opacity 0.25s ease;
  }

  .ft-vbc-page.is-dock-visible .ft-vbc-toolbar {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .ft-vbc-shop-timer,
  body:has(.ft-vbc-page) #back-to-top {
    transition-property: bottom, opacity, transform, background-color, border-color, color;
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1.15);
  }

  body:has(.ft-vbc-page.is-dock-visible) .ft-vbc-shop-timer,
  body:has(.ft-vbc-page.is-dock-visible) #back-to-top {
    bottom: calc(max(0.75rem, env(safe-area-inset-bottom)) + 4.35rem);
  }

  body:has(.ft-vbc-page.is-dock-visible) .ft-vbc-shop-timer__toggle {
    display: none;
  }

  .ft-vbc-toolbar > .ft-vbc-dock-timer {
    display: flex;
    align-items: center;
    cursor: pointer;
    font: inherit;
  }

  .ft-vbc-toolbar > .ft-vbc-dock-timer .ft-vbc-dock__label {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
  }

  .ft-vbc-toolbar > .ft-vbc-dock-timer svg {
    color: rgb(var(--ft-brand-rgb));
  }

  .ft-vbc-toolbar > .ft-vbc-dock-timer.is-soon .ft-vbc-dock__label,
  .ft-vbc-toolbar > .ft-vbc-dock-timer.is-soon svg {
    color: #fca5a5;
  }

  .ft-vbc-toolbar > .ft-vbc-dock-timer.is-open {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .ft-vbc-toolbar > .ft-vbc-type-trigger,
  .ft-vbc-toolbar > .ft-vbc-check,
  .ft-vbc-toolbar > .ft-vbc-clear,
  .ft-vbc-toolbar > .ft-vbc-dock-timer {
    position: relative;
    flex: 1 1 0%;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 2.9rem;
    margin: 0;
    padding: 0.35rem 0.2rem;
    border: 0;
    border-radius: 0.85rem;
    background: transparent;
    color: #a1a1aa;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
  }

  .ft-vbc-toolbar > .ft-vbc-dock-timer {
    order: 0;
  }

  .ft-vbc-toolbar > .ft-vbc-check {
    order: 1;
  }

  .ft-vbc-toolbar > .ft-vbc-type-trigger {
    order: 3;
  }

  .ft-vbc-toolbar > .ft-vbc-type-trigger + .ft-vbc-type-trigger {
    order: 4;
  }

  .ft-vbc-toolbar > .ft-vbc-clear {
    order: 2;
    flex: 0 0 3.4rem;
    margin: 0 0.15rem;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
  }

  .ft-vbc-toolbar > .ft-vbc-clear.is-hidden {
    display: flex !important;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #71717a;
    pointer-events: none;
  }

  .ft-vbc-toolbar > *:active {
    transform: scale(0.94);
  }

  .ft-vbc-toolbar .ft-vbc-type-trigger__label,
  .ft-vbc-toolbar .ft-vbc-type-trigger__end,
  .ft-vbc-toolbar .ft-vbc-check__text,
  .ft-vbc-toolbar .ft-vbc-check__box {
    display: none;
  }

  .ft-vbc-toolbar svg,
  .ft-vbc-toolbar .ft-vbc-check .ft-vbc-check__icon {
    width: 1.15rem;
    height: 1.15rem;
  }

  .ft-vbc-toolbar .ft-vbc-dock__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ft-vbc-toolbar > .ft-vbc-type-trigger.is-filtered,
  .ft-vbc-toolbar > .ft-vbc-check:has(.ft-vbc-check__input:checked) {
    color: #fff;
  }

  .ft-vbc-toolbar > .ft-vbc-type-trigger.is-filtered {
    background: rgb(var(--ft-brand-rgb) / 0.16);
  }

  .ft-vbc-toolbar > .ft-vbc-check:has(.ft-vbc-check__input:checked) {
    background: rgba(16, 185, 129, 0.16);
  }

  .ft-vbc-toolbar > .ft-vbc-type-trigger.is-filtered::after,
  .ft-vbc-toolbar > .ft-vbc-check:has(.ft-vbc-check__input:checked)::after {
    content: "";
    position: absolute;
    top: 0.35rem;
    left: calc(50% + 0.45rem);
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: rgb(var(--ft-brand-rgb));
    box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.95);
  }

  .ft-vbc-toolbar > .ft-vbc-check:has(.ft-vbc-check__input:checked)::after {
    background: #34d399;
  }

  .ft-vbc-toolbar > .ft-vbc-type-trigger:disabled {
    opacity: 0.4;
  }

  .ft-vbc-summary {
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.85rem 0.65rem;
  }

  .ft-vbc-summary__vbucks,
  .ft-vbc-summary__price {
    gap: 0.3rem;
    min-width: 0;
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .ft-vbc-summary__vbucks img {
    width: 1.05rem;
    height: 1.05rem;
  }

  .ft-vbc-summary__unit {
    font-size: 0.72rem;
  }

  .ft-vbc-summary__approx {
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
  }
}

.ft-vbc-bar {
  position: fixed;
  top: var(--ft-vbc-bar-top, 4.5rem);
  left: 50%;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(calc(100% - 1.5rem), 30rem);
  padding: 0.35rem 0.4rem 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(24, 24, 27, 0.86);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -0.75rem);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.15), visibility 0s linear 0.35s;
}

.ft-vbc-bar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.ft-vbc-bar__field {
  display: flex;
  flex: 1 1 0%;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  cursor: text;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ft-vbc-bar__field:focus-within {
  border-color: rgba(var(--ft-brand-rgb), 0.55);
  background: rgba(var(--ft-brand-rgb), 0.06);
}

.ft-vbc-bar.is-error .ft-vbc-bar__field {
  border-color: rgba(248, 113, 113, 0.6);
}

.ft-vbc-bar__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  color: rgb(var(--ft-brand-rgb));
}

.ft-vbc-bar__icon svg {
  width: 100%;
  height: 100%;
}

.ft-vbc-bar__icon.is-toman,
.ft-vbc-bar.is-toman .ft-vbc-bar__icon.is-vbucks {
  display: none;
}

.ft-vbc-bar.is-toman .ft-vbc-bar__icon.is-toman {
  display: inline-flex;
}

.ft-vbc-bar__input {
  flex: 1 1 0%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.ft-vbc-bar__input::placeholder {
  color: #52525b;
  font-weight: 700;
}

.ft-vbc-bar__swap {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #a1a1aa;
}

.ft-vbc-bar__result {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.ft-vbc-bar__value {
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

.ft-vbc-bar__unit.is-amount {
  color: #a1a1aa;
  font-size: 0.72rem;
  font-weight: 700;
}

.ft-vbc-bar__unit.is-vbucks {
  display: none;
  width: 1rem;
  height: 1rem;
}

.ft-vbc-bar.is-toman .ft-vbc-bar__unit.is-amount {
  display: none;
}

.ft-vbc-bar.is-toman .ft-vbc-bar__unit.is-vbucks {
  display: block;
}

.ft-vbc-bar.is-empty .ft-vbc-bar__result {
  color: #52525b;
}

.ft-vbc-bar.is-pending .ft-vbc-bar__value {
  display: inline-block;
  width: 4.5rem;
  height: 1.1rem;
  border-radius: 0.4rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.06) 75%);
  background-size: 200% 100%;
  color: transparent;
  animation: ft-vbc-shimmer 1.2s linear infinite;
}

@media (max-width: 639.98px) {
  .ft-vbc-bar {
    gap: 0.4rem;
    padding-inline-end: 0.7rem;
  }

  .ft-vbc-bar__result {
    font-size: 0.88rem;
  }
}
@media (min-width: 640px) {
  .ft-vbc-bar {
    top: auto;
    bottom: 4.75rem;
    width: min(calc(100% - 2rem), 26rem);
    transform: translate(-50%, 0.75rem);
  }
}

@media (min-width: 1024px) {
  .ft-vbc-bar {
    bottom: 1.5rem;
  }
}