/* V103 — Gift Code in-place restyle on exact #/main/RedeemGift. No overlay. */

html.co-gift-page {
  --co-bg: #1a201e;
  --co-header: #27312f;
  --co-card: #303936;
  --co-card-dark: #252d2a;
  --co-inner: #3e4845;
  --co-primary: #f1f4f2;
  --co-secondary: #c0cac5;
  --co-muted: #919d98;
  --co-emerald: #27e68b;
  --co-emerald-soft: rgba(39, 230, 139, 0.16);
  --co-gold: #d9bc59;
  --co-border: rgba(235, 244, 239, 0.08);
}

html.co-gift-page,
html.co-gift-page body {
  background: var(--co-bg) !important;
}

html.co-gift-page #app {
  background: var(--co-bg) !important;
  color: var(--co-primary);
}

html.co-gift-page #app .redeem-container {
  min-height: 100%;
  min-height: 100dvh;
  background: var(--co-bg) !important;
  color: var(--co-primary) !important;
  padding-bottom: calc(0.32rem + env(safe-area-inset-bottom, 0px));
}

html.co-gift-page #app .tabbar__container {
  z-index: 121;
}

html.co-gift-page:has(.tabbar__container) #app .redeem-container {
  padding-bottom: calc(1.86667rem + env(safe-area-inset-bottom, 0px));
}

html.co-gift-page #app .redeem-container-header {
  height: auto !important;
  min-height: 0 !important;
  background: var(--co-header) !important;
  background-image: none !important;
  border-bottom: 0.01333rem solid var(--co-border);
}

html.co-gift-page #app .redeem-container-header .navbar,
html.co-gift-page #app .redeem-container-header .navbar__content,
html.co-gift-page #app .redeem-container-header .van-nav-bar,
html.co-gift-page #app .redeem-container-header .van-nav-bar__content {
  height: 1.44rem !important;
  line-height: 1.44rem !important;
  background: var(--co-header) !important;
  background-image: none !important;
}

html.co-gift-page #app .redeem-container-header .navbar,
html.co-gift-page #app .redeem-container-header .van-nav-bar {
  padding-top: env(safe-area-inset-top, 0px);
}

html.co-gift-page #app .redeem-container-header .navbar__content-title,
html.co-gift-page #app .redeem-container-header .van-nav-bar__title {
  color: var(--co-primary) !important;
  font-size: 0.45333rem !important;
  font-weight: 800 !important;
}

html.co-gift-page #app .redeem-container-header .navbar .van-icon,
html.co-gift-page #app .redeem-container-header .van-nav-bar .van-icon,
html.co-gift-page #app .redeem-container-header .van-nav-bar__arrow {
  color: var(--co-primary) !important;
  font-size: 0.48rem !important;
}

html.co-gift-page #app .redeem-container-header .van-hairline--bottom:after {
  border-bottom-width: 0 !important;
}

html.co-gift-page #app .redeem-container-header-belly,
html.co-gift-page #app .redeem-container-header-belly img {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.co-gift-page #app .redeem-container-content {
  width: 100%;
  padding: 0.32rem 0 0.4rem;
  align-items: stretch !important;
  background: var(--co-bg);
}

html.co-gift-page #app .redeem-container-receive {
  min-height: 0 !important;
  width: calc(100% - 0.64rem) !important;
  margin: 0 auto !important;
  margin-top: 0 !important;
  padding: 0.4rem 0.4rem 0.42667rem !important;
  background: var(--co-card) !important;
  border: 0.01333rem solid var(--co-border);
  border-radius: 0.32rem !important;
  box-shadow: 0 0.16rem 0.4rem rgba(0, 0, 0, 0.18);
}

html.co-gift-page #app .redeem-container-receive .co-gift-form-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.8rem;
  height: 0.8rem;
  margin-bottom: 0.16rem;
  border-radius: 0.21333rem;
  color: var(--co-emerald);
  background: var(--co-emerald-soft);
}

html.co-gift-page #app .redeem-container-receive .co-gift-form-icon svg {
  width: 0.48rem;
  height: 0.48rem;
}

html.co-gift-page body #app .redeem-container-receive p,
html.co-gift-page #app .redeem-container-receive p {
  color: var(--co-secondary) !important;
  font-size: 0.34667rem !important;
  line-height: 1.35 !important;
  padding-top: 0.05333rem !important;
}

html.co-gift-page body #app .redeem-container-receive p:first-of-type,
html.co-gift-page #app .redeem-container-receive p:first-of-type {
  color: var(--co-primary) !important;
  font-size: 0.42667rem !important;
  font-weight: 800 !important;
  padding-top: 0 !important;
}

html.co-gift-page body #app .redeem-container-receive h4,
html.co-gift-page #app .redeem-container-receive h4 {
  color: var(--co-muted) !important;
  font-size: 0.32rem !important;
  font-weight: 600 !important;
  margin-top: 0.32rem !important;
}

html.co-gift-page body #app .redeem-container-receive input,
html.co-gift-page #app .redeem-container-receive input {
  min-height: 1.22667rem !important;
  height: 1.22667rem !important;
  margin-top: 0.21333rem !important;
  padding: 0.24rem 0.4rem !important;
  border-radius: 0.26667rem !important;
  background: var(--co-inner) !important;
  border: 0.01333rem solid var(--co-border) !important;
  color: var(--co-primary) !important;
  -webkit-text-fill-color: var(--co-primary) !important;
  font-size: 0.37333rem !important;
  box-shadow: none !important;
}

html.co-gift-page body #app .redeem-container-receive input::placeholder,
html.co-gift-page #app .redeem-container-receive input::placeholder {
  color: var(--co-muted) !important;
  -webkit-text-fill-color: var(--co-muted) !important;
  font-size: 0.34667rem !important;
}

html.co-gift-page #app .redeem-container-receive input:focus {
  outline: none !important;
  border-color: var(--co-emerald) !important;
  box-shadow: 0 0 0 0.05333rem var(--co-emerald-soft) !important;
}

html.co-gift-page #app .redeem-container-receive h5 {
  color: var(--co-gold) !important;
  font-size: 0.29333rem !important;
  margin-top: 0.16rem !important;
  padding-left: 0.05333rem !important;
}

html.co-gift-page body #app .redeem-container-receive button,
html.co-gift-page #app .redeem-container-receive button {
  width: 100% !important;
  height: 1.22667rem !important;
  line-height: 1.22667rem !important;
  margin-top: 0.32rem !important;
  border: none !important;
  border-radius: 0.26667rem !important;
  background: var(--co-emerald) !important;
  background-image: none !important;
  color: #10231a !important;
  font-size: 0.4rem !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

html.co-gift-page #app .redeem-container-record {
  width: calc(100% - 0.64rem) !important;
  margin: 0.29333rem auto 0.32rem !important;
  padding: 0.32rem 0.32rem 0.21333rem !important;
  background: var(--co-card) !important;
  border: 0.01333rem solid var(--co-border);
  border-radius: 0.32rem !important;
}

html.co-gift-page body #app .redeem-container-record-title span,
html.co-gift-page #app .redeem-container-record-title span {
  color: var(--co-primary) !important;
  font-size: 0.37333rem !important;
  font-weight: 800 !important;
}

html.co-gift-page #app .redeem-container-record-title .svg-icon {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

html.co-gift-page #app .redeem-container-record-title .co-gift-hist-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.64rem;
  height: 0.64rem;
  margin-right: 0.16rem;
  border-radius: 0.16rem;
  color: var(--co-emerald);
  background: var(--co-emerald-soft);
  flex: none;
}

html.co-gift-page #app .redeem-container-record-title .co-gift-hist-icon svg {
  width: 0.37333rem;
  height: 0.37333rem;
  padding: 0;
}

html.co-gift-page #app .redeem-container-record-itemsBox {
  height: auto !important;
  max-height: 12rem;
  overflow-y: auto;
}

html.co-gift-page #app .redeem-container-record-item {
  padding: 0.26667rem 0.16rem !important;
  min-height: 1.46667rem;
  margin-bottom: 0.16rem;
  background: var(--co-card-dark);
  border-radius: 0.21333rem;
  border-bottom: none !important;
}

html.co-gift-page #app .redeem-container-record-item.ar-1px-b:after {
  display: none !important;
}

html.co-gift-page #app .redeem-container-record-item-left h5 {
  color: var(--co-primary) !important;
  font-size: 0.34667rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

html.co-gift-page #app .redeem-container-record-item-left span {
  color: var(--co-muted) !important;
  font-size: 0.29333rem !important;
  margin-top: 0.05333rem;
}

html.co-gift-page #app .redeem-container-record-item-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.13333rem;
}

html.co-gift-page #app .redeem-container-record-item-right img {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

html.co-gift-page #app .redeem-container-record-item-right .co-gift-amt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.58667rem;
  height: 0.58667rem;
  border-radius: 50%;
  color: var(--co-gold);
  background: rgba(217, 188, 89, 0.16);
  flex: none;
}

html.co-gift-page #app .redeem-container-record-item-right .co-gift-amt-icon svg {
  width: 0.34667rem;
  height: 0.34667rem;
}

html.co-gift-page #app .redeem-container-record-item-right span {
  color: var(--co-emerald) !important;
  font-size: 0.4rem !important;
  font-weight: 800 !important;
}

html.co-gift-page #app .van-list__finished-text,
html.co-gift-page #app .van-list__loading,
html.co-gift-page #app .van-empty__description {
  color: var(--co-muted) !important;
}
