
.top-nav[data-v-7269c8dd] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.nav-container[data-v-7269c8dd] {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 标题 */
.nav-title[data-v-7269c8dd] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-image[data-v-7269c8dd] {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.title-text[data-v-7269c8dd] {
  font-size: 22px;
  font-weight: 700;
  color: #d29a00;
  background: linear-gradient(135deg, #f4c542 0%, #e8ad1a 55%, #d29a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  text-shadow: 0 1px 2px rgba(160, 110, 0, 0.2);
}

/* 右侧按钮组 */
.right-actions[data-v-7269c8dd] {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* 多语言按钮 */
.language-btn[data-v-7269c8dd] {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
}
.language-btn[data-v-7269c8dd]:hover {
  background: #ebebeb;
  transform: scale(1.05);
  border-color: #d9d9d9;
}
.language-btn[data-v-7269c8dd]:active {
  transform: scale(0.95);
}
.globe-icon[data-v-7269c8dd] {
  width: 22px;
  height: 22px;
  color: #333333;
}

/* 登录按钮 */
.login-btn[data-v-7269c8dd] {
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  font-family: inherit;
}
.login-btn[data-v-7269c8dd]:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.login-btn[data-v-7269c8dd]:active {
  transform: scale(0.98);
}

/* 用户头像 */
.user-avatar-wrapper[data-v-7269c8dd] {
  cursor: pointer;
  transition: all 0.2s ease;
}
.user-avatar-wrapper:hover .user-avatar[data-v-7269c8dd] {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.user-avatar[data-v-7269c8dd] {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffffff;
}
.avatar-icon[data-v-7269c8dd] {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* 钱包连接抽屉样式 */
.wallet-drawer[data-v-7269c8dd] .el-drawer {
  border-radius: 20px 20px 0 0;
  max-height: 75vh;
}
.wallet-drawer[data-v-7269c8dd] .el-drawer__header {
  padding: 20px 20px 10px;
  margin: 0;
  border-bottom: none;
}
.wallet-drawer[data-v-7269c8dd] .el-drawer__body {
  padding: 0 20px 30px;
  overflow-y: auto;
}
.drawer-header[data-v-7269c8dd] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-bottom: 10px;
}
.drawer-header h3[data-v-7269c8dd] {
  flex: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
}
.drawer-header .close-icon[data-v-7269c8dd] {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s;
}
.drawer-header .close-icon[data-v-7269c8dd]:hover {
  color: #1f2937;
}
.wallet-content[data-v-7269c8dd] {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hint-text[data-v-7269c8dd] {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}
.wallet-options[data-v-7269c8dd] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.wallet-item[data-v-7269c8dd] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wallet-item[data-v-7269c8dd]:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.wallet-item[data-v-7269c8dd]:active {
  transform: translateY(0);
}
.wallet-icon[data-v-7269c8dd] {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: white;
}
.wallet-icon svg[data-v-7269c8dd] {
  width: 40px;
  height: 40px;
}
.wallet-icon img[data-v-7269c8dd] {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}
.wallet-item span[data-v-7269c8dd] {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-align: center;
  line-height: 1.3;
}
.footer-text[data-v-7269c8dd] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #9ca3af;
}

/* 响应式样式 - 小屏幕优化 */
@media (max-width: 400px) {
.top-nav[data-v-7269c8dd] {
    height: 52px;
    padding: 0 12px;
}
.wallet-options[data-v-7269c8dd] {
    grid-template-columns: repeat(2, 1fr);
}
.title-text[data-v-7269c8dd] {
    font-size: 18px;
}
.language-btn[data-v-7269c8dd] {
    width: 36px;
    height: 36px;
}
.globe-icon[data-v-7269c8dd] {
    width: 20px;
    height: 20px;
}
.connect-btn[data-v-7269c8dd],
  .wallet-connected[data-v-7269c8dd] {
    height: 36px;
    padding: 0 14px;
}
.wallet-icon[data-v-7269c8dd] {
    width: 18px;
    height: 18px;
}
.connect-text[data-v-7269c8dd],
  .wallet-address[data-v-7269c8dd] {
    font-size: 12px;
}
}
@media (max-width: 360px) {
.top-nav[data-v-7269c8dd] {
    height: 50px;
    padding: 0 10px;
}
.title-text[data-v-7269c8dd] {
    font-size: 17px;
}
.language-btn[data-v-7269c8dd] {
    width: 34px;
    height: 34px;
}
.globe-icon[data-v-7269c8dd] {
    width: 18px;
    height: 18px;
}
.connect-btn[data-v-7269c8dd],
  .wallet-connected[data-v-7269c8dd] {
    height: 34px;
    padding: 0 12px;
}
.wallet-icon[data-v-7269c8dd] {
    width: 16px;
    height: 16px;
}
.connect-text[data-v-7269c8dd],
  .wallet-address[data-v-7269c8dd] {
    font-size: 11px;
}
}

/* 全局样式：确保钱包抽屉覆盖底部导航栏 */
.wallet-drawer.el-drawer {
  z-index: 3000 !important;
}

/* 签名请求对话框样式 */
.signature-dialog.el-dialog {
  z-index: 3500 !important;
}
.el-overlay.signature-modal {
  z-index: 3499 !important;
  pointer-events: auto !important;
  touch-action: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
}
:deep(.signature-dialog) {
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
:deep(.signature-dialog .el-dialog__header) {
  padding: 16px 20px;
  margin: 0;
  border-bottom: 1px solid #e8ecf1;
}
:deep(.signature-dialog .el-dialog__body) {
  padding: 0;
}
.signature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.back-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e2026;
  padding: 0;
  transition: all 0.2s ease;
}
.back-btn:hover {
  background: #f5f7fa;
  border-radius: 8px;
}
.back-btn:active {
  transform: scale(0.95);
}
.wallet-name {
  font-size: 18px;
  font-weight: 600;
  color: #1e2026;
  margin: 0;
}
.signature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px;
  background: #ffffff;
}
.wallet-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 32px;
}
.wallet-logo svg {
  width: 100%;
  height: 100%;
}
.loading-spinner {
  margin-bottom: 32px;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e8ecf1;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg);
}
100% { transform: rotate(360deg);
}
}
.signature-title {
  font-size: 26px;
  font-weight: 600;
  color: #1e2026;
  margin: 0 0 8px 0;
  text-align: center;
}
.signature-hint {
  font-size: 15px;
  color: #9ca3af;
  margin: 0;
  text-align: center;
}

/* 全局防止对话框打开时的背景滚动 */
.el-popup-parent--hidden {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}

/* 确保遮罩层完全覆盖并阻止所有交互 */
.el-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  touch-action: none !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* 弹窗打开时禁用底部导航栏 */
body.dialog-open .tab-bar {
  pointer-events: none !important;
  opacity: 0.6 !important;
  transition: opacity 0.3s ease !important;
}

/* 语言选择对话框样式 */
.language-dialog.el-dialog {
  z-index: 3000 !important;
}
.el-overlay.language-modal {
  z-index: 2999 !important;
  pointer-events: auto !important;
  touch-action: none !important;
}
:deep(.language-dialog) {
  border-radius: 20px !important;
  overflow: hidden;
}
:deep(.language-dialog .el-dialog__header) {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e8ecf1;
}
:deep(.language-dialog .el-dialog__body) {
  padding: 0;
  max-height: 60vh;
  overflow-y: auto;
}
.language-content {
  padding: 8px 0;
}
.language-options {
  display: flex;
  flex-direction: column;
}
.language-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f5f7fa;
}
.language-item:last-child {
  border-bottom: none;
}
.language-item:hover {
  background: #f5f7fa;
}
.language-item.active {
  background: #eff6ff;
}
.language-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.language-flag {
  font-size: 28px;
  line-height: 1;
}
.language-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.language-name {
  font-size: 16px;
  font-weight: 500;
  color: #1e2026;
}
.language-native {
  font-size: 14px;
  color: #6c727f;
}
.check-icon {
  color: #3b82f6;
}

.tab-bar[data-v-f3829b1c] {
  position: fixed !important;
  bottom: 0 !important;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 54px;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  z-index: 9999;
  padding: 0 15px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: none;
  /* 防止键盘弹出时被推上去 */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.tab-item[data-v-f3829b1c] {
  flex: 0 0 auto;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 8px;
  position: relative;
  border-radius: 14px;
}
.tab-item[data-v-f3829b1c]:not(.add-btn):hover {
}
.tab-item.add-btn[data-v-f3829b1c] {
  width: 54px;
  margin: 0 8px;
}
.tab-icon[data-v-f3829b1c] {
  color: #8b8b8b;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 0 transparent);
}

/* Swap 图标样式 */
.swap-icon[data-v-f3829b1c] {
  width: 19px;
  height: 19px;
  color: #8b8b8b;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 0 transparent);
}
.swap-icon.active[data-v-f3829b1c] {
  color: #FCD535;
  filter: drop-shadow(0 2px 8px rgba(252, 213, 53, 0.4));
  transform: translateY(-2px);
}
.tab-label[data-v-f3829b1c] {
  font-size: 11px;
  font-weight: 600;
  color: #8b8b8b;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}
.tab-item.active .tab-icon[data-v-f3829b1c] {
  color: #FCD535;
  filter: drop-shadow(0 2px 8px rgba(252, 213, 53, 0.4));
  transform: translateY(-2px);
}
.tab-item.active .tab-label[data-v-f3829b1c] {
  color: #FCD535;
  font-weight: 700;
}
.tab-item[data-v-f3829b1c]:not(.add-btn):active {
  transform: scale(0.92);
}

/* 添加按钮特殊样式 - 简洁设计 */
.add-icon-wrapper[data-v-f3829b1c] {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FCD535;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(252, 213, 53, 0.4);
}
.add-icon[data-v-f3829b1c] {
  color: #202630;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.tab-item.add-btn:hover .add-icon-wrapper[data-v-f3829b1c] {
  background: #e6be2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(252, 213, 53, 0.5);
}
.tab-item.add-btn:hover .add-icon[data-v-f3829b1c] {
  transform: rotate(90deg);
}
.tab-item.add-btn:active .add-icon-wrapper[data-v-f3829b1c] {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 2px 8px rgba(252, 213, 53, 0.3);
}

/* 确保 active 状态下 + 按钮保持黄色，不被 .tab-item.active 规则覆盖 */
.tab-item.add-btn.active .add-icon-wrapper[data-v-f3829b1c] {
  background: #FCD535;
  box-shadow: 0 4px 12px rgba(252, 213, 53, 0.4);
}
.tab-item.add-btn.active .add-icon[data-v-f3829b1c] {
  color: #202630;
  transform: none;
  filter: none;
}



/* 响应式设计 */
@media (max-width: 400px) {
.tab-bar[data-v-f3829b1c] {
    height: 49px;
    padding: 0 12px;
}
.tab-icon[data-v-f3829b1c] {
    font-size: 18px;
}
.tab-label[data-v-f3829b1c] {
    font-size: 10px;
}
.add-icon-wrapper[data-v-f3829b1c] {
    width: 43px;
    height: 43px;
}
.add-icon[data-v-f3829b1c] {
    font-size: 22px;
}
}
@media (max-width: 360px) {
.tab-bar[data-v-f3829b1c] {
    height: 47px;
    padding: 0 10px;
}
.tab-icon[data-v-f3829b1c] {
    font-size: 16px;
}
.tab-label[data-v-f3829b1c] {
    font-size: 9px;
}
.add-icon-wrapper[data-v-f3829b1c] {
    width: 42px;
    height: 42px;
}
.add-icon[data-v-f3829b1c] {
    font-size: 21px;
}
}

/* 适配深色模式（可选） */
@media (prefers-color-scheme: dark) {
.tab-bar[data-v-f3829b1c] {
    background: #ffffff;
    border-top: none;
    box-shadow: none;
}
.tab-icon[data-v-f3829b1c] {
    color: #a0a0a0;
}
.tab-label[data-v-f3829b1c] {
    color: #a0a0a0;
}
.tab-item[data-v-f3829b1c]:not(.add-btn):hover {
    background: rgba(102, 126, 234, 0.15);
}
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f5;
  overflow-x: hidden;
  overflow-y: auto;
}
#app {
  width: 100%;
  min-height: 100vh;
}
.app-container {
  width: 100%;
  min-height: 100vh;
  padding-top: 56px;
  padding-bottom: 54px;
  position: relative;
}
.app-container.no-top-nav {
  padding-top: 0;
}

/* 路由过渡动画 */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* 通用样式 */
.page-container {
  width: 100%;
  min-height: calc(100vh - 60px);
  padding: 15px;
  background: #f5f5f5;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.page-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* Element Plus 样式覆盖 */
.el-button--primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}
.el-button--primary:hover {
  background: linear-gradient(135deg, #5568d3 0%, #65408b 100%);
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* 响应式样式 - 小屏幕优化 */
@media (max-width: 400px) {
.app-container {
    padding-top: 52px;
    padding-bottom: 56px;
}
.page-header {
    padding: 12px 15px;
}
.page-title {
    font-size: 17px;
}
.page-container {
    padding: 12px;
}
}
@media (max-width: 360px) {
.app-container {
    padding-top: 50px;
    padding-bottom: 54px;
}
.page-header {
    padding: 10px 12px;
}
.page-title {
    font-size: 16px;
}
.page-container {
    padding: 10px;
}
}
