html[data-hhgj-route="hongbao"] body .hhgj-hongbao-topbar {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  z-index: 1000020 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 750px) !important;
  height: calc(48px + env(safe-area-inset-top)) !important;
  min-height: calc(48px + env(safe-area-inset-top)) !important;
  padding: env(safe-area-inset-top) 56px 0 !important;
  box-sizing: border-box !important;
  color: #fff7df !important;
  background: linear-gradient(180deg, rgba(12, 10, 7, .98), rgba(5, 4, 3, .98)) !important;
  border-bottom: 1px solid rgba(245, 201, 106, .28) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .38) !important;
  transform: translateX(-50%) !important;
}

html[data-hhgj-route="hongbao"] body .hhgj-hongbao-topbar__title {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #fff7df !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 48px !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-hhgj-route="hongbao"] body .hhgj-hongbao-topbar__back {
  position: absolute !important;
  left: 0 !important;
  top: env(safe-area-inset-top) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 56px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}

html[data-hhgj-route="hongbao"] body .hhgj-hongbao-topbar__back span {
  display: block !important;
  width: 13px !important;
  height: 13px !important;
  box-sizing: border-box !important;
  border-left: 2px solid #f5c96a !important;
  border-bottom: 2px solid #f5c96a !important;
  transform: rotate(45deg) !important;
  filter: drop-shadow(0 0 6px rgba(245, 201, 106, .28)) !important;
}

html[data-hhgj-route="hongbao"] body .redEnveBodyMain {
  padding-top: calc(48px + env(safe-area-inset-top)) !important;
}
