.aihuabu-topup-cta {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.aihuabu-topup-cta__label {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.5;
}

.aihuabu-buy-code {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  background: #ff5a00;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(255 90 0 / 20%);
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.aihuabu-buy-code:hover {
  background: #ff6b16;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(255 90 0 / 30%);
  transform: translateY(-1px);
}

.aihuabu-buy-code:active {
  transform: translateY(0);
}

.aihuabu-buy-code:focus-visible {
  outline: 3px solid rgb(255 90 0 / 35%);
  outline-offset: 3px;
}

.aihuabu-buy-code svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.aihuabu-native-topup-row {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 10px;
}

.aihuabu-video-pricing {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.aihuabu-video-vendor {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aihuabu-video-provider {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.5;
}

.aihuabu-video-price-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.aihuabu-video-price-row {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.aihuabu-video-price-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.aihuabu-video-price-value {
  color: var(--muted-foreground);
  font-size: 12px;
  white-space: nowrap;
}

.aihuabu-video-price-value strong {
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.aihuabu-minimax-details-section > [hidden] {
  display: none !important;
}

.aihuabu-video-details-pricing {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}

.aihuabu-video-details-title {
  margin: 4px 0 0;
  color: var(--foreground);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.aihuabu-video-details-title:not(:first-child) {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.aihuabu-video-details-group {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: var(--muted-foreground);
  font-size: 13px;
}

.aihuabu-video-details-group strong {
  color: #60a5fa;
  font-weight: 500;
}

@media (max-width: 640px) {
  .aihuabu-buy-code {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    font-size: 15px;
  }

  .aihuabu-video-price-row {
    gap: 10px;
  }

  .aihuabu-video-details-pricing {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aihuabu-buy-code {
    transition: none;
  }
}
