:root {
    --bg-deep: #06060A;
    --bg-panel: #0D0D14;
    --cyan: #5CE1E6;
    --cyan-dim: rgba(92, 225, 230, 0.1);
    --cyan-border: rgba(92, 225, 230, 0.15);
    --cyan-strong: rgba(92, 225, 230, 0.4);
    --gold: #D4AF37;
    --gold-light: #E8CC88;
    --gold-dark: #B8941F;
    --gold-dim: rgba(255, 215, 0, 0.1);
    --gold-border: rgba(255, 215, 0, 0.3);
    --text: #FFFFFF;
    --text-2: #E2E8F0;
    --text-3: #B8C5D6;
    --text-4: #8892A4;
    --mono: 'SF Mono', 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  }
  * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; margin: 0; padding: 0; }
  html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    margin: 0; padding: 0;
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
  
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: 80px;
}
  .app-container {
    min-height: 100vh;
    background:
      radial-gradient(ellipse 60% 30% at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
      radial-gradient(ellipse 40% 20% at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
      #06060A;
    position: relative;
    overflow-x: hidden;

  }
  .app-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
  }
  #dataFlowCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
  }
  @media (min-width: 500px) {
    body { background: #000; }
    .app-container {
      width: 480px;
      max-width: 480px;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      margin: 0 auto;
      box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
      border-left: 1px solid rgba(255, 255, 255, 0.03);
      border-right: 1px solid rgba(255, 255, 255, 0.03);
    }
    .bottom-nav {
      width: 480px;
      max-width: 480px;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      left: 50%;
      transform: translateX(-50%);
      border-left: 1px solid rgba(255, 255, 255, 0.03);
      border-right: 1px solid rgba(255, 255, 255, 0.03);
    }
  }

  /* ========== 玻璃卡片通用 ========== */
  .glass-card {
    background: rgba(13, 13, 20, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
  }
  .glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 150, 200, 0.18), transparent);
  }
  .glass-card.gold-border {
    border-color: rgba(255, 215, 0, 0.2);
  }
  .glass-card.gold-border::before {
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.22), transparent);
  }



  /* ========== 顶部状态栏 ========== */
  .top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 6, 10, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .top-bar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.5) 50%, transparent 100%);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
    opacity: 0.6;
  }
  .top-bar-inner {
    padding: 12px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .logo-icon {
    width: 32px; height: 32px;
    position: relative;
    flex-shrink: 0;
  }
  .logo-icon svg { width: 100%; height: 100%; }
  .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }
  .logo-name {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.04em;
  }
  .logo-sub {
    font-size: 15px;
    color: var(--text-3);
    letter-spacing: 0.12em;
    font-family: inherit;
  }
  .top-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .diamond-points {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    background: rgba(13, 13, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    color: #D4AF37;
    transition: all 0.3s ease;
  }
  .diamond-points:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
  }
  .coin-icon {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.4));
  }
  .diamond-points .num {
    font-size: 15px;
    font-weight: 600;
    color: #E8CC88;
    letter-spacing: 0.3px;
  }
  .avatar-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(13, 13, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex; align-items: center; justify-content: center;
    color: #D4AF37;
    font-size: 15px;
    cursor: pointer;
  }

  /* ========== Tab切换条 ========== */
  .tab-bar {
    margin: 14px 12px 0;
    display: flex;
    gap: 8px;
    background: rgba(10, 10, 16, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    position: relative;
    z-index: 1;
  }
  .tab-item {
    flex: 1;
    padding: 10px 14px;
    border-radius: 9px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-2);
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .tab-item.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    color: var(--gold);
    border: 1px solid var(--gold-border);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.1);
  }
  .tab-item:not(.active) {
    border: 1px solid transparent;
  }

  /* ========== Hero大标题区 ========== */
  .hero-section {
    padding: 22px 20px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  .hero-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    letter-spacing: 0.02em;
  }
  .hero-title .highlight-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  }
  .hero-subtitle {
    margin: 10px 0;
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.6;
    padding: 0 4px;
  }

  /* ========== 上传核心卡片 ========== */
  .upload-card {
    margin: 0 12px;
    background: rgba(13, 13, 20, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  .upload-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
  }
  .upload-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 150, 200, 0.12), transparent);
  }

  /* 顶部双模式Tab */
  .upload-tabs {
    display: flex;
    padding: 12px;
    gap: 8px;
  }
  .upload-tab {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .upload-tab.active {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
    color: #E8CC88;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow:
      0 0 20px rgba(212, 175, 55, 0.2),
      inset 0 0 20px rgba(212, 175, 55, 0.06);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  }
  .upload-tab:not(.active) {
    background: rgba(16, 16, 24, 0.6);
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .upload-tab:not(.active):hover {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(212, 175, 55, 0.2);
  }

  /* 上传区 */
  .upload-area {
    margin: 0 12px 14px;
    border: 2px dashed rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 26px 12px 22px;
    text-align: center;
    position: relative;
    background: rgba(20, 20, 30, 0.5);
    cursor: pointer;
    transition: all .3s;
  }
  .upload-area:active {
    border-color: rgba(120, 150, 200, 0.35);
    background: rgba(20, 25, 50, 0.7);
  }
  .upload-area.dragover {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.08);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.2);
  }
  .upload-area.loading {
    cursor: default;
    border-color: transparent;
    background: rgba(13, 13, 20, 0.6);
  }
  .upload-icon {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--cyan-dim) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid var(--cyan-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
  }

  /* 金色粒子加载动画 */
  .upload-loading-wrap {
    padding: 10px 0 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .gold-particles-loader {
    position: relative;
    width: 80px;
    height: 80px;
  }
  .gold-particles-loader::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(255,215,0,0.3) 30%, rgba(255,215,0,0.8) 60%, transparent 100%);
    animation: spinGold 1.2s linear infinite;
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
  }
  .gold-particles-loader::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 20px; height: 20px;
    margin: -10px 0 0 -10px;
    background: radial-gradient(circle, rgba(255,240,200,1) 0%, rgba(255,215,0,0.6) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulseGold 1.6s ease-in-out infinite;
  }
  @keyframes spinGold {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  @keyframes pulseGold {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
  }
  .gold-particles-particles {
    position: absolute;
    inset: 0;
    animation: spinGold 3s linear infinite reverse;
  }
  .gold-particles-particles span {
    position: absolute;
    width: 4px; height: 4px;
    background: #E8CC88;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
  }
  .gold-particles-particles span:nth-child(1) { top: 6%; left: 50%; margin-left: -2px; }
  .gold-particles-particles span:nth-child(2) { top: 20%; right: 14%; }
  .gold-particles-particles span:nth-child(3) { bottom: 22%; right: 10%; }
  .gold-particles-particles span:nth-child(4) { bottom: 8%; left: 50%; margin-left: -2px; }
  .gold-particles-particles span:nth-child(5) { bottom: 22%; left: 10%; }
  .gold-particles-particles span:nth-child(6) { top: 20%; left: 14%; }
  .loading-main-text {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
  }
  .loading-sub-text {
    font-size: 15px;
    color: var(--text-3);
    font-family: var(--mono);
    letter-spacing: 0.05em;
  }
  .loading-progress-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
  }
  .loading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
    background-size: 200% 100%;
    border-radius: 2px;
    animation: shimmer 2s ease-in-out infinite;
    width: 60%;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  }
  @keyframes shimmer {
    0% { background-position: 200% 0; width: 20%; }
    50% { width: 75%; }
    100% { background-position: -200% 0; width: 95%; }
  }

  /* Toast 提示 */
  .toast-container {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
  }
  .toast {
    background: rgba(13, 13, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 20px;
    color: var(--text);
    font-size: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    max-width: 80vw;
    text-align: center;
    line-height: 1.5;
  }
  .toast.error {
    border-color: rgba(255, 71, 87, 0.3);
    color: #FFB3B8;
  }
  .toast.error::before {
    content: '⚠️ ';
  }
  .toast.success {
    border-color: rgba(0, 255, 136, 0.3);
    color: #8FFFC4;
  }
  .toast.success::before {
    content: '✅ ';
  }
  @keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes toastOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
  }
  .upload-main-text {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 6px 0;
  }
  .upload-sub-text {
    font-size: 15px;
    color: var(--text-3);
    margin: 14px 0;
  }
  .upload-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .upload-tag {
    padding: 4px 10px;
    font-size: 14px;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    font-weight: 500;
  }

  /* 底部积分提示条 */
  .points-bar {
    margin: 0 12px 16px;
    padding: 10px 14px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.02) 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    color: var(--gold-light);
  }
  .points-bar .gift-icon {
    font-size: 15px;
  }
  .points-bar strong {
    color: var(--gold);
    font-weight: 600;
  }
  .points-bar .divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 215, 0, 0.2);
    margin: 0 4px;
  }

  /* ========== 模块标题 ========== */
  .section-title {
    margin: 22px 12px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
  }
  .section-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, var(--gold), rgba(255, 215, 0, 0.3));
    border-radius: 2px;
    flex-shrink: 0;
  }
  .section-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
  }
  .section-title-wrap {
    margin: 22px 12px 10px;
    position: relative;
    z-index: 1;
  }
  .section-title-wrap .section-title {
    margin: 0 0 4px 0;
  }
  .section-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.4;
  }

  /* ========== 十二大智能诊断维度 ========== */
  .dim-groups {
    margin: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 1;
  }
  .dim-group {
    background: rgba(13, 13, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 14px 12px 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .dim-group-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0;
  }
  .dim-group-icon {
    font-size: 15px;
  }
  .dim-group-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
  }
  .dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
  }
  .dim-card {
    background: rgba(13, 13, 20, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    min-height: 112px;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s ease;
  }
  .dim-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
      0 4px 20px rgba(212, 175, 55, 0.15),
      0 0 16px rgba(212, 175, 55, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .dim-card:hover .dim-card-title {
    color: #E8CC88;
  }
  .dim-card:hover .dim-card-icon {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
  }
  .dim-card:active {
    transform: translateY(0) scale(0.97);
  }
  .dim-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 150, 200, 0.16), transparent);
  }
  .dim-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .dim-card-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: all .3s ease;
  }
  .dim-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    flex: 1;
    transition: color .3s ease;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .dim-card-desc {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
    padding-left: 0;
  }
  .dim-card.locked {
    opacity: 0.55;
    filter: grayscale(0.2);
  }
  .dim-card.locked::after {
    content: '会员解锁';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 15px;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  .dim-card.locked .dim-card-icon {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.15);
  }

  /* ========== 手机/PC双端适配 ========== */
  .dual-device-section {
    margin: 0 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
    z-index: 1;
  }
  .device-card {
    background: rgba(13, 13, 20, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 16px 14px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s ease;
  }
  .device-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
      0 4px 20px rgba(212, 175, 55, 0.15),
      0 0 16px rgba(212, 175, 55, 0.1);
  }
  .device-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
  }
  .device-card-header .device-icon {
    font-size: 17px;
  }
  .device-card-header .device-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex: 1;
  }
  .device-badge {
    font-size: 15px;
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  .device-badge.gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
  }
  .device-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .device-features li {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.4;
    padding-left: 0;
  }
  .device-features li.check {
    color: #fff;
    font-weight: 500;
    position: relative;
  }
  .device-features li.check::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    margin: 6px 0;
    font-size: 15px;
  }
  .device-tip {
    margin: 14px 0;
    font-size: 15px;
    color: var(--gold);
    font-weight: 600;
    text-align: left;
    line-height: 1.4;
  }
  .device-card.pc {
    border-color: rgba(212, 175, 55, 0.2);
  }
  .device-card.pc::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: radial-gradient(circle at top right, rgba(212,175,55,0.15), transparent 70%);
    pointer-events: none;
  }

  /* ========== 核心优势数据 ========== */
  .trust-row {
    margin: 0 12px;
    background: rgba(13, 13, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 18px 12px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 1;
  }
  .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
  }
  .trust-num {
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #E8CC88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
  }
  .trust-label {
    font-size: 14px;
    color: var(--text-3);
    letter-spacing: 0.3px;
  }
  .trust-divider {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08), transparent);
  }
  .device-card.pc {
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(22, 20, 35, 0.9);
  }
  .device-card.pc::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.22), transparent);
  }
  .device-header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 8px 0;
  }
  .device-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .device-badge {
    font-size: 15px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--mono);
    letter-spacing: 0.05em;
  }
  .device-badge.basic {
    background: var(--cyan-dim);
    color: var(--cyan);
    border: 1px solid var(--cyan-border);
  }
  .device-badge.deep {
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold);
    border: 1px solid var(--gold-border);
  }
  .device-summary {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
    margin: 10px 0;
  }
  .device-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .device-features.simple li {
    font-size: 14px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .device-features .check {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .device-features .check.gold {
    color: var(--gold);
  }
  .device-tip {
    margin: 10px 0;
    padding: 8px 10px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 8px;
    font-size: 15px;
    color: var(--gold);
    line-height: 1.4;
  }

  /* ========== 底部安全间距 ========== */
  .bottom-spacer {
    height: 100px;
  }

  /* ========== 双端适配 ========== */
  .dual-adapt-section {
    margin: 22px 12px 0;
    background: rgba(13, 13, 20, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 12px 18px;
    position: relative;
  }
  .section-title.left {
    text-align: left;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-title.left h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
    margin: 0;
  }
  .section-bar {
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  }
  .dual-cards {
    display: flex;
    gap: 12px;
  }
  .dual-card {
    flex: 1;
    background: rgba(10, 12, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 12px;
  }
  .dual-card.pc {
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(20, 18, 32, 0.9);
  }
  .dual-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0;
  }
  .dual-icon {
    font-size: 15px;
  }
  .dual-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
    flex: 1;
  }
  .dual-badge {
    font-size: 15px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
  }
  .dual-badge.basic {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
  }
  .dual-badge.deep {
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
  }
  .dual-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .dual-list li {
    font-size: 15px;
    color: var(--text-3);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
  }
  .dual-list.gold li {
    color: var(--text-2);
  }
  .check-gold {
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
  }
  .dual-tip {
    margin: 6px !important;
    color: var(--gold) !important;
    font-size: 12px !important;
    font-style: italic;
  }

  /* ========== 底部导航 ========== */
  /* ========== 底部导航 ========== */
  .bottom-nav {
    position: relative;
    margin: 16px 0;
    height: 58px;
    width: 100%;
    background: rgba(8, 8, 14, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 400;
    padding: 0 24px;
    padding-bottom: env(safe-area-inset-bottom);
  }
  @media (min-width: 500px) {
    .bottom-nav {
      width: 480px;
      max-width: 480px;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      left: 50%;
      transform: translateX(-50%);
      padding: 0 12px;
    }
  }
  .bottom-nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.35), transparent);
  }
  .nav-item {
    flex: none;
    width: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
    font-size: 15px;
    border: none;
    background: transparent;
    font-family: inherit;
    position: relative;
    padding: 6px 2px;
  }
  .nav-item.active {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow:
      0 6px 24px rgba(212, 175, 55, 0.35),
      0 0 16px rgba(212, 175, 55, 0.25),
      inset 0 0 20px rgba(212, 175, 55, 0.06);
  }
  .nav-item.active .nav-icon-svg {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.7));
  }
  .nav-item:hover {
    color: #E8CC88;
    transform: translateY(-2px);
  }
  .nav-icon-svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
  }
  .nav-item.active .nav-icon-svg {
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
  }
  .nav-item:hover .nav-icon-svg {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
  }
  .nav-center-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
  }
  .center-upload {
    padding: 0;
  }
  .upload-plus {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, #E8CC88 0%, #D4AF37 40%, #B8960C 100%);
    color: #06060A;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
      0 4px 12px rgba(212, 175, 55, 0.35),
      0 2px 5px rgba(212, 175, 55, 0.25),
      inset 0 1px 1px rgba(255, 255, 255, 0.4),
      inset 0 -1px 1px rgba(0, 0, 0, 0.2);
    margin-top: -9px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
  }
  .center-upload:hover .upload-plus {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
      0 12px 28px rgba(212, 175, 55, 0.55),
      0 4px 10px rgba(212, 175, 55, 0.4),
      inset 0 1px 1px rgba(255, 255, 255, 0.5),
      inset 0 -1px 1px rgba(0, 0, 0, 0.2);
  }
  .nav-item.active::before {
    display: none;
  }
  .nav-center-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
  }
  .center-action-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    box-shadow:
      0 0 16px rgba(212, 175, 55, 0.4),
      0 3px 12px rgba(212, 175, 55, 0.3),
      inset 0 1px 0 rgba(255,255,255,0.3);
    margin-top: -16px;
    transition: all .2s;
    position: relative;
    z-index: 2;
  }
  .center-action-btn:active {
    transform: scale(0.95);
    box-shadow:
      0 0 24px rgba(212, 175, 55, 0.5),
      0 2px 8px rgba(212, 175, 55, 0.35);
  }
  .center-action-btn .btn-icon {
    font-size: 17px;
    line-height: 1;
  }
  .center-action-btn .btn-text {
    font-size: 17px;
    font-weight: 600;
    color: #1a1400;
    letter-spacing: 0.02em;
  }
  .nav-item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
  }

  .footer-copy {
    margin: 22px 12px 8px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.2);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
  }


  .vip-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .vip-modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
  }
  .vip-modal-box {
    background: linear-gradient(180deg, rgba(15,15,24,0.98) 0%, rgba(6,6,10,0.98) 100%);
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 24px;
    padding: 26px 12px 24px;
    width: 100%;
    max-width: 360px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    animation: popIn 0.4s cubic-bezier(.2,.8,.2,1);
  }
  .vip-modal-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.6), transparent);
  }
  .vip-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--text-3);
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
  }
  .vip-modal-close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
  }
  .vip-modal-header {
    text-align: center;
    margin: 8px 0;
  }
  .vip-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 6px 0;
    background: linear-gradient(90deg, var(--gold-light), #fff, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .vip-modal-subtitle {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.5;
  }
  .vip-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 18px 0 16px;
  }
  .vip-plan-card {
    background: rgba(20,20,30,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 12px 6px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
  }
  .vip-plan-card:hover {
    border-color: rgba(212,175,55,0.35);
    transform: translateY(-2px);
  }
  .vip-plan-card.highlighted {
    border-color: rgba(255,215,0,0.6);
    background: linear-gradient(180deg, rgba(255,215,0,0.1) 0%, rgba(20,20,30,0.8) 100%);
    box-shadow: 0 0 20px rgba(212,175,55,0.3);
  }
  .vip-plan-card.highlighted::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.8), transparent);
  }
  .vip-plan-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-2);
    margin: 6px 0;
  }
  .vip-plan-card.highlighted .vip-plan-name {
    color: var(--gold-light);
  }
  .vip-plan-price {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin: 4px 0;
    flex-wrap: wrap;
  }
  .vip-plan-price .now {
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    text-shadow: 0 0 8px rgba(255,215,0,0.3);
    order: 1;
  }
  .vip-plan-card.highlighted .vip-plan-price .now {
    color: #fff;
    text-shadow: 0 0 12px rgba(255,215,0,0.6);
  }
  .vip-plan-price .now sup {
    font-size: 15px;
    font-weight: 500;
  }
  .vip-plan-price .original {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--text-4);
    text-decoration: line-through;
    text-decoration-color: var(--text-4);
    text-decoration-thickness: 2px;
    order: 2;
  }
  .vip-plan-price .per {
    font-size: 17px;
    color: var(--text-4);
    width: 100%;
    text-align: center;
    order: 3;
    margin: 2px 0;
  }
  .vip-plan-tag {
    font-size: 17px;
    padding: 2px 6px;
    border-radius: 8px;
    display: inline-block;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    color: var(--text-3);
  }
  .vip-plan-benefits {
    margin-top: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding-top: 0;
  }
  .vip-plan-card:hover .vip-plan-benefits {
    max-height: 120px;
    opacity: 1;
    padding: 8px;
  }
  .vip-plan-benefit {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.5;
    text-align: left;
    padding: 2px 0;
    animation: benefitFadeIn 0.3s ease forwards;
    opacity: 0;
    transform: translateY(8px);
  }
  .vip-plan-card:hover .vip-plan-benefit:nth-child(1) { animation-delay: 0.05s; }
  .vip-plan-card:hover .vip-plan-benefit:nth-child(2) { animation-delay: 0.12s; }
  .vip-plan-card:hover .vip-plan-benefit:nth-child(3) { animation-delay: 0.19s; }
  .vip-plan-card:hover .vip-plan-benefit:nth-child(4) { animation-delay: 0.26s; }
  .vip-plan-benefit::before {
    content: '✓ ';
    color: var(--gold);
    font-weight: 700;
  }
  .vip-plan-subscribe {
    margin: 4px 0;
    font-size: 17px;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
  }
  .vip-plan-card:hover .vip-plan-subscribe {
    opacity: 1;
  }
  .vip-modal-footer {
    text-align: center;
    margin: 12px 0;
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .vip-modal-note {
    font-size: 12px;
    color: var(--text-4);
    line-height: 1.6;
  }

  /* ========== 按钮基础样式 ========== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all .2s;
    gap: 6px;
  }
  .btn:active { transform: scale(0.98); }
  .btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: #1a1400;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.25);
  }
  .btn-outline {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
  }
  .btn-outline:active {
    background: var(--gold-dim);
  }



/* ========== PC端强制居中修复 ========== */
@media (min-width: 501px) {
  .bottom-nav {
    max-width: 480px !important;
    width: 480px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
  .bottom-action-bar {
    max-width: 480px !important;
    width: 480px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
  .app-container {
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

