/* ===== 全局布局变量 ===== */
:root {
  --banner-height: 0px;
  --nav-height: 50px;
  --nav-badge-space: 0px; /* 导航栏角标溢出空间 */
  --top-offset: var(--nav-height);
}

/* 当有新版横幅时，更新变量 */
.app.has-new-version-banner {
  --banner-height: 48px;
  --nav-badge-space: 12px; /* 为导航栏角标（如"火爆"、"Beta"等）留出空间 */
  --top-offset: calc(var(--banner-height) + var(--nav-height) + var(--nav-badge-space));
}

@media (max-width: 768px) {
  .app.has-new-version-banner {
    --banner-height: 52px;
    --nav-badge-space: 12px;
    --top-offset: calc(var(--banner-height) + var(--nav-height) + var(--nav-badge-space));
  }
}

.app {
  min-height: 100vh;
  
  display: flex;
  flex-direction: column;
}


.navigation-tab {
  flex: 1;
  justify-content: flex-start;
  margin-left: 30px; /* 原20px + 向右微调30px */
  gap: 8px;
}
/* 统一导航中下拉容器与普通标签的垂直对齐与高度 */
.navigation-tab > .LearningCreationDropdown-container,
.navigation-tab > .ApiDocsDropdown-container,
.navigation-tab > .ProfitEngineDropdown-container,
.navigation-tab > .MembershipDropdown-container,
.navigation-tab > .LabDropdown-container {
  display: flex;
  align-items: center;
}
.content{
  margin-top: var(--top-offset);
  flex-grow: 1;
 
  height: calc(100vh - var(--top-offset)); 
  background: #f8f8f8;
  /* background-color: white; */
  display: flex;
  flex-direction: column;
}
.content-notflow{
  overflow-y: hidden;
}
.active-link {
  color: #5e35b1 !important;
  font-weight: 700;
  position: relative;
  text-shadow: 0 0 1px rgba(94, 53, 177, 0.3);
  background-color: rgba(126, 87, 194, 0.08);
  border-radius: 8px;
}
.active-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, #9575cd, #5e35b1);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(94, 53, 177, 0.3);
}
.tab-info{
  padding: 6px 12px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: visible !important;
}
.tab-info:hover {
  color: #673ab7;
  text-decoration: none;
}
/* 徽章样式优化 */
.hot-badge, .premium-badge, .new-badge {
  margin-left: 4px;
}

/* 导航栏VIP标签样式 */
.nav-vip-tag {
  display: inline-block;
  background-color: #ff6b6b;
  color: white;
  font-size: 0.7rem;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  margin-left: 0.4rem;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
  position: relative;
  top: -1px;
}

.mobile-vip-tag {
  display: inline-block;
  background-color: #ff6b6b;
  color: white;
  font-size: 0.6rem;
  padding: 0.05rem 0.25rem;
  border-radius: 2px;
  margin-left: 0.25rem;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(255, 107, 107, 0.3);
  position: relative;
  top: -1px;
}

/* 火热徽章样式 */
.hot-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: linear-gradient(45deg, #ff6b6b, #ff9500);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
  overflow: hidden;
  animation: hot-pulse 2s infinite;
  z-index: 10;
}

.hot-badge-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: hot-shine 2s infinite;
}

@keyframes hot-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6);
  }
}

@keyframes hot-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hot-mobile-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: linear-gradient(45deg, #ff6b6b, #ff9500);
  color: white;
  font-size: 0.55rem;
  padding: 1px 4px;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 1px 4px rgba(255, 107, 107, 0.4);
  animation: hot-pulse 2s infinite;
  z-index: 10;
}

/* 最新徽章样式 */
.new-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: linear-gradient(45deg, #4caf50, #2196f3);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
  overflow: hidden;
  animation: new-pulse 2s infinite;
  z-index: 10;
}

.new-badge-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: new-shine 2s infinite;
}

@keyframes new-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.6);
  }
}

@keyframes new-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.new-mobile-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: linear-gradient(45deg, #4caf50, #2196f3);
  color: white;
  font-size: 0.55rem;
  padding: 1px 4px;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 1px 4px rgba(76, 175, 80, 0.4);
  animation: new-pulse 2s infinite;
  z-index: 10;
}

.navigation{
  position: fixed;
  z-index: 10001; /* 提高层级，确保导航栏及其子元素（如用户悬浮窗）始终在最上层 */
  width: 100%;
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 15px rgba(126, 87, 194, 0.1);
  backdrop-filter: blur(10px);
}
.brand-logo {
  color: #5e35b1 !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  margin-right: 24px;
  margin-left: 50px; /* 向右微调20px */
  white-space: nowrap;
}
.navbar-toggler:focus{
  box-shadow:none !important;
}
.custom-toggler{
  border-color: #7e57c2;
}
.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%237e57c2' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* 添加到您的 CSS 文件中 */
.mobile-navigation-tab {
  display: flex;                  /* 水平布局 */
  justify-content: space-around;  /* 每个元素之间的间隔均匀分布 */
  align-items: center;            /* 垂直居中 */
  position: fixed;                /* 固定位置 */
  bottom: 0;                      /* 底部对齐 */
  width: 100%;                    /* 充满整个屏幕宽度 */
  background-color: #ffffff;         /* 背景色 */
  box-shadow: 0 -2px 10px rgba(126, 87, 194, 0.1); /* 阴影效果 */
  z-index: 999;
  padding: 8px 0;
}

.mobile-tab-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #9575cd;
  padding: 8px 5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible !important;
}

.mobile-tab-info span {
  margin-top: 4px;
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.mobile-active-link {
  color: #5e35b1;
  font-weight: 700;
  text-shadow: 0 0 1px rgba(94, 53, 177, 0.3);
}

.mobile-active-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, #9575cd, #5e35b1);
  border-radius: 3px 3px 0 0;
}

.mobile-content{
  
  background: #f8f8f8;
  margin-bottom: 70px;
}

/* 导航栏敬请期待弹窗样式 */
.coming-soon-modal .modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.coming-soon-icon {
  color: #7e57c2;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.coming-soon-title {
  font-weight: 600;
  color: #333;
  font-size: 1.3rem;
}

.coming-soon-text {
  color: #666;
  margin-bottom: 20px;
}

.coming-soon-btn {
  background: linear-gradient(45deg, #9575cd, #5e35b1) !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 10px 30px !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.coming-soon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3) !important;
}

/* 导航栏每日签到选项样式 */
.tab-checkin {
  position: relative;
  background: linear-gradient(to right, rgba(149, 117, 205, 0.05), rgba(94, 53, 177, 0.08));
  border-radius: 8px;
  margin-right: 5px;
  overflow: hidden;
}

.tab-checkin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(149, 117, 205, 0.1) 0%, rgba(94, 53, 177, 0.05) 100%);
  z-index: -1;
}

.tab-checkin:hover {
  background: linear-gradient(to right, rgba(149, 117, 205, 0.1), rgba(94, 53, 177, 0.15));
}

.checkin-badge {
  position: absolute;
  top: 0;
  right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff7676, #f54ea2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  box-shadow: 0 2px 5px rgba(245, 78, 162, 0.3);
  transform: translateY(-5px);
  z-index: 5;
}

/* 移动端每日签到选项样式 */
.mobile-tab-checkin {
  position: relative;
  overflow: hidden;
}

.mobile-tab-checkin::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: linear-gradient(to right, #ff7676, #f54ea2);
  border-radius: 2px;
  opacity: 0.7;
}

.mobile-tab-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff7676, #f54ea2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  box-shadow: 0 2px 5px rgba(245, 78, 162, 0.3);
}

/* 移除旧的角标样式 */
.packages-badge, .packages-mobile-badge {
  display: none;
}

/* 重新设计的高端角标 - 桌面版 */
.premium-badge {
  position: absolute;
  top: -8px;
  right: -5px;
  background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
  color: white;
  height: 20px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(238, 9, 121, 0.4), 
              0 0 0 1px rgba(255, 255, 255, 0.2),
              inset 0 1px 3px rgba(255, 255, 255, 0.3);
  border: none;
  z-index: 999;
  transform-origin: center right;
  animation: premium-pulse 3s infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  pointer-events: none;
  overflow: visible;
}

/* .premium-badge::before {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #ee0979;
  border-radius: 1px;
  transform: rotate(45deg);
  box-shadow: 0 3px 6px rgba(238, 9, 121, 0.3);
  z-index: -1;
} */

.premium-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.5) 0%, 
                rgba(255, 255, 255, 0) 60%);
  border-radius: inherit;
  animation: premium-shine 3s linear infinite;
}

@keyframes premium-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(238, 9, 121, 0.45), 
                0 0 0 1px rgba(255, 255, 255, 0.25),
                inset 0 1px 3px rgba(255, 255, 255, 0.4);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes premium-shine {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.3;
  }
}

/* 实验室徽章样式 */
.lab-badge {
  position: absolute;
  top: -8px;
  right: -5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  height: 20px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(118, 75, 162, 0.4), 
              0 0 0 1px rgba(255, 255, 255, 0.2),
              inset 0 1px 3px rgba(255, 255, 255, 0.3);
  border: none;
  z-index: 999;
  transform-origin: center right;
  animation: lab-pulse 3s infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  pointer-events: none;
  overflow: visible;
}

.lab-badge-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: lab-shine 2.5s infinite;
  border-radius: 10px;
}

@keyframes lab-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.2),
                inset 0 1px 3px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(118, 75, 162, 0.6), 
                0 0 0 1px rgba(255, 255, 255, 0.3),
                inset 0 1px 3px rgba(255, 255, 255, 0.4);
  }
}

@keyframes lab-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* 移动端高端角标 */
.premium-mobile-badge {
  position: absolute;
  top: -7px;
  right: 0px; 
  background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
  color: white;
  height: 18px;
  min-width: 32px;
  padding: 0 6px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(238, 9, 121, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.15),
              inset 0 1px 2px rgba(255, 255, 255, 0.3);
  border: none;
  z-index: 999;
  animation: premium-pulse 3s infinite;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  pointer-events: none;
  transform-origin: center right;
}

/* .premium-mobile-badge::before {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: #ee0979;
  border-radius: 1px;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(238, 9, 121, 0.3);
  z-index: -1;
} */

.premium-mobile-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.4) 0%, 
                rgba(255, 255, 255, 0) 60%);
  border-radius: inherit;
  animation: premium-shine 3s linear infinite;
}

/* 福利角标样式 - 桌面版 */
.welfare-badge {
  position: absolute;
  top: -8px;
  right: -5px;
  background: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
  color: white;
  height: 20px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(63, 94, 251, 0.4), 
              0 0 0 1px rgba(255, 255, 255, 0.2),
              inset 0 1px 3px rgba(255, 255, 255, 0.3);
  border: none;
  z-index: 999;
  transform-origin: center right;
  animation: welfare-pulse 3s infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  pointer-events: none;
  overflow: visible;
}

/* .welfare-badge::before {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #3f5efb;
  border-radius: 1px;
  transform: rotate(45deg);
  box-shadow: 0 3px 6px rgba(63, 94, 251, 0.3);
  z-index: -1;
} */

.welfare-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.5) 0%, 
                rgba(255, 255, 255, 0) 60%);
  border-radius: inherit;
  animation: welfare-shine 3s linear infinite;
}

@keyframes welfare-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(63, 94, 251, 0.45), 
                0 0 0 1px rgba(255, 255, 255, 0.25),
                inset 0 1px 3px rgba(255, 255, 255, 0.4);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes welfare-shine {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.3;
  }
}

/* 移动端福利角标 */
.welfare-mobile-badge {
  position: absolute;
  top: -7px;
  right: 0px; 
  background: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
  color: white;
  height: 18px;
  min-width: 32px;
  padding: 0 6px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(63, 94, 251, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.15),
              inset 0 1px 2px rgba(255, 255, 255, 0.3);
  border: none;
  z-index: 999;
  animation: welfare-pulse 3s infinite;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  pointer-events: none;
  transform-origin: center right;
}

.welfare-mobile-badge::before {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: #3f5efb;
  border-radius: 1px;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(63, 94, 251, 0.3);
  z-index: -1;
}

.welfare-mobile-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.4) 0%, 
                rgba(255, 255, 255, 0) 60%);
  border-radius: inherit;
  animation: welfare-shine 3s linear infinite;
}

/* 充值中心高端UI样式加强 */
.recharge-module {
  --primary-gradient: linear-gradient(135deg, #9181F4 0%, #5D54C2 100%);
  --surface-gradient: linear-gradient(135deg, #F5F7FF 0%, #EAECFF 100%);
  --primary-text: #3F3D56;
  --secondary-text: #5D5A73;
  --border-radius: 20px;
  --shadow-soft: 0 10px 30px rgba(93, 84, 194, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.02);
  --shadow-medium: 0 15px 35px rgba(93, 84, 194, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
  --transition-bezier: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 全局文字抗锯齿渲染提升 */
.recharge-module * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 更优雅的滚动效果 */
.recharge-module .modal-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(93, 84, 194, 0.3) rgba(93, 84, 194, 0.05);
}

.recharge-module .modal-body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.recharge-module .modal-body::-webkit-scrollbar-track {
  background: rgba(93, 84, 194, 0.05);
  border-radius: 10px;
}

.recharge-module .modal-body::-webkit-scrollbar-thumb {
  background: rgba(93, 84, 194, 0.3);
  border-radius: 10px;
}

/* 美化Bootstrap按钮组件 */
.recharge-module .btn {
  box-shadow: none !important;
}

/* 图片和图标最佳视觉效果 */
.recharge-module img,
.recharge-module .payment-logo {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* 卡片和按钮悬停效果提升 */
.recharge-module .card,
.recharge-module .btn,
.recharge-module .payment-option,
.recharge-module .amount-option {
  will-change: transform, box-shadow;
}

/* 打字机加载效果修饰 */
.recharge-module .spinner-border {
  border-right-color: transparent !important;
}

/* 动效优化 */
@media (prefers-reduced-motion: no-preference) {
  .recharge-module .balance-icon,
  .recharge-module .payment-icon,
  .recharge-module .amount-tag,
  .recharge-module .checkout-button {
    transition: all 0.4s var(--transition-bezier);
  }
}

/* 文本高清渲染 */
.recharge-module .amount-value-recharge,
.recharge-module .payment-name,
.recharge-module .balance-title,
.recharge-module .card-header {
  letter-spacing: -0.01em;
}

/* 盈动引擎下拉菜单样式 */
.ProfitEngineDropdown-container {
  position: relative;
  display: inline-block;
}

.ProfitEngineDropdown-trigger {
  padding: 6px 12px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: visible !important;
  cursor: pointer;
}

.ProfitEngineDropdown-trigger:hover {
  color: #673ab7;
  text-decoration: none;
}

.ProfitEngineDropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.ProfitEngineDropdown-container:hover .ProfitEngineDropdown-arrow {
  transform: rotate(180deg);
}

.ProfitEngineDropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(126, 87, 194, 0.15);
  border: 1px solid rgba(126, 87, 194, 0.1);
  min-width: 180px;
  z-index: 1000;
  padding: 8px 0;
  margin-top: 4px;
  animation: ProfitEngineDropdown-fadeIn 0.3s ease;
}

@keyframes ProfitEngineDropdown-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ProfitEngineDropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}

.ProfitEngineDropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126, 87, 194, 0.1), transparent);
  transition: left 0.5s ease;
}

.ProfitEngineDropdown-item:hover {
  color: #5e35b1;
  background: rgba(126, 87, 194, 0.08);
  text-decoration: none;
  transform: translateX(4px);
}

.ProfitEngineDropdown-item:hover::before {
  left: 100%;
}

.ProfitEngineDropdown-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .ProfitEngineDropdown-container {
    display: none;
  }
}

/* 确保下拉菜单在导航栏中的位置正确 */
.navigation-tab .ProfitEngineDropdown-container {
  margin: 0;
}

/* 下拉菜单激活状态样式 */
.ProfitEngineDropdown-trigger.active-link {
  color: #5e35b1 !important;
  font-weight: 700;
  position: relative;
  text-shadow: 0 0 1px rgba(94, 53, 177, 0.3);
  background-color: rgba(126, 87, 194, 0.08);
  border-radius: 8px;
}

.ProfitEngineDropdown-trigger.active-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, #9575cd, #5e35b1);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(94, 53, 177, 0.3);
}

/* 移动端盈动引擎导航项样式 */
.mobile-tab-info[href="/referral-earning"] {
  position: relative;
}

.mobile-tab-info[href="/referral-earning"].mobile-active-link,
.mobile-tab-info[href="/referral-earning"]:hover {
  color: #5e35b1;
  font-weight: 700;
  text-shadow: 0 0 1px rgba(94, 53, 177, 0.3);
}

/* 当用户在盈动引擎相关页面时，移动端导航项显示激活状态 */
.mobile-tab-info[href="/referral-earning"].mobile-active-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, #9575cd, #5e35b1);
  border-radius: 3px 3px 0 0;
}

/* 实验室下拉菜单样式 */
.LabDropdown-container {
  position: relative;
  display: inline-block;
}

.LabDropdown-trigger {
  padding: 6px 12px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: visible !important;
  cursor: pointer;
}

.LabDropdown-trigger:hover {
  color: #673ab7;
  text-decoration: none;
}

.LabDropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.LabDropdown-container:hover .LabDropdown-arrow {
  transform: rotate(180deg);
}

.LabDropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(126, 87, 194, 0.15), 
              0 4px 16px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(149, 117, 205, 0.15);
  min-width: 200px;
  z-index: 1000;
  overflow: hidden;
  animation: slideDownLab 0.3s ease;
}

@keyframes slideDownLab {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.LabDropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #9575cd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}

.LabDropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126, 87, 194, 0.1), transparent);
  transition: left 0.5s ease;
}

.LabDropdown-item:hover {
  color: #5e35b1;
  background: rgba(126, 87, 194, 0.08);
  text-decoration: none;
  transform: translateX(4px);
}

.LabDropdown-item:hover::before {
  left: 100%;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .LabDropdown-container {
    display: none;
  }
}

/* 确保下拉菜单在导航栏中的位置正确 */
.navigation-tab .LabDropdown-container {
  margin: 0;
}

/* 下拉菜单激活状态样式 */
.LabDropdown-trigger.active-link {
  color: #5e35b1 !important;
  font-weight: 700;
  position: relative;
  text-shadow: 0 0 1px rgba(94, 53, 177, 0.3);
  background-color: rgba(126, 87, 194, 0.08);
  border-radius: 8px;
}

.LabDropdown-trigger.active-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, #9575cd, #5e35b1);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(94, 53, 177, 0.3);
}

/* 学习与创作下拉菜单样式 */
.LearningCreationDropdown-container {
  position: relative;
  display: inline-block;
}

.LearningCreationDropdown-trigger {
  padding: 6px 12px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: visible !important;
  cursor: pointer;
}

.LearningCreationDropdown-trigger:hover {
  color: #673ab7;
  text-decoration: none;
}

.LearningCreationDropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.LearningCreationDropdown-container:hover .LearningCreationDropdown-arrow {
  transform: rotate(180deg);
}

.LearningCreationDropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(126, 87, 194, 0.15);
  border: 1px solid rgba(126, 87, 194, 0.1);
  min-width: 180px;
  z-index: 1000;
  padding: 8px 0;
  margin-top: 4px;
  animation: LearningCreationDropdown-fadeIn 0.3s ease;
}

@keyframes LearningCreationDropdown-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.LearningCreationDropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}

.LearningCreationDropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126, 87, 194, 0.1), transparent);
  transition: left 0.5s ease;
}

.LearningCreationDropdown-item:hover {
  color: #5e35b1;
  background: rgba(126, 87, 194, 0.08);
  text-decoration: none;
  transform: translateX(4px);
}

.LearningCreationDropdown-item:hover::before {
  left: 100%;
}

.LearningCreationDropdown-icon {
  font-size: 16px; /* 统一图标大小 */
  width: 20px; /* 统一图标宽度 */
  text-align: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .LearningCreationDropdown-container {
    display: none;
  }
}

/* 确保下拉菜单在导航栏中的位置正确 */
.navigation-tab .LearningCreationDropdown-container {
  margin: 0;
}

/* 下拉菜单激活状态样式 */
.LearningCreationDropdown-trigger.active-link {
  color: #5e35b1 !important;
  font-weight: 700;
  position: relative;
  text-shadow: 0 0 1px rgba(94, 53, 177, 0.3);
  background-color: rgba(126, 87, 194, 0.08);
  border-radius: 8px;
}

.LearningCreationDropdown-trigger.active-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, #9575cd, #5e35b1);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(94, 53, 177, 0.3);
}

/* 学习与创作下拉菜单触发器中的最新徽章样式 */
.LearningCreationDropdown-trigger .new-badge {
  position: absolute;
  top: -8px;
  right: 20px;
  background: linear-gradient(45deg, #4caf50, #2196f3);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
  overflow: hidden;
  animation: new-pulse 2s infinite;
  z-index: 10;
}

.LearningCreationDropdown-trigger .new-badge-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: new-shine 2s infinite;
}

/* 确保徽章不影响下拉箭头的位置 */
.LearningCreationDropdown-trigger {
  position: relative;
  padding-right: 35px;
}

.LearningCreationDropdown-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* 移动端学习与创作导航项样式 */
.mobile-tab-info[href="/cozeTutorial"] {
  position: relative;
}

.mobile-tab-info[href="/cozeTutorial"].mobile-active-link,
.mobile-tab-info[href="/cozeTutorial"]:hover {
  color: #5e35b1;
  font-weight: 700;
  text-shadow: 0 0 1px rgba(94, 53, 177, 0.3);
}

/* 当用户在学习与创作相关页面时，移动端导航项显示激活状态 */
.mobile-tab-info[href="/cozeTutorial"].mobile-active-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, #9575cd, #5e35b1);
  border-radius: 3px 3px 0 0;
}

/* 文档中心下拉菜单紫色风格 */
/* 会员权益下拉菜单样式 */
.MembershipDropdown-container {
  position: relative;
  display: inline-block;
}

.MembershipDropdown-trigger {
  padding: 6px 12px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: visible !important;
  cursor: pointer;
}

.MembershipDropdown-trigger:hover {
  color: #673ab7;
  text-decoration: none;
}

.MembershipDropdown-trigger.active-link {
  color: #5e35b1 !important;
}

.MembershipDropdown-trigger.active-link::after {
  display: none !important;
}

.MembershipDropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(126, 87, 194, 0.15);
  border: 1px solid rgba(126, 87, 194, 0.1);
  min-width: 180px; /* 与其他下拉菜单保持一致 */
  max-width: 220px; /* 限制最大宽度 */
  z-index: 1000;
  padding: 8px 0;
  margin-top: 4px;
  animation: MembershipDropdown-fadeIn 0.3s ease;
}

@keyframes MembershipDropdown-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.MembershipDropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}

.MembershipDropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126, 87, 194, 0.1), transparent);
  transition: left 0.5s ease;
}

.MembershipDropdown-item:hover {
  color: #5e35b1;
  background: rgba(126, 87, 194, 0.08);
  text-decoration: none;
  transform: translateX(4px);
}

.MembershipDropdown-item:hover::before {
  left: 100%;
}

.MembershipDropdown-item.active-dropdown-item {
  color: #5e35b1;
  background: rgba(126, 87, 194, 0.12);
}

.dropdown-item-icon {
  font-size: 16px; /* 统一使用px单位 */
  color: #9575cd;
  width: 20px; /* 与其他下拉菜单保持一致 */
  text-align: center;
  transition: color 0.3s ease;
}

.MembershipDropdown-item:hover .dropdown-item-icon {
  color: #5e35b1;
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.2;
}

.dropdown-item-desc {
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: #9575cd;
  line-height: 1.3;
  opacity: 0.8;
}

.MembershipDropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.MembershipDropdown-container:hover .MembershipDropdown-arrow {
  transform: rotate(180deg);
}

.ApiDocsDropdown-container {
  position: relative;
  display: inline-block;
}
.ApiDocsDropdown-trigger {
  padding: 6px 12px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: visible !important;
  cursor: pointer;
}
.ApiDocsDropdown-trigger:hover {
  color: #5e35b1;
  text-decoration: none;
}
.ApiDocsDropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  margin-left: 4px;
}
.ApiDocsDropdown-container:hover .ApiDocsDropdown-arrow {
  transform: rotate(180deg);
}
.ApiDocsDropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(126, 87, 194, 0.15);
  border: 1px solid rgba(126, 87, 194, 0.1);
  min-width: 180px; /* 统一最小宽度 */
  max-width: 220px; /* 统一最大宽度 */
  z-index: 1000;
  padding: 8px 0;
  margin-top: 4px;
  animation: ApiDocsDropdown-fadeIn 0.3s ease;
}
@keyframes ApiDocsDropdown-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ApiDocsDropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #9575cd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}
.ApiDocsDropdown-item:hover {
  color: #5e35b1;
  background: rgba(126, 87, 194, 0.08);
  text-decoration: none;
  transform: translateX(4px);
}
.ApiDocsDropdown-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #7e57c2;
}
.ApiDocsDropdown-trigger.active-link {
  color: #5e35b1 !important;
  font-weight: 700;
  position: relative;
  text-shadow: 0 0 1px rgba(94, 53, 177, 0.3);
  background-color: rgba(126, 87, 194, 0.08);
  border-radius: 8px;
}
.ApiDocsDropdown-trigger.active-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, #9575cd, #5e35b1);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(94, 53, 177, 0.3);
}
@media (max-width: 768px) {
  .ApiDocsDropdown-container {
    display: none;
  }
}

/* 页面标题样式 - 参考速推学堂 */
.page-title-section {
  padding: 15px 0 10px 0;
  background: linear-gradient(135deg, rgba(94, 53, 177, 0.05) 0%, rgba(126, 87, 194, 0.05) 100%);
  border-bottom: 1px solid rgba(94, 53, 177, 0.1);
  margin-bottom: 10px;
}

.page-title-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-main-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-main-title .title-icon {
  color: #5e35b1;
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(94, 53, 177, 0.3));
}

.page-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-title-section {
    padding: 30px 0 20px 0;
  }
  
  .page-main-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px;
  }
  
  .page-main-title .title-icon {
    font-size: 1.8rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .page-main-title {
    font-size: 1.8rem;
  }
  
  .page-main-title .title-icon {
    font-size: 1.6rem;
  }
  
  .page-subtitle {
    font-size: 0.95rem;
  }
}

/* 导航栏容器样式 */
.navigation-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 18px; /* 贴近你标注的红框左边距 */
  padding-right: 18px;
}

.navigation-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.navigation-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible; /* 确保角标不被裁切 */
}

/* 调整导航标签样式，确保在左侧对齐 */
.navigation-tab {
  flex: 1;
  justify-content: flex-start;
  margin-left: 20px;
  gap: 5px;
}

/* 头像下拉菜单样式 */
.AvatarDropdown-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible; /* 确保角标不被裁切 */
}

.AvatarDropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  overflow: visible; /* 修改为visible以显示角标 */
  margin-right: 40px; /* 向左微调头像整体位置（容器右侧留白） */
}

/* 登录状态下仍保持圆形头像外观 */
.AvatarDropdown-trigger:not(.is-login) {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.AvatarDropdown-trigger:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.AvatarDropdown-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.AvatarDropdown-avatar-placeholder {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #9f7aea, #805ad5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50%;
}

/* 未登录时的登录按钮（替代头像），高端质感 */
.AvatarDropdown-login-button {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 0;
  outline: none;
  background: linear-gradient(135deg, #7c4dff, #5b2be0);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(124, 77, 255, 0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
  opacity: 0.92;
}

.AvatarDropdown-login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(124, 77, 255, 0.45), inset 0 0 0 1px rgba(255,255,255,0.1);
  filter: brightness(1.03);
  opacity: 1;
}

.AvatarDropdown-login-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(124, 77, 255, 0.3), inset 0 0 0 1px rgba(255,255,255,0.08);
  opacity: 0.96;
}

.AvatarDropdown-login-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(124, 77, 255, 0.35), 0 6px 20px rgba(124, 77, 255, 0.35);
}

.AvatarDropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  width: 280px;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  animation: AvatarDropdown-fadeIn 0.3s ease-out;
  overflow: hidden;
}

@keyframes AvatarDropdown-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}





/* 响应式设计 */
@media (max-width: 768px) {
  .navigation-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .navigation-left {
    order: 1;
  }
  
  .navigation-right {
    order: 2;
    justify-content: center;
    margin-top: 10px;
  }
  
  .AvatarDropdown-menu {
    right: -120px;
    width: 260px;
  }
}

/* ===== AvatarDropdown v2 overrides (card look) ===== */
.AvatarDropdown-menu {
  width: 360px; /* 更宽的卡片 */
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05) inset;
  border-radius: 18px;
  z-index: 9999; /* 确保用户悬浮窗在最上层，高于页面内的弹出菜单 */
}

.AvatarDropdown-header {
  padding: 16px 20px 12px 20px;
  background: linear-gradient(180deg, rgba(159, 122, 234, 0.05) 0%, rgba(159, 122, 234, 0.02) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.AvatarDropdown-user-info { /* 头部信息行 */
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.AvatarDropdown-user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(159, 122, 234, 0.3); /* 紫色描边 */
  box-shadow: 0 2px 10px rgba(159, 122, 234, 0.1);
  flex-shrink: 0;
  margin-top: 0;
  position: relative;
}
.AvatarDropdown-user-avatar img{ width:100%; height:100%; object-fit: cover; border-radius: 50%; display:block; -webkit-mask-image: radial-gradient(circle, #000 99%, rgba(0,0,0,0) 100%); mask-image: radial-gradient(circle, #000 99%, rgba(0,0,0,0) 100%);}

.AvatarDropdown-user-avatar-placeholder{
  width:100%; height:100%;
  background: linear-gradient(135deg, #9f7aea, #805ad5);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:22px; font-weight:700;
}

.AvatarDropdown-user-details{ 
  flex:1; 
  min-width: 0; 
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.AvatarDropdown-user-name{ 
  color:#333; 
  font-size:18px; 
  font-weight:700; 
  margin-bottom:0; 
  line-height: 1.2;
}

.AvatarDropdown-user-meta{ 
  display:flex; 
  align-items:center; 
  flex-wrap:wrap; 
  gap:8px; 
  margin-bottom: 4px;
}
.AvatarDropdown-vip-badge{ padding:2px 8px; border-radius:999px; font-size:11px; font-weight:700; }
.AvatarDropdown-vip-badge.is-normal{ background: rgba(159, 122, 234, 0.1); color:#9f7aea; }
.AvatarDropdown-vip-badge.is-vip{ background: rgba(159, 122, 234, 0.15); color:#805ad5; }
.AvatarDropdown-vip-badge.is-svip{ background: linear-gradient(135deg,#FFD54F33,#FFB30033); color:#FFB300; border:1px solid rgba(255,213,79,0.45); position: relative; overflow: hidden; border-radius: 999px; }

/* 余额容器样式 */
.AvatarDropdown-balance-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.AvatarDropdown-balance{ 
  color: #666; 
  font-size:13px; 
  font-weight: 500;
}

.AvatarDropdown-balance.balance-low {
  color: #ff6b6b;
  font-weight: 600;
}

.AvatarDropdown-balance-warning {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.05));
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 6px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.AvatarDropdown-balance-warning:hover {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 107, 107, 0.08));
  border-color: rgba(255, 107, 107, 0.3);
}

.AvatarDropdown-balance-warning span {
  color: #ff6b6b;
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.AvatarDropdown-balance-warning:hover span {
  color: #ff5252;
}

/* 会员状态和续费按钮样式 */
.AvatarDropdown-membership-section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.AvatarDropdown-membership-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.AvatarDropdown-membership-expire {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
  font-size: 12px;
  font-weight: 500;
}

.AvatarDropdown-membership-icon {
  color: #9f7aea;
  font-size: 13px;
}

.AvatarDropdown-renewal-button {
  background: linear-gradient(135deg, #ffd54f, #ffb300);
  color: #333;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(255, 213, 79, 0.3);
  width: 100%;
}

.AvatarDropdown-renewal-button:hover {
  background: linear-gradient(135deg, #ffb300, #ff8f00);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.4);
}

.AvatarDropdown-renewal-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 179, 0, 0.3);
}

.AvatarDropdown-renewal-icon {
  font-size: 13px;
}

.AvatarDropdown-become-member-button {
  background: linear-gradient(135deg, #9f7aea, #805ad5);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(159, 122, 234, 0.3);
  width: 100%;
}

.AvatarDropdown-become-member-button:hover {
  background: linear-gradient(135deg, #805ad5, #6b46c1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(128, 90, 213, 0.4);
}

.AvatarDropdown-become-member-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(128, 90, 213, 0.3);
}

.AvatarDropdown-member-icon {
  font-size: 13px;
}

/* API Token 区域样式 - 独立紧凑版本 */
.AvatarDropdown-api-token-section {
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(159, 122, 234, 0.03);
}

.AvatarDropdown-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.AvatarDropdown-api-token-container {
  margin-top: 4px;
}

.AvatarDropdown-api-token-loading,
.AvatarDropdown-api-token-error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #666;
  font-size: 11px;
}

.AvatarDropdown-api-token-error {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.05);
  border-color: rgba(255, 107, 107, 0.15);
}

.AvatarDropdown-api-token-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.AvatarDropdown-api-token-display {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
  height: 32px;
}

.AvatarDropdown-api-token-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 6px 10px;
  color: #333;
  font-size: 12px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  letter-spacing: 0.3px;
  cursor: pointer;
}

.AvatarDropdown-api-token-input::placeholder {
  color: #999;
}

.AvatarDropdown-api-token-toggle {
  background: rgba(159, 122, 234, 0.1);
  border: none;
  outline: none;
  padding: 6px 10px;
  color: #9f7aea;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.AvatarDropdown-api-token-toggle:hover {
  background: rgba(159, 122, 234, 0.2);
  color: #805ad5;
}

.AvatarDropdown-api-token-toggle:active {
  background: rgba(159, 122, 234, 0.15);
  transform: scale(0.95);
}

.AvatarDropdown-api-token-actions {
  display: flex;
  gap: 6px;
}

.AvatarDropdown-api-token-copy,
.AvatarDropdown-api-token-update {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(159, 122, 234, 0.1);
  border: 1px solid rgba(159, 122, 234, 0.2);
  border-radius: 6px;
  padding: 6px 10px;
  color: #9f7aea;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.AvatarDropdown-api-token-copy:hover,
.AvatarDropdown-api-token-update:hover {
  background: rgba(159, 122, 234, 0.2);
  border-color: rgba(159, 122, 234, 0.3);
  color: #805ad5;
}

.AvatarDropdown-api-token-copy:active,
.AvatarDropdown-api-token-update:active {
  background: rgba(159, 122, 234, 0.15);
  transform: scale(0.95);
}

.AvatarDropdown-api-token-update:disabled {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #999;
  cursor: not-allowed;
  transform: none;
}

.AvatarDropdown-api-token-update:disabled:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #999;
}

/* 卡片与文字排版优化 */
.AvatarDropdown-content {
  padding: 10px 12px 6px 12px;
}

.AvatarDropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; /* 减少间距 */
}

/* 顶部网格与底部操作标签统一外观和尺寸 */
.AvatarDropdown-item,
.AvatarDropdown-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 58px; /* 减少高度 */
  padding: 8px 6px;
  color: #333;
  border-radius: 10px;
  background: rgba(159, 122, 234, 0.05);
  border: 1px solid rgba(159, 122, 234, 0.1);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
}

.AvatarDropdown-item span,
.AvatarDropdown-bottom-item span {
  font-size: 11px; /* 减少字号 */
  font-weight: 600;
  letter-spacing: 0.2px;
}

.AvatarDropdown-item-icon,
.AvatarDropdown-bottom-icon {
  color: #9f7aea;
  font-size: 16px; /* 减少图标大小 */
}

/* 交互反馈统一 */
.AvatarDropdown-item:hover,
.AvatarDropdown-bottom-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  background: rgba(159, 122, 234, 0.08);
  border-color: rgba(159, 122, 234, 0.2);
}

.AvatarDropdown-item:active,
.AvatarDropdown-bottom-item:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-color: rgba(159, 122, 234, 0.3);
}

.AvatarDropdown-item:focus-visible,
.AvatarDropdown-bottom-item:focus-visible {
  outline: none;
  border-color: rgba(159, 122, 234, 0.5);
  box-shadow: 0 0 0 2px rgba(159, 122, 234, 0.2);
}

/* 下方三列布局容器（保持与上方网格一致的间距和内边距） */
.AvatarDropdown-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; /* 与上方网格一致 */
  padding: 8px 12px 10px 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(159, 122, 234, 0.02);
}

/* 退出登录强调但不过分刺眼 */
.AvatarDropdown-bottom-item.logout {
  background: rgba(255, 99, 132, 0.05);
  border-color: rgba(255, 99, 132, 0.15);
}

.AvatarDropdown-bottom-item.logout .AvatarDropdown-bottom-icon {
  color: #ff6b6b;
}

/* SVIP 徽章高光流动效果（仅SVIP保留） */
.AvatarDropdown-vip-badge.is-svip::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,213,79,0.6), transparent);
  animation: svip-shine 2.2s linear infinite;
}

@keyframes svip-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* 头像通知角标样式 */
.AvatarDropdown-avatar-container {
  position: relative;
  display: inline-block;
  z-index: 999;
}

.AvatarDropdown-notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 8px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

/* 下拉菜单项通知角标样式 */
.AvatarDropdown-bottom-item-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
}

.AvatarDropdown-item-notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 8px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
  border: 1px solid #ffffff;
  z-index: 2;
}

/* 用户ID行样式 */
.AvatarDropdown-user-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.AvatarDropdown-user-id-label {
  padding: 2px 6px;
  background: rgba(159, 122, 234, 0.12);
  color: #7e57c2;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.AvatarDropdown-user-id-value {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 12px;
  color: #333;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.AvatarDropdown-copy-id-button {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #9f7aea;
  background: rgba(159, 122, 234, 0.12);
  border: 1px solid rgba(159, 122, 234, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.AvatarDropdown-copy-id-button:hover {
  background: rgba(159, 122, 234, 0.2);
  color: #805ad5;
}

.AvatarDropdown-copy-id-button:active {
  background: rgba(159, 122, 234, 0.15);
  transform: scale(0.98);
}

/* 头像下拉头部行精简布局 */
.AvatarDropdown-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.AvatarDropdown-balance-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.AvatarDropdown-balance-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.AvatarDropdown-balance-points {
  color: #10b981;
  font-size: 11px;
  margin-left: 4px;
  font-weight: 500;
}

.AvatarDropdown-points-row {
  display: flex;
  align-items: center;
}

.AvatarDropdown-points {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

/* 头部与CTA分区视觉分隔与留白 */
.AvatarDropdown-membership-cta {
  padding: 12px 20px 10px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(159, 122, 234, 0.03);
}

.AvatarDropdown-avatar-svip-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #FFD54F, #FFB300);
  color: #333;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 0, 0.5);
  box-shadow: 0 2px 6px rgba(255, 179, 0, 0.35);
  letter-spacing: 0.2px;
}

.AvatarDropdown-avatar-badge {
  position: absolute;
  right: -8px;
  bottom: -8px;
  height: 18px;
  line-height: 18px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  background: #ffffff;
  z-index: 2;
}

.AvatarDropdown-avatar-badge.is-svip {
  background: linear-gradient(135deg, #FFD54F, #FFB300);
  color: #2d2d2d;
  border-color: rgba(255, 179, 0, 0.5);
}

.AvatarDropdown-avatar-badge.is-vip {
  background: linear-gradient(135deg, #9f7aea, #805ad5);
  color: #ffffff;
  border-color: rgba(128, 90, 213, 0.45);
}

.AvatarDropdown-avatar-badge.is-normal {
  background: linear-gradient(135deg, #f2f2f2, #e6e6e6);
  color: #555555;
  border-color: rgba(0,0,0,0.12);
}

/* 包裹头像与徽章的容器：允许徽章溢出显示 */
.AvatarDropdown-user-avatar-wrapper {
  position: relative;
  display: inline-block;
  overflow: visible;
}

/* ===== MembershipModal 弹窗层级设置 ===== */
/* 确保会员弹窗在导航栏(10001)和新版本横幅(10002)之上 */
.modal.membership-modal-wrapper {
  z-index: 10010 !important;
}

.modal.membership-modal-wrapper .modal-backdrop,
.membership-modal-backdrop {
  z-index: 10009 !important;
}

/* ===== PaymentModal 弹窗层级设置 ===== */
/* 确保支付弹窗在导航栏(10001)和新版本横幅(10002)之上 */
.modal.payment-modal-wrapper {
  z-index: 10010 !important;
}

.payment-modal-backdrop {
  z-index: 10009 !important;
}

/* 弹窗内容区域适当下移，避开顶部固定元素 */
.modal-dialog-centered.PaymentModal-dialog-custom {
  margin-top: 60px;
}
.ai-kefu-container {
  position: fixed;
  right: 30px;
  bottom: 100px;
  z-index: 1100;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 加入我们的容器，位于AI客服上方 */
.join-container {
  position: fixed;
  right: 50px;
  bottom: 100px; /* 位于AI客服上方 */
  z-index: 1200;
  transition: all 0.3s ease;
}

/* 加入我们的元素样式 */
.join-element {
  position: relative;
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(126, 87, 194, 0.3);
  transition: all 0.3s ease;
  max-width: 200px;
}

/* 未展开状态 */
.join-element:not(.join-expanded) {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: visible;
  box-shadow: 0 5px 15px rgba(126, 87, 194, 0.5);
}

/* 展开状态 */
.join-element.join-expanded {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(126, 87, 194, 0.4);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.join-element:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(126, 87, 194, 0.4);
  border-radius: 15px;
}

/* 联系我们图标 - 优化版 */
.join-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, #8b5cf6, #6d28d9); /* 更鲜艳的紫色 */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: join-pulse-glow 3s infinite;
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    0 8px 20px rgba(109, 40, 217, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* 添加内部光泽 */
.join-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s ease;
}

.join-element:hover .join-icon::before {
  opacity: 1;
  transform: scale(1);
}

/* 图标悬停效果 */
.join-element:hover .join-icon {
  /* transform: translateY(-2px); */ /* 父元素已有位移 */
  box-shadow: 
    inset 0 2px 6px rgba(255, 255, 255, 0.4),
    0 12px 25px rgba(109, 40, 217, 0.6);
  background: linear-gradient(145deg, #9f7aea, #7c3aed);
}

.join-icon svg {
  font-size: 20px;
  margin-bottom: 2px;
}

.join-text {
  font-size: 10px;
  white-space: nowrap;
  font-weight: 500;
}

.ai-kefu-container:hover {
  transform: scale(1.1);
  animation: none;
}

.ai-kefu-icon {
  width: 200px;
  height: 200px;
}

.ai-kefu-text {
  margin-top: 5px;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 加入我们展开内容 */
.join-expanded-content {
  position: relative;
  display: block;
  width: 200px;
  transition: all 0.3s ease;
}

.join-icon-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.9;
  width: 40px;
  height: 40px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: none;
}

.join-icon-overlay svg {
  font-size: 16px;
  margin-bottom: 1px;
}

.join-icon-overlay .join-text {
  font-size: 9px;
}

.join-image {
  width: 100%;
  display: block;
  border-radius: 15px;
  animation: fadeIn 0.3s ease;
}

.join-close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
  z-index: 2;
}

.join-element:hover .join-close-btn {
  opacity: 1;
}

.join-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

/* 大图预览弹窗 */
.join-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1200;
}

.join-overlay-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.join-overlay-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.join-overlay-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 24px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.join-overlay-close:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: rotate(90deg);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

/* 自定义动画 */
@keyframes join-bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

@keyframes join-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 87, 194, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(126, 87, 194, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(126, 87, 194, 0);
  }
}

@keyframes join-pulse-glow {
  0% {
    box-shadow: 
      inset 0 2px 4px rgba(255, 255, 255, 0.3),
      0 0 0 0 rgba(139, 92, 246, 0.6);
  }
  70% {
    box-shadow: 
      inset 0 2px 4px rgba(255, 255, 255, 0.3),
      0 0 0 15px rgba(139, 92, 246, 0);
  }
  100% {
    box-shadow: 
      inset 0 2px 4px rgba(255, 255, 255, 0.3),
      0 0 0 0 rgba(139, 92, 246, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .ai-kefu-icon {
    width: 80px;
    height: 80px;
  }
  
  .ai-kefu-container {
    right: 20px;
    bottom: 90px;
  }
  
  /* 移动端下join-container的位置 */
  .join-container {
    right: 20px;
    bottom: 180px; /* 位于移动端AI客服上方 */
  }
  
  .join-element {
    max-width: 150px;
  }
  
  .join-element:not(.join-expanded) {
    width: 45px;
    height: 45px;
  }
  
  .join-icon {
    width: 45px;
    height: 45px;
    padding: 6px;
  }
  
  .join-icon svg {
    font-size: 18px;
    margin-bottom: 1px;
  }
  
  .join-text {
    font-size: 9px;
  }
  
  .join-expanded-content {
    width: 150px;
  }
  
  .join-icon-overlay {
    width: 35px;
    height: 35px;
    padding: 5px;
    top: 8px;
    right: 8px;
  }
  
  .join-close-btn {
    opacity: 1; /* 在移动端始终显示关闭按钮 */
  }
  
  .ai-kefu-text {
    font-size: 12px;
    padding: 1px 8px;
  }
}

@media (max-width: 576px) {
  .join-element {
    max-width: 120px;
  }
  
  .join-expanded-content {
    width: 120px;
  }
}

/* 官方直播容器 */
.live-container {
  position: fixed;
  right: 50px;
  bottom: 160px; /* 位于"加入我们"上方 */
  z-index: 1200;
  transition: all 0.3s ease;
}

/* 直播元素基本样式 */
.live-element {
  position: relative;
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(126, 87, 194, 0.3);
  transition: all 0.3s ease;
  max-width: 350px;
  animation: live-pulse 2s infinite alternate;
}

/* 未展开状态 */
.live-element:not(.live-expanded) {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: visible;
  box-shadow: 0 5px 15px rgba(126, 87, 194, 0.5);
}

/* 展开状态 */
.live-element.live-expanded {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(126, 87, 194, 0.4);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.live-element:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(126, 87, 194, 0.4);
  border-radius: 15px;
}

/* 直播图标 */
.live-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #9c27b0, #673ab7);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 8px;
  transition: all 0.3s ease;
  animation: live-glow 1.5s infinite alternate;
  box-shadow: 0 5px 15px rgba(156, 39, 176, 0.5);
  position: relative;
}

.live-icon::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #ff1744;
  border-radius: 50%;
  top: 10px;
  right: 10px;
  animation: live-blink 1s infinite;
}

.live-icon svg {
  font-size: 22px;
  margin-bottom: 2px;
}

.live-text {
  font-size: 10px;
  white-space: nowrap;
  font-weight: 500;
}

/* 展开内容 */
.live-expanded-content {
  background: linear-gradient(135deg, #ffffff, #f3e5f5);
  border-radius: 15px;
  padding: 15px;
  width: 360px;
  box-shadow: 0 10px 30px rgba(156, 39, 176, 0.3);
  animation: fadeIn 0.3s ease;
}

.live-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(156, 39, 176, 0.2);
}

.live-header span {
  font-weight: 600;
  font-size: 16px;
  background: linear-gradient(135deg, #9c27b0, #673ab7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 10px;
}

.live-pulse-icon {
  color: #ff1744;
  animation: live-blink 1s infinite;
}

.live-content {
  display: flex;
}

.live-text-container {
  flex: 1;
  padding-right: 10px;
}

.live-text-container h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, #9c27b0, #673ab7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.live-features {
  padding-left: 20px;
  margin: 10px 0;
  list-style-type: none;
}

.live-features li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #424242;
  position: relative;
  padding-left: 5px;
}

.live-features li svg {
  color: #9c27b0;
  margin-right: 8px;
}

.live-cta {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #ff1744;
  animation: live-highlight 2s infinite alternate;
}

.live-qrcode {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  /* border: 3px solid #ffffff;
  background: white; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.live-qrcode::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(156, 39, 176, 0.1) 100%);
  pointer-events: none;
}

.live-qrcode-image {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* 大图预览弹窗 - 直播 */
.live-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1200;
}

.live-overlay-content {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slideIn 0.3s ease;
}

.live-overlay-header {
  text-align: center;
  margin-bottom: 20px;
}

.live-overlay-header h2 {
  font-size: 24px;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, #9c27b0, #673ab7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.live-overlay-header p {
  font-size: 16px;
  color: #616161;
  margin: 0;
}

.live-overlay-image {
  width: 200px;
  height: 200px;
  margin: 10px 0 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(156, 39, 176, 0.3);
  /* padding: 10px; */
  /* background: white; */
  /* border: 3px solid #f3e5f5; */
}

.live-overlay-description {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(156, 39, 176, 0.2);
}

.live-overlay-description h3 {
  font-size: 18px;
  margin: 0 0 15px 0;
  color: #424242;
}

.live-overlay-description ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.live-overlay-description li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #616161;
  display: flex;
  align-items: center;
}

.live-overlay-description li svg {
  color: #9c27b0;
  margin-right: 12px;
  font-size: 18px;
}

.live-overlay-cta {
  font-size: 18px;
  font-weight: 600;
  color: #ff1744;
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.05), rgba(103, 58, 183, 0.1));
  border-radius: 10px;
  animation: live-highlight 2s infinite alternate;
}

.live-overlay-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9c27b0, #673ab7);
  color: white;
  font-size: 24px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

.live-overlay-close:hover {
  transform: rotate(90deg);
  box-shadow: 0 5px 15px rgba(156, 39, 176, 0.6);
}

/* 动画 */
@keyframes live-pulse {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}

@keyframes live-glow {
  0% {
    box-shadow: 0 0 5px rgba(156, 39, 176, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.8);
  }
}

@keyframes live-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes live-highlight {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.4);
  }
}

@keyframes slideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 媒体查询 */
@media (max-width: 768px) {
  .live-container {
    right: 30px;
    bottom: 100px;
  }
  
  .live-element:not(.live-expanded) {
    width: 50px;
    height: 50px;
  }
  
  .live-icon {
    width: 50px;
    height: 50px;
  }
  
  .live-expanded-content {
    width: 300px;
  }
  
  .live-icon svg {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .live-element {
    max-width: 280px;
  }
  
  .live-expanded-content {
    width: 280px;
  }
  
  .live-content {
    flex-direction: column;
  }
  
  .live-qrcode {
    margin-top: 15px;
    align-self: center;
  }
  
  .live-text-container {
    padding-right: 0;
  }
}

/* 加载动画 */
.loading-spinner-live {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(156, 39, 176, 0.1);
  border-top-color: #9c27b0;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

.loading-spinner-live.large {
  width: 60px;
  height: 60px;
  border-width: 4px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 微信图标样式 */
.wechat-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
  display: inline-block;
}

.live-overlay-header p .wechat-icon {
  width: 20px;
  height: 20px;
}

.live-overlay-cta .wechat-icon {
  width: 22px;
  height: 22px;
}

/* 加载动画 */
.loading-spinner-join {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(156, 39, 176, 0.1);
  border-top-color: #9c27b0;
  animation: spin 1s linear infinite;
  margin: 20px auto;
} 

/* 每日签到容器，位于加入社群上方 */
.checkin-container {
  position: fixed;
  right: 50px;
  bottom: 120px; /* 位于加入社群上方 */
  z-index: 1200;
  transition: all 0.3s ease;
}

/* 每日签到元素样式 */
.checkin-element {
  position: relative;
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
  max-width: 200px;
}

/* 未展开状态 */
.checkin-element:not(.checkin-expanded) {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: visible;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.5);
}

/* 展开状态 */
.checkin-element.checkin-expanded {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.checkin-element:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
  border-radius: 15px;
}

/* 每日签到图标 */
.checkin-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4caf50, #2196f3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 8px;
  transition: all 0.3s ease;
  animation: checkin-pulse 2s infinite;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.5);
}

.checkin-icon svg {
  font-size: 20px;
  margin-bottom: 2px;
}

.checkin-text {
  font-size: 10px;
  white-space: nowrap;
  font-weight: 500;
}

/* 展开内容 */
.checkin-expanded-content {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.1);
  animation: slideIn 0.3s ease;
}

.checkin-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.checkin-text-container h3 {
  color: #4caf50;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px 0;
  text-shadow: 0 0 1px rgba(76, 175, 80, 0.3);
}

.checkin-text-container p {
  color: #666;
  font-size: 14px;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.checkin-features {
  margin: 15px 0;
}

.checkin-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkin-features li {
  color: #555;
  font-size: 12px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkin-features li svg {
  color: #4caf50;
  font-size: 14px;
}

.checkin-cta {
  background: linear-gradient(135deg, #4caf50, #2196f3);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.checkin-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.checkin-cta svg {
  font-size: 16px;
}

/* 动画效果 */
@keyframes checkin-bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-3px);
  }
}

@keyframes checkin-pulse {
  0%, 100% {
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.5);
  }
  50% {
    box-shadow: 0 5px 25px rgba(76, 175, 80, 0.8);
  }
}

/* 每日签到卡片排版优化 */
.checkin-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.checkin-title-icon {
  color: #4caf50;
  font-size: 22px;
}

.checkin-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 0;
  letter-spacing: 1px;
}

.checkin-reward-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 10px 0 16px 0;
}

.checkin-reward-label {
  font-size: 13px;
  color: #888;
}

.checkin-reward-amount {
  font-size: 26px;
  color: #4caf50;
  font-weight: bold;
  margin: 0 2px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(76,175,80,0.12);
}

.checkin-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkin-feature-list li {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #555;
  gap: 7px;
}

.checkin-feature-icon {
  color: #2196f3;
  font-size: 15px;
}

.checkin-cta-btn {
  background: linear-gradient(90deg, #4caf50 60%, #2196f3 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.18);
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.checkin-cta-btn:hover {
  background: linear-gradient(90deg, #2196f3 0%, #4caf50 100%);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.25);
  transform: translateY(-2px) scale(1.04);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .checkin-container {
    right: 20px;
    bottom: 140px;
  }

  .checkin-element:not(.checkin-expanded) {
    width: 50px;
    height: 50px;
  }

  .checkin-icon {
    width: 50px;
    height: 50px;
  }

  .checkin-icon svg {
    font-size: 18px;
  }

  .checkin-text {
    font-size: 9px;
  }

  .checkin-expanded-content {
    padding: 15px;
  }

  .checkin-text-container h3 {
    font-size: 16px;
  }

  .checkin-text-container p {
    font-size: 12px;
  }

  .checkin-features li {
    font-size: 11px;
  }

  .checkin-cta {
    padding: 8px 16px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .checkin-element {
    max-width: 180px;
  }

  .checkin-expanded-content {
    padding: 12px;
  }

  .checkin-content {
    gap: 10px;
  }

  .checkin-features {
    margin: 10px 0;
  }

  .checkin-cta {
    padding: 6px 12px;
    font-size: 11px;
  }
} 
/* ===== 新版推广横幅样式 ===== */

.new-version-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 200% 100%;
  animation: banner-gradient 3s ease infinite;
  color: white;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.new-version-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes banner-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.new-version-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.new-version-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 14px;
  animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.new-version-banner-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.new-version-banner-text strong {
  font-weight: 600;
}

.new-version-banner-desc {
  opacity: 0.9;
}

.new-version-banner-try-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.new-version-banner-try-btn:hover {
  background: white;
  color: #667eea;
  border-color: white;
  transform: translateY(-1px);
}

.new-version-banner-try-btn svg {
  font-size: 11px;
  transition: transform 0.2s;
}

.new-version-banner-try-btn:hover svg {
  transform: translateX(3px);
}

/* 当 banner 显示时，调整老版本页面的导航栏位置 */
/* 注意：.content 的 margin-top 已通过 CSS 变量在 index.css 中统一处理 */
.app.has-new-version-banner .navigation {
  top: var(--banner-height);
  padding-top: 12px; /* 为导航栏角标（如"火爆"、"Beta"等）留出空间 */
}

.app.has-new-version-banner .mobile-content {
  margin-top: var(--banner-height);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .new-version-banner {
    padding: 12px 16px;
  }
  
  /* 移动端 banner 高度已通过 CSS 变量在 index.css 中统一处理 */
  /* --banner-height 在移动端会自动更新为 52px */
  
  .new-version-banner-content {
    gap: 10px;
  }
  
  .new-version-banner-icon {
    display: none;
  }
  
  .new-version-banner-text {
    font-size: 13px;
    text-align: center;
  }
  
  .new-version-banner-desc {
    display: none;
  }
  
  .new-version-banner-try-btn {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* 确保会员弹窗在导航栏(10001)和新版本横幅(10002)之上 */
/* Modal 整体层级设置 */
.modal:has(.MembershipModal-dialog-custom) {
  z-index: 10010 !important;
}

/* Modal Dialog Customization */
.MembershipModal-dialog-custom {
  max-width: none;
  width: auto;
  min-width: fit-content;
  margin: auto;
  z-index: 10010;
}

/* Ensure modal is centered both horizontally and vertically */
.modal-dialog-centered.MembershipModal-dialog-custom {
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-height: calc(100vh - 1rem);
  overflow-y: auto;
  padding: 0.5rem;
}

/* Modal Content - Make it adaptive */
.MembershipModal-dialog-custom .modal-content {
  width: auto;
  max-width: none;
  height: auto;
  min-height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.MembershipModal-container {
  background: white;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: fit-content;
  max-width: 100%;
  height: auto;
  min-height: auto;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  z-index: 10011;
}

/* Header Section */
.MembershipModal-header-bg {
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
  padding: 20px 24px;
  color: white;
  border-radius: 16px 16px 0 0;
}

.header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.user-profile-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.user-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.user-name-text {
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.cert-badge {
  background: #ff4d4f !important;
  color: white !important;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
}

.plus-icon {
  margin-right: 2px;
}

.login-method {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.invoice-service {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.close-btn-custom {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.close-btn-custom:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Promo Banner */
.header-promo-banner {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 15px;
  text-align: center;
}

.promo-text-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.promo-1111 {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.promo-countdown {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
}

/* Tabs */
.modal-tabs-custom {
  display: flex;
  gap: 0;
  border-bottom: none;
  margin-top: 15px;
}

.tab-item {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  border: 2px solid transparent;
  border-bottom: none;
  position: relative;
  margin-bottom: -2px;
}

.tab-item:hover {
  background: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.95);
}

.tab-item.active {
  background: white;
  color: #845ef7;
  font-weight: 600;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-bottom: none;
  z-index: 2;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  padding: 16px 22px;
}

.tab-item.active::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: white;
  z-index: 1;
}

/* Second tab (WPS大会员) special styling */
.tab-item:nth-child(2) {
  background: rgba(255, 240, 246, 0.3);
}

.tab-item:nth-child(2):hover {
  background: rgba(255, 240, 246, 0.5);
}

.tab-item:nth-child(2).active {
  background: #fff0f6;
  border-color: rgba(255, 240, 246, 0.9);
  color: #845ef7;
}

.tab-icon-wrapper-dark {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-icon-gold {
  color: #fcc419;
}

.tab-badge {
  font-size: 10px;
  padding: 2px 6px;
  margin-left: 4px;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%) !important;
  color: white !important;
  border: none;
}

/* Body Content */
.MembershipModal-body-content {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  align-items: flex-start;
  gap: 0;
  height: auto;
  min-height: auto;
  max-height: calc(100vh - 250px);
  padding-right: 8px;
}

.body-left-panel {
  flex: 1.2;
  min-width: 0;
  max-width: none;
  background: #f5f5f5;
  padding: 24px;
  overflow: visible;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Membership Cards Container */
.membership-cards-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  min-width: fit-content;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
}

/* Membership Card */
.membership-card {
  flex: 0 0 auto;
  width: 300px;
  min-width: 280px;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  height: auto;
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.membership-card.selected {
  border-color: #845ef7;
  box-shadow: 0 8px 24px rgba(132, 94, 247, 0.3);
}

/* Card Ribbon (限时特惠) */
.card-ribbon {
  position: absolute;
  top: 16px;
  right: -8px;
  background: #ff4d4f;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 16px;
  transform: rotate(45deg);
  transform-origin: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Card Header */
.card-header {
  display: flex;
  /* flex-direction: column; */
  /* align-items: center; */
  margin-bottom: 20px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin-bottom: 12px;
}

.card-icon.svip-icon {
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
}

.card-icon.vip-icon {
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #343a40;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Card Pricing */
.card-pricing {
  text-align: center;
  margin-bottom: 24px;
  min-width: 0;
}

.current-price {
  font-size: 36px;
  font-weight: bold;
  color: #845ef7;
  margin-bottom: 8px;
  line-height: 1;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.original-price {
  font-size: 14px;
  color: #adb5bd;
  text-decoration: line-through;
}

.discount-tag {
  background: #fab005;
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* Card Benefits */
.card-benefits {
  flex: 1;
  margin-bottom: 20px;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #495057;
  line-height: 1.5;
  min-width: 0;
}

.check-icon {
  color: #51cf66;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.benefit-text {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.highlight-text {
  color: #845ef7;
  font-weight: 600;
}

.exclusive-badge {
  background: #ff4d4f;
  color: white;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 4px;
  flex-shrink: 0;
}

/* Card Action Button */
.card-action-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.card-action-btn.svip-btn {
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
}

.card-action-btn.vip-btn {
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
}

.card-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(132, 94, 247, 0.4);
}

/* Right Panel */
.body-right-panel {
  flex: 0 0 380px;
  min-width: 320px;
  max-width: 380px;
  background: #fff;
  border-left: 1px solid #e9ecef;
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding-right: 16px;
  max-height: 100%;
}

/* Custom Scrollbar for right panel */
.body-right-panel::-webkit-scrollbar {
  width: 6px;
}

.body-right-panel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.body-right-panel::-webkit-scrollbar-thumb {
  background: #b197fc;
  border-radius: 10px;
}

.body-right-panel::-webkit-scrollbar-thumb:hover {
  background: #845ef7;
}

/* Custom Scrollbar for body content */
.MembershipModal-body-content::-webkit-scrollbar {
  width: 6px;
}

.MembershipModal-body-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.MembershipModal-body-content::-webkit-scrollbar-thumb {
  background: #b197fc;
  border-radius: 10px;
}

.MembershipModal-body-content::-webkit-scrollbar-thumb:hover {
  background: #845ef7;
}

/* Union Member Banner */
.union-member-banner {
  background: linear-gradient(to right, #fff0f6, #ffe3e3);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #ffc9c9;
}

.union-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.union-title {
  color: #e03131;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
}

.union-subtitle {
  font-size: 12px;
  color: #868e96;
  display: flex;
  align-items: center;
  gap: 5px;
}

.check-link {
  color: #e03131;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

/* Order Section */
.order-section {
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 16px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
  color: #495057;
}

.coupon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
}

.coupon-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #495057;
}

.coupon-icon {
  font-size: 14px;
}

.coupon-right {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.inflation-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
  flex-wrap: wrap;
}

.inflation-badge {
  font-size: 11px;
  padding: 4px 8px;
}

.inflation-text {
  font-size: 12px;
  color: #495057;
  flex: 1;
}

.highlight {
  color: #845ef7;
  font-weight: 600;
}

.free-inflation-btn {
  font-size: 11px;
  padding: 4px 10px;
}

.welfare-section {
  margin-top: 16px;
}

.welfare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #495057;
}

.activate-link {
  color: #845ef7;
  cursor: pointer;
  font-size: 12px;
}

.welfare-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

.custom-radio {
  margin: 0;
}

.welfare-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #495057;
}

.welfare-icon {
  width: 24px;
  height: 24px;
  background: #845ef7;
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.welfare-price {
  font-size: 14px;
  font-weight: 600;
  color: #495057;
}

/* Payment Footer */
.payment-footer {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Invoice Checkbox Style */
.invoice-check {
  margin-bottom: 0;
}

.invoice-check .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.invoice-check .form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid #845ef7;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0;
  flex-shrink: 0;
}

.invoice-check .form-check-input:checked {
  background-color: #845ef7;
  border-color: #845ef7;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.invoice-check .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(132, 94, 247, 0.25);
}

.invoice-check .form-check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #343a40;
  cursor: pointer;
  margin-left: 0;
}

.invoice-check .text-muted {
  color: #adb5bd !important;
  font-size: 12px;
}

/* Price Display */
.total-price-row {
  margin-bottom: 0;
  text-align: left;
}

.price-display {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.price-display .currency {
  font-size: 36px;
  color: #845ef7;
  font-weight: bold;
  line-height: 1;
}

.price-display .amount {
  font-size: 52px;
  color: #845ef7;
  font-weight: bold;
  line-height: 1;
}

.saved-badge {
  font-size: 13px;
  padding: 6px 14px;
  margin-left: 12px;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%) !important;
  color: white !important;
  border: none;
  border-radius: 18px;
  font-weight: 600;
  white-space: nowrap;
}

/* Pay Now Button */
.pay-now-btn {
  width: 100%;
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 0;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(132, 94, 247, 0.3);
  letter-spacing: 0.5px;
}

.pay-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132, 94, 247, 0.4);
  background: linear-gradient(135deg, #9c88fb 0%, #7646f5 100%);
}

.pay-now-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(132, 94, 247, 0.3);
}

/* Agreement Checkbox Style */
.agreement-row {
  font-size: 12px;
  margin-bottom: 0;
}

.agreement-row .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agreement-row .form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid #845ef7;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.agreement-row .form-check-input:checked {
  background-color: #845ef7;
  border-color: #845ef7;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.agreement-row .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(132, 94, 247, 0.25);
}

.agreement-row .form-check-label {
  margin-left: 0;
  cursor: pointer;
}

.agreement-text {
  color: #343a40;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.5;
}

.agreement-text a {
  color: #343a40;
  text-decoration: none;
  font-weight: 500;
}

.agreement-text a:hover {
  color: #845ef7;
  text-decoration: underline;
}

.agreement-text .text-muted {
  color: #adb5bd !important;
  font-size: 11px;
}

/* Responsive */
@media (max-width: 1600px) {
  .MembershipModal-dialog-custom {
    max-width: 95vw;
    width: auto;
    min-width: fit-content;
  }
  
  .MembershipModal-container {
    width: auto;
    max-width: 100%;
  }
  
  .MembershipModal-dialog-custom .modal-content {
    max-width: 100%;
  }
}

@media (max-width: 1400px) {
  .membership-cards-container {
    gap: 16px;
  }
  
  .membership-card {
    width: 280px;
    min-width: 260px;
    padding: 20px;
  }
  
  .body-right-panel {
    flex: 0 0 340px;
    min-width: 300px;
  }
}

@media (max-width: 1200px) {
  .membership-cards-container {
    gap: 12px;
  }
  
  .membership-card {
    width: 260px;
    min-width: 240px;
    padding: 18px;
  }
  
  .body-right-panel {
    flex: 0 0 320px;
    min-width: 280px;
  }
}

@media (max-width: 992px) {
  .MembershipModal-body-content {
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 0 1 auto;
    height: auto;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .body-left-panel {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
  }
  
  .body-right-panel {
    flex: 0 0 320px;
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
  }
  
  .membership-cards-container {
    flex-direction: row;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    min-width: fit-content;
  }
  
  .membership-card {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .MembershipModal-dialog-custom {
    max-width: 95vw;
    width: auto;
    margin: 0.5rem;
  }
  
  .MembershipModal-dialog-custom .modal-content {
    max-width: 100%;
  }
  
  .MembershipModal-container {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 90vh;
    overflow: hidden;
  }
  
  .MembershipModal-body-content {
    flex-direction: column;
    flex: 0 1 auto;
    height: auto;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .body-left-panel {
    flex: 1;
    width: 100%;
    overflow-x: auto;
  }
  
  .body-right-panel {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    border-left: none;
    border-top: 1px solid #e9ecef;
  }
}

@media (max-width: 768px) {
  .membership-cards-container {
    flex-direction: column;
    align-items: center;
  }
  
  .membership-card {
    flex: 1;
    max-width: 100%;
    width: 100%;
  }
}

/* ===== Recharge Page Styles ===== */
.recharge-page-content {
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: visible;
}

/* Top Banner - Customer Service Benefits */
.recharge-banner {
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
  border-radius: 12px;
  padding: 16px 20px;
  color: white;
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.banner-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.banner-desc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.banner-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner-desc-highlight {
  font-size: 14px;
  color: white;
  margin: 0;
  text-decoration: underline;
  text-decoration-color: #fcc419;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.banner-icon {
  color: #fcc419;
  font-size: 16px;
}

.banner-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qrcode-panel {
  background: rgba(99, 66, 241, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.qrcode-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.qrcode-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #845ef7;
  font-size: 40px;
}

.qrcode-avatar {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  background: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.qrcode-label {
  font-size: 12px;
  color: white;
  font-weight: 500;
}

/* Recharge Offers */
.recharge-offers {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.offers-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #343a40;
}

.offers-icon {
  color: #845ef7;
}

.offers-cards {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.offer-card {
  flex: 1;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.offer-card.highlight {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
  border-color: #fcc419;
}

.offer-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: #ff4d4f;
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: bold;
}

.offer-amount {
  font-size: 16px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 4px;
}

.offer-bonus {
  font-size: 13px;
  color: #845ef7;
  font-weight: 500;
}

.offers-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ff4d4f;
  padding: 6px 8px;
  background: #fff5f5;
  border-radius: 6px;
}

.warning-icon {
  font-size: 14px;
}

/* Bottom Section */
.recharge-bottom-section {
  display: flex;
  gap: 12px;
}

.balance-section {
  flex: 0 0 280px;
  height: 300px;
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(132, 94, 247, 0.3);
  display: flex;
  flex-direction: column;
}

.balance-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  color: white;
}

.balance-icon {
  color: white;
  font-size: 18px;
}

.balance-amount {
  font-size: 36px;
  font-weight: bold;
  color: white;
  /* margin-bottom: 8px; */
  line-height: 1;
}

.balance-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 11px;
  color: white;
  line-height: 1.2;
  background: rgba(99, 66, 241, 0.4);
  padding: 5px 7px;
  border-radius: 8px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.note-icon {
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}

.recharge-details-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: visible;
  padding-right: 0;
}

/* Custom Scrollbar for recharge details section */
.recharge-details-section::-webkit-scrollbar {
  width: 6px;
}

.recharge-details-section::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.recharge-details-section::-webkit-scrollbar-thumb {
  background: #b197fc;
  border-radius: 10px;
}

.recharge-details-section::-webkit-scrollbar-thumb:hover {
  background: #845ef7;
}

.recharge-amount-section,
.payment-method-section {
  background: white;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #343a40;
}

.section-icon {
  color: #845ef7;
}

.amount-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.amount-option {
  flex: 1;
  min-width: 100px;
  padding: 10px 14px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #343a40;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  text-align: center;
}

.amount-option:hover {
  border-color: #845ef7;
  background: #f3e8ff;
}

.amount-option.selected {
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
  border-color: #845ef7;
  color: white;
}

.check-mark {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 12px;
}

.billing-details-link {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: none;
  box-shadow: none;
}

.link-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.link-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
  border-radius: 8px;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(132, 94, 247, 0.2);
}

.link-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.link-title {
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 2px;
  line-height: 1.3;
}

.link-desc {
  font-size: 12px;
  color: #868e96;
  line-height: 1.4;
}

.link-btn {
  white-space: nowrap;
  background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(132, 94, 247, 0.2);
}

.link-btn:hover {
  background: linear-gradient(135deg, #9c88fb 0%, #7646f5 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(132, 94, 247, 0.3);
}

.link-btn svg {
  font-size: 12px;
}

.payment-options {
  display: flex;
  gap: 10px;
}

.payment-option {
  flex: 1;
  padding: 12px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.payment-option:hover {
  border-color: #845ef7;
  background: #f3e8ff;
}

.payment-option.selected {
  background: white;
  border-color: #845ef7;
  border-width: 2px;
}

.payment-option img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.payment-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: #51cf66;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

.recharge-btn {
  width: 100%;
  /* background: linear-gradient(135deg, #b197fc 0%, #845ef7 100%); */
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* box-shadow: 0 4px 12px rgba(132, 94, 247, 0.3); */
  transition: all 0.3s;
}

.recharge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132, 94, 247, 0.4);
  background: linear-gradient(135deg, #9c88fb 0%, #7646f5 100%);
}

.btn-icon {
  font-size: 18px;
}

/* Responsive for Recharge Page */
@media (max-width: 1200px) {
  .recharge-bottom-section {
    flex-direction: column;
  }
  
  .balance-section {
    flex: 1;
    width: 100%;
  }
}

/* PaymentModal Dialog Customization */
/* z-index 设为 10010，确保高于导航栏(10001)和新版本横幅(10002) */
.PaymentModal-dialog-custom {
  max-width: none;
  width: auto;
  min-width: fit-content;
  margin: auto;
  z-index: 10010;
}

.modal-dialog-centered.PaymentModal-dialog-custom {
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-height: calc(100vh - 1rem);
  overflow-y: auto;
  padding: 0.5rem;
}

.PaymentModal-dialog-custom .modal-content {
  width: auto;
  max-width: none;
  height: auto;
  min-height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.PaymentModal-container {
  background: white;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: fit-content;
  max-width: 100%;
  height: auto;
  min-height: auto;
  max-height: 95vh;
  overflow: hidden;
  position: relative;
  z-index: 10011;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Header Section */
.PaymentModal-header-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 16px 20px;
  color: white;
  border-radius: 16px 16px 0 0;
}

.PaymentModal-header-bg .header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.PaymentModal-header-bg .user-profile-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.PaymentModal-header-bg .user-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.PaymentModal-header-bg .user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.PaymentModal-header-bg .user-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.PaymentModal-header-bg .user-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.PaymentModal-header-bg .user-name-text {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.PaymentModal-header-bg .user-vip-expire {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.PaymentModal-header-bg .user-assets-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.PaymentModal-header-bg .asset-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.PaymentModal-header-bg .asset-item svg {
  font-size: 12px;
  color: #ffd700;
}

.PaymentModal-header-bg .asset-divider {
  color: rgba(255, 255, 255, 0.4);
}

.PaymentModal-header-bg .vip-badge.normal {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.PaymentModal-header-bg .vip-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.PaymentModal-header-bg .vip-badge.svip {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  color: #333;
}

.PaymentModal-header-bg .vip-badge.vip {
  background: linear-gradient(135deg, #845ef7 0%, #b197fc 100%);
  color: white;
}

.PaymentModal-header-bg .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.PaymentModal-header-bg .close-btn-custom {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
}

.PaymentModal-header-bg .close-btn-custom:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

/* Promo Banner - 优化后的倒计时横幅 */
.PaymentModal-header-bg .header-promo-banner {
  background: linear-gradient(90deg, rgba(255, 68, 68, 0.9) 0%, rgba(255, 107, 157, 0.9) 100%);
  border-radius: 10px;
  padding: 8px 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.PaymentModal-header-bg .promo-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.PaymentModal-header-bg .promo-fire-icon {
  font-size: 20px;
  color: #ffd700;
  animation: fireFlicker 0.5s ease-in-out infinite alternate;
}

@keyframes fireFlicker {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.1); opacity: 0.8; }
}

.PaymentModal-header-bg .promo-title {
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.PaymentModal-header-bg .promo-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.PaymentModal-header-bg .countdown-icon {
  font-size: 14px;
  color: white;
}

.PaymentModal-header-bg .countdown-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.PaymentModal-header-bg .countdown-numbers {
  display: flex;
  align-items: center;
  gap: 2px;
}

.PaymentModal-header-bg .countdown-num {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  min-width: 28px;
  text-align: center;
  font-family: 'SF Mono', monospace;
}

.PaymentModal-header-bg .countdown-sep {
  color: white;
  font-weight: bold;
  margin: 0 2px;
}

/* Tab导航 - 独立区域 */
.PaymentModal-tabs-container {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.PaymentModal-tab-item {
  flex: 1;
  padding: 14px 24px;
  background: transparent;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.PaymentModal-tab-item:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.PaymentModal-tab-item.active {
  color: #667eea;
  font-weight: 600;
  border-bottom: 3px solid #667eea;
  background: white;
}

.PaymentModal-tab-icon {
  color: #999;
  font-size: 15px;
}

.PaymentModal-tab-item:hover .PaymentModal-tab-icon,
.PaymentModal-tab-item.active .PaymentModal-tab-icon {
  color: #667eea;
}

.PaymentModal-tab-icon-gold {
  color: #ffc107;
  font-size: 15px;
}

/* Body Content */
.PaymentModal-body-content {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  align-items: flex-start;
  gap: 0;
  height: auto;
  min-height: auto;
  max-height: calc(100vh - 200px);
  background: #f8f9fa;
}

/* ===== Recharge Page Styles ===== */
.recharge-page-content {
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: visible;
  min-width: 900px;
}

.recharge-banner {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
  border-radius: 12px;
  padding: 18px 24px;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.recharge-banner .banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.recharge-banner .banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.recharge-banner .banner-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.recharge-banner .banner-desc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.recharge-banner .banner-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recharge-banner .banner-desc-highlight {
  font-size: 14px;
  color: white;
  margin: 0;
  text-decoration: underline;
  text-decoration-color: #ffd700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.recharge-banner .banner-icon {
  color: #ffd700;
  font-size: 16px;
}

.recharge-banner .banner-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recharge-banner .qrcode-panel {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.recharge-banner .qrcode-wrapper {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.recharge-banner .qrcode-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b9d;
  font-size: 36px;
}

.recharge-banner .qrcode-label {
  font-size: 12px;
  color: white;
  font-weight: 500;
}

/* Recharge Offers */
.recharge-offers {
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.recharge-offers .offers-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #343a40;
}

.recharge-offers .offers-icon {
  color: #ff6b9d;
  font-size: 18px;
}

.recharge-offers .offers-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.recharge-offers .offer-card {
  flex: 1;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.recharge-offers .offer-card:hover {
  border-color: #ff6b9d;
  transform: translateY(-2px);
}

.recharge-offers .offer-card.highlight {
  background: linear-gradient(135deg, #fff5f8 0%, #ffe8ef 100%);
  border-color: #ff6b9d;
}

.recharge-offers .offer-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background: linear-gradient(135deg, #ff4d4f 0%, #ff6b9d 100%);
  color: white;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: bold;
}

.recharge-offers .offer-amount {
  font-size: 17px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 6px;
}

.recharge-offers .offer-bonus {
  font-size: 14px;
  color: #ff6b9d;
  font-weight: 500;
}

.PaymentModal-container .recharge-offers .offers-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ff4d4f;
  padding: 8px 12px;
  background: #fff5f5;
  border-radius: 8px;
}

.PaymentModal-container .recharge-offers .warning-icon {
  font-size: 14px;
}

/* Bottom Section */
.recharge-bottom-section {
  display: flex;
  gap: 16px;
}

.PaymentModal-container .recharge-bottom-section .balance-section {
  flex: 0 0 260px;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
  display: flex;
  flex-direction: column;
}

.PaymentModal-container .recharge-bottom-section .balance-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: white;
}

.PaymentModal-container .recharge-bottom-section .balance-icon {
  color: white;
  font-size: 18px;
}

.PaymentModal-container .recharge-bottom-section .balance-amount {
  font-size: 40px;
  font-weight: bold;
  color: white;
  margin-bottom: 12px;
  line-height: 1;
}

.PaymentModal-container .recharge-bottom-section .balance-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: white;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 10px;
  border-radius: 8px;
  margin-top: auto;
}

.PaymentModal-container .recharge-bottom-section .note-icon {
  color: white;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.PaymentModal-container .recharge-details-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.PaymentModal-container .recharge-amount-section,
.PaymentModal-container .payment-method-section {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.PaymentModal-container .section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #343a40;
}

.PaymentModal-container .section-icon {
  color: #ff6b9d;
  font-size: 18px;
}

.PaymentModal-container .amount-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.PaymentModal-container .amount-option {
  flex: 1;
  min-width: 100px;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #343a40;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  text-align: center;
}

.PaymentModal-container .amount-option:hover {
  border-color: #ff6b9d;
  background: #fff5f8;
}

.PaymentModal-container .amount-option.selected {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
  border-color: #ff6b9d;
  color: white;
}

.PaymentModal-container .amount-option .check-mark {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 12px;
}

.PaymentModal-container .billing-details-link {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.PaymentModal-container .billing-details-link .link-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.PaymentModal-container .billing-details-link .link-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
  border-radius: 10px;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.PaymentModal-container .billing-details-link .link-text {
  flex: 1;
}

.PaymentModal-container .billing-details-link .link-title {
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 3px;
}

.PaymentModal-container .billing-details-link .link-desc {
  font-size: 12px;
  color: #868e96;
}

.PaymentModal-container .billing-details-link .link-btn {
  white-space: nowrap;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.PaymentModal-container .billing-details-link .link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

.PaymentModal-container .payment-options {
  display: flex;
  gap: 12px;
}

.PaymentModal-container .payment-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.PaymentModal-container .payment-option:hover {
  border-color: #ff6b9d;
}

.PaymentModal-container .payment-option.selected {
  border-color: #ff6b9d;
  background: #fff5f8;
}

.PaymentModal-container .payment-option img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.PaymentModal-container .payment-option span {
  font-size: 14px;
  font-weight: 500;
  color: #343a40;
}

.PaymentModal-container .payment-option .payment-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: #ff6b9d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
}

.PaymentModal-container .recharge-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.PaymentModal-container .recharge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.PaymentModal-container .recharge-btn .btn-icon {
  font-size: 20px;
}

/* ===== Membership Page Styles ===== */
.membership-page-content {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-width: 1050px;
  min-height: 650px;
}

.membership-page-content .body-left-panel {
  flex: 1;
  background: #f8f9fa;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== 会员选择器 - 顶部横向设计 (参考图风格) ===== */
.PaymentModal-membership-selector {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 0;
  width: 100%;
  flex-shrink: 0;
}

.PaymentModal-member-option {
  flex: 1;
  position: relative;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.PaymentModal-member-option:hover {
  border-color: #b0b0b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* SVIP Selected Style - Gold Theme */
.PaymentModal-member-option.selected.svip {
  background: #f7f5ff;
  border: 2px solid #7b69c6;
  box-shadow: 0 8px 20px rgba(201, 163, 90, 0.15);
}

/* VIP Selected Style - Purple Theme */
.PaymentModal-member-option.selected.vip {
  background: #f7f5ff;
  border: 2px solid #7b69c6;
  box-shadow: 0 8px 20px rgba(123, 105, 198, 0.15);
}

/* Badge Style - Hanging Top Left */
.PaymentModal-member-badge {
  position: absolute;
  top: -8px;
  left: -1px;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px 0 8px 0;
  z-index: 1;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Hide Icon */
.PaymentModal-member-icon {
  display: none;
}

.PaymentModal-member-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.PaymentModal-member-name {
  font-size: 16px;
  font-weight: 600;
  color: #555;
  margin: 0;
}

.PaymentModal-member-option.selected.svip .PaymentModal-member-name {
  color: #5e4b8e;
}

.PaymentModal-member-option.selected.vip .PaymentModal-member-name {
  color: #5e4b8e;
}

.PaymentModal-member-desc {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.PaymentModal-member-price-area {
  width: 100%;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.PaymentModal-member-price {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.PaymentModal-member-option.selected.svip .PaymentModal-member-price {
  color: #5e4b8e;
}

.PaymentModal-member-option.selected.vip .PaymentModal-member-price {
  color: #5e4b8e;
}

.PaymentModal-member-original {
  font-size: 12px;
  color: #bbb;
  text-decoration: line-through;
}

.PaymentModal-member-bonus {
  display: inline-block;
  font-size: 11px;
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.PaymentModal-member-check {
  display: none;
}

/* ===== 权益对比 - 双卡片设计 ===== */
.PaymentModal-benefits-compare {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-top: 0;
}

.PaymentModal-benefits-header {
  padding: 0 0 12px 0;
  border: none;
  background: transparent;
  display: flex;
}

.PaymentModal-benefits-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

.PaymentModal-benefits-title svg {
  color: #ffd700;
  font-size: 16px;
}

.PaymentModal-benefits-cards {
  display: flex;
  gap: 16px;
  width: 100%;
}

.PaymentModal-benefit-card {
  flex: 1;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.PaymentModal-benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* SVIP Card Theme */
.PaymentModal-benefit-card.svip-card {
  background: linear-gradient(180deg, #f7f5ff 0%, #ffffff 150px);
  border: 1px solid #e0dbf5;
}

.PaymentModal-benefit-card.svip-card .benefit-card-header {
  color: #5e4b8e;
}

/* VIP Card Theme */
.PaymentModal-benefit-card.vip-card {
  background: linear-gradient(180deg, #f7f5ff 0%, #ffffff 150px);
  border: 1px solid #e0dbf5;
}

.PaymentModal-benefit-card.vip-card .benefit-card-header {
  color: #5e4b8e;
}

.benefit-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.benefit-item.disabled {
  opacity: 0.6;
}

.benefit-label {
  color: #666;
  font-weight: 500;
}

.benefit-value {
  font-weight: 600;
  color: #333;
}

.benefit-value.highlight {
  color: #ff6b6b;
}

.benefit-check {
  color: #52c41a;
  font-size: 14px;
}

.benefit-cross {
  color: #ccc;
  font-size: 14px;
}

/* 旧的会员卡片样式（保留作为备用） */
.membership-cards-container {
  display: none; /* 隐藏旧布局 */
  flex-direction: row;
  gap: 14px;
  width: 100%;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
}

.membership-card {
  flex: 0 0 auto;
  width: 200px;
  min-width: 180px;
  background: white;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid #e9ecef;
}

.membership-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.membership-card.selected {
  border-color: #667eea;
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.membership-card .card-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff4d4f 0%, #ff6b6b 100%);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 6px rgba(255, 77, 79, 0.3);
}

.membership-card .card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  margin-top: 8px;
}

.membership-card .card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.membership-card .card-icon.svip-icon {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
}

.membership-card .card-icon.vip-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.membership-card .card-title {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
}

.membership-card .card-pricing {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.membership-card .current-price {
  font-size: 40px;
  font-weight: 800;
  color: #ff6b6b;
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: -1px;
}

.membership-card .price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.membership-card .original-price {
  font-size: 14px;
  color: #adb5bd;
  text-decoration: line-through;
}

.membership-card .discount-tag {
  background: linear-gradient(135deg, #ff6b6b, #ff9a8b);
  color: white;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 8px;
  font-weight: 600;
}

.membership-card .card-benefits {
  flex: 1;
  margin-bottom: 12px;
}

.PaymentModal-container .membership-card .benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #495057;
  line-height: 1.5;
}

.PaymentModal-container .membership-card .check-icon {
  color: #667eea;
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

.PaymentModal-container .membership-card .benefit-text {
  flex: 1;
  display: inline;
  line-height: 1.5;
}

.PaymentModal-container .membership-card .highlight-text {
  color: #667eea;
  font-weight: 700;
  display: inline;
}

.PaymentModal-container .membership-card .exclusive-badge {
  background: linear-gradient(135deg, #ff4d4f 0%, #ff6b9d 100%);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 4px;
  flex-shrink: 0;
}

.membership-card .card-action-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.membership-card .card-action-btn.svip-btn {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  color: #333;
}

.membership-card .card-action-btn.vip-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.membership-card .card-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Right Panel */
.membership-page-content .body-right-panel {
  flex: 0 0 320px;
  min-width: 300px;
  background: #fafbfc;
  border-left: 1px solid #e9ecef;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.membership-page-content .order-section {
  margin-bottom: 20px;
}

.membership-page-content .section-title {
  font-size: 17px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 18px;
}

.membership-page-content .order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
  color: #495057;
}

.membership-page-content .benefits-summary {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 18px;
  margin-top: 16px;
  border: 1px solid #e8ebff;
}

.PaymentModal-container .membership-page-content .benefits-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 14px;
}

.PaymentModal-container .membership-page-content .benefits-icon {
  font-size: 16px;
}

.membership-page-content .benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.PaymentModal-container .membership-page-content .benefit-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #495057;
  border: 1px solid #ffe3ec;
}

.PaymentModal-container .membership-page-content .benefit-tag svg {
  color: #667eea;
}

.membership-page-content .payment-footer {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.membership-page-content .total-price-row {
  margin-bottom: 0;
}

.membership-page-content .price-display {
  display: flex;
  align-items: center;
  gap: 6px;
}

.membership-page-content .price-display .currency {
  font-size: 28px;
  color: #ff6b6b;
  font-weight: 800;
  line-height: 1;
}

.membership-page-content .price-display .amount {
  font-size: 44px;
  color: #ff6b6b;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.membership-page-content .saved-badge {
  font-size: 12px;
  padding: 5px 12px;
  margin-left: 10px;
  background: linear-gradient(135deg, #51cf66 0%, #40c057 100%) !important;
  color: white !important;
  border: none;
  border-radius: 16px;
  font-weight: 600;
}

.membership-page-content .pay-now-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  color: white;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  letter-spacing: 0.5px;
}

.membership-page-content .pay-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.45);
}

.membership-page-content .agreement-row {
  font-size: 12px;
}

.membership-page-content .agreement-row .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.membership-page-content .agreement-row .form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid #667eea;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0;
}

.membership-page-content .agreement-row .form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}

.membership-page-content .agreement-text {
  color: #868e96;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.membership-page-content .agreement-text a {
  color: #667eea;
  text-decoration: none;
}

.membership-page-content .agreement-text a:hover {
  text-decoration: underline;
}

/* ===== Points Page Styles ===== */
.points-page-content {
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 800px;
}

.points-header-section {
  display: flex;
  gap: 16px;
}

.points-balance-card {
  flex: 1;
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  border-radius: 16px;
  padding: 24px;
  color: #333;
  box-shadow: 0 4px 16px rgba(255, 170, 0, 0.3);
}

.points-balance-info {
  margin-bottom: 16px;
}

.points-balance-card .points-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 8px;
}

.PaymentModal-container .points-balance-card .points-icon {
  font-size: 18px;
  color: #333;
}

.points-balance-card .points-value {
  font-size: 48px;
  font-weight: bold;
  color: #333;
  line-height: 1;
}

.points-balance-card .points-tips {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.3);
  padding: 10px 14px;
  border-radius: 10px;
}

.points-packages-section {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.points-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.points-package-card {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  position: relative;
}

.points-package-card:hover {
  border-color: #ffd700;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.points-package-card.selected {
  border-color: #ffd700;
  background: linear-gradient(135deg, #fffbeb 0%, #fff9e6 100%);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
}

.points-package-card .package-tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: linear-gradient(135deg, #ff4d4f 0%, #ff6b9d 100%);
  color: white;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 10px;
  font-weight: bold;
}

.points-package-card .package-points {
  margin-bottom: 8px;
}

.points-package-card .points-num {
  font-size: 32px;
  font-weight: bold;
  color: #ffa500;
}

.points-package-card .points-unit {
  font-size: 14px;
  color: #868e96;
  margin-left: 4px;
}

.points-package-card .package-price {
  font-size: 20px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 8px;
}

.points-package-card .package-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #ff6b9d;
  background: #fff5f8;
  padding: 6px 10px;
  border-radius: 8px;
}

.points-package-card .package-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 12px;
}

.points-vip-tips {
  display: flex;
  gap: 16px;
}

.PaymentModal-container .vip-tip-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  color: #495057;
}

.PaymentModal-container .vip-tip-card .tip-icon {
  font-size: 20px;
}

.PaymentModal-container .vip-tip-card .tip-icon.vip {
  color: #ff6b9d;
}

.PaymentModal-container .vip-tip-card .tip-icon.svip {
  color: #ffd700;
}

.PaymentModal-container .vip-tip-card strong {
  color: #ff6b9d;
}

.points-payment-section {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.PaymentModal-container .points-payment-section .payment-method-section {
  box-shadow: none;
  padding: 0;
}

.points-order-summary {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
}

.points-order-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: #495057;
  border-bottom: 1px dashed #e9ecef;
}

.points-order-summary .summary-row:last-child {
  border-bottom: none;
}

.points-order-summary .summary-row.bonus {
  color: #ff6b9d;
}

.points-order-summary .summary-row.total {
  font-size: 16px;
  font-weight: 600;
  color: #343a40;
  padding-top: 14px;
}

.points-order-summary .total-price {
  font-size: 24px;
  font-weight: bold;
  color: #ff6b9d;
}

.points-pay-btn {
  width: 100%;
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(255, 170, 0, 0.3);
}

.points-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 170, 0, 0.4);
  color: #333;
}

.PaymentModal-container .points-pay-btn .btn-icon {
  font-size: 20px;
}


/* ===== 余额充值 V2 优化版样式 ===== */
.recharge-page-content-v2 {
  display: flex;
  gap: 24px;
  padding: 24px;
  width: 100%;
  min-width: 1050px;
  min-height: 650px;
}

.recharge-main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recharge-packages-section,
.payment-section-v2 {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.section-header-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon-v2 {
  font-size: 18px;
  color: #ff6b9d;
}

.section-title-v2 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.section-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #ff6b9d;
  background: linear-gradient(135deg, #fff5f8 0%, #ffe8ef 100%);
  padding: 6px 12px;
  border-radius: 20px;
}

.section-tip svg {
  font-size: 12px;
}

/* 充值套餐卡片网格 */
.recharge-packages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.recharge-package-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.recharge-package-card:hover {
  border-color: #ffccd5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.15);
}

.recharge-package-card.selected {
  border-color: #ff6b9d;
  background: linear-gradient(135deg, #fff5f8 0%, #ffe8ef 100%);
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.25);
}

.recharge-package-card.recommended {
  border-color: #ff6b9d;
}

.recharge-package-card .package-tag {
  position: absolute;
  top: -8px;
  right: 8px;
  background: linear-gradient(135deg, #868e96 0%, #adb5bd 100%);
  color: white;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 8px;
  font-weight: 600;
}

.recharge-package-card .package-tag.hot {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b9d 100%);
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.recharge-package-card .package-amount {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.recharge-package-card.selected .package-amount {
  color: #ff6b9d;
}

.recharge-package-card .package-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  color: #ff6b9d;
  font-weight: 500;
}

.recharge-package-card .package-bonus svg {
  font-size: 10px;
}

.recharge-package-card .package-bonus.empty {
  color: #adb5bd;
}

.recharge-package-card .package-check-v2 {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
}

/* 支付方式 V2 */
.payment-options-v2 {
  display: flex;
  gap: 12px;
}

.payment-option-v2 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.payment-option-v2:hover {
  border-color: #ffccd5;
}

.payment-option-v2.selected {
  border-color: #ff6b9d;
  background: #fff5f8;
}

.payment-option-v2 img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.payment-option-v2 span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.payment-option-v2 .payment-check-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #ff6b9d;
  font-size: 14px;
}

/* 订单摘要区 */
.recharge-order-summary {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-summary-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.order-summary-card .summary-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.order-summary-card .summary-header svg {
  color: #ff6b9d;
}

.order-summary-card .summary-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.order-summary-card .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.order-summary-card .summary-row .row-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-summary-card .summary-row .row-label svg {
  color: #ff6b9d;
  font-size: 12px;
}

.order-summary-card .summary-row .row-value {
  font-weight: 500;
  color: #333;
}

.order-summary-card .summary-row.bonus-row .row-value.bonus {
  color: #ff6b9d;
  font-weight: 600;
}

.order-summary-card .summary-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e9ecef, transparent);
  margin: 4px 0;
}

.order-summary-card .summary-row.total-row {
  padding-top: 8px;
}

.order-summary-card .summary-row.total-row .row-label {
  font-weight: 600;
  color: #333;
}

.order-summary-card .summary-row.total-row .row-value.total {
  font-size: 24px;
  font-weight: bold;
  color: #ff6b9d;
}

.pay-btn-v2 {
  width: 100%;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.3);
}

.pay-btn-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 157, 0.4);
  background: linear-gradient(135deg, #ff5a8a 0%, #ff7fa0 100%);
}

.pay-btn-v2 .btn-icon {
  font-size: 16px;
  animation: boltFlash 1.5s ease-in-out infinite;
}

@keyframes boltFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.guarantee-tags {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.guarantee-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #868e96;
}

.guarantee-tag svg {
  color: #51cf66;
  font-size: 12px;
}

/* 客服入口卡片 */
.customer-service-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.customer-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.customer-service-card .service-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.customer-service-card .service-content {
  flex: 1;
}

.customer-service-card .service-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.customer-service-card .service-desc {
  font-size: 12px;
  opacity: 0.8;
}

.customer-service-card .service-qrcode {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 20px;
}

/* 响应式适配 */
@media (max-width: 900px) {
  .recharge-page-content-v2 {
    flex-direction: column;
    min-width: auto;
  }
  
  .recharge-order-summary {
    width: 100%;
  }
  
  .recharge-packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .recharge-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 会员购买 - 支付方式面板 V2 ===== */
.PaymentModal-payment-panel-v2 {
  background: white;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* height: 100%; */
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

/* 订单摘要卡片 */
.payment-summary-card {
  width: 100%;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border: 1px solid #f0f0f0;
}

.payment-summary-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.svip-color { color: #e6a23c; }
.vip-color { color: #667eea; }

.payment-summary-info {
  flex: 1;
}

.payment-summary-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}

.payment-summary-desc {
  font-size: 11px;
  color: #888;
}

/* 支付方式按钮行 */
.PaymentModal-payment-panel-v2 .payment-methods-row {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
}

.PaymentModal-payment-panel-v2 .payment-method-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.PaymentModal-payment-panel-v2 .payment-method-btn:hover {
  border-color: #667eea;
  background: #f8f9ff;
}

.PaymentModal-payment-panel-v2 .payment-method-btn.selected {
  background: #f0f9ff;
  border-color: #09bb07;
  color: #333;
}

/* 针对支付宝单独样式 */
.PaymentModal-payment-panel-v2 .payment-method-btn.selected:nth-child(2) {
  background: #f0f9ff;
  border-color: #1677ff;
}

.PaymentModal-payment-panel-v2 .payment-method-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.PaymentModal-payment-panel-v2 .payment-method-btn span {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* 二维码区域 */
.PaymentModal-payment-panel-v2 .qrcode-display-area {
  margin-bottom: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
}

.PaymentModal-payment-panel-v2 .qrcode-box {
  width: 240px;
  height: 240px;
  background: white;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid #f0f0f0;
  padding: 12px;
}

/* 支付金额展示区 */
.PaymentModal-payment-panel-v2 .payment-amount-display {
  text-align: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #fff5f8 0%, #fff0f5 100%);
  border-radius: 12px;
  margin-bottom: 8px;
  width: 100%;
}

.PaymentModal-payment-panel-v2 .payment-amount-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.PaymentModal-payment-panel-v2 .payment-amount-value {
  font-size: 32px;
  font-weight: 800;
  color: #ff6b9d;
  letter-spacing: -1px;
}

.PaymentModal-payment-panel-v2 .payment-amount-value .currency {
  font-size: 18px;
  font-weight: 600;
  margin-right: 2px;
}

.PaymentModal-payment-panel-v2 .payment-bonus-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: 10px;
}

.PaymentModal-payment-panel-v2 .payment-bonus-tag svg {
  font-size: 11px;
}

/* 扫码提示 */
.PaymentModal-payment-panel-v2 .qrcode-scan-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  padding: 10px 16px;
  background: #f5f7fa;
  border-radius: 20px;
}

.PaymentModal-payment-panel-v2 .qrcode-scan-hint svg {
  color: #667eea;
}

/* 安全底部 */
.payment-security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f5f5f5;
  width: 100%;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #999;
}

.security-item svg {
  color: #52c41a;
}

.security-divider {
  color: #eee;
  font-size: 12px;
}

.PaymentModal-payment-panel-v2 .qrcode-placeholder-icon {
  font-size: 80px;
  color: #333;
  margin-bottom: 6px;
}

.PaymentModal-payment-panel-v2 .qrcode-loading-text {
  font-size: 14px;
  color: #999;
}

.PaymentModal-payment-panel-v2 .qrcode-image,
.PaymentModal-payment-panel-v2 .PaymentModal-qrcode-image {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
}

/* 价格展示 */
.PaymentModal-payment-panel-v2 .payment-price-display {
  display: flex;
  align-items: baseline;
  margin-bottom: 4px;
}

.PaymentModal-payment-panel-v2 .price-symbol {
  font-size: 16px;
  font-weight: 600;
  color: #ff6b9d;
}

.PaymentModal-payment-panel-v2 .price-value {
  font-size: 28px;
  font-weight: bold;
  color: #ff6b9d;
}

.PaymentModal-payment-panel-v2 .payment-hint {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}

/* 原价划线样式 */
.PaymentModal-original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-right: 8px;
}

/* 优惠券提示 */
.PaymentModal-coupon-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #ff6b9d;
  background: rgba(255, 107, 157, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.PaymentModal-coupon-hint svg {
  font-size: 14px;
}

/* 安全提示栏 */
.PaymentModal-payment-panel-v2 .payment-security-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 11px;
  margin-bottom: 10px;
  width: 100%;
}

.PaymentModal-payment-panel-v2 .security-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.PaymentModal-payment-panel-v2 .security-item svg {
  font-size: 12px;
}

.PaymentModal-payment-panel-v2 .security-divider {
  color: rgba(255, 255, 255, 0.6);
}

/* 退款提示 */
.PaymentModal-payment-panel-v2 .payment-disclaimer {
  font-size: 12px;
  color: #999;
  text-align: center;
}

/* ===== 余额充值 - 重新设计布局 ===== */
.PaymentModal-balance-page {
  display: flex;
  gap: 24px;
  padding: 24px;
  min-width: 1050px;
  min-height: 650px;
  background: #f8f9fa;
}

.PaymentModal-balance-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.PaymentModal-balance-right {
  flex: 0 0 300px;
}

.PaymentModal-balance-section {
  background: white;
  border-radius: 20px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.PaymentModal-balance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.PaymentModal-balance-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* icon已移除 */

.PaymentModal-balance-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}

.PaymentModal-balance-tip {
  font-size: 13px;
  color: #10b981;
  background: linear-gradient(135deg, #10b98115 0%, #05966915 100%);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.PaymentModal-balance-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff8e6;
  border: 1px solid #ffe4a0;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #b8860b;
}

.PaymentModal-balance-notice svg {
  color: #f0ad4e;
  font-size: 14px;
}

/* 赠送积分提示条 - 简洁设计 */
.PaymentModal-bonus-notice {
  margin-top: 24px;
  background: #fafbfc;
  border: 1px solid #eef0f2;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.PaymentModal-bonus-notice-left {
  flex: 1;
}

.PaymentModal-bonus-notice-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.PaymentModal-bonus-notice-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.PaymentModal-bonus-notice-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.PaymentModal-bonus-notice-qr img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.PaymentModal-bonus-notice-qr span {
  font-size: 11px;
  color: #999;
}

.PaymentModal-balance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
}

.PaymentModal-balance-card {
  background: linear-gradient(135deg, #fafbfc 0%, #f5f6f8 100%);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  border: 2px solid #eef0f2;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}

.PaymentModal-balance-card:hover {
  border-color: #10b981;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.PaymentModal-balance-card.selected {
  border-color: #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.PaymentModal-balance-card.recommended {
  border-color: #10b98140;
}

.PaymentModal-balance-tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
}

.PaymentModal-balance-tag.hot {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.PaymentModal-balance-amount {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.PaymentModal-balance-card.selected .PaymentModal-balance-amount {
  color: #10b981;
}

.PaymentModal-balance-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  color: #10b981;
  font-weight: 500;
}

.PaymentModal-balance-bonus svg {
  font-size: 11px;
}

.PaymentModal-balance-bonus.empty {
  color: #b0b0b0;
  font-weight: 400;
}

.PaymentModal-balance-check {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* 赠送积分提示 */
.PaymentModal-bonus-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #52c41a;
  background: rgba(82, 196, 26, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.PaymentModal-bonus-hint svg {
  font-size: 14px;
}

/* ===== 积分充值 - 重新设计布局 ===== */
.PaymentModal-points-page {
  display: flex;
  gap: 24px;
  padding: 24px;
  min-width: 1050px;
  min-height: 650px;
  background: #f8f9fa;
}

.PaymentModal-points-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.PaymentModal-points-right {
  flex: 0 0 300px;
}

.PaymentModal-points-section {
  background: white;
  border-radius: 20px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.PaymentModal-points-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.PaymentModal-points-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.PaymentModal-points-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}

.PaymentModal-points-tip {
  font-size: 13px;
  color: #f59e0b;
  background: linear-gradient(135deg, #f59e0b15 0%, #d9770615 100%);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.PaymentModal-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
  margin-bottom: 20px;
}

.PaymentModal-points-card {
  background: white;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  border: 2px solid #f0f0f0;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.PaymentModal-points-card:hover {
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.12);
}

.PaymentModal-points-card.selected {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15);
}

.PaymentModal-points-tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: linear-gradient(135deg, #ffc107, #ffb300);
  color: #333;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.35);
}

.PaymentModal-points-tag.hot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.PaymentModal-points-value {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.5px;
  line-height: 1;
}

.PaymentModal-points-card.selected .PaymentModal-points-value {
  color: #d97706;
}

.PaymentModal-points-unit {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
  margin-bottom: 8px;
}

.PaymentModal-points-price {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}

.PaymentModal-points-bonus {
  font-size: 11px;
  color: #d97706;
  font-weight: 600;
  margin-top: 6px;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: 10px;
}

.PaymentModal-points-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 9px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

/* 积分充值页面的小助理区域 - 金黄色主题 */
/* .PaymentModal-points-section .PaymentModal-bonus-notice {
  margin-top: 16px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
}

.PaymentModal-points-section .PaymentModal-bonus-notice-title {
  color: #d97706;
} */

/* VIP折扣提示 - 简洁横条设计 */
.PaymentModal-points-discount-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #fafbfc;
  border: 1px solid #eef0f2;
  border-radius: 14px;
  padding: 16px 24px;
}

.PaymentModal-points-discount-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666;
}

.PaymentModal-points-discount-item strong {
  color: #d97706;
  font-weight: 600;
}

.PaymentModal-points-discount-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.PaymentModal-points-discount-badge.vip {
  background: linear-gradient(135deg, #ffc107, #ffb300);
  color: #333;
}

.PaymentModal-points-discount-badge.svip {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.PaymentModal-points-discount-divider {
  width: 1px;
  height: 20px;
  background: #e0e0e0;
}

/* ===== 优惠券选择入口 ===== */
.PaymentModal-coupon-selector-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.PaymentModal-coupon-selector-entry:hover {
  background: #f0f0f0;
}

.PaymentModal-coupon-entry-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}

.PaymentModal-coupon-entry-icon {
  color: #667eea;
  font-size: 16px;
}

.PaymentModal-coupon-entry-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.PaymentModal-coupon-selected-text {
  color: #ff6b6b;
  font-weight: 600;
  font-size: 14px;
}

.PaymentModal-coupon-available-text {
  color: #667eea;
  font-size: 12px;
  background: rgba(102, 126, 234, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.PaymentModal-coupon-none-text {
  color: #999;
  font-size: 12px;
}

.PaymentModal-coupon-arrow {
  color: #999;
  font-size: 12px;
}

/* ===== 优惠券选择弹窗 ===== */
.PaymentModal-coupon-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1070;
}

.PaymentModal-coupon-popup {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  max-height: 70vh;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.PaymentModal-coupon-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.PaymentModal-coupon-popup-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.PaymentModal-coupon-popup-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}

.PaymentModal-coupon-popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.PaymentModal-coupon-popup-body {
  padding: 16px;
  max-height: calc(70vh - 60px);
  overflow-y: auto;
}

.PaymentModal-coupon-item {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.PaymentModal-coupon-item:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.PaymentModal-coupon-item.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.15);
}

.PaymentModal-coupon-item.no-coupon {
  justify-content: center;
  color: #666;
  font-size: 14px;
}

.PaymentModal-coupon-item-left {
  width: 80px;
  text-align: center;
  border-right: 1px dashed #ddd;
  padding-right: 14px;
  margin-right: 14px;
}

.PaymentModal-coupon-item-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.PaymentModal-coupon-item-symbol {
  font-size: 14px;
  color: #ff6b6b;
  font-weight: 600;
}

.PaymentModal-coupon-item-amount {
  font-size: 28px;
  font-weight: bold;
  color: #ff6b6b;
  line-height: 1;
}

.PaymentModal-coupon-item-condition {
  font-size: 10px;
  color: #999;
  margin-top: 4px;
}

.PaymentModal-coupon-item-right {
  flex: 1;
}

.PaymentModal-coupon-item-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.PaymentModal-coupon-item-expire {
  font-size: 11px;
  color: #999;
}

.PaymentModal-coupon-item-check {
  position: absolute;
  right: 14px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

.PaymentModal-coupon-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #999;
}

.PaymentModal-coupon-empty-icon {
  font-size: 40px;
  color: #ddd;
  margin-bottom: 12px;
}

/* ===== 全面响应式适配 ===== */

/* 大屏幕 1200px 以下 */
@media (max-width: 1200px) {
  .membership-page-content {
    min-width: auto;
  }
  
  .membership-page-content .body-right-panel {
    flex: 0 0 280px;
    min-width: 260px;
  }
}

/* 中等屏幕 992px 以下 */
@media (max-width: 992px) {
  .PaymentModal-dialog-custom {
    max-width: 95vw;
  }
  
  .PaymentModal-container {
    max-width: 95vw;
  }
  
  .membership-page-content {
    flex-direction: column;
  }
  
  .membership-page-content .body-left-panel {
    padding: 16px;
    flex-direction: column;
    gap: 16px;
  }
  
  .membership-page-content .body-right-panel {
    flex: none;
    width: 100%;
    min-width: auto;
    border-left: none;
    border-top: 1px solid #e9ecef;
  }
  
  .membership-page-content {
    min-width: auto;
  }
  
  /* 移动端会员选择器适配：横向滚动 */
  .PaymentModal-membership-selector {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 0;
    -webkit-overflow-scrolling: touch;
  }
  
  .PaymentModal-member-option {
    min-width: 140px;
    flex: 0 0 auto;
    padding: 16px 12px;
  }
  
  .PaymentModal-benefits-cards {
    flex-direction: column;
  }
}

/* 平板屏幕 768px 以下 */
@media (max-width: 768px) {
  .PaymentModal-dialog-custom {
    max-width: 98vw;
    margin: 0.25rem;
  }
  
  .PaymentModal-container {
    max-height: 92vh;
    border-radius: 12px;
  }
  
  .PaymentModal-header-bg {
    padding: 12px 16px;
  }
  
  .PaymentModal-tabs-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .PaymentModal-tab-item {
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
  }
  
  .PaymentModal-body-content {
    max-height: calc(92vh - 140px);
  }
  
  .membership-card {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
  
  .PaymentModal-membership-selector {
    flex-direction: column;
    gap: 12px;
  }
  
  .PaymentModal-member-option {
    padding: 16px;
  }
  
  .PaymentModal-member-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .PaymentModal-member-price {
    font-size: 20px;
  }
  
  .PaymentModal-benefits-table {
    font-size: 12px;
  }
  
  .PaymentModal-table-cell {
    padding: 10px 8px;
    font-size: 12px;
  }
  
  .PaymentModal-table-body {
    max-height: 200px;
  }
  
  .membership-page-content .body-left-panel,
  .membership-page-content .body-right-panel {
    padding: 14px;
  }
  
  .PaymentModal-balance-page,
  .PaymentModal-points-page {
    flex-direction: column;
    padding: 14px;
  }
  
  .PaymentModal-balance-left,
  .PaymentModal-points-left {
    padding: 14px;
  }
  
  .PaymentModal-balance-right,
  .PaymentModal-points-right {
    flex: none;
    width: 100%;
    border-left: none;
    border-top: 1px solid #e9ecef;
    padding: 14px;
  }
  
  .PaymentModal-balance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .PaymentModal-points-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* 手机屏幕 576px 以下 */
@media (max-width: 576px) {
  .PaymentModal-dialog-custom {
    max-width: 100vw;
    margin: 0;
  }
  
  .PaymentModal-container {
    max-height: 100vh;
    border-radius: 0;
    min-height: 100vh;
  }
  
  .PaymentModal-header-bg {
    padding: 12px;
    border-radius: 0;
  }
  
  .PaymentModal-tab-item {
    padding: 10px 12px;
    font-size: 12px;
    gap: 4px;
  }
  
  .PaymentModal-tab-icon,
  .PaymentModal-tab-icon-gold {
    font-size: 14px;
  }
  
  .membership-cards-container {
    gap: 10px;
  }
  
  .membership-card {
    padding: 16px 12px;
  }
  
  .membership-card .card-pricing .current-price {
    font-size: 28px;
  }
  
  .membership-page-content .body-right-panel .price-display .amount {
    font-size: 36px;
  }
  
  .membership-page-content .pay-now-btn {
    padding: 14px;
    font-size: 16px;
  }
  
  .PaymentModal-balance-card,
  .PaymentModal-points-card {
    padding: 14px 10px;
  }
  
  .PaymentModal-balance-amount {
    font-size: 20px;
  }
  
  .PaymentModal-points-value {
    font-size: 22px;
  }
  
  .qrcode-box {
    width: 120px;
    height: 120px;
  }
}

/* 支付成功状态样式 */
.PaymentModal-payment-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.PaymentModal-success-icon {
  font-size: 48px;
  color: #52c41a;
  margin-bottom: 12px;
}

.PaymentModal-success-text {
  font-size: 16px;
  font-weight: 600;
  color: #52c41a;
}

/* 优惠券拦截弹窗样式 */
.PaymentModal-intercept-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: PaymentModal-fadeIn 0.2s ease;
}

@keyframes PaymentModal-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.PaymentModal-intercept-modal {
  background: white;
  border-radius: 16px;
  width: 360px;
  max-width: 90vw;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: PaymentModal-slideUp 0.3s ease;
}

@keyframes PaymentModal-slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.PaymentModal-intercept-header {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.PaymentModal-intercept-icon {
  font-size: 40px;
  color: white;
}

.PaymentModal-intercept-title {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.PaymentModal-intercept-content {
  padding: 24px;
}

.PaymentModal-intercept-coupon-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.PaymentModal-intercept-coupon-card {
  background: linear-gradient(135deg, #fff5f0, #ffe8db);
  border: 2px dashed #ff6b35;
  border-radius: 12px;
  padding: 16px 32px;
  text-align: center;
  position: relative;
}

.PaymentModal-intercept-coupon-card::before,
.PaymentModal-intercept-coupon-card::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.PaymentModal-intercept-coupon-card::before {
  left: -10px;
}

.PaymentModal-intercept-coupon-card::after {
  right: -10px;
}

.PaymentModal-intercept-coupon-value {
  font-size: 32px;
  font-weight: 700;
  color: #ff6b35;
  line-height: 1;
}

.PaymentModal-intercept-coupon-name {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.PaymentModal-intercept-tip {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin: 0;
}

.PaymentModal-intercept-actions {
  display: flex;
  gap: 12px;
  padding: 0 24px 24px;
}

.PaymentModal-intercept-btn-stay {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
}

.PaymentModal-intercept-btn-stay:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.PaymentModal-intercept-btn-leave {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  color: #666;
}

.PaymentModal-intercept-btn-leave:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

