/* Match the existing Agent Account palette without changing exchange controls or amounts. */
.exchange-coins-page.exchange-diamond-theme {
  box-sizing: border-box;
  min-height: 100vh;
  color: #563348;
  background: linear-gradient(180deg, #FFE2EE 0, #FFF8FC 340px, #FFF8FC 100%);
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}
.exchange-diamond-theme *,
.exchange-diamond-theme *::before,
.exchange-diamond-theme *::after { box-sizing: border-box; }
.exchange-diamond-theme .van-nav-bar { background: transparent; }
.exchange-diamond-theme .van-nav-bar__title { color: #4D2C43; font-weight: 600; }
.exchange-diamond-theme .van-nav-bar .van-icon,
.exchange-diamond-theme .nav-right-btn { color: #713B56; }
.exchange-diamond-theme .points-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 28px);
  margin: 16px 14px 20px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.86), rgba(255,255,255,.2) 40%, rgba(255,255,255,.56)),
    linear-gradient(110deg, #FFD6DF, #FFBEDF 55%, #FFD9CD);
  box-shadow: 0 0 24px rgba(246,43,167,.055);
}
.exchange-diamond-theme .points-card::after {
  position: absolute;
  z-index: -1;
  top: 12px;
  right: -12px;
  width: 116px;
  height: 100px;
  content: "";
  pointer-events: none;
  opacity: .14;
  transform: rotate(-13deg);
  background: url("/h5/exchange-diamond-theme-20261105/trading-beans-3d.5b4b8f9e5d51.png") center/contain no-repeat;
}
.exchange-diamond-theme .available-points { margin: 0 0 14px; }
.exchange-diamond-theme .points-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #713B56;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}
.exchange-diamond-theme .points-label img { width: 24px; height: 24px; object-fit: contain; }
.exchange-diamond-theme .points-value {
  display: block;
  margin: 5px 0 0;
  color: #563348;
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.exchange-diamond-theme .points-row {
  clear: both;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255,255,255,.72);
}
.exchange-diamond-theme .points-item { gap: 3px; padding-inline-end: 12px; }
.exchange-diamond-theme .points-item + .points-item { border-inline-start: 1px solid rgba(255,255,255,.76); padding-inline-start: 16px; }
.exchange-diamond-theme .points-number {
  margin: 0;
  color: #563348;
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.exchange-diamond-theme .points-text { color: #856477; font-size: 12px; line-height: 18px; flex-wrap: wrap; }
.exchange-diamond-theme .points-text .van-icon { color: #856477 !important; }
.exchange-diamond-theme .exchange-options { margin-bottom: 18px; }
.exchange-diamond-theme .option-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 94px;
  margin-top: 10px;
  padding: 14px 8px;
  border: 1px solid #F0DDE8;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  transition: background-color .15s, border-color .15s;
}
.exchange-diamond-theme .option-card.option-active {
  border-color: #E75BA7;
  background: linear-gradient(140deg, #FFF8FC, #FFE4F0);
  box-shadow: inset 0 0 0 1px rgba(231,91,167,.16);
}
.exchange-diamond-theme .option-icon-row { gap: 5px; min-width: 0; line-height: 26px; }
.exchange-diamond-theme .option-icon { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; object-fit: contain; }
.exchange-diamond-theme .option-value,
.exchange-diamond-theme .option-value2 { color: #563348; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.exchange-diamond-theme .option-value2 { color: #856477; font-size: 14px; font-weight: 500; }
.exchange-diamond-theme .option-icon-row2 { height: auto; color: #713B56; font-size: 15px; line-height: 26px; }
.exchange-diamond-theme .exchange-tip {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #F3D7E6;
  border-radius: 14px;
  background: #FFF0F7;
  color: #9A3F71;
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}
.exchange-diamond-theme .exchange-tip .exchange-tip-icon { margin-top: 0; }
.exchange-diamond-theme .exchange-quantity-card { border: 1px solid #F0DDE8; background: rgba(255,255,255,.88); }
.exchange-diamond-theme .quantity-title,
.exchange-diamond-theme .calc-value { color: #563348; }
.exchange-diamond-theme .quantity-calc-row { clear: both; display: flex; flex-wrap: wrap; width: 100%; row-gap: 8px; }
.exchange-diamond-theme .quantity-input-wrapper { min-width: 0; }
.exchange-diamond-theme .quantity-input-wrapper .quantity-input { width: 100%; }
.exchange-diamond-theme .quantity-coin { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; height: auto; min-height: 36px; line-height: 24px; }
.exchange-diamond-theme .calc-icon { width: 19px; height: 19px; object-fit: contain; }
.exchange-diamond-theme .quantity-input { height: auto; min-height: 36px; line-height: 24px; background: #FFF1F8; }
.exchange-diamond-theme .verification-input,
.exchange-diamond-theme .send-code-btn { border-color: #EBC6DC; }
.exchange-diamond-theme .exchange-btn {
  border: 1px solid rgba(255,255,255,.7) !important;
  background: linear-gradient(105deg, #FF667B, #F62BA7 55%, #FF9890) !important;
  color: #FFF !important;
}
.exchange-diamond-theme .exchange-btn.van-button--disabled { opacity: .5; }
.exchange-diamond-theme .exchange-tip-dialog { max-height: 82vh; overflow-y: auto; color: #563348; background: #FFF8FC; }
.exchange-diamond-theme .exchange-tip-dialog .exchange-tip-dialog-content { float: none; padding: 16px 18px calc(20px + env(safe-area-inset-bottom, 0px)); }
.exchange-diamond-theme .exchange-tip-dialog .exchange-tip-dialog-header { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; text-align: start; }
.exchange-diamond-theme .exchange-tip-dialog .exchange-tip-dialog-title { flex: 1; min-width: 0; margin: 0; color: #4D2C43; font-size: 20px; font-weight: 600; line-height: 28px; }
.exchange-diamond-theme .exchange-tip-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #FFE6F1; color: #713B56; cursor: pointer; }
.exchange-diamond-theme .exchange-tip-dialog .exchange-tip-question { margin-bottom: 10px; color: #563348; font-size: 16px; line-height: 24px; }
.exchange-diamond-theme .exchange-tip-dialog .exchange-tip-answer { margin-bottom: 16px; color: #856477; font-size: 14px; line-height: 22px; }
.exchange-diamond-theme .exchange-tip-dialog .exchange-tip-image { display: block; width: 100%; height: auto; border: 1px solid #F1D6E5; border-radius: 16px; }
.exchange-diamond-theme .option-card:focus-visible,
.exchange-diamond-theme .exchange-tip:focus-visible,
.exchange-diamond-theme .exchange-tip-close:focus-visible { outline: 2px solid #A52C6D; outline-offset: 2px; }
@media (max-width: 359px) {
  .exchange-diamond-theme .points-card { padding: 14px; }
  .exchange-diamond-theme .points-value { font-size: 27px; }
  .exchange-diamond-theme .points-number { font-size: 18px; }
  .exchange-diamond-theme .option-value { font-size: 14px; }
  .exchange-diamond-theme .option-value2 { font-size: 13px; }
  .exchange-diamond-theme .option-icon { flex-basis: 20px; width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .exchange-diamond-theme .option-card { transition: none; }
}
