/* ✅ 和tg.cc一样：所有样式都打包在一个构建的CSS文件中 */
/* ✅ 导入所有原来的CSS样式文件，Vite会打包到一个文件中 */
/* 全局样式 */
/* 欧意暗黑风格移动端UI样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
    /* 欧意暗黑风格配色方案 */
    --bg-primary: #0a0a0a;        /* 主背景色 - 深黑 */
    --bg-secondary: #1a1a1a;       /* 次要背景色 - 深灰 */
    --bg-tertiary: #2a2a2a;        /* 第三背景色 - 中灰 */
    --bg-card: #1e1e1e;            /* 卡片背景色 */
    --bg-hover: #333333;           /* 悬停背景色 */
  
  /* 文字颜色 */
    --text-primary: #ffffff;       /* 主要文字 - 白色 */
    --text-secondary: #b3b3b3;    /* 次要文字 - 浅灰 */
    --text-tertiary: #808080;      /* 第三文字 - 中灰 */
    --text-disabled: #4d4d4d;      /* 禁用文字 - 深灰 */
    
    /* 强调色 - 欧意绿 */
    --accent-primary: #00d4aa;     /* 主要强调色 - 青绿色 */
    --accent-secondary: #00b894;  /* 次要强调色 - 深青绿 */
    --accent-hover: #00e6c4;      /* 悬停强调色 - 亮青绿 */
    
    /* 状态颜色 */
    --success: #00d4aa;            /* 成功色 */
    --warning: #ffa726;            /* 警告色 */
    --error: #ff5722;              /* 错误色 */
    --info: #2196f3;              /* 信息色 */
    
    /* 边框和分割线 */
    --border-primary: #333333;    /* 主要边框 */
    --border-secondary: #2a2a2a; /* 次要边框 */
    --divider: #1a1a1a;           /* 分割线 */
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
  
  /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 间距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}
html {
    height: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    padding-bottom: 70px; /* 为底部tabbar预留空间（移动端优化） */
    min-height: 100vh;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    /* ✅ 移动端优化 */
    -webkit-tap-highlight-color: transparent; /* 移除默认点击高亮 */
    touch-action: pan-y; /* 只允许垂直滚动 */
}
/* 顶部导航栏（浮动设计，不遮挡内容） */
.header {
  position: absolute;
  top: 20px;
  right: 16px;
  z-index: 1000;
    background: transparent;
    padding: 0;
}
.header-content {
  display: flex;
    justify-content: flex-end;
  align-items: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.login-btn, .register-btn {
    padding: 6px 12px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
/* 登录和注册按钮统一样式 */
.login-btn, .register-btn {
    background: rgba(0, 0, 0, 0.7);
    color: rgba(0, 212, 170, 0.95);
    border: 2px solid rgba(0, 212, 170, 0.5);
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.3),
                0 0 30px rgba(0, 212, 170, 0.15),
                inset 0 0 25px rgba(0, 212, 170, 0.08);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.7),
                 0 0 15px rgba(0, 212, 170, 0.5),
                 0 0 25px rgba(0, 212, 170, 0.3);
}
.login-btn::before, .register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.2), 
        transparent
    );
    transition: left 0.5s ease;
}
.login-btn:hover::before, .register-btn:hover::before {
    left: 100%;
}
.login-btn:hover, .register-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 212, 170, 0.8);
    color: var(--accent-primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.5),
                0 0 50px rgba(0, 212, 170, 0.25),
                inset 0 0 30px rgba(0, 212, 170, 0.12);
    text-shadow: 0 0 15px rgba(0, 212, 170, 0.9),
                 0 0 25px rgba(0, 212, 170, 0.7),
                 0 0 40px rgba(0, 212, 170, 0.4);
}
/* 顶部标题区域 */
.title-section {
    margin-top: 100px; /* 增加顶部距离，避免被登录注册按钮挡住 */
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    background: var(--bg-primary);
    text-align: center;
    flex-shrink: 0;
}
.title-content {
    max-width: 100%;
}
.main-title {
    font-size: 28px;
    font-weight: 700;
  color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
}
.subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 2px 0;
    line-height: 1.4;
    opacity: 0.9;
}
/* 搜索区域 */
.search-section {
    padding: 0 var(--spacing-md) var(--spacing-sm);
    background: var(--bg-primary);
    flex-shrink: 0;
}
.search-container {
    margin-bottom: var(--spacing-md);
}
.search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
  display: flex;
  align-items: center;
    gap: var(--spacing-sm);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.1),
                inset 0 0 15px rgba(0, 212, 170, 0.05);
    transition: all 0.3s ease;
}
.search-icon {
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
    background: transparent;
    filter: drop-shadow(0 0 4px rgba(0, 212, 170, 0.4));
}
.search-icon::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 212, 170, 0.8);
    border-radius: 50%;
    top: 0;
    left: 0;
    box-shadow: 0 0 6px rgba(0, 212, 170, 0.4);
}
.search-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background: rgba(0, 212, 170, 0.8);
    border-radius: 1px;
    transform: rotate(45deg);
    bottom: 2px;
    right: 2px;
    box-shadow: 0 0 4px rgba(0, 212, 170, 0.4);
}
.search-input:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.2),
                0 0 20px rgba(0, 212, 170, 0.3),
                inset 0 0 20px rgba(0, 212, 170, 0.1);
}
.search-input input {
  flex: 1;
    background: transparent;
  border: none;
  color: rgba(0, 212, 170, 0.9);
    font-size: 14px;
    outline: none;
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.4);
    letter-spacing: 0.3px;
}
.search-input input::placeholder {
    color: rgba(0, 212, 170, 0.5);
}
.search-button-container {
    margin-bottom: var(--spacing-md);
}
.search-button {
  width: 100%;
    background: linear-gradient(135deg, var(--accent-primary), rgba(0, 212, 170, 0.8));
    color: var(--bg-primary);
  border: 1.5px solid rgba(0, 212, 170, 0.5);
    border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
    font-size: 14px;
    font-weight: 600;
  cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}
.search-button:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary));
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5),
                inset 0 0 25px rgba(255, 255, 255, 0.15);
}
.hot-search {
  display: flex;
  align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: nowrap;
    margin-bottom: var(--spacing-xs);
}
.hot-label {
    font-size: 14px;
  color: var(--text-primary);
    white-space: nowrap;
}
.hot-tags {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.hot-tags::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.action-text {
    text-align: center;
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
}
.action-subtitle {
    font-size: 20px;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: var(--spacing-sm) 0;
    display: inline-block;
    transition: all 0.3s ease;
}
.hot-tag {
    background: transparent;
  color: rgba(0, 212, 170, 0.7);
    padding: 0;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    letter-spacing: 0.2px;
}
.hot-tag:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4);
}
/* 横幅区域 */
.banner {
  padding: var(--spacing-lg) var(--spacing-md);
    background: var(--bg-primary);
    text-align: center;
}
.banner-content {
    margin-bottom: var(--spacing-md);
}
.banner-text h2 {
    font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}
.banner-text p {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
}
.banner-footer {
    font-size: 12px;
  color: var(--text-primary);
}
/* 公群类型分类 */
.services-section {
    padding: 0 var(--spacing-md) var(--spacing-sm);
    background: var(--bg-primary);
    flex-shrink: 0;
}
.services-grid {
  display: grid;
    grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-md);
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-sm);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.03));
    border-radius: var(--radius-md);
  cursor: pointer;
    transition: all 0.3s ease;
    border: none; /* 删除静态边框，使用流光效果 */
    min-height: 60px;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}
/* 公群类型边框流光效果（和底部tabbar一样） */
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.6), 
        rgba(0, 212, 170, 0.9), 
        rgba(0, 212, 170, 0.6), 
        transparent
    );
    animation: navShimmer 3s infinite;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.6);
    z-index: 1;
}
.service-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(0, 212, 170, 0.06));
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
/* 删除hover时的border-color，因为已经使用流光效果 */
.service-icon {
    font-size: 24px;
  margin-bottom: var(--spacing-xs);
    display: none; /* 隐藏服务图标 */
}
.service-name {
    font-size: 18px; /* 增大公群类型字体 */
    color: var(--text-secondary);
    text-align: center;
  font-weight: 500;
}
/* 内容区域 */
.content-section {
    background: var(--bg-primary);
    min-height: 0;
    padding-bottom: 70px; /* 底部padding，确保tabbar可见（移动端优化） */
    margin-bottom: 0;
    box-sizing: border-box;
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 70px); /* 限制最大高度，确保tabbar可见 */
}
/* ✅ 消息页专用样式：禁用滚动和 padding，消除间隙 */
.content-section.messages-page-active {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    height: calc(100vh - 70px) !important;
    max-height: calc(100vh - 70px) !important;
    display: flex !important;
    flex-direction: column !important;
    border: 0 !important;
    outline: none !important;
}
/* ✅ 消息页 iframe 容器：消除所有间隙 */
.content-section.messages-page-active .messages-page {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: none !important;
}
.content-section.messages-page-active .messages-page iframe {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: none !important;
}
/* 空状态样式 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    min-height: 300px;
}
.list-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}
.list-item:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.item-icon {
    font-size: 20px;
    color: var(--accent-primary);
    display: none; /* 隐藏项目图标 */
}
.item-number {
    font-size: 16px;
    font-weight: 700;
  color: var(--text-primary);
    min-width: 40px;
}
.item-content {
    flex: 1;
}
.item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}
.item-desc {
    font-size: 12px;
    color: var(--text-secondary);
}
.item-pledge {
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 600;
    white-space: nowrap;
}
/* 底部导航（发光效果，移动端优化） */
.bottom-nav {
  position: fixed !important;
    bottom: 0 !important;
  left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border: none;
    display: flex !important;
  align-items: center;
    justify-content: space-between; /* ✅ 修复：使用space-between，确保服务大厅按钮在中间 */
    padding: 8px 4px; /* ✅ 修复：添加左右padding，避免按钮贴边 */
    z-index: 9999 !important; /* 提高z-index，确保始终在最上层 */
    backdrop-filter: blur(15px);
    box-shadow: 0 -4px 30px rgba(0, 212, 170, 0.4),
                0 -8px 60px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(0, 212, 170, 0.3);
    position: relative;
    height: auto;
    max-height: 60px; /* 限制最大高度，确保在移动端可见 */
    box-sizing: border-box;
    width: 100%;
    margin: 0;
}
/* 删除底部tabbar的流光效果（用户要求） */
.bottom-nav::before {
    display: none;
}
@keyframes navShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
.nav-item {
  display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    min-height: 44px;
    max-height: 50px;
    position: relative;
    color: rgba(0, 212, 170, 0.5);
    flex: 1 1 0; /* ✅ 修复：确保每个nav-item平均分配空间 */
    min-width: 0; /* ✅ 修复：允许flex收缩 */
}
.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(0, 212, 170, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-item:hover:not(.active)::before {
    opacity: 1;
}
.nav-item.active {
    color: var(--accent-primary);
    background: transparent !important; /* 强制删除黑色背景框 */
    border: none !important;
    box-shadow: none !important; /* 删除所有阴影，只保留文字发光效果 */
}
/* 删除选中时的边框效果，只保留文字发光 */
.nav-item.active::before {
    display: none; /* 完全删除边框效果 */
}
/* 删除选中时的顶部流光边框动画 */
.nav-item.active::after {
    display: none;
}
/* 选中时图标增强发光效果 */
.nav-item.active .nav-icon {
    color: var(--accent-primary);
    filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.8))
            drop-shadow(0 0 12px rgba(0, 212, 170, 0.6))
            drop-shadow(0 0 20px rgba(0, 212, 170, 0.4));
}
.nav-icon {
    font-size: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: none; /* 隐藏导航图标 */
    position: relative;
    z-index: 1;
}
.nav-text {
    font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    letter-spacing: 0.3px;
}
/* 选中时文字增强霓虹发光效果（主要效果） */
.nav-item.active .nav-text {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.9),
                 0 0 15px rgba(0, 212, 170, 0.7),
                 0 0 25px rgba(0, 212, 170, 0.5),
                 0 0 35px rgba(0, 212, 170, 0.3),
                 0 0 50px rgba(0, 212, 170, 0.2);
    font-weight: 700;
    letter-spacing: 0.5px;
    /* 添加动画效果，让文字发光更生动 */
    animation: textGlow 2s ease-in-out infinite alternate;
}
/* 文字发光动画 */
@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(0, 212, 170, 0.9),
                     0 0 15px rgba(0, 212, 170, 0.7),
                     0 0 25px rgba(0, 212, 170, 0.5),
                     0 0 35px rgba(0, 212, 170, 0.3),
                     0 0 50px rgba(0, 212, 170, 0.2);
    }
    100% {
        text-shadow: 0 0 15px rgba(0, 212, 170, 1),
                     0 0 20px rgba(0, 212, 170, 0.8),
                     0 0 30px rgba(0, 212, 170, 0.6),
                     0 0 40px rgba(0, 212, 170, 0.4),
                     0 0 60px rgba(0, 212, 170, 0.3);
    }
}
.nav-center {
    position: relative;
    z-index: 10;
    flex: 0 0 auto; /* ✅ 不拉伸，保持固定大小 */
    margin: 0 8px; /* ✅ 修复：添加左右margin，确保在中间 */
}
/* 区块链科技化服务大厅按钮 */
.center-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.15) 0%,
        rgba(0, 212, 170, 0.25) 50%,
        rgba(0, 212, 170, 0.15) 100%);
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 20px rgba(0, 212, 170, 0.5),
        0 0 40px rgba(0, 212, 170, 0.3),
        0 0 60px rgba(0, 212, 170, 0.2),
        inset 0 0 20px rgba(0, 212, 170, 0.1),
        inset 0 0 40px rgba(0, 212, 170, 0.05);
    position: relative;
    overflow: hidden;
    transform: rotate(45deg); /* 旋转45度，形成菱形/区块效果 */
}
/* 区块链链条效果 */
.center-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(0, 212, 170, 0.3) 50%,
        transparent 70%);
    background-size: 200% 200%;
    animation: chainFlow 3s linear infinite;
    border-radius: 12px;
    z-index: -1;
}
/* 内部区块网格效果 */
.center-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 212, 170, 0.1) 2px, rgba(0, 212, 170, 0.1) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 212, 170, 0.1) 2px, rgba(0, 212, 170, 0.1) 4px);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.3;
    animation: gridPulse 2s ease-in-out infinite;
}
/* 按钮内容（+号），需要反向旋转以保持正立 */
.center-btn .btn-content {
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    text-shadow: 
        0 0 10px rgba(0, 212, 170, 0.8),
        0 0 20px rgba(0, 212, 170, 0.6),
        0 0 30px rgba(0, 212, 170, 0.4);
}
/* 链条流动动画 */
@keyframes chainFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}
/* 网格脉冲动画 */
@keyframes gridPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}
.center-btn:hover {
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.25) 0%,
        rgba(0, 212, 170, 0.4) 50%,
        rgba(0, 212, 170, 0.25) 100%);
    transform: rotate(45deg) scale(1.15);
    box-shadow: 
        0 0 30px rgba(0, 212, 170, 0.7),
        0 0 60px rgba(0, 212, 170, 0.5),
        0 0 90px rgba(0, 212, 170, 0.3),
        inset 0 0 30px rgba(0, 212, 170, 0.2),
        inset 0 0 60px rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.9);
}
.center-btn:active {
    transform: rotate(45deg) scale(1.05);
}
/* ✅ 服务大厅按钮激活状态（参考tg.cc，但保持我们的特殊样式） */
.center-btn.active {
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.3) 0%,
        rgba(0, 212, 170, 0.5) 50%,
        rgba(0, 212, 170, 0.3) 100%);
    opacity: 1 !important;
    box-shadow: 
        0 0 40px rgba(0, 212, 170, 0.8),
        0 0 80px rgba(0, 212, 170, 0.6),
        0 0 120px rgba(0, 212, 170, 0.4),
        inset 0 0 40px rgba(0, 212, 170, 0.3),
        inset 0 0 80px rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 1);
}
.center-btn.active:hover {
    transform: rotate(45deg) scale(1.2);
    box-shadow: 
        0 0 50px rgba(0, 212, 170, 0.9),
        0 0 100px rgba(0, 212, 170, 0.7),
        0 0 150px rgba(0, 212, 170, 0.5),
        inset 0 0 50px rgba(0, 212, 170, 0.4),
        inset 0 0 100px rgba(0, 212, 170, 0.2);
}
/* 响应式设计 */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
}

    .service-item {
        padding: var(--spacing-sm);
    }
    
    .service-icon {
        font-size: 20px;
    }
    
    .service-name {
        font-size: 12px; /* 增大公群类型字体 */
    }
    
    .banner-text h1 {
        font-size: 18px;
    }
    
    .banner-text p {
        font-size: 12px;
    }
    
    .coin-icon, .shield-icon {
        font-size: 28px;
    }
}
@media (max-width: 360px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .header {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .banner {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
    .search-section {
        padding: var(--spacing-md) var(--spacing-sm);
    }
}
/* 滚动条样式 */
/* ✅ 隐藏所有滚动条（包括白色滚动条） */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    display: none;
}
::-webkit-scrollbar-track {
    display: none;
}
::-webkit-scrollbar-thumb {
    display: none;
}
/* ✅ 全局隐藏滚动条但保持滚动功能 */
* {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}
*::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
    width: 0 !important;
    height: 0 !important;
}
/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
        transform: translateY(20px);
  }
  to {
    opacity: 1;
        transform: translateY(0);
    }
}
.list-item {
    animation: fadeIn 0.5s ease-out;
}
/* 加载状态 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    color: var(--text-tertiary);
}
.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-primary);
    border-top: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: var(--spacing-sm);
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* 公群类型分类内容区域（黑色背景的区块链科技化设计） */
.groups-content-section {
    width: 100%;
    background: var(--bg-primary); /* 黑色背景 */
    border-radius: var(--radius-lg);
    margin: 0; /* ✅ 修复：完全去掉margin，紧跟在"开始您的担保交易"下方 */
    padding: 0; /* ✅ 修复：去掉padding */
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(0, 212, 170, 0.3),
                inset 0 0 20px rgba(0, 212, 170, 0.1);
    border: 1.5px solid rgba(0, 212, 170, 0.4);
    position: relative;
}
/* 删除公群类型模态框顶部流光效果（用户要求） */
.groups-content-section::before {
    display: none;
}
.groups-container {
    display: flex;
    flex-direction: column;
    min-height: 500px;
}
.groups-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0; /* ✅ 修复：完全去掉padding，紧跟在"开始您的担保交易"下方 */
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.03));
    border-bottom: 1px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.05);
    position: relative;
}
.groups-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    flex: 1;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--spacing-sm) var(--spacing-md); /* ✅ 修复：只在左右和上下添加padding */
    width: 100%;
    box-sizing: border-box;
    min-width: 0; /* 允许flex收缩 */
}
/* 公群类型按钮（区块链科技化设计） */
.group-category {
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: rgba(0, 212, 170, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    border: 1.5px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.05);
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    position: relative;
    overflow: hidden;
}
.group-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.15), 
        transparent
    );
    transition: left 0.5s ease;
}
.group-category:hover::before {
    left: 100%;
}
.group-category:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 212, 170, 0.6);
    color: rgba(0, 212, 170, 0.95);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(0, 212, 170, 0.1);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4);
}
.group-category.active {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08));
    color: var(--accent-primary);
    border-color: rgba(0, 212, 170, 0.6);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.4),
                0 0 40px rgba(0, 212, 170, 0.2),
                inset 0 0 20px rgba(0, 212, 170, 0.1);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.8),
                 0 0 15px rgba(0, 212, 170, 0.6),
                 0 0 25px rgba(0, 212, 170, 0.4);
}
.group-category.active:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 212, 170, 0.12));
    border-color: rgba(0, 212, 170, 0.8);
}
.groups-close {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(0, 212, 170, 0.5);
    color: rgba(0, 212, 170, 0.95);
    font-size: 18px; /* ✅ 调小：从24px改为18px */
    cursor: pointer;
    padding: var(--spacing-sm);
    width: 32px; /* ✅ 调小：从40px改为32px */
    height: 32px; /* ✅ 调小：从40px改为32px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: absolute; /* 绝对定位，靠右上角 */
    top: 16px; /* 距离顶部16px */
    right: 16px; /* 距离右边16px */
    margin-left: 0; /* 移除左边距 */
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.3),
                0 0 30px rgba(0, 212, 170, 0.15),
                inset 0 0 25px rgba(0, 212, 170, 0.08);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.7),
                 0 0 15px rgba(0, 212, 170, 0.5),
                 0 0 25px rgba(0, 212, 170, 0.3);
    z-index: 10; /* 确保在最上层 */
    overflow: hidden;
}
.groups-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.2), 
        transparent
    );
    transition: left 0.5s ease;
}
.groups-close:hover::before {
    left: 100%;
}
.groups-close:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 212, 170, 0.8);
    color: var(--accent-primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.5),
                0 0 50px rgba(0, 212, 170, 0.25),
                inset 0 0 30px rgba(0, 212, 170, 0.12);
    text-shadow: 0 0 15px rgba(0, 212, 170, 0.9),
                 0 0 25px rgba(0, 212, 170, 0.7),
                 0 0 40px rgba(0, 212, 170, 0.4);
}
.groups-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    min-height: 500px;
}
.groups-filters {
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.03));
    border-bottom: 1px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.05);
}
.filters-container {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: flex-start;
    margin-bottom: var(--spacing-md);
}
/* 二级分类和业务类型下拉框（区块链科技化设计） */
.filter-dropdown {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.05);
    position: relative;
    overflow: hidden;
}
.filter-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.15), 
        transparent
    );
    transition: left 0.5s ease;
}
.filter-dropdown:hover::before {
    left: 100%;
}
.filter-dropdown:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 212, 170, 0.6);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(0, 212, 170, 0.1);
}
.dropdown-text {
    font-size: 14px;
    color: rgba(0, 212, 170, 0.9);
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    position: relative;
    z-index: 1;
}
.dropdown-arrow {
    font-size: 12px;
    color: rgba(0, 212, 170, 0.7);
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    position: relative;
    z-index: 1;
}
/* 下拉框菜单样式 */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 下拉菜单容器（区块链科技化设计） */
.dropdown-menu {
    background: var(--bg-primary);
    border: 1.5px solid rgba(0, 212, 170, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(0, 212, 170, 0.3),
                inset 0 0 20px rgba(0, 212, 170, 0.1);
    max-width: 300px;
    width: 90%;
    max-height: 60vh;
    overflow: hidden;
}
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
}
.menu-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}
.menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: var(--spacing-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}
.menu-close:hover {
    background: var(--bg-hover);
}
.menu-content {
    max-height: 50vh;
    overflow-y: auto;
    padding: var(--spacing-sm);
}
/* 下拉菜单项（区块链科技化设计） */
.dropdown-item {
    padding: var(--spacing-md);
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-xs);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.05),
                inset 0 1px 0 rgba(0, 212, 170, 0.03);
    position: relative;
    overflow: hidden;
}
.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.15), 
        transparent
    );
    transition: left 0.5s ease;
}
.dropdown-item:hover::before {
    left: 100%;
}
.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(0, 212, 170, 0.06));
    border-color: rgba(0, 212, 170, 0.6);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(0, 212, 170, 0.1);
}
.dropdown-item:last-child {
    margin-bottom: 0;
}
.item-name {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 212, 170, 0.9);
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.dropdown-item:hover .item-name {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4);
}
.ranking-tabs {
    display: flex;
    gap: var(--spacing-xs);
}
/* 榜单标签（区块链科技化设计） */
.ranking-tab {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    color: rgba(0, 212, 170, 0.7);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.05);
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    position: relative;
    overflow: hidden;
}
.ranking-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.15), 
        transparent
    );
    transition: left 0.5s ease;
}
.ranking-tab:hover::before {
    left: 100%;
}
.ranking-tab:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 212, 170, 0.6);
    color: rgba(0, 212, 170, 0.95);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(0, 212, 170, 0.1);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4);
}
.ranking-tab.active {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08));
    color: var(--accent-primary);
    border-color: rgba(0, 212, 170, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.4),
                0 0 40px rgba(0, 212, 170, 0.2),
                inset 0 0 20px rgba(0, 212, 170, 0.1);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.8),
                 0 0 15px rgba(0, 212, 170, 0.6),
                 0 0 25px rgba(0, 212, 170, 0.4);
    font-weight: 600;
}
.ranking-tab.active:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 212, 170, 0.12));
    border-color: rgba(0, 212, 170, 0.8);
}
.tab-icon {
    font-size: 14px;
}
.tab-text {
    font-size: 12px;
}
/* ✅ 子分类容器 */
.subcategories-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}
/* ✅ 子分类按钮（与group-category和ranking-tab样式一致） */
.subcategory-item {
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: rgba(0, 212, 170, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    border: 1.5px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.05);
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    position: relative;
    overflow: hidden;
}
.subcategory-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.15), 
        transparent
    );
    transition: left 0.5s ease;
}
.subcategory-item:hover::before {
    left: 100%;
}
.subcategory-item:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 212, 170, 0.6);
    color: rgba(0, 212, 170, 0.95);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(0, 212, 170, 0.1);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4);
}
.subcategory-item.active {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08));
    color: var(--accent-primary);
    border-color: rgba(0, 212, 170, 0.6);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.4),
                0 0 40px rgba(0, 212, 170, 0.2),
                inset 0 0 20px rgba(0, 212, 170, 0.1);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.8),
                 0 0 15px rgba(0, 212, 170, 0.6),
                 0 0 25px rgba(0, 212, 170, 0.4);
}
.subcategory-item.active:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 212, 170, 0.12));
    border-color: rgba(0, 212, 170, 0.8);
}
/* ✅ 三级分类样式（与子分类样式保持一致） */
.third-level-subcategories-container {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}
.third-level-subcategories-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    padding: 0 var(--spacing-sm);
}
.third-level-subcategories-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
}
/* ✅ 三级分类按钮样式（与subcategory-item完全一致） */
.third-level-subcategory-item {
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: rgba(0, 212, 170, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    border: 1.5px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.05);
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    position: relative;
    overflow: hidden;
}
.third-level-subcategory-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.15), 
        transparent
    );
    transition: left 0.5s ease;
}
.third-level-subcategory-item:hover::before {
    left: 100%;
}
.third-level-subcategory-item:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 212, 170, 0.6);
    color: rgba(0, 212, 170, 0.95);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(0, 212, 170, 0.1);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4);
}
.third-level-subcategory-item.active {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08));
    color: var(--accent-primary);
    border-color: rgba(0, 212, 170, 0.6);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.4),
                0 0 40px rgba(0, 212, 170, 0.2),
                inset 0 0 20px rgba(0, 212, 170, 0.1);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.8),
                 0 0 15px rgba(0, 212, 170, 0.6),
                 0 0 25px rgba(0, 212, 170, 0.4);
}
.third-level-subcategory-item.active:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 212, 170, 0.12));
    border-color: rgba(0, 212, 170, 0.8);
}
.groups-list {
    flex: 1;
    padding: 0; /* 移除padding，让公群卡片从左上角开始显示 */
    overflow-y: auto;
}
/* 公群卡片（区块链科技化设计） */
/* ✅ 移动端触摸优化 */
.group-item,
.dialog-item,
.nav-item,
button,
a {
    -webkit-tap-highlight-color: rgba(0, 212, 170, 0.2);
    touch-action: manipulation; /* 禁用双击缩放 */
    -webkit-user-select: none;
    user-select: none; /* 禁用文本选择（移动端优化） */
}
/* ✅ 优化滚动性能 */
.dialog-body,
.content-section,
.groups-list {
    -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
    overscroll-behavior: contain; /* 防止滚动穿透 */
    will-change: scroll-position; /* 提示浏览器优化滚动 */
}
.group-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    margin: 0 0 var(--spacing-md) 0; /* 移除左右margin，让卡片从左上角开始显示 */
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.03));
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(0, 212, 170, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.05);
    position: relative;
    overflow: hidden;
}
.group-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.15), 
        transparent
    );
    transition: left 0.5s ease;
}
.group-item:hover::before {
    left: 100%;
}
.group-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(0, 212, 170, 0.06));
    border-color: rgba(0, 212, 170, 0.6);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(0, 212, 170, 0.1);
    transform: translateY(-2px);
}
/* 排名数字（区块链科技化设计） */
.group-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), rgba(0, 212, 170, 0.8));
    color: var(--bg-primary);
    border: 1.5px solid rgba(0, 212, 170, 0.5);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    margin-right: var(--spacing-md);
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.4),
                0 0 30px rgba(0, 212, 170, 0.2),
                inset 0 0 15px rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}
.group-content {
    flex: 1;
    margin-right: var(--spacing-sm);
}
.group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    position: relative;
    z-index: 1;
}
.group-pledge {
    font-size: 12px;
    color: var(--accent-primary);
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.5),
                 0 0 10px rgba(0, 212, 170, 0.3);
    position: relative;
    z-index: 1;
}
/* 业务类型选择模态框样式 */
.business-type-modal {
    max-width: 600px;
    width: 90%;
}
.business-types-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}
.business-type-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}
.business-type-item:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
}
.business-type-icon {
    font-size: 24px;
    margin-right: var(--spacing-md);
    min-width: 40px;
    text-align: center;
}
.business-type-info {
    flex: 1;
}
.business-type-info h4 {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-primary);
    font-size: 16px;
}
.business-type-info p {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-secondary);
    font-size: 14px;
}
.business-type-meta {
    display: flex;
    gap: var(--spacing-sm);
}
.pledge-amount {
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 500;
}
.select-business-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
.select-business-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}
/* 业务表单模态框样式 */
.business-form-modal {
    max-width: 500px;
    width: 90%;
}
.business-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}
.form-group label {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}
.required {
    color: var(--error-color);
    margin-left: 2px;
}
/* 整合业务类型模态框样式 */
.integrated-business-modal .modal-content {
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}
.business-types-section {
    padding: var(--spacing-md) 0;
}
.business-types-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}
.business-type-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}
.business-type-item:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}
.business-type-info h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.pledge-info {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}
.business-type-arrow {
    color: var(--accent-primary);
    font-size: 18px;
    font-weight: bold;
}
.form-section {
    padding: var(--spacing-md) 0;
}
.form-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-primary);
}
.form-header h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
    text-align: center;
}
.back-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.back-btn .back-icon {
    font-size: 16px;
    line-height: 1;
}
.back-btn .back-text {
    font-size: 14px;
}
.back-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}
.form-hint {
    color: var(--text-tertiary);
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.4;
}
/* 文件上传字段样式 */
.form-group input[type="file"] {
    padding: var(--spacing-sm);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-group input[type="file"]:hover {
    border-color: var(--accent-primary);
    background: var(--bg-hover);
}
.form-group input[type="file"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.2);
}
/* 文件上传字段的伪元素样式 */
.form-group input[type="file"]::file-selector-button {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    margin-right: var(--spacing-sm);
    transition: all 0.3s ease;
}
.form-group input[type="file"]::file-selector-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}
.form-group input,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.form-group input[type="file"] {
    padding: var(--spacing-xs);
    background: var(--bg-secondary);
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-primary);
}
.btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}
.btn-secondary:hover {
    background: var(--bg-secondary);
}
.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
}
.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}
.group-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
/* 查看图标（区块链科技化设计） */
.view-icon {
    font-size: 18px;
    color: rgba(0, 212, 170, 0.7);
    cursor: pointer;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-right: var(--spacing-sm);
}
.view-icon:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4);
    transform: scale(1.1);
}
/* 选择按钮（区块链科技化设计） */
.select-btn {
    background: linear-gradient(135deg, var(--accent-primary), rgba(0, 212, 170, 0.8));
    color: var(--bg-primary);
    border: 1.5px solid rgba(0, 212, 170, 0.5);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.select-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.select-btn:hover::before {
    opacity: 1;
}
.select-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary));
    border-color: rgba(0, 212, 170, 0.8);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5),
                inset 0 0 25px rgba(255, 255, 255, 0.15);
}
/* 模态框基础样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center; /* ✅ 登录窗口居中显示 */
    justify-content: center;
    z-index: 10000;
    padding: var(--spacing-md);
    overflow-y: auto; /* ✅ 允许滚动 */
}
/* ✅ 特殊处理：公群类型模态框从顶部开始对齐（由JavaScript动态设置） */
.modal-overlay.position-from-top {
    align-items: flex-start;
    padding-top: 0; /* ✅ 顶部无padding，由JavaScript动态设置 */
}
.modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border-primary);
}
.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border-primary);
    display: flex;
    flex-direction: column;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-primary);
}
.modal-header h3 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.modal-close:hover {
    color: var(--text-primary);
}
/* 返回按钮样式（当X按钮变为返回时） */
.modal-close.back-close-btn {
    width: auto;
    min-width: 50px;
    padding: 4px 12px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
}
.modal-close.back-close-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}
.modal-body {
    padding: var(--spacing-md);
    flex: 1;
    overflow-y: auto;
}
/* ✅ 登录注册模态框表单样式（完全复制自app.js的createModal） */
.modal-content {
    padding: var(--spacing-md);
}
.modal-content .form-group {
    margin-bottom: var(--spacing-md);
}
.modal-content .form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
}
.form-input {
    width: 100%;
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.form-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}
.form-actions .btn-primary,
.form-actions .btn-secondary {
    flex: 1;
    min-width: 80px;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-actions .btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
}
.form-actions .btn-primary:hover {
    background: var(--accent-hover);
}
.form-actions .btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}
.form-actions .btn-secondary:hover {
    background: var(--bg-hover);
}
/* ✅ Toast动画（完全复制自app.js的showToast） */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
/* 公群项目样式 */
/* ============================================
   消息页面样式 - 黑色背景风格
   ============================================ */
/* 消息页面容器 */
.messages-page {
    padding: var(--spacing-md);
    background: #000;
    color: #fff;
    min-height: calc(100vh - 120px);
}
/* 消息头部 */
.messages-header {
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md) var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--spacing-md);
}
.messages-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
/* 通知列表容器 */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}
/* 通知项 */
.notification-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all 0.3s ease;
}
.notification-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.notification-item.unread {
    background: rgba(0, 212, 170, 0.1);
    border-left: 3px solid var(--accent-primary);
}
.notification-item.unread:hover {
    background: rgba(0, 212, 170, 0.15);
}
/* 通知内容 */
.notification-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}
/* 通知头部（标题和未读标记） */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-sm);
}
.notification-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}
.unread-badge {
    padding: 2px var(--spacing-xs);
    background: var(--accent-primary);
    color: #000;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
/* 通知消息内容 */
.notification-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    word-wrap: break-word;
    margin-top: var(--spacing-xs);
}
/* 通知额外信息 */
.notification-extra {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--spacing-xs);
    padding: var(--spacing-xs) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
/* 通知时间 */
.notification-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: var(--spacing-xs);
    text-align: right;
}
/* 空状态和错误状态 */
.empty-message,
.error-message {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    color: var(--text-tertiary);
    font-size: 14px;
    min-height: 200px;
}
.error-message {
    color: var(--error);
}
/* 加载状态 */
.content-section .loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    color: var(--text-tertiary);
    min-height: 200px;
}
/* 通知操作按钮 */
.notification-actions {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.btn-confirm {
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--success, #2e7d32);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: var(--spacing-sm);
}
.btn-confirm:hover {
    background: #3fb34a;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.btn-report-missing {
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--warning);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-report-missing:hover {
    background: #ff8a50;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
/* ============================================
   服务大厅页面样式（业务办理中心）
   ============================================ */
.service-hall-container {
    padding: 16px;
    min-height: calc(100vh - 200px);
    background: var(--bg-primary);
    padding-bottom: 100px; /* 为底部导航留出空间 */
}
/* 顶部标题区域 */
.service-hall-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.back-btn {
    width: 36px;
    height: 36px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.back-btn:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}
.service-hall-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}
/* 导航标签栏 */
.service-hall-nav {
    margin-bottom: 12px;
}
.nav-tab {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
}
.nav-tab.active {
    background: rgba(0, 212, 170, 0.2);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}
/* 导航区域 */
.service-hall-nav {
    padding: 12px 0;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}
.navigation-loading {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px;
    font-size: 14px;
}
.navigation-category {
    margin-bottom: 24px;
}
.navigation-category:last-child {
    margin-bottom: 0;
}
.category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.3);
}
.navigation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.navigation-item {
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}
.navigation-item:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--accent-primary);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.2);
}
.navigation-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.navigation-item:hover .navigation-link {
    color: var(--accent-primary);
}
/* 标语 */
.service-hall-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}
.service-hall-slogan span:nth-child(odd) {
    color: var(--text-primary);
}
.service-hall-slogan span:nth-child(even) {
    color: var(--text-tertiary);
}
/* 业务分类网格（2列布局） */
.business-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
/* 业务卡片 */
.business-card {
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-lg);
    padding: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.business-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}
.business-card-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
}
.business-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
    margin: 0;
}
.business-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.business-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
/* 业务链接 */
.business-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.business-link {
    font-size: 13px;
    color: var(--accent-primary);
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
}
.business-link:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
}
/* 业务按钮 */
.business-btn {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-md);
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}
.business-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.5);
}
.business-btn:active {
    transform: translateY(0);
}
/* 郑重声明 */
.solemn-declaration {
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-top: 30px;
}
.declaration-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--error);
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(255, 87, 34, 0.5);
}
.declaration-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}
/* 响应式设计 - 服务大厅 */
@media (max-width: 480px) {
    .business-categories {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .business-card {
        padding: 14px;
    }
    
    .business-card-title {
        font-size: 15px;
    }
    
    .business-card-desc {
        font-size: 12px;
    }
    
    .business-link {
        font-size: 12px;
    }
    
    .business-btn {
        font-size: 13px;
        padding: 9px 14px;
    }
    
    .declaration-content {
        font-size: 12px;
    }
}
/* ✅ 移动端响应式优化 */
@media (max-width: 768px) {
    /* 公群列表：单列布局 */
    .groups-list {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-sm);
    }
    
    /* 公群卡片：减少内边距 */
    .group-item {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    /* 对话框：优化内边�?*/
    .dialog-body {
        padding: 12px;
    }
    
    /* 底部导航：固定高�?*/
    .bottom-nav {
        height: 60px;
    }
}
/* �?大屏优化 */
@media (min-width: 769px) {
    /* 公群列表：双列布局 */
    .groups-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ============================================
   个人中心页面样式 - 黑色背景风格
   ============================================ */
/* 个人中心容器 */
.profile-page {
    padding: 8px 10px;
    padding-top: 70px; /* 适中的顶部距离，避免被登录注册按钮遮挡 */
    background: #000;
    color: #fff;
    min-height: calc(100vh - 120px);
    box-sizing: border-box;
}
.profile-content {
    background: #000;
}
/* 用户UID卡片（包含用户UID和质押USDT，位于最顶部） */
.wallet-uid-card {
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(0, 212, 170, 0.05));
    border: 1.5px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-md);
    margin-top: 0;
    margin-bottom: 8px;
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.15),
                inset 0 1px 0 rgba(0, 212, 170, 0.1);
    position: relative;
    overflow: hidden;
}
/* 删除用户UID卡片顶部流光效果（用户要求） */
.wallet-uid-card::before {
    display: none;
}
.uid-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.uid-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.pledge-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.uid-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.2);
}
.uid-value {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.3);
}
.pledge-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.2);
}
.pledge-value {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4);
}
/* 余额卡片（重新设计，更突出和美观） */
.wallet-balance-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08));
    border: 1.5px solid rgba(0, 212, 170, 0.4);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.2),
                0 0 30px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.15);
    position: relative;
    overflow: hidden;
}
/* 余额卡片左侧图标区域 */
.wallet-balance-card::before {
    content: '💰';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0.3;
    filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.5));
}
.balance-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding-left: 40px; /* 为左侧图标留出空间 */
    flex: 1;
}
.balance-item.highlight-item {
    align-items: flex-end;
}
.balance-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.2);
}
.balance-value {
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}
.balance-item.highlight-item .balance-value {
    color: var(--accent-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.8),
                 0 0 15px rgba(0, 212, 170, 0.6),
                 0 0 25px rgba(0, 212, 170, 0.4);
    line-height: 1.2;
}
/* 充币提币按钮组（和标签页按钮一样大小和样式） */
.wallet-action-buttons {
    display: flex;
    gap: 5px;
    padding: 0 10px;
    margin-bottom: 10px;
    margin-top: 0;
}
.wallet-action-btn {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1.5px solid rgba(0, 212, 170, 0.4) !important;
    border-radius: var(--radius-md);
    color: rgba(0, 212, 170, 0.9) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.2),
                inset 0 0 20px rgba(0, 212, 170, 0.05);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4),
                 0 0 20px rgba(0, 212, 170, 0.2);
    letter-spacing: 0.3px;
    overflow: hidden;
}
.wallet-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.2), 
        transparent
    );
    transition: left 0.5s ease;
}
.wallet-action-btn:hover::before {
    left: 100%;
}
.wallet-action-btn:hover:not(.active) {
    background: rgba(0, 0, 0, 0.7) !important;
    border-color: rgba(0, 212, 170, 0.8) !important;
    color: var(--accent-primary) !important;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.4),
                0 0 30px rgba(0, 212, 170, 0.2),
                inset 0 0 20px rgba(0, 212, 170, 0.1);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.8),
                 0 0 15px rgba(0, 212, 170, 0.6),
                 0 0 25px rgba(0, 212, 170, 0.4);
    transform: translateY(-1px);
}
.wallet-action-btn.active {
    background: rgba(0, 0, 0, 0.8) !important;
    border-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.6),
                0 0 40px rgba(0, 212, 170, 0.3),
                inset 0 0 30px rgba(0, 212, 170, 0.15);
    text-shadow: 0 0 12px rgba(0, 212, 170, 1),
                 0 0 18px rgba(0, 212, 170, 0.8),
                 0 0 30px rgba(0, 212, 170, 0.5);
}
.wallet-action-btn.active:hover {
    background: rgba(0, 0, 0, 0.85) !important;
    border-color: var(--accent-hover) !important;
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.7),
                0 0 50px rgba(0, 212, 170, 0.4),
                inset 0 0 35px rgba(0, 212, 170, 0.2);
    text-shadow: 0 0 15px rgba(0, 212, 170, 1),
                 0 0 22px rgba(0, 212, 170, 0.9),
                 0 0 35px rgba(0, 212, 170, 0.6);
}
.btn-icon {
    font-size: 14px;
    filter: drop-shadow(0 0 4px rgba(0, 212, 170, 0.6));
    position: relative;
    z-index: 1;
}
.btn-text {
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
/* deposit-btn 和 withdraw-btn 的样式已移除，只在 active 状态显示选中样式 */
/* 钱包内容区域 */
.wallet-content-section {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 用户信息（保留兼容） */
.profile-info {
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md) var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--spacing-sm);
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}
.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}
.info-value {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.info-value.highlight {
    color: var(--accent-primary);
    font-size: 18px;
    font-weight: 700;
}
/* 导航标签页 */
.profile-nav-tabs {
    display: flex;
    gap: 5px;
    padding: 6px 10px;
    margin-bottom: 8px;
    margin-top: 0;
}
.nav-tab {
    flex: 1;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-tab.active {
    background: var(--accent-primary);
    color: #000;
    border-color: var(--accent-primary);
}
.nav-tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}
/* 内容区域 */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
/* 交易所按钮 */
.exchange-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin: 0 var(--spacing-md) var(--spacing-lg) var(--spacing-md);
}
/* 交易所卡片（区块链科技化设计，明确可点击） */
.exchange-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-sm);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.03));
    border: 1.5px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(0, 212, 170, 0.05);
    position: relative;
    overflow: hidden;
}
/* 交易所卡片hover流光效果 */
.exchange-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.15), 
        transparent
    );
    transition: left 0.5s ease;
}
.exchange-btn:hover::before {
    left: 100%;
}
.exchange-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08));
    border-color: rgba(0, 212, 170, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2),
                0 0 30px rgba(0, 212, 170, 0.15),
                inset 0 1px 0 rgba(0, 212, 170, 0.1);
}
.exchange-btn:active {
    transform: translateY(-1px) scale(1.0);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.15);
}
.exchange-icon {
    font-size: 20px;
    flex-shrink: 0;
}
.exchange-info {
    width: 100%;
    text-align: center;
}
.exchange-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.3);
    position: relative;
    z-index: 1;
}
.exchange-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.2);
    position: relative;
    z-index: 1;
}
/* 交易所卡片hover时文字增强效果 */
.exchange-btn:hover .exchange-name {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6),
                 0 0 12px rgba(0, 212, 170, 0.4);
}
.exchange-btn:hover .exchange-desc {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.3);
}
/* 删除交易所卡片的左边竖线（用户要求） */
.okx-btn {
    border-left: none;
}
.binance-btn {
    border-left: none;
}
/* 内容项 */
.content-item {
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-md);
}
.content-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--spacing-md);
}
.title-icon {
    font-size: 20px;
}
.content-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}
.feature-list {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}
.feature-tag {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    padding: var(--spacing-xs) var(--spacing-sm);
}
/* 步骤标题 */
.step-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}
.step-icon {
    font-size: 16px;
}
/* 步骤内容 */
.step-content {
    color: #fff;
}
.step-header {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    margin-top: var(--spacing-md);
    line-height: 1.5;
}
.step-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-md);
}
.goto-deposit-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.goto-deposit-btn:hover {
    background: var(--accent-primary);
    color: #000;
}
.step-header:first-child {
    margin-top: 0;
}
.step-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}
/* 复制充币地址区域 */
.copy-address-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.address-label-small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}
.address-box-small {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.address-text {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    color: #fff;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}
.copy-btn-small {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--accent-primary);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.copy-btn-small:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.3);
}
/* 钱包地址区域 */
/* 充币页样式（整体显示更大，区块链科技化设计） */
.wallet-address-section {
    padding: 16px 14px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), rgba(0, 212, 170, 0.02));
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 212, 170, 0.15);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.08);
    position: relative;
    overflow: hidden;
}
.wallet-address-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.5), 
        rgba(0, 212, 170, 0.8), 
        rgba(0, 212, 170, 0.5), 
        transparent
    );
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
.wallet-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.wallet-icon-container {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.25), rgba(0, 212, 170, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 212, 170, 0.4);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}
.wallet-icon-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.6), 
        rgba(0, 212, 170, 0.2)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.wallet-icon-container:hover::after {
    opacity: 0.5;
}
.wallet-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 212, 170, 0.3));
}
.wallet-title-group {
    flex: 1;
}
.wallet-label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}
.wallet-subtitle {
    display: block;
    font-size: 12px;
    color: rgba(0, 212, 170, 0.8);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2px;
}
/* 钱包地址盒子（区块链科技化设计） */
.wallet-address-box {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.03));
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}
.address-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wallet-address-input {
    display: flex;
    gap: 6px; /* 减小间距，给地址输入框更多空间 */
    align-items: stretch; /* 确保地址输入框和复制按钮等高 */
}
.address-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 12px; /* 减小padding，给地址更多显示空间 */
    color: rgba(0, 212, 170, 0.95);
    font-size: 10px; /* 减小字体，确保完整显示 */
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    white-space: nowrap; /* 单行显示 */
    overflow-x: auto; /* 水平滚动 */
    overflow-y: hidden;
    min-width: 0; /* 允许flex收缩 */
    text-overflow: clip; /* 不显示省略号，允许完整显示 */
    -ms-overflow-style: none;
    scrollbar-width: none;
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
    letter-spacing: 0.3px; /* 减小字间距 */
    font-weight: 500;
}
.address-input::-webkit-scrollbar {
    display: none;
}
.address-input:focus {
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.2),
                0 0 20px rgba(0, 212, 170, 0.3),
                inset 0 0 10px rgba(0, 212, 170, 0.1);
    color: var(--accent-primary);
}
.copy-btn {
    padding: 8px 10px; /* 进一步减小padding，让按钮更小 */
    background: linear-gradient(135deg, var(--accent-primary), rgba(0, 212, 170, 0.8));
    color: #000;
    border: 1px solid rgba(0, 212, 170, 0.5);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 10px; /* 进一步减小字体 */
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 50px; /* 减小最小宽度，让按钮更小 */
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.2px;
}
.copy-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.3);
}
/* 钱包提示信息（区块链科技化设计） */
.wallet-notice {
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.06), rgba(0, 212, 170, 0.02));
    border-left: none; /* 删除左边的竖线（用户要求） */
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}
.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}
.notice-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}
.wallet-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin: 0;
    text-align: center;
    padding-top: var(--spacing-sm);
}
/* 提现区域 */
/* 提币页样式（整体显示稍小，区块链科技化设计） */
.withdraw-section {
    padding: 16px 14px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), rgba(0, 212, 170, 0.02));
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 212, 170, 0.15);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.08);
    position: relative;
    overflow: hidden;
}
.withdraw-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.5), 
        rgba(0, 212, 170, 0.8), 
        rgba(0, 212, 170, 0.5), 
        transparent
    );
    animation: shimmer 3s infinite;
}
.withdraw-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.withdraw-icon-container {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.25), rgba(0, 212, 170, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 212, 170, 0.4);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}
.withdraw-icon-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.6), 
        rgba(0, 212, 170, 0.2)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.withdraw-icon-container:hover::after {
    opacity: 0.5;
}
.withdraw-icon {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 212, 170, 0.3));
}
.withdraw-title-group {
    flex: 1;
}
.withdraw-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}
.withdraw-subtitle {
    display: block;
    font-size: 11px;
    color: rgba(0, 212, 170, 0.8);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2px;
}
/* 可提现余额（区块链科技化设计） */
.withdraw-balance {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.03));
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}
.balance-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}
.balance-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-primary);
}
/* 提现表单 */
.withdraw-form {
    margin-bottom: 12px;
}
.form-item {
    margin-bottom: 10px;
}
.form-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    color: rgba(0, 212, 170, 0.95);
    font-size: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3px;
}
.form-input::placeholder {
    color: rgba(0, 212, 170, 0.5);
}
.form-input:focus {
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.2),
                0 0 20px rgba(0, 212, 170, 0.3),
                inset 0 0 10px rgba(0, 212, 170, 0.1);
    color: var(--accent-primary);
}
.withdraw-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--accent-primary), rgba(0, 212, 170, 0.8));
    color: #000;
    border: 1px solid rgba(0, 212, 170, 0.5);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}
.withdraw-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.withdraw-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.3);
}
/* 提现提示信息（区块链科技化设计） */
.withdraw-notice {
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.06), rgba(0, 212, 170, 0.02));
    border-left: none; /* 删除左边的竖线（用户要求） */
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}
/* ============================================
   消息页面区块链科技化样式
   ============================================ */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
/* 媒体网格布局（类似Telegram） */
.media-grid {
    display: grid;
    gap: 2px;
    margin: 4px 0;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}
.media-grid-1 {
    grid-template-columns: 1fr;
}
.media-grid-2 {
    grid-template-columns: 1fr 1fr;
}
.media-grid-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.media-grid-3 .media-item:first-child {
    grid-row: 1 / 3;
}
.media-grid-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.media-grid-5plus {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
}
.media-item {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 150px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    border-radius: 4px;
}
.media-item.media-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-item.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.media-item.media-video {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.media-item.media-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}
.video-preview {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
}
.video-preview .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
}
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
    transition: transform 0.2s ease;
}
.video-preview:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}
.video-preview:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1;
}
.media-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
}
/* 媒体网格说明文字（显示在网格下方，而不是每个媒体项内部） */
.media-grid-caption {
    margin-top: 8px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 150px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.media-item.media-placeholder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 20px;
    position: relative;
}
.media-placeholder-icon {
    font-size: 48px;
    margin-bottom: 8px;
    opacity: 0.6;
}
.media-placeholder-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-align: center;
}
/* 对话框卡片（区块链科技化设计） */
.dialog-card {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9));
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001; /* 提高z-index，确保在底部导航栏和登录/退出按钮之上 */
    border: none;
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.15);
    overflow: hidden;
    padding-bottom: 0; /* 确保没有底部padding */
    margin-bottom: 0; /* 确保没有底部margin */
}
.dialog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.5), 
        rgba(0, 212, 170, 0.8), 
        rgba(0, 212, 170, 0.5), 
        transparent
    );
    animation: shimmer 3s infinite;
    z-index: 1;
}
/* 公群对话框头部（区块链科技化设计） */
.group-dialog-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9)); /* 使用不透明背景，确保完全覆盖登录/退出按钮 */
    border-bottom: 1px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1);
    position: relative;
    z-index: 10001; /* 确保覆盖登录/退出按钮（z-index: 1000） */
    min-height: 60px; /* 确保有足够高度覆盖顶部按钮 */
}
.back-to-messages-btn {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(0, 212, 170, 0.3) !important;
    border-radius: var(--radius-sm) !important;
    color: rgba(0, 212, 170, 0.9) !important;
    cursor: pointer;
    padding: 8px 12px !important;
    margin-right: 12px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.2);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6);
}
.back-to-messages-btn:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(0, 212, 170, 0.6) !important;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.4);
    text-shadow: 0 0 12px rgba(0, 212, 170, 0.8);
}
.group-title {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 8px rgba(0, 212, 170, 0.3);
    letter-spacing: 0.3px;
}
.group-pledge {
    color: rgba(0, 212, 170, 0.9) !important;
    font-size: 13px !important;
    margin-top: 4px !important;
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.5);
    letter-spacing: 0.2px;
}
/* 对话框消息体（区块链科技化设计） */
.dialog-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9));
    padding: 16px 12px;
    padding-bottom: calc(20px + 120px); /* 底部留出足够空间，避免被输入框遮挡（120px是输入框高度+安全边距+额外缓冲，确保消息完全在输入框上方） */
    min-height: 0;
    position: relative;
    z-index: 1;
    /* ✅ 移动端滚动优化 */
    -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
    overscroll-behavior: contain; /* 防止滚动穿透 */
    will-change: scroll-position; /* 提示浏览器优化滚动 */
    margin-bottom: 0; /* 确保没有底部margin */
    box-sizing: border-box; /* 确保padding计算正确 */
}
/* 消息输入区域（区块链科技化设计） */
.dialog-input-area {
    padding: 14px 16px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); /* 只保留安全区域适配，移除底部导航栏空间 */
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(0, 212, 170, 0.05));
    border-top: 1px solid rgba(0, 212, 170, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 -2px 8px rgba(0, 212, 170, 0.1),
                0 -4px 16px rgba(0, 212, 170, 0.05);
    position: fixed; /* 改为fixed定位，固定在底部 */
    bottom: 0; /* 固定在底部 */
    left: 0;
    right: 0;
    z-index: 10001; /* 提高z-index，确保在底部导航栏之上 */
    flex-shrink: 0; /* 防止被压缩 */
    min-height: 68px; /* 设置最小高度，确保可见 */
    margin-bottom: 0; /* 确保没有底部margin */
    /* 移动端键盘适配：使用viewport单位，键盘弹出时自动调整 */
    max-height: 50vh; /* 限制最大高度，避免键盘弹出时超出屏幕 */
}
.message-input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(0, 212, 170, 0.3) !important;
    border-radius: 20px !important;
    color: rgba(0, 212, 170, 0.95) !important;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.4);
    letter-spacing: 0.3px;
}
.message-input:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.2),
                0 0 20px rgba(0, 212, 170, 0.3),
                inset 0 0 10px rgba(0, 212, 170, 0.1);
    color: var(--accent-primary) !important;
}
.message-input::placeholder {
    color: rgba(0, 212, 170, 0.5) !important;
}
.upload-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(0, 212, 170, 0.3) !important;
    color: rgba(0, 212, 170, 0.9) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.2);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6);
}
.upload-btn:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(0, 212, 170, 0.6) !important;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.4);
    text-shadow: 0 0 12px rgba(0, 212, 170, 0.8);
}
.voice-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(0, 212, 170, 0.3) !important;
    color: rgba(0, 212, 170, 0.9) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.2);
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.voice-btn:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(0, 212, 170, 0.6) !important;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.4);
    text-shadow: 0 0 12px rgba(0, 212, 170, 0.8);
}
.voice-btn:active {
    background: rgba(0, 212, 170, 0.3) !important;
    border-color: rgba(0, 212, 170, 0.8) !important;
    transform: scale(0.95);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.6);
}
.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), rgba(0, 212, 170, 0.8)) !important;
    border: 1.5px solid rgba(0, 212, 170, 0.5) !important;
    color: #000 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
}
.send-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary)) !important;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5),
                inset 0 0 25px rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}
/* 滚动到底部按钮 */
.scroll-to-bottom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.9), rgba(0, 212, 170, 0.7)) !important;
    border: 1.5px solid rgba(0, 212, 170, 0.5) !important;
    color: #fff !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.4),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}
.scroll-to-bottom-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 1), rgba(0, 212, 170, 0.9)) !important;
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.6),
                inset 0 0 25px rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}
.scroll-to-bottom-btn:active {
    transform: scale(0.95);
}
/* 消息气泡（区块链科技化设计） */
.chat-message {
    margin-bottom: 12px;
    padding: 0 12px;
}
.chat-message.system-message {
    text-align: center;
}
.chat-message.system-message > div {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08)) !important;
    border: 1px solid rgba(0, 212, 170, 0.3) !important;
    border-radius: 8px;
    padding: 8px 14px;
    color: rgba(0, 212, 170, 0.9) !important;
    text-align: center;
    font-size: 12px;
    max-width: 80%;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.2);
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.5);
    letter-spacing: 0.2px;
}
.chat-message.my-message {
    display: flex;
    justify-content: flex-end;
}
.chat-message.my-message > div > div:first-child {
    background: linear-gradient(135deg, var(--accent-primary), rgba(0, 212, 170, 0.8)) !important;
    border: 1px solid rgba(0, 212, 170, 0.5) !important;
    border-radius: 12px 12px 4px 12px;
    padding: 10px 14px;
    color: #000 !important;
    word-wrap: break-word;
    box-shadow: 0 2px 12px rgba(0, 212, 170, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.chat-message.my-message > div > div:last-child {
    color: rgba(0, 212, 170, 0.7) !important;
    font-size: 11px;
    margin-top: 4px;
    padding-right: 4px;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
}
.chat-message.other-message {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
    border: 1px solid rgba(0, 212, 170, 0.4);
}
.message-avatar > span {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.chat-message.other-message > div > div:last-child {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08)) !important;
    border: 1px solid rgba(0, 212, 170, 0.3) !important;
    border-radius: 12px 12px 12px 4px;
    padding: 10px 14px;
    color: rgba(0, 212, 170, 0.95) !important;
    word-wrap: break-word;
    display: inline-block;
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.2);
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.4);
}
.chat-message.other-message .start-private-chat {
    color: var(--accent-primary) !important;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 4px;
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.6);
}
.chat-message.other-message > div > div:first-child > span:first-child {
    color: rgba(0, 212, 170, 0.9) !important;
    font-size: 14px;
    font-weight: 500;
    margin-right: 8px;
    text-shadow: 0 0 6px rgba(0, 212, 170, 0.4);
}
.chat-message.other-message > div > div:first-child > span:last-child {
    color: rgba(0, 212, 170, 0.7) !important;
    font-size: 11px;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
}
/* 对话列表项（区块链科技化设计） */
.dialog-item {
    cursor: pointer;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 212, 170, 0.1);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.03), rgba(0, 212, 170, 0.01));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.dialog-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.1), 
        transparent
    );
    transition: left 0.5s ease;
}
.dialog-item:hover::before {
    left: 100%;
}
.dialog-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.04));
    border-bottom-color: rgba(0, 212, 170, 0.3);
}
.dialog-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.3);
    border: 1px solid rgba(0, 212, 170, 0.4);
}
.dialog-title {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.dialog-preview {
    color: rgba(0, 212, 170, 0.8);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.3);
}
.dialog-time {
    color: rgba(0, 212, 170, 0.6);
    font-size: 13px;
    flex-shrink: 0;
    margin-left: 8px;
    font-weight: 400;
    text-shadow: 0 0 4px rgba(0, 212, 170, 0.2);
}
/* 消息页头部（区块链科技化设计） */
.messages-header {
    padding: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(0, 212, 170, 0.05));
    border-bottom: 1px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1);
}
.messages-header h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 8px rgba(0, 212, 170, 0.3);
    letter-spacing: 0.3px;
}
/* 对话列表容器（区块链科技化设计） */
.dialogs-list {
    flex: 1;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9));
}
.messages-page {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9));
    height: 100vh;
    display: flex;
    flex-direction: column;
}
/* 消息页优化样式 - 简洁设计 */
/* 消息页容器 */
.messages-page {
    background: #0a0a0a;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
}
/* 消息页头部 - 更紧凑 */
.messages-header {
    padding: 12px 16px;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}
.messages-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
/* 头部操作按钮组 */
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
/* 搜索和添加按钮 - 更小更精致 */
.search-btn,
.add-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    position: relative;
}
.search-btn:hover,
.add-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.search-btn:active,
.add-btn:active {
    transform: scale(0.95);
}
.add-btn {
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
}
/* 对话列表 */
.dialogs-list {
    flex: 1;
    overflow-y: auto;
    background: #0a0a0a;
    -webkit-overflow-scrolling: touch;
}
/* 空状态 */
.empty-message {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
}
.empty-hint {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
}
/* 对话项样式优化 - 参考Telegram/微信的紧凑设计 */
.dialog-item {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background 0.15s ease;
    cursor: pointer;
    position: relative;
    min-height: 64px;
}
.dialog-item:hover {
    background: rgba(255, 255, 255, 0.03);
}
.dialog-item:active {
    background: rgba(255, 255, 255, 0.05);
}
/* 对话头像 - 缩小尺寸 */
.dialog-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}
.dialog-avatar span {
    color: white;
    font-size: 18px;
    font-weight: 600;
}
/* 对话内容 */
.dialog-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}
.dialog-title {
    font-weight: 500;
    color: #ffffff;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    line-height: 1.3;
}
.dialog-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 8px;
    font-weight: 400;
    line-height: 1.3;
}
.dialog-preview {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
    margin-top: 2px;
}
/* 滚动条样式 */
.dialogs-list::-webkit-scrollbar {
    width: 4px;
}
.dialogs-list::-webkit-scrollbar-track {
    background: transparent;
}
.dialogs-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.dialogs-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
/* ✅ 移动端响应式优化 */
/* 移动端（≤768px）：单列布局 */
@media (max-width: 768px) {
    /* 公群列表：单列布局 */
    .groups-list {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-sm);
    }
    
    /* 公群卡片：减少内边距 */
    .group-item {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    /* 对话框：优化内边距 */
    .dialog-body {
        padding: 12px;
        /* 适配安全区域 */
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }
    
    /* 输入框区域：适配安全区域和键盘 */
    .dialog-input-area {
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
    
    /* 消息输入框：防止iOS自动缩放 */
    .message-input {
        font-size: 16px !important;
    }
    
    /* 触摸优化 */
    .chat-message {
        -webkit-tap-highlight-color: rgba(0, 212, 170, 0.2);
        touch-action: manipulation;
    }
    
    .dialog-item {
        -webkit-tap-highlight-color: rgba(0, 212, 170, 0.2);
        touch-action: manipulation;
    }
    
    /* 底部导航：固定高度，适配安全区域 */
    .bottom-nav {
        height: calc(60px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    
    /* 优化滚动性能 */
    .dialog-body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}
/* 大屏（≥769px）：双列布局 */
@media (min-width: 769px) {
    /* 公群列表：双列布局 */
    .groups-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* React根元素样式 */
#root {
  width: 100%;
  min-height: 100vh;
}

