/* ===== 全局布局变量 ===== */
: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;
  }
} 
