.redeem-hub-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent;
}

.redeem-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 14px 12px calc(104px + env(safe-area-inset-bottom));
}

.redeem-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  margin: 0 0 12px;
  padding: 16px 18px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.redeem-heading {
  min-width: 0;
  padding: 0;
  text-align: left;
}

.redeem-heading > span {
  display: block;
  margin-bottom: 7px;
  color: #999fa7;
  font-size: 10px;
  font-weight: 800;
}

.redeem-heading h2 {
  margin: 0;
  color: #20242a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.redeem-heading p {
  margin: 7px 0 0;
  color: #818790;
  font-size: 11px;
  line-height: 1.6;
}

.redeem-hero-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: transparent;
}

.redeem-hero-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.redeem-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.redeem-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eceef0;
}

.redeem-panel-head strong {
  color: #2c3137;
  font-size: 14px;
  font-weight: 780;
}

.redeem-panel-head span {
  color: #a0a5ac;
  font-size: 9px;
  font-weight: 800;
}

.redeem-field {
  display: grid;
  gap: 7px;
}

.redeem-category-hint {
  display: block;
  margin: -3px 0 1px;
  color: #e5484d;
  font-size: 10px;
  line-height: 1.4;
}

.redeem-field > span:first-child {
  color: #4e555e;
  font-size: 12px;
  font-weight: 720;
}

/* 与订单中心授权弹窗一致，只将需要核对的身份名称标红。 */
body.redeem-hub-page #redeemWechatIdentityLabel .redeem-identity-name {
  color: #d9363e;
  font: inherit;
}

.redeem-field input,
.redeem-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #e2e5e8;
  border-radius: 7px;
  outline: 0;
  background: #f8f9fa;
  color: #252a31;
  font-size: 13px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.redeem-field input:focus,
.redeem-field select:focus {
  border-color: #9ba3ad;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(42, 48, 56, .07);
}

.redeem-field input::placeholder {
  color: #afb4bb;
}

.redeem-select-wrap {
  position: relative;
}

.redeem-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #6f7680;
  border-bottom: 1.5px solid #6f7680;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.redeem-field select {
  padding-right: 38px;
  appearance: none;
}

.redeem-field small {
  color: #9a5b55;
  font-size: 10px;
  line-height: 1.5;
}

.redeem-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 2px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #24282e;
  color: #fff;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.redeem-submit:hover { background: #111418; }
.redeem-submit:active { transform: translateY(1px); }
.redeem-submit:disabled { cursor: wait; opacity: .62; }

.redeem-result {
  padding: 10px 12px;
  border: 1px solid #e0e4e7;
  border-radius: 7px;
  background: #f7f8f9;
  color: #5f6670;
  font-size: 12px;
  line-height: 1.55;
}

.redeem-result[data-state="success"] {
  border-color: #cce8dc;
  background: #eef8f3;
  color: #207553;
}

.redeem-result[data-state="error"] {
  border-color: #f0d2d1;
  background: #fff4f3;
  color: #a44842;
}

.redeem-provider {
  margin: 13px 0 0;
  color: #a1a6ad;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 520px) {
  .redeem-shell { width: 100%; padding-top: 12px; }
  .redeem-hero { min-height: 104px; padding: 16px; }
  .redeem-heading h2 { font-size: 20px; }
  .redeem-panel { padding: 16px 15px; }
}

@media (max-height: 650px) {
  .redeem-hero { min-height: 104px; padding-block: 14px; }
  .redeem-panel { gap: 12px; }
}
