body[data-vcb-wallet-subscriptions-only='true'] [data-vcb-wallet-hidden='true'] {
  display: none !important;
}

body[data-vcb-wallet-topup-only='true'] [data-vcb-subscription-hidden='true'] {
  display: none !important;
}

body[data-vcb-wallet-topup-only='true'] .vcb-wallet-subscription-layout,
body[data-vcb-wallet-subscriptions-only='true'] .vcb-wallet-subscription-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

.vcb-subscription-nav {
  position: relative;
}

.vcb-subscription-nav::after {
  content: 'NEW';
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(8, 125, 104, 0.2);
  border-radius: 999px;
  background: rgba(184, 255, 44, 0.18);
  color: #087d68;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body[data-vcb-subscription-route] .vcb-original-wallet-nav {
  background: transparent !important;
}

body[data-vcb-subscription-route] .vcb-subscription-nav {
  background: rgba(8, 125, 104, 0.12) !important;
  color: #087d68 !important;
}

body[data-vcb-subscription-route] .vcb-subscription-nav::after {
  content: '当前';
  background: #b8ff2c;
  color: #111;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-wallet-subscription-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-wallet-subscription-card {
  width: 100% !important;
  min-width: 0 !important;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-grid {
  align-items: stretch;
}

body[data-vcb-wallet-subscriptions-only='true'] [data-vcb-category-hidden='true'] {
  display: none !important;
}

body[data-vcb-wallet-subscriptions-only='true'] [data-vcb-noncodex-hidden='true'] {
  display: none !important;
}

.vcb-cross-model-note {
  display: inline-grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 12px 0 0 !important;
  padding: 10px 14px;
  border: 1px solid rgba(163, 230, 53, 0.42);
  border-radius: 13px;
  background: linear-gradient(100deg, rgba(247, 254, 231, 0.96), rgba(240, 253, 244, 0.72));
  color: #18181b !important;
  line-height: 1.45 !important;
}

.vcb-cross-model-note-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #b7ff2a;
  color: #111;
  font-size: 16px;
  font-weight: 900;
}

.vcb-cross-model-note strong,
.vcb-cross-model-note small {
  display: block;
}

.vcb-cross-model-note strong {
  font-size: 13px;
  font-weight: 800;
}

.vcb-cross-model-note small {
  margin-top: 2px;
  color: #52605a;
  font-size: 12px;
}

.vcb-plan-native-details [data-vcb-plan-type='true'] {
  color: #087d68;
  font-weight: 700;
}

.vcb-product-browser {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 22px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 24, 27, 0.1);
}

.vcb-product-sidebar {
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(24, 24, 27, 0.12);
  border-radius: 18px;
  background: #f7f7f4;
}

.vcb-product-sidebar-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 2px 4px 13px;
  border-bottom: 1px solid rgba(24, 24, 27, 0.1);
}

.vcb-product-sidebar-heading span,
.vcb-product-current-eyebrow,
.vcb-product-empty > span {
  color: #087d68;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.vcb-product-sidebar-heading strong {
  color: #18181b;
  font-size: 18px;
  line-height: 1.25;
}

.vcb-product-categories {
  display: grid;
  gap: 8px;
}

.vcb-product-category {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  min-height: 62px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #27272a;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.vcb-product-category:hover {
  border-color: rgba(24, 24, 27, 0.14);
  background: #fff;
  transform: translateX(2px);
}

.vcb-product-category.is-active {
  border-color: #18181b;
  background: #18181b;
  color: #fff;
}

.vcb-product-category-index {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(24, 24, 27, 0.07);
  color: #087d68;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.vcb-product-category.is-active .vcb-product-category-index {
  background: #b8ff2c;
  color: #111;
}

.vcb-product-category-copy {
  display: grid;
  min-width: 0;
}

.vcb-product-category-copy strong {
  font-size: 14px;
  line-height: 1.35;
}

.vcb-product-category-copy small {
  display: none;
}

.vcb-product-category.is-active .vcb-product-category-copy small {
  color: rgba(255, 255, 255, 0.64);
}

.vcb-product-category-count {
  grid-column: 2;
  align-self: end;
  color: #087d68;
  font-size: 10px;
  font-weight: 800;
}

.vcb-product-category.is-active .vcb-product-category-count {
  color: #b8ff2c;
}

.vcb-product-content {
  min-width: 0;
}

.vcb-product-current-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 82px;
  margin-bottom: 14px;
  padding: 4px 2px 14px;
  border-bottom: 1px solid rgba(24, 24, 27, 0.1);
}

.vcb-product-current-title {
  margin: 5px 0 3px;
  color: #18181b;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.vcb-product-current-description {
  margin: 0;
  color: #71717a;
  font-size: 13px;
  line-height: 1.5;
}

.vcb-product-grid-slot {
  min-width: 0;
}

.vcb-product-grid-slot .vcb-plan-grid[data-vcb-grid-empty='true'] {
  display: none !important;
}

.vcb-product-empty {
  min-height: 330px;
  padding: 72px 28px;
  border: 1px dashed rgba(24, 24, 27, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, #fafaf8, #f2f7f3);
  text-align: center;
}

.vcb-product-empty[hidden] {
  display: none !important;
}

.vcb-product-empty strong {
  display: block;
  margin: 12px 0 8px;
  color: #18181b;
  font-size: 23px;
}

.vcb-product-empty p {
  margin: 0;
  color: #71717a;
  font-size: 13px;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card {
  min-width: 0;
  height: 100%;
  border-color: rgba(24, 24, 27, 0.14) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05) !important;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card [data-slot='card-content'] {
  padding: 20px !important;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card .truncate {
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card h4 {
  font-size: 17px;
  line-height: 1.25;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card h4 + p {
  margin-top: 5px;
  color: #52525b;
  font-size: 13px;
  line-height: 1.5;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card .py-2 {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 0 10px !important;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card .py-2 > span:first-child {
  color: #111827 !important;
  font-size: 30px !important;
  letter-spacing: -0.035em;
}

.vcb-plan-price-cycle {
  color: #71717a;
  font-size: 13px;
  font-weight: 600;
}

.vcb-plan-usage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 14px;
}

.vcb-plan-usage > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(247, 254, 231, 0.9));
}

.vcb-plan-usage span {
  display: block;
  margin-bottom: 4px;
  color: #52705d;
  font-size: 11px;
  font-weight: 700;
}

.vcb-plan-usage strong {
  display: block;
  color: #111827;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.vcb-plan-native-details [data-vcb-plan-duplicate='true'] {
  display: none !important;
}

.vcb-plan-benefits {
  display: grid;
  gap: 8px;
  margin: 13px 0 16px;
  padding: 13px 0 0;
  border-top: 1px solid rgba(24, 24, 27, 0.09);
  list-style: none;
}

.vcb-plan-benefits li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  color: #27272a;
  font-size: 13px;
  line-height: 1.45;
}

.vcb-plan-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  min-height: 19px;
  font-size: 13px;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card [data-slot='separator'] {
  margin-bottom: 14px !important;
}

body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card button {
  min-height: 39px;
  border-color: #18181b !important;
  background: #18181b !important;
  color: #fff !important;
  font-weight: 700;
}

@media (min-width: 1100px) {
  body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .vcb-product-browser {
    grid-template-columns: minmax(0, 1fr);
  }

  .vcb-product-sidebar {
    padding: 14px;
  }

  .vcb-product-sidebar-heading {
    margin-bottom: 10px;
  }

  .vcb-product-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .vcb-product-categories::-webkit-scrollbar {
    display: none;
  }

  .vcb-product-category {
    flex: 0 0 178px;
  }
}

@media (max-width: 560px) {
  .vcb-product-browser {
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
  }

  .vcb-product-sidebar {
    margin: 0 -4px;
    padding: 12px;
    border-radius: 15px;
  }

  .vcb-product-sidebar-heading {
    display: none;
  }

  .vcb-product-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .vcb-product-category {
    width: 100%;
    min-height: 66px;
    padding: 10px;
  }

  .vcb-product-category-copy small {
    display: none;
  }

  .vcb-product-current-header {
    min-height: 70px;
    margin-bottom: 10px;
  }

  .vcb-product-current-title {
    font-size: 22px;
  }

  body[data-vcb-wallet-subscriptions-only='true'] .vcb-plan-card [data-slot='card-content'] {
    padding: 16px !important;
  }

  .vcb-plan-usage > div {
    padding: 11px 12px;
  }

  .vcb-plan-usage strong {
    font-size: 20px;
  }
}
