  * { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --bg: #faf8f5;
    --card: #ffffff;
    --ink: #1c1917;
    --ink-2: #57534e;
    --ink-3: #a8a29e;
    --accent: #059669;
    --accent-soft: #d1fae5;
    --border: #f5f5f4;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #0c0a09;
      --card: #1c1917;
      --ink: #fafaf9;
      --ink-2: #a8a29e;
      --ink-3: #78716c;
      --accent: #10b981;
      --accent-soft: #064e3b;
      --border: #292524;
    }
  }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
  }

  /* ===== 导航 ===== */
  .nav {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-logo {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -0.5px;
  }
  .nav-logo span {
    color: var(--accent);
  }
  .nav-time {
    font-size: 13px;
    color: var(--ink-3);
  }

  /* ===== Hero ===== */
  .hero {
    max-width: 1080px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    text-align: center;
  }
  .hero h1 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
  }
  .hero p {
    font-size: 16px;
    color: var(--ink-2);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
  }
  .hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    justify-content: center;
  }
  .hero-stat {
    display: flex;
    flex-direction: column;
  }
  .hero-stat-num {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1;
  }
  .hero-stat-label {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 6px;
  }

  /* ===== 筛选 ===== */
  .filters {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .filter-chip {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--card);
    border: 1.5px solid var(--border);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--ink-2);
    font-weight: 400;
    position: relative;
    overflow: hidden;
  }
  .filter-chip:hover {
    border-color: var(--ink-3);
    transform: translateY(-1px);
  }
  .filter-chip:active {
    transform: scale(0.95);
  }
  .filter-chip.active {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
    animation: chipPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes chipPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }
  }
  .filter-chip .n {
    font-size: 12px;
    opacity: 0.6;
    margin-left: 4px;
    transition: opacity 0.3s;
  }

  /* ===== 应用列表 ===== */
  .app-list {
    max-width: 1080px;
    margin: 24px auto 150px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .app-row {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.25s ease;
    border: 1px solid var(--border);
    cursor: pointer;
    animation: cardIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes cardIn {
    from {
      opacity: 0;
      transform: translateY(16px) scale(0.97);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .app-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(28, 25, 23, 0.06);
  }
  .app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--border);
  }
  .app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .app-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: white;
  }
  .app-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  .app-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
    min-width: 0;
  }
  .app-name {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.3px;
    line-height: 1.3;
    min-width: 0;
  }
  .tag-free {
    flex-shrink: 0;
    background: #ecfdf5;
    color: var(--accent);
    font-size: 12px;
    font-weight: 400;
    padding: 3px 10px;
    border-radius: 8px;
  }
  .tag-discount {
    flex-shrink: 0;
    background: #fff7ed;
    color: #ea580c;
    font-size: 12px;
    font-weight: 400;
    padding: 3px 10px;
    border-radius: 8px;
  }
  .app-category {
    font-size: 13px;
    color: var(--ink-3);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .plat-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  .plat-badge.mac {
    background: #1e293b;
    color: white;
  }

  .app-price {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
  }
  .app-price .old-price {
    font-size: 13px;
    font-weight: 400;
    color: var(--ink-3);
    text-decoration: line-through;
    margin-left: 6px;
  }
  .app-desc {
    font-size: 14px;
    color: var(--ink-2);
    margin-bottom: 12px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .app-meta-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-3);
    flex-wrap: wrap;
  }
  .meta-rating {
    color: #f59e0b;
    font-weight: 600;
    white-space: nowrap;
  }
  .regions {
    display: flex;
    gap: 4px;
  }
  @media (max-width: 768px) {
    .app-meta-bottom { gap: 6px; flex-wrap: nowrap; }
    .regions { margin-left: 0; }
  }
  .region {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-3);
    white-space: nowrap;
  }
  .region::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
  }
  .region.cn::before { background: #16a34a; }
  .region.us::before { background: #dc2626; }

  .copy-btn {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0,122,255,0.15);
    color: #007AFF;
    border: none;
    font-size: 11px;
    cursor: pointer;
    font-weight: 400;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .copy-btn:hover { background: rgba(0,122,255,0.25); }


  /* ===== 底部 ===== */
  .footer {
    text-align: center;
    padding: 40px 24px;
    font-size: 13px;
    color: var(--ink-3);
  }

  /* ===== 微信引导遮罩 ===== */
  .wx-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    padding: 28px 24px;
    text-align: right;
  }
  .wx-mask.show { display: block; }
  .wx-arrow {
    font-size: 64px;
    color: #fff;
    line-height: 1;
    margin-top: 6px;
    margin-right: 6px;
  }
  .wx-tip {
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    margin-top: 20px;
  }
  .wx-sub {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
  }

  /* ===== 响应式 ===== */
  @media (max-width: 768px) {
    .hero h1 { font-size: 36px; letter-spacing: -1px; }
    .hero { padding: 40px 24px 32px; }
    .hero-stats { gap: 16px; }
    .hero-stat-num { font-size: 28px; }
    .app-icon { width: 48px; height: 48px; }
    .app-list { grid-template-columns: 1fr; gap: 12px; }
    .app-row { padding: 16px; }
  }
