/* Restore the original wallet purchase CTA; keep the native link and destination. */
#wallet-add-funds p:has(> a[href^="https://wzyp.cn/shop/"]) {
  font-size: 0;
  line-height: 0;
  margin-top: 12px;
}
#wallet-add-funds p > a[href^="https://wzyp.cn/shop/"] {
  display: flex;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid #edbf68;
  border-radius: 16px;
  background: #fbf4e5;
  color: #292117;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
}
#wallet-add-funds p > a[href^="https://wzyp.cn/shop/"]::before {
  content: "需要兑换码？";
  padding-left: 23px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c78300' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M5 12v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-8M12 8v13'/%3E%3Cpath d='M12 8H7.5A2.5 2.5 0 1 1 10 5.5L12 8Zm0 0h4.5A2.5 2.5 0 1 0 14 5.5L12 8Z'/%3E%3C/svg%3E") no-repeat left center / 17px 17px;
}
#wallet-add-funds p > a[href^="https://wzyp.cn/shop/"] > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #81735d;
}
#wallet-add-funds p > a[href^="https://wzyp.cn/shop/"]:hover {
  background: #f8eacc;
  border-color: #d89f35;
  text-decoration: none;
}
#wallet-add-funds p > a[href^="https://wzyp.cn/shop/"]:focus-visible {
  outline: 2px solid #ad6c00;
  outline-offset: 3px;
}
.dark #wallet-add-funds p > a[href^="https://wzyp.cn/shop/"] {
  background: #302618;
  border-color: #8e692d;
  color: #f8e5bd;
}
.dark #wallet-add-funds p > a[href^="https://wzyp.cn/shop/"]:hover {
  background: #40311c;
  border-color: #c08c36;
}
.dark #wallet-add-funds p > a[href^="https://wzyp.cn/shop/"] > svg {
  color: #d9bc86;
}
