:root {
  --yp-primary: #2f7fc8;
  --yp-primary-dark: #236aa9;
  --yp-primary-soft: #eef6ff;
  --yp-accent: #ffad19;
  --yp-danger: #e84b4b;
  --yp-text: #555;
  --yp-text-strong: #333;
  --yp-muted: #999;
  --yp-line: #e5e5e5;
  --yp-canvas: #f5f5f5;
  --yp-surface: #fff;
  --yp-nav-height: 56px;
  --yp-content-width: 640px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background: var(--yp-canvas);
  color: var(--yp-text);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0 !important;
  min-height: 100dvh;
  margin: 0 !important;
  overflow-x: hidden;
  background: var(--yp-canvas) !important;
  color: var(--yp-text);
  font-family: Arial, "Microsoft YaHei", sans-serif !important;
  font-size: 14px;
  line-height: 1.5;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.top-wx,
.piaowx,
.smailnav,
#top_div,
#top_div1,
#btnGotoTop3 {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[role="button"],
a {
  -webkit-tap-highlight-color: rgba(47, 127, 200, .12);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--yp-primary) !important;
  outline-offset: 2px;
}

.container,
.db-main,
.h5-1yyg-v1,
#__nuxt,
#__layout,
#content,
.lotteryStyle,
.registerCon {
  width: 100%;
  max-width: var(--yp-content-width);
  margin-right: auto;
  margin-left: auto;
}

.yp-footer-spacer {
  clear: both;
  height: calc(var(--yp-nav-height) + env(safe-area-inset-bottom));
}

/* Homepage */
.db-main-index {
  min-height: calc(100dvh - var(--yp-nav-height));
  background: var(--yp-canvas);
}

.db-main-index .swiper-container {
  width: 100%;
  height: auto !important;
  margin: 0;
  overflow: hidden;
  background: var(--yp-surface);
}

.db-main-index .swiper-wrapper,
.db-main-index .swiper-slide {
  width: 100% !important;
  height: auto !important;
  transform: none !important;
}

.db-main-index .swiper-slide {
  display: block !important;
}

.db-main-index .swiper-slide:not(:first-child),
.db-main-index .swiper-pagination {
  display: none !important;
}

.db-main-index .swiper-slide a {
  display: block;
}

.db-main-index .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 333;
  object-fit: cover;
}

.newnav {
  width: 100%;
  padding: 4px 8px 2px;
  border: 0 !important;
  background: var(--yp-surface);
}

.newnav ul {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
}

.newnav ul::after {
  display: none;
}

.newnav ul li {
  float: none !important;
  width: 20% !important;
  min-width: 0;
  text-align: center;
}

.newnav ul li a {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: var(--yp-text-strong);
}

.newnavicon {
  display: grid !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 auto !important;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #f7fbff, #e9f4ff) !important;
}

.newnavicon i {
  color: var(--yp-primary);
  font-size: 28px;
  line-height: 1;
}

.newnavfont {
  width: 100%;
  overflow: hidden;
  color: var(--yp-text-strong) !important;
  font-size: 13px !important;
  line-height: 20px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zxjx {
  margin-top: 6px;
  background: var(--yp-surface);
}

.zxjx_1 {
  display: flex;
  min-height: 42px;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.zxjx_1 > i {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px;
  margin: 0 4px 0 10px !important;
  background: url("../../images/yipin/speaker.png") center / 18px auto no-repeat !important;
}

.zxjx_1 #demo {
  width: auto !important;
  min-width: 0;
  flex: 1;
}

.yp-ann-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  margin-right: 10px;
  color: var(--yp-primary);
  white-space: nowrap;
}

.yp-ann-actions a { color: var(--yp-primary) !important; }
.yp-ann-actions #notice_log { float: none !important; width: auto !important; }
}

.zxjx_1 #demo {
  min-width: 0;
  flex: 1;
  padding-left: 0 !important;
}

.zxjx_1 marquee,
.zxjx_1 font {
  color: var(--yp-primary) !important;
  font-size: 13px !important;
}

#notice_log {
  width: auto !important;
  padding: 0 12px;
  color: var(--yp-primary) !important;
  font-size: 13px;
  white-space: nowrap;
}

#published {
  display: none !important;
}

.tabs-wrap {
  min-height: 520px !important;
  margin-top: 6px;
  background: var(--yp-surface);
}

.nav-wrapper {
  position: sticky !important;
  top: 0;
  z-index: 20;
  display: flex !important;
  width: 100% !important;
  height: 44px !important;
  border-top: 1px solid #f0f0f0 !important;
  border-bottom: 1px solid var(--yp-line) !important;
  background: rgba(255, 255, 255, .98) !important;
}

.nav-wrapper .nav-inner {
  float: none !important;
  width: 60% !important;
  overflow: hidden;
}

.nav-wrapper .nav-list {
  display: flex;
  width: 100%;
  height: 44px;
  margin: 0;
}

.nav-wrapper .nav-list li {
  float: none !important;
  width: 33.333% !important;
  height: 44px !important;
  border-right: 1px solid #f2f2f2;
}

.nav-wrapper .nav-list li a {
  position: relative;
  display: grid;
  height: 44px !important;
  place-items: center;
  color: var(--yp-text);
  font-size: 14px !important;
}

.nav-wrapper .nav-list li.current a {
  color: var(--yp-primary) !important;
}

.nav-wrapper .nav-list li.current a::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  background: var(--yp-primary);
  content: "";
}

.nav-wrapper .select-btn {
  float: none !important;
  display: flex !important;
  width: 20% !important;
  height: 44px !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-left: 0 !important;
  border-right: 1px solid #f2f2f2;
  color: var(--yp-text-strong);
  font-size: 14px !important;
}

.nav-wrapper .select-icon {
  display: inline-block !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

#divSort .select-icon {
  background-image: url("../../images/yipin/icon-category.png") !important;
}

#btnsearch .select-icon {
  background-image: url("../../images/yipin/icon-search.png") !important;
}

.nav-wrapper .select-icon i {
  display: none !important;
}

.select-total {
  top: 44px !important;
  z-index: 30 !important;
  border-top: 1px solid var(--yp-line);
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.select-total a {
  color: var(--yp-text-strong) !important;
}

.goodsList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  background: var(--yp-surface);
}

.goodsList > ul {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  background: var(--yp-surface);
}

.goodsList > ul > li {
  min-height: 285px !important;
  padding: 8px !important;
}

.goodsList .z-Limg,
.goodsList .z-Limg img {
  width: 100% !important;
  height: 145px !important;
}

.goodsList .z-Limg img {
  object-fit: contain;
}

.goodsList .goodsListR {
  min-width: 0;
  margin-top: 6px !important;
}

.goodsList h2 {
  height: 22px !important;
  margin: 0 !important;
  overflow: hidden;
  color: var(--yp-text);
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goodsList .price {
  height: 20px !important;
  margin: 0 !important;
  color: var(--yp-muted) !important;
  font-size: 12px !important;
  line-height: 20px !important;
}

.goodsList .price em {
  color: var(--yp-muted) !important;
}

.goodsList .u-progress,
.u-progress {
  height: 4px !important;
  margin: 3px 0 !important;
  overflow: hidden;
  border-radius: 2px;
  background: #e6e6e6 !important;
}

.goodsList .u-progress .pgbar,
.u-progress .pgbar {
  height: 4px !important;
  border-radius: 2px;
  background: var(--yp-primary) !important;
}

.goodsList .Pro-bar-li {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.goodsList .Pro-bar-li li {
  float: none !important;
  width: auto !important;
  color: var(--yp-muted);
  font-size: 11px;
}

.goodsList .Pro-bar-li em {
  color: var(--yp-primary) !important;
  font-size: 11px;
}

.goodsList .Pro-bar-li .P-bar02 em {
  color: #777 !important;
}

.goodsList .buy_container {
  display: flex;
  width: 100%;
  height: 40px !important;
  margin-top: 4px;
  align-items: center;
  gap: 8px;
}

.goodsList .star {
  display: none !important;
}

.goodsList .btn_ljcy {
  float: none !important;
  display: grid !important;
  min-width: 0;
  height: 31px !important;
  flex: 1;
  padding: 0 8px !important;
  place-items: center;
  border: 1px solid var(--yp-primary) !important;
  border-radius: 18px !important;
  background: var(--yp-surface) !important;
  color: var(--yp-primary) !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.goodsList .btn_buy {
  float: none !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px;
}

.goodsList .btn_buy .add {
  position: relative;
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 50%;
  background: var(--yp-primary) !important;
}

.goodsList .btn_buy .add::before,
.goodsList .btn_buy .add::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
}

.goodsList .btn_buy .add::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.goodsList .loading,
#btnLoadMore,
#btnLoadMore2,
#btnLoadMore3 {
  grid-column: 1 / -1;
  width: 100% !important;
  color: #bbb !important;
  text-align: center;
}

/* Footer */
.footerdi.yp-bottom-nav {
  position: fixed !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 1000 !important;
  width: 100vw !important;
  max-width: none !important;
  height: calc(var(--yp-nav-height) + env(safe-area-inset-bottom)) !important;
  padding: 0 0 env(safe-area-inset-bottom) !important;
  border-top: 1px solid var(--yp-line) !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, .04);
  backdrop-filter: blur(10px);
}

.footerdi.yp-bottom-nav ul {
  display: flex !important;
  width: 100% !important;
  height: var(--yp-nav-height) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footerdi.yp-bottom-nav li {
  float: none !important;
  width: 20% !important;
  height: var(--yp-nav-height) !important;
  list-style: none;
}

.footerdi.yp-bottom-nav li a {
  display: flex !important;
  width: 100% !important;
  height: var(--yp-nav-height) !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #999 !important;
  font-size: 11px !important;
  line-height: 16px !important;
}

.footerdi.yp-bottom-nav li a i {
  display: grid !important;
  width: 28px !important;
  height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  overflow: visible !important;
  border: 0 !important;
  background: none !important;
  color: #999 !important;
  font-size: 20px !important;
  font-style: normal;
  line-height: 25px !important;
}

.footerdi.yp-bottom-nav li a.cur,
.footerdi.yp-bottom-nav li a.cur i {
  color: var(--yp-primary) !important;
}

.footerdi.yp-bottom-nav #btnCart em {
  position: absolute;
  top: -2px;
  right: -7px;
  display: grid;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 10px;
  background: var(--yp-danger);
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-style: normal;
  line-height: 12px;
}

/* Customer support */
.scwz,
.weixin-img,
.legacy-support-modal {
  display: none !important;
}

.yp-support-modal[hidden] {
  display: none !important;
}

.yp-support-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  padding: 20px;
  place-items: center;
}

.yp-support-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .52);
}

.yp-support-modal__card {
  position: relative;
  z-index: 1;
  width: min(340px, calc(100vw - 40px));
  padding: 30px 24px 24px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
  text-align: center;
}

.yp-support-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #888;
  cursor: pointer;
}

.yp-support-modal__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 18px;
  background: var(--yp-primary-soft);
  color: var(--yp-primary);
  font-size: 28px;
}

.yp-support-modal__card h2 {
  margin: 0;
  color: var(--yp-text-strong);
  font-size: 20px;
  font-weight: 600;
}

.yp-support-modal__number {
  margin: 14px 0 4px;
  color: var(--yp-text-strong);
  font-size: 18px;
}

.yp-support-modal__number strong {
  color: var(--yp-primary);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .5px;
}

.yp-support-modal__hint {
  margin: 0 0 18px;
  color: var(--yp-muted);
  font-size: 13px;
}

.yp-support-modal__copy {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--yp-primary);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
}

.yp-support-modal__copy:active {
  background: var(--yp-primary-dark);
}

.yp-support-modal__status {
  min-height: 20px;
  margin: 8px 0 -8px;
  color: var(--yp-primary);
  font-size: 12px;
}

body.yp-modal-open {
  overflow: hidden !important;
}

/* Login and registration */
.registerCon {
  padding: 28px 39px 0;
  background: #fff !important;
}

.registerCon > ul,
.registerCon form > ul {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.registerCon li {
  width: 100% !important;
  min-height: 48px;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.registerCon .loginType {
  height: auto !important;
  min-height: 60px;
  border: 0 !important;
  background: #fff;
}

.registerCon .loginType > div,
.registerCon .loginType > div.active {
  border-bottom: 0 !important;
}

.registerCon .loginType .accountLogin {
  width: 100% !important;
  padding: 8px 0 18px !important;
  color: var(--yp-text-strong) !important;
  font-size: 23px !important;
  font-weight: 400 !important;
  letter-spacing: .35em;
  text-align: center;
}

.registerCon .acc,
.registerCon .pwd {
  display: flex;
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid #ddd !important;
}

.registerCon .acc label,
.registerCon .pwd label {
  width: 58px !important;
  flex: 0 0 58px;
  padding-left: 0 !important;
  color: var(--yp-text-strong);
  font-size: 16px !important;
  text-align: center;
}

.registerCon .acc input,
.registerCon .pwd input {
  width: auto !important;
  min-width: 0;
  height: 56px !important;
  flex: 1;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  background: #fff !important;
  color: var(--yp-text-strong) !important;
  font-size: 16px !important;
}

.registerCon .btn-login {
  min-height: 60px;
  padding: 10px 0 0;
  border: 0 !important;
  background: #fff;
}

.registerCon .btn-login #login,
.registerCon input[type="submit"],
.registerCon .orangebut,
.registerCon .orgBtn,
.layui-btn-danger {
  display: grid !important;
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  place-items: center;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--yp-primary) !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 44px !important;
}

.registerCon .btnArea {
  display: flex;
  min-height: 54px;
  justify-content: space-between;
  padding: 8px 0;
  border: 0 !important;
  background: #fff;
}

.registerCon .btnArea a {
  display: flex;
  min-height: 44px;
  align-items: center;
  color: var(--yp-primary) !important;
  font-size: 13px;
}

.loginTip {
  display: none !important;
}

.agreement-tips {
  padding: 0 20px;
  color: var(--yp-text-strong);
  text-align: center;
}

.agreement-tips a {
  color: var(--yp-text-strong) !important;
  text-decoration: underline;
}

.yp-register-page {
  background: #f2f2f2 !important;
}

.yp-register-card {
  width: calc(100% - 40px);
  max-width: 600px;
  margin: 20px auto 0;
}

.yp-register-field {
  display: flex;
  height: 45px;
  align-items: center;
  border-bottom: 1px solid var(--yp-line);
  background: #fff;
}

.yp-register-field:first-child {
  border-radius: 5px 5px 0 0;
}

.yp-register-field:nth-child(3) {
  border-radius: 0 0 5px 5px;
}

.yp-register-field > i {
  width: 38px;
  color: #999;
  font-size: 17px;
  text-align: center;
}

.yp-register-field input {
  min-width: 0;
  height: 44px;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--yp-text-strong);
  outline: 0;
  font-size: 16px;
}

.yp-register-code button {
  min-width: 88px;
  height: 28px;
  margin-right: 10px;
  border: 1px solid var(--yp-accent);
  border-radius: 14px;
  background: #fff;
  color: var(--yp-accent);
  font-size: 12px;
}

.yp-register-status {
  height: 27px;
  margin: 0;
  color: #333;
  line-height: 27px;
  text-align: center;
}

.yp-register-submit {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: var(--yp-primary);
  color: #fff;
  font-size: 20px;
}

.yp-register-agreement {
  display: flex;
  height: 35px;
  align-items: center;
  color: #999;
  font-size: 13px;
}

.yp-register-agreement input {
  display: inline-block !important;
  width: 18px;
  height: 18px;
  margin: 0 4px 0 0;
  appearance: auto !important;
  accent-color: var(--yp-accent);
  opacity: 1 !important;
}

.yp-register-agreement a {
  margin-left: 4px;
  color: var(--yp-primary);
}

/* Account center */
.yp-user-center {
  width: 100%;
  max-width: var(--yp-content-width);
  min-height: calc(100dvh - var(--yp-nav-height));
  margin: 0 auto;
  background: #fff;
}

.yp-user-hero {
  position: relative;
  display: flex;
  min-height: 180px;
  align-items: center;
  padding: 20px 20px 20px 82px;
  background: var(--yp-primary);
  color: #fff;
}

.yp-user-avatar {
  position: absolute;
  top: 54px;
  left: 20px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  background: #fff;
}

.yp-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yp-user-summary {
  min-width: 0;
  color: #fff;
}

.yp-user-summary h1 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 600;
}

.yp-user-summary p {
  margin: 3px 0;
  color: #fff;
  font-size: 13px;
}

.yp-user-recharge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-width: 76px;
  min-height: 34px;
  padding: 5px 16px;
  border: 1px solid #fff;
  border-radius: 18px;
  color: #fff !important;
  text-align: center;
}

.yp-user-domain {
  min-height: 62px;
  padding: 20px;
  border-bottom: 1px solid var(--yp-line);
  background: #fff;
  color: var(--yp-text-strong);
  text-align: center;
}

.yp-user-domain strong {
  margin-left: 8px;
  color: var(--yp-accent);
  font-weight: 400;
}

.yp-user-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--yp-line);
}

.yp-user-grid a,
.yp-user-grid button {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid var(--yp-line);
  border-bottom: 1px solid var(--yp-line);
  background: #fff;
  color: var(--yp-text);
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.yp-user-grid a:nth-child(even),
.yp-user-grid button:nth-child(even) {
  border-right: 0;
}

.yp-user-grid i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: #65d2ae;
  font-size: 13px;
}
.yp-user-grid > :nth-child(2) i { color: #9d54e9; }
.yp-user-grid > :nth-child(3) i { color: #58d8ae; }
.yp-user-grid > :nth-child(4) i { color: #f36a76; }
.yp-user-grid > :nth-child(5) i { color: #f6b136; }
.yp-user-grid > :nth-child(6) i { color: #70a5ff; }
.yp-user-grid > :nth-child(7) i { color: #fb6979; }
.yp-user-grid > :nth-child(8) i { color: #62adff; }

.yp-user-support-line {
  min-height: 54px;
  padding: 16px;
  color: var(--yp-text-strong);
  text-align: center;
}

.yp-user-support-line button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--yp-text-strong);
  cursor: pointer;
}

.yp-service-page {
  width: calc(100% - 32px);
  max-width: 608px;
  margin: 72px auto 0;
  padding: 36px 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(47, 127, 200, .08);
  color: var(--yp-text-strong);
  text-align: center;
}

.yp-service-page > i {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 18px;
  background: var(--yp-primary-soft);
  color: var(--yp-primary);
  font-size: 28px;
}

.yp-service-page h1 {
  margin: 0 0 12px;
  font-size: 21px;
}

.yp-service-page p {
  margin: 0 0 24px;
  color: var(--yp-text);
  font-size: 16px;
}

.yp-service-page button,
.yp-recharge-support button,
.yp-payment-support button {
  min-height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  background: var(--yp-primary);
  color: #fff;
  cursor: pointer;
}

.yp-recharge-support {
  padding: 14px !important;
  text-align: center;
}

.yp-recharge-support button {
  width: 100%;
}

.yp-use-balance {
  float: right;
  min-height: 32px;
  margin-top: -7px;
  padding: 0 8px;
  border: 1px solid var(--yp-accent);
  border-radius: 4px;
  background: #fff;
  color: var(--yp-primary);
  font-size: 13px;
}

.yp-recharge-tip {
  margin: 18px 14px 10px;
  color: var(--yp-danger);
  font-size: 13px;
  line-height: 1.6;
}

.yp-recharge-tip a {
  color: var(--yp-primary);
  text-decoration: underline;
}

.yp-payment-support {
  padding: 22px 15px 28px;
  color: var(--yp-text);
  text-align: center;
}

.yp-payment-support p {
  margin: 0 0 14px;
}

/* Detail, cart, order, recharge and message pages */
.g-acc-bg,
.g-Total,
.m-round,
.m-rounds,
.weui-panel,
.goodsCon,
.g-pay-ment,
.g-pay-vip {
  border-color: var(--yp-line) !important;
  background-color: #fff !important;
}

.orange,
.blue,
a.blue,
.f60 {
  color: var(--yp-primary) !important;
}

.orgBtn,
.bluebut,
.orangebut,
#btnSubmit,
.f-Recharge-btn a,
.g-pay-auto a {
  border-color: var(--yp-primary) !important;
  background: var(--yp-primary) !important;
  color: #fff !important;
}

.g-Recharge li a.z-sel,
.g-Recharge li a:hover {
  border-color: var(--yp-accent) !important;
  color: var(--yp-text-strong) !important;
}

.z-bank-Roundsel,
.z-bank-Round {
  border-color: var(--yp-primary) !important;
}

.m-listNav li.current,
.subMenu a.current,
.shelves li.current {
  border-color: var(--yp-primary) !important;
  background: #fff !important;
  color: var(--yp-primary) !important;
}

.g-pay-auto,
.cartEmpty,
.empty,
.no-data {
  color: var(--yp-muted) !important;
}

.pageDialog,
.pageDialogBG {
  z-index: 2500 !important;
}

.Prompt {
  border-radius: 5px !important;
}

.foot-service {
  color: var(--yp-text) !important;
}

.foot-service a {
  color: var(--yp-primary) !important;
}

@media (min-width: 641px) {
  .db-main,
  .h5-1yyg-v1,
  #__nuxt,
  #__layout,
  #content,
  .lotteryStyle,
  .registerCon,
  .yp-user-center {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .02);
  }

  .goodsList .z-Limg,
  .goodsList .z-Limg img {
    height: 220px !important;
  }

  .goodsList > ul > li {
    min-height: 360px !important;
  }
}

@media (max-width: 360px) {
  .newnav {
    padding-right: 4px;
    padding-left: 4px;
  }

  .newnavicon {
    width: 48px !important;
    height: 48px !important;
  }

  .newnavfont,
  .nav-wrapper .nav-list li a,
  .nav-wrapper .select-btn {
    font-size: 12px !important;
  }

  .goodsList .z-Limg,
  .goodsList .z-Limg img {
    height: 128px !important;
  }

  .yp-user-hero {
    padding-left: 76px;
  }
}

/* All-products page uses the target's compact horizontal rows. */
.yp-glist-page .nav-wrapper {
  height: 62px !important;
  background: #fff !important;
}
.yp-glist-page .nav-wrapper > .select-btn {
  display: flex !important;
  width: 50% !important;
  height: 62px !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.yp-glist-page .nav-wrapper .select-btn.current,
.yp-glist-page .nav-wrapper .select-btn.current * { color: var(--yp-primary) !important; }
.yp-glist-page .nav-wrapper .select-btn.current { border-bottom-color: var(--yp-primary) !important; }
html.yp-scroll-page,
body.yp-glist-page {
  -ms-overflow-style: auto;
  scrollbar-width: auto;
}
html.yp-scroll-page::-webkit-scrollbar,
body.yp-glist-page::-webkit-scrollbar { display: block; width: 15px; }
html.yp-scroll-page::-webkit-scrollbar-thumb,
body.yp-glist-page::-webkit-scrollbar-thumb { border-radius: 8px; background: #888; }
.yp-glist-page .goodsList2 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  max-width: var(--yp-content-width);
  padding-top: 0 !important;
  background: #fff;
}
.yp-glist-page .goodsList2 > ul {
  width: 100% !important;
  min-height: 105px;
  height: 105px !important;
  padding: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--yp-line) !important;
}
.yp-glist-page .goodsList2 > ul > li {
  position: relative;
  min-height: 105px !important;
  padding: 4px 52px 4px 4px !important;
}
.yp-glist-page .goodsList2 > ul > li > a:first-child {
  display: flex !important;
  min-width: 0;
  align-items: center;
}
.yp-glist-page .goodsList2 .z-Limg,
.yp-glist-page .goodsList2 .z-Limg img {
  width: 82px !important;
  height: 96px !important;
  flex: 0 0 82px;
  object-fit: contain;
  visibility: visible;
}
.yp-glist-page .goodsList2 .goodsListR {
  min-width: 0;
  flex: 1;
  margin: 0 0 0 8px !important;
}
.yp-glist-page .goodsList2 h2 {
  height: 24px !important;
  overflow: hidden;
  color: var(--yp-text-strong) !important;
  font-size: 13px !important;
  line-height: 24px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yp-glist-page .goodsList2 .changyu {
  position: absolute !important;
  top: 34px !important;
  right: 8px !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
}
.yp-glist-page .goodsList2 .changyu .buynow { display: none !important; }
.yp-glist-page .goodsList2 .changyu .add {
  position: relative;
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--yp-primary) !important;
  color: transparent !important;
  font-size: 0 !important;
}
.yp-glist-page .goodsList2 .changyu .add > * { display: none !important; }
.yp-glist-page .goodsList2 .changyu .add::before,
.yp-glist-page .goodsList2 .changyu .add::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
}
.yp-glist-page .goodsList2 .changyu .add::after { transform: translate(-50%, -50%) rotate(90deg); }
.yp-glist-page .goodsList2 .pRate { width: 200px !important; }
.yp-glist-page .goodsList2 .changyu { right: 20px !important; }
.yp-glist-page .goodsList2 .pgbar {
  width: 98% !important;
  background: var(--yp-primary) !important;
}
.yp-glist-page .goodsList2 .pging { background: var(--yp-primary) !important; }
.yp-glist-page #addAll,
.yp-glist-page #addAll p {
  background: var(--yp-primary) !important;
  box-shadow: 0 0 12px rgba(47, 127, 200, .65) !important;
}

.yp-lottery-page .fixed_header,
.yp-lottery-page #divLottery { display: none !important; }
.yp-lottery-page .revealed {
  top: 0 !important;
  width: 100%;
  max-width: var(--yp-content-width);
  padding-top: 0 !important;
  background: #fff;
}
.yp-lottery-list { background: #fff; }
.yp-lottery-row {
  display: flex;
  min-height: 112px;
  padding: 8px;
  border-bottom: 1px solid var(--yp-line);
  color: var(--yp-muted);
}
.yp-lottery-thumb {
  position: relative;
  width: 82px;
  height: 96px;
  flex: 0 0 82px;
}
.yp-lottery-thumb img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.yp-lottery-thumb span {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1px 5px;
  background: rgba(80,80,80,.82);
  color: #fff;
  font-size: 12px;
}
.yp-lottery-info {
  min-width: 0;
  padding-left: 10px;
  font-size: 12px;
  line-height: 1.45;
}
.yp-lottery-info h2 {
  margin: 0 0 3px;
  overflow: hidden;
  color: var(--yp-text-strong);
  font-size: 13px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yp-lottery-info p { margin: 0; }
.yp-lottery-info i {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 3px;
  place-items: center;
  border-radius: 50%;
  background: var(--yp-primary-soft);
  color: var(--yp-primary);
}
.yp-lottery-info strong { color: var(--yp-primary); font-weight: 400; }

.yp-cart-page .u-progress .pgbar { background: var(--yp-primary) !important; }
.yp-cart-page #addAll,
.yp-cart-page #addAll p { background: var(--yp-primary) !important; box-shadow: 0 0 12px rgba(47,127,200,.6) !important; }
.yp-cart-page #addMore,
.yp-cart-page #clearAll {
  border-color: var(--yp-primary) !important;
  background: #fff !important;
  color: var(--yp-primary) !important;
}
.yp-cart-page #a_payment {
  background: var(--yp-primary) !important;
  color: #fff !important;
}
.yp-cart-page .money-total .orange { color: var(--yp-primary) !important; }
.yp-cart-page .haveNot { color: var(--yp-muted); }

/* Keep the cart's product metadata, progress and quantity controls in separate rows.
   The legacy negative margin made the progress rail cover the value/remaining line. */
.yp-cart-page .g-Cart-list #cartBody > li {
  min-height: 176px;
  padding: 10px 8px 8px;
}
.yp-cart-page .g-Cart-list .u-Cart-img {
  width: 76px;
  min-height: 76px;
  margin: 0 8px 0 0;
}
.yp-cart-page .g-Cart-list .u-Cart-img img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.yp-cart-page .g-Cart-list .u-Cart-r {
  min-height: 126px;
  margin: 0 0 0 84px;
}
.yp-cart-page .u-Cart-r .z-Cart-tt {
  height: 36px;
  margin: 0 0 4px;
  line-height: 18px;
  white-space: normal;
}
.yp-cart-page .u-Cart-r .z-promo {
  margin: 0 0 6px;
  line-height: 18px;
}
.yp-cart-page .pencentbox {
  position: static !important;
  width: 100%;
  margin: 0 0 9px !important;
}
.yp-cart-page .pencentbox .Progress-bar,
.yp-cart-page .pencentbox .u-progress {
  margin: 0 !important;
}
.yp-cart-page .f-Cart-Other {
  display: flex !important;
  min-height: 30px;
  align-items: center;
  margin: 0 !important;
}
.yp-cart-page .g-Cart-list #cartBody > li > div[style] {
  clear: both;
  min-height: 31px;
  margin-top: 5px !important;
  padding-left: 84px !important;
}
.yp-cart-page #addAll,
.yp-cart-page #intro {
  display: none !important;
}

.yp-detail-page #btnBuyBox {
  display: flex !important;
  gap: 2px;
}
.yp-detail-page #sliderBox > .loading,
.yp-detail-page #divPeriod > .loading { display: none !important; }
.yp-detail-page #divPeriod .slides li,
.yp-detail-page #divPeriod .slides a { color: var(--yp-text) !important; }
.yp-detail-page #divPeriod .slides .current,
.yp-detail-page #divPeriod .slides .current a { color: var(--yp-primary) !important; }
.yp-detail-page #btnBuyBox a {
  display: grid !important;
  width: auto !important;
  height: 38px !important;
  flex: 1;
  margin: 5px 0 0 !important;
  place-items: center;
  border: 0 !important;
  border-radius: 3px !important;
  color: #fff !important;
  line-height: 38px !important;
}
.yp-detail-page #btnBuyBox .buyBtn { background: var(--yp-primary) !important; }
.yp-detail-page #btnBuyBox .addBtn { background: var(--yp-accent) !important; }
.yp-detail-page #btnBuyBox .collectBtn { flex: .55; background: #c936e5 !important; }
.yp-play-intro {
  margin-top: 10px;
  padding: 12px 8px 14px;
  border-top: 1px solid var(--yp-line);
  border-bottom: 1px solid var(--yp-line);
  background: #fff;
}
.yp-play-intro h2 {
  margin: 0 0 10px;
  color: var(--yp-text-strong);
  font-size: 14px;
  font-weight: 400;
}
.yp-play-intro > div {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.yp-play-intro span {
  display: grid;
  gap: 5px;
  place-items: center;
  color: var(--yp-text-strong);
  font-size: 12px;
}
.yp-play-intro i {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 50%;
  background: #fff1f5;
  color: #ef4771;
  font-size: 21px;
}
.yp-play-intro .yp-detail-step-icon {
  width: 55px;
  height: 55px;
  border-radius: 0;
  background: url("../../images/mobile/yipin-detail-sprite.png") no-repeat 0 0 / auto 55px;
}
.yp-play-intro .yp-detail-step-full { background-position: -59px 0; }
.yp-play-intro .yp-detail-step-result { background-position: -118px 0; }
.yp-play-intro b { color: #aaa; font-size: 25px; font-weight: 400; }

.yp-records-page .g-snav-lst.z-sgl-crt,
.yp-records-page .g-snav-lst.z-sgl-crt a {
  border-bottom-color: var(--yp-primary) !important;
  color: var(--yp-primary) !important;
}
.yp-records-page .loading { color: var(--yp-text-strong) !important; }

.yp-settings-page { background: #f4f4f4 !important; }
.yp-settings {
  width: 100%;
  max-width: var(--yp-content-width);
  margin: 0 auto;
  color: var(--yp-text);
}
.yp-settings-row {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid var(--yp-line);
  background: #fff;
  font-size: 16px;
}
.yp-settings-row strong {
  margin-left: auto;
  color: var(--yp-text);
  font-weight: 400;
}
.yp-settings-row i { margin-left: 8px; color: #999; font-size: 12px; }
.yp-settings-options {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  border-bottom: 10px solid #f4f4f4;
  background: #fff;
}
.yp-settings-options button,
.yp-privacy-row button {
  border: 0;
  background: transparent;
  color: var(--yp-accent);
  cursor: pointer;
}
.yp-settings-title { margin-top: 0; }
.yp-privacy-row {
  display: grid;
  grid-template-columns: 98px 1fr;
  min-height: 112px;
  padding: 10px 28px;
  border-bottom: 1px solid var(--yp-line);
  background: #fff;
  font-size: 14px;
}
.yp-privacy-row > div {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px 18px;
}
.yp-privacy-row strong { width: 100%; font-weight: 400; }
.yp-settings-logout {
  display: grid;
  width: calc(100% - 30px);
  min-height: 44px;
  margin: 15px auto;
  place-items: center;
  border-radius: 4px;
  background: var(--yp-accent);
  color: #fff !important;
  font-size: 18px;
}

/* Detail pages in the legacy template only render the period selector server-side.
   Keep the current product visual present while its optional slider enhancement loads. */
.yp-detail-page .pPic,
.yp-detail-page .pPicBor,
.yp-detail-page .pPic2,
.yp-detail-page #sliderBox {
  display: none !important;
}
.yp-detail-page .yp-detail-hero {
  display: grid;
  height: 210px;
  grid-template-columns: 106px 1fr 106px;
  align-items: center;
  overflow: hidden;
  background: #f6f6f6;
}
.yp-detail-page .yp-detail-gallery-side,
.yp-detail-page .yp-detail-gallery-main {
  display: grid;
  height: 210px;
  place-items: center;
  overflow: hidden;
  background: #f4f4f4;
}
.yp-detail-page .yp-detail-gallery-main {
  background: #fff;
}
.yp-detail-page .yp-detail-gallery-side img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  opacity: .45;
}
.yp-detail-page .yp-detail-gallery-main img {
  display: block;
  width: 180px;
  height: 190px;
  object-fit: contain;
}
.yp-detail-page .pDetails .pBtn { margin-top: -7px !important; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
