  /* 根据审核池的紫色调整主题色 */
    :root {
      --md-purple-50: #f3e5f5;
      --md-purple-100: #e1bee7;
      --md-purple-300: #6750A4; /* 调整为更浅的紫色，类似审核池 */
      --md-purple-400: #6750A4;
      --md-purple-500: #9c27b0;
      --md-purple-600: #8e24aa;
      --md-purple-700: #7b1fa2;
      --md-gray-200: #eeeeee;
      --md-gray-500: #9e9e9e;
      --md-gray-600: #757575;
      --md-gray-700: #616161;
      --md-gray-800: #424242;
      --md-white: #ffffff;
      --md-shadow-light: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: #f8f9fa;
      min-height: 100vh;
      padding-bottom: env(safe-area-inset-bottom);
    }

    /* Top App Bar - 修复设置按钮可见性 */
    .top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 56px;
      padding: 0 16px;
      background: var(--md-white);
      position: sticky;
      top: 0;
      z-index: 100;
      margin-top: env(safe-area-inset-top);
    }

    .top-bar__title {
      font-size: 18px;
      font-weight: 600;
      color: var(--md-gray-800);
    }

    .top-bar__account {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 20px;
      transition: background-color 0.2s;
      color: var(--md-gray-600); /* 改为深色图标 */
      text-decoration: none;
    }

    .top-bar__account:hover,
    .top-bar__account:active {
      background-color: var(--md-purple-100);
    }

    .top-bar__account .material-icons {
      font-size: 24px;
      color: var(--md-gray-600); /* 确保图标颜色可见 */
    }

    /* User Info Card - 使用更浅的紫色渐变 */
    .user-info-card {
      background: linear-gradient(135deg, var(--md-purple-300), var(--md-purple-400)); /* 使用更浅的紫色 */
      border-radius: 16px;
      margin: 16px;
      padding: 20px;
      color: var(--md-white);
      position: relative;
      transition: opacity 0.2s;
    }

    .user-info-card:active {
      opacity: 0.8;
    }

    .user-info-content {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .user-avatar {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      border: 2px solid var(--md-white);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      flex-shrink: 0;
    }

    .user-details {
      flex: 1;
    }

    .user-name {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--md-white);
    }

    /* 移除已实名标签相关样式 */

    /* Asset Card */
    .asset-card {
      background: var(--md-white);
      border-radius: 16px;
      margin: 16px;
      padding: 20px;
      box-shadow: var(--md-shadow-light);
      border: 1px solid var(--md-gray-200);
    }

    .asset-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .asset-title {
      font-size: 16px;
      font-weight: 600;
      color: var(--md-gray-800);
    }

    .asset-actions {
      display: flex;
      gap: 24px;
    }

    .asset-action {
      color: var(--md-purple-300); /* 使用浅紫色 */
      text-decoration: none;
      font-size: 14px;
      position: relative;
      transition: color 0.2s;
    }

    .asset-action::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--md-purple-300);
      transition: width 0.2s;
    }

    .asset-action:active::after {
      width: 100%;
    }

    .asset-balances {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

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

    .balance-label {
      font-size: 14px;
      color: var(--md-gray-500);
    }

    .balance-amount {
      font-size: 20px;
      font-weight: 600;
      color: var(--md-purple-300); /* 使用浅紫色 */
    }

    /* Function Grid */
    .function-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin: 16px;
      padding-bottom: 20px;
    }

    .function-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 80px;
      border-radius: 16px;
      text-decoration: none;
      transition: all 0.2s;
      background: var(--md-white);
      border: 1px solid var(--md-gray-200);
      position: relative;
    }

    .function-item:active {
      transform: scale(0.98);
      background: var(--md-purple-50);
    }

    .function-icon {
      width: 28px;
      height: 28px;
      margin-bottom: 8px;
      color: var(--md-purple-300); /* 使用浅紫色 */
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .function-icon .material-icons {
      font-size: 28px;
    }

    .function-text {
      font-size: 12px;
      color: var(--md-gray-700);
      text-align: center;
    }

    .function-badge {
      position: absolute;
      top: 8px;
      right: 8px;
    }

    /* Transaction Card */
    .transaction-card {
      background: linear-gradient(135deg, var(--md-purple-300), var(--md-purple-400)); /* 使用浅紫色 */
      border-radius: 16px;
      margin: 16px;
      padding: 20px;
      color: var(--md-white);
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-decoration: none;
      transition: opacity 0.2s;
    }

    .transaction-card:active {
      opacity: 0.8;
    }

    .transaction-info {
      flex: 1;
    }

    .transaction-title {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .transaction-subtitle {
      font-size: 14px;
      opacity: 0.9;
    }

    .transaction-button {
      background: var(--md-white);
      color: var(--md-purple-300); /* 使用浅紫色 */
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: 500;
      transition: transform 0.2s;
    }

    .transaction-card:active .transaction-button {
      transform: scale(0.95);
    }

    /* Bottom Navigation - Keep Original */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: white;
      border-top: 1px solid #eee;
      display: flex;
      justify-content: space-around;
      padding: 8px 0;
      padding-bottom: calc(8px + env(safe-area-inset-bottom));
      z-index: 1000;
    }

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      color: var(--md-gray-500);
      flex: 1;
    }

    .nav-item.active {
      color: var(--md-purple-300); /* 使用浅紫色 */
    }

    .nav-icon {
      font-size: 24px;
      margin-bottom: 4px;
    }

    .nav-label {
      font-size: 12px;
    }

    /* 修复滚动问题 */
    .container {
      padding-bottom: 80px; /* 为底部导航栏留出空间 */
      min-height: calc(100vh - 120px);
    }

    /* Utility Classes */
    .divider {
      height: 1px;
      background: var(--md-gray-200);
      margin: 8px 0;
    }

    .badge {
      background: #ff3b30;
      color: white;
      border-radius: 10px;
      padding: 2px 6px;
      font-size: 12px;
      min-width: 18px;
      text-align: center;
    }

































/* 底部导航栏样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #FFFFFF;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    display: flex;
    z-index: 1000;
    border-top: 1px solid #E0E0E0;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none ;
    color: #8A8A8F;
    position: relative;
    transition: all 0.2s ease;
}
/*核心：激活状态类名*/
.nav-item.active {
    color: #6750A4;/*激活时的文字颜色*/
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 24px;
    height: 3px;
    background-color: #6750A4;/*激活时的底部指示条*/
    border-radius: 2px;
}

.nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);/*激活时图标放大*/
}

.nav-label {
    font-size: 12px;
    font-weight: 500;
}
