/* ========== 原有锁定、渐变、防滚动样式 ========== */
/* 根节点双重锁定，禁止滚动+回弹 */
html.detail-lock-open,
body.detail-lock-open {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none;
  touch-action: none;
  -webkit-touch-callout: none;
}

/* 主锁定遮罩 */
.detail-lock-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  overflow: hidden;
  background: linear-gradient(to top, #ffffff 15%, rgba(255, 255, 255, 0) 100%);
  /* backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); */
}

/* 登录按钮通用 */
.detail-login-btn {
  position: relative;
  z-index: 10;
  background: #DA251E;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(216, 30, 6, 0.28);
  transition: all 0.2s ease;
}
.detail-login-btn:hover {
  background: #DA251E;
  transform: scale(1.03);
}
.detail-login-btn:active {
  transform: scale(0.98);
}

/* PC按钮尺寸 */
.pc-only .detail-login-btn {
  padding: 10px 20px;
  font-size: 20px;
  font-weight: normal;
  position: relative;
  top: 100px;
}
/* 移动端按钮尺寸 */
.mobile-only .detail-login-btn {
  padding: 10px 20px;
  font-size: 18px;
  font-weight: normal;
  position: relative;
  top: 200px;
}

/* 登录弹窗根容器 */
.detail-login-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10001; /* 提高层级，防止被页面内容压住 */
}
/* 弹窗蒙层 */
.detail-popup-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
/* 弹窗盒子基础样式 */
.detail-popup-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
  position: relative;
}
/* PC弹窗尺寸 */
.pc-only.detail-popup-box {
  width: 480px;
  padding: 30px;
}
/* 移动端弹窗尺寸 */
.mobile-only.detail-popup-box {
  width: 100%;
  max-width: 340px;
  /* border: 1px solid #DA251E; */
}

/* 关闭按钮 */
.detail-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  user-select: none;
}
.detail-popup-close:hover {
  color: #333;
}
.mobile-only.mobile-detail-login{
  /* border: 1px solid #d81e06; */
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background: #fff;
}
.mobile-only.mobile-only.mobile-detail-login .regLogin-common{
  height: auto;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
}
.mobile-only.mobile-detail-login .regLogin{
  padding: 30px 10px;
}