  :root {
    --bg: #f8fafc;
    --bg2: rgba(255,255,255,0.75);
    --ink: #0f172a;
    --muted: #64748b;
    --rule: rgba(99,102,241,0.12);
    --accent: #6366f1;
    --accent2: #8b5cf6;
    --accent3: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 16px;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
  }

  /* ===== HERO ===== */
  .hero {
    padding: 40px 0 20px;
    text-align: center;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
  }
  .hero-badge svg { width: 14px; height: 14px; }
  .hero h1 {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
  }
  .hero p {
    color: var(--muted);
    font-size: 15px;
  }

  /* ===== ACTION BAR ===== */
  .action-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
  .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--rule);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
  }
  .action-btn:hover {
    color: var(--accent);
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-1px);
  }
  .action-btn svg { width: 16px; height: 16px; }
  .action-btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
  }
  .action-btn.primary:hover {
    color: #fff;
    box-shadow: 0 6px 16px rgba(99,102,241,0.3);
  }
  .action-btn.danger:hover {
    color: var(--danger);
    border-color: rgba(239,68,68,0.3);
  }

  /* ===== AI RECOMMENDATION ===== */
  .ai-recommend {
    background: var(--bg2);
    backdrop-filter: blur(20px);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(99,102,241,0.08);
    position: relative;
    overflow: hidden;
  }
  .ai-recommend::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  }
  .ai-recommend-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .ai-recommend-header h2 {
    font-size: 18px;
    font-weight: 700;
  }
  .ai-recommend-header .sparkle {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
  }
  .ai-recommend-header .sparkle svg { width: 16px; height: 16px; }
  .ai-recommend-header .update-time {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted);
  }

  .recommend-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .recommend-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    position: relative;
  }
  .recommend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.12);
  }
  .recommend-card.best {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(99,102,241,0.03), rgba(139,92,246,0.03));
  }
  .recommend-card.best::after {
    content: '推荐';
    position: absolute;
    top: -1px;
    right: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 0 0 6px 6px;
  }
  .rc-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .rc-badge.best { background: rgba(99,102,241,0.1); color: var(--accent); }
  .rc-badge.value { background: rgba(16,185,129,0.1); color: var(--success); }
  .rc-badge.free { background: rgba(245,158,11,0.1); color: var(--warning); }
  .rc-badge.popular { background: rgba(236,72,153,0.1); color: var(--accent3); }

  .rc-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
  }
  .rc-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
  }

  /* ===== QUICK STATS ===== */
  .quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
  }
  .stat-card {
    background: var(--bg2);
    backdrop-filter: blur(16px);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .stat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .stat-icon.score { background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15)); color: var(--accent); }
  .stat-icon.price { background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(34,197,94,0.15)); color: var(--success); }
  .stat-icon.feature { background: linear-gradient(135deg, rgba(236,72,153,0.15), rgba(244,63,94,0.15)); color: var(--accent3); }
  .stat-icon svg { width: 22px; height: 22px; }

  .stat-content { flex: 1; min-width: 0; }
  .stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
  }
  .stat-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
  }

  /* ===== TOOL HEADER CARDS (DESKTOP) ===== */
  .tool-headers-desktop {
    display: grid;
    grid-template-columns: 160px repeat(var(--tool-count, 3), 1fr);
    gap: 0;
    background: var(--bg2);
    backdrop-filter: blur(16px);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
  }
  .tool-header {
    padding: 20px;
    text-align: center;
    border-left: 1px solid var(--rule);
    position: relative;
  }
  .tool-header:first-child {
    border-left: none;
    background: rgba(248,250,252,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .tool-header .tool-logo {
    width: 56px; height: 56px;
    border-radius: 16px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
  }
  .tool-header .tool-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .tool-header .tool-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: rgba(99,102,241,0.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
  }
  .tool-header .tool-price {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
  }
  .tool-header .tool-price strong {
    color: var(--success);
    font-size: 16px;
  }
  .tool-header .cta-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
  }
  .tool-header .cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99,102,241,0.3);
  }

  /* ===== MOBILE TOOL SWIPER ===== */
  .tool-swiper-mobile {
    display: none;
    margin-bottom: 24px;
  }
  .mobile-tool-card {
    background: var(--bg2);
    backdrop-filter: blur(16px);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .mobile-tool-card .tool-logo {
    width: 52px; height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: var(--accent);
  }
  .mobile-tool-info { flex: 1; min-width: 0; }
  .mobile-tool-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
  }
  .mobile-tool-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .mobile-tool-meta .score-pill {
    padding: 2px 8px;
    background: rgba(99,102,241,0.1);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
  }
  .mobile-tool-meta .price-pill {
    padding: 2px 8px;
    background: rgba(16,185,129,0.1);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
  }
  .swiper-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }
  .swiper-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s;
  }
  .swiper-dot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--accent);
  }

  /* ===== TABS ===== */
  .tabs {
    display: flex;
    gap: 4px;
    background: var(--bg2);
    backdrop-filter: blur(16px);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
    overflow-x: auto;
  }
  .tab-btn {
    flex: 1;
    min-width: 80px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .tab-btn svg { width: 16px; height: 16px; }
  .tab-btn:hover { color: var(--ink); background: rgba(99,102,241,0.05); }
  .tab-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 4px 12px rgba(99,102,241,0.25);
  }

  /* ===== TAB CONTENT ===== */
  .tab-content { display: none; }
  .tab-content.active { display: block; }

  /* Quick comparison (desktop) */
  .quick-compare-desktop {
    background: var(--bg2);
    backdrop-filter: blur(16px);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
  }
  .quick-row {
    display: grid;
    grid-template-columns: 160px repeat(var(--tool-count, 3), 1fr);
    border-bottom: 1px solid var(--rule);
    transition: background 0.2s;
  }
  .quick-row:last-child { border-bottom: none; }
  .quick-row:hover { background: rgba(99,102,241,0.03); }
  .quick-row.highlight { background: rgba(16,185,129,0.04); }
  .quick-label {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(248,250,252,0.5);
    border-right: 1px solid var(--rule);
  }
  .quick-label svg { width: 16px; height: 16px; opacity: 0.7; }
  .quick-cell {
    padding: 16px 20px;
    text-align: center;
    font-size: 14px;
    border-left: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .quick-cell:first-of-type { border-left: none; }
  .quick-cell.winner {
    color: var(--success);
    font-weight: 700;
  }
  .quick-cell.winner::before {
    content: '✓';
    margin-right: 4px;
  }

  .price-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
  }
  .price-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--success), #34d399);
  }
  .price-bar-fill.premium { background: linear-gradient(90deg, var(--warning), #fbbf24); }
  .price-bar-fill.expensive { background: linear-gradient(90deg, var(--danger), #f87171); }

  /* ===== MOBILE QUICK COMPARE (card style) ===== */
  .quick-compare-mobile {
    display: none;
    margin-bottom: 24px;
  }
  .mobile-compare-group {
    background: var(--bg2);
    backdrop-filter: blur(16px);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
  }
  .mobile-group-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
    border-bottom: 1px solid var(--rule);
    font-weight: 600;
    font-size: 13px;
    color: var(--accent);
  }
  .mobile-group-header svg { width: 16px; height: 16px; }
  .mobile-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(226,232,240,0.5);
    gap: 12px;
  }
  .mobile-item:last-child { border-bottom: none; }
  .mobile-item .item-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #cbd5e1;
  }
  .mobile-item.winner .item-dot {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  }
  .mobile-item .item-name {
    font-size: 13px;
    font-weight: 500;
    flex: 1;
  }
  .mobile-item.winner .item-name {
    font-weight: 600;
    color: var(--success);
  }
  .mobile-item .item-value {
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
  }
  .mobile-item .item-tag {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
  }
  .tag-win { background: rgba(16,185,129,0.1); color: var(--success); }
  .tag-normal { background: #f1f5f9; color: var(--muted); }

  /* ===== DETAILED TABLE (desktop) ===== */
  .detailed-table-desktop {
    background: var(--bg2);
    backdrop-filter: blur(16px);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
  }
  .detail-group-header {
    display: grid;
    grid-template-columns: 200px repeat(var(--tool-count, 3), 1fr);
    background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
    border-bottom: 1px solid var(--rule);
    padding: 12px 20px;
    font-weight: 600;
    font-size: 13px;
    color: var(--accent);
  }
  .detail-row {
    display: grid;
    grid-template-columns: 200px repeat(var(--tool-count, 3), 1fr);
    border-bottom: 1px solid rgba(226,232,240,0.5);
    transition: background 0.2s;
  }
  .detail-row:last-child { border-bottom: none; }
  .detail-row:hover { background: rgba(99,102,241,0.02); }
  .detail-label {
    padding: 14px 20px;
    font-size: 13px;
    color: var(--muted);
    background: rgba(248,250,252,0.3);
    border-right: 1px solid var(--rule);
  }
  .detail-cell {
    padding: 14px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--ink);
    border-left: 1px solid rgba(226,232,240,0.5);
  }
  .detail-cell:first-of-type { border-left: none; }
  .detail-cell .yes { color: var(--success); font-weight: 600; }
  .detail-cell .no { color: #cbd5e1; }
  .tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 11px;
    color: var(--muted);
    margin: 2px;
  }
  .pro-tag { color: var(--success); background: rgba(16,185,129,0.1); }
  .con-tag { color: var(--danger); background: rgba(239,68,68,0.1); }

  /* ===== ANALYSIS GRID ===== */
  .analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }
  .analysis-card {
    background: var(--bg2);
    backdrop-filter: blur(16px);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 24px;
  }
  .analysis-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .analysis-card h3 svg { width: 18px; height: 18px; color: var(--accent); }

  .radar-wrap {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .score-list { display: flex; flex-direction: column; gap: 12px; }
  .score-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .score-label {
    width: 80px;
    font-size: 12px;
    color: var(--muted);
    flex-shrink: 0;
  }
  .score-bar-wrap {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
  }
  .score-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
  }
  .score-val {
    width: 36px;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
  }

  .score-legend {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    flex-wrap: wrap;
  }
  .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
  }
  .legend-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
  }

  /* ===== MOBILE BOTTOM BAR ===== */
  .mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--rule);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 90;
    display: none;
    justify-content: space-around;
    gap: 8px;
  }
  .mobile-bottom-bar .mbb-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    cursor: pointer;
  }
  .mobile-bottom-bar .mbb-btn svg { width: 20px; height: 20px; }
  .mobile-bottom-bar .mbb-btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
  }

  /* ===== FLOATING ADD BUTTON ===== */
  .floating-add {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(99,102,241,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
  }
  .floating-add:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(99,102,241,0.5);
  }
  .floating-add svg { width: 24px; height: 24px; }

  /* ===== DESIGN NOTES ===== */
  .design-notes {
    background: rgba(99,102,241,0.05);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 40px;
  }
  .design-notes h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .design-notes h3 svg { width: 18px; height: 18px; }
  .design-notes h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin: 14px 0 8px;
  }
  .design-notes ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .design-notes li {
    font-size: 13px;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
  }
  .design-notes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 900px) {
    .hero h1 { font-size: 22px; }
    .hero p { font-size: 13px; }

    .recommend-cards { grid-template-columns: repeat(2, 1fr); }

    .quick-stats { grid-template-columns: 1fr 1fr; }

    /* Desktop tool headers -> mobile swiper */
    .tool-headers-desktop { display: none; }
    .tool-swiper-mobile { display: block; }

    /* Desktop quick compare -> mobile card style */
    .quick-compare-desktop { display: none; }
    .quick-compare-mobile { display: block; }

    /* Detailed table */
    .detail-group-header {
      grid-template-columns: 1fr;
      padding: 12px 16px;
    }
    .detail-row {
      grid-template-columns: 1fr;
      padding: 0;
    }
    .detail-label {
      border-right: none;
      border-bottom: 1px solid var(--rule);
      padding: 12px 16px;
      font-weight: 600;
      color: var(--accent);
      background: linear-gradient(135deg, rgba(99,102,241,0.03), rgba(139,92,246,0.03));
    }
    .detail-cell {
      border-left: none;
      border-bottom: 1px solid rgba(226,232,240,0.5);
      padding: 12px 16px;
      text-align: left;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .detail-cell::before {
      content: attr(data-tool);
      font-size: 11px;
      color: var(--muted);
      min-width: 60px;
      font-weight: 500;
    }

    .analysis-grid { grid-template-columns: 1fr; }

    .action-bar { gap: 6px; }
    .action-btn { padding: 7px 10px; font-size: 12px; }
    .action-btn span.btn-text { display: none; }

    .design-notes ul { grid-template-columns: 1fr; }

    .floating-add {
      bottom: 80px;
      right: 16px;
      width: 48px; height: 48px;
    }
  }

  @media (max-width: 500px) {
    .recommend-cards { grid-template-columns: 1fr; }
    .quick-stats { grid-template-columns: 1fr; }
    .tabs { padding: 3px; }
    .tab-btn { padding: 8px 10px; font-size: 12px; min-width: 60px; }
    .tab-btn svg { display: none; }
    .ai-recommend { padding: 18px; }
    .ai-recommend-header h2 { font-size: 15px; }
    .analysis-card { padding: 18px; }
  }
/* ===== 页面浅色渐变背景装饰（对齐样版 body 光斑，不污染公共布局） ===== */
.compare-bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 12% 8%, rgba(99,102,241,0.10), transparent 60%),
    radial-gradient(700px 500px at 88% 12%, rgba(139,92,246,0.10), transparent 60%),
    radial-gradient(800px 600px at 50% 100%, rgba(236,72,153,0.07), transparent 60%);
}
/* ===== 空状态页：快速选工具（页内选择器） ===== */
.quick-cat-tab { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 500; background: #f8fafc; border: 1px solid #e2e8f0; color: #64748b; cursor: pointer; transition: all .2s; }
.quick-cat-tab:hover { border-color: #a5b4fc; color: #4f46e5; background: #eef2ff; }
.quick-cat-active { background: linear-gradient(135deg,#6366f1,#8b5cf6); border-color: transparent; color: #fff; box-shadow: 0 2px 8px rgba(99,102,241,.25); }
.quick-tool-card { position: relative; background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 14px 10px 12px; text-align: center; cursor: pointer; transition: all .2s; }
.quick-tool-card:hover { border-color: #c7d2fe; box-shadow: 0 6px 20px rgba(99,102,241,.08); transform: translateY(-2px); }
.quick-tool-card.selected { border-color: #6366f1; background: #f5f6ff; box-shadow: 0 4px 14px rgba(99,102,241,.12); }
.quick-tool-logo { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 12px; background: linear-gradient(135deg,#eef2ff,#faf5ff); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #6366f1; font-size: 16px; overflow: hidden; }
.quick-tool-logo img { width: 100%; height: 100%; object-fit: cover; }
.quick-tool-name { font-size: 13px; font-weight: 600; color: #1e293b; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.quick-tool-type { font-size: 11px; color: #94a3b8; }
.quick-tool-btn { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: #eef2ff; color: #6366f1; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; line-height: 1; transition: all .2s; }
.quick-tool-btn.added { background: #6366f1; color: #fff; }
.quick-tool-btn svg { width: 12px; height: 12px; }

/* 对比页顶部容器间距：.container 自带 margin:0 auto 会覆盖 Tailwind mt-*，故用专用类控制顶部间距 */
.compare-container-top {
  margin-top: 16px;
}
@media (min-width: 768px) {
  .compare-container-top {
    margin-top: 32px;
  }
}

/* 快速选工具：移动端上下布局 + 分类横向滑动，桌面端左右布局 */
.quick-tool-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) {
  .quick-tool-bar { flex-direction: row; align-items: flex-start; gap: 10px; }
}
.quick-cat-list {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.quick-cat-list::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .quick-cat-list { flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
}
.quick-search-wrap {
  width: 100%;
  flex-shrink: 0;
  position: relative;
}
@media (min-width: 768px) {
  .quick-search-wrap { width: 250px; }
}
.quick-cat-tab { white-space: nowrap; }

/* 详情页工具头部：1024px 以下切手机 swiper（修复窄屏 desktop 头挤压、LOGO 截断） */
.tool-swiper-mobile { display: none; }
@media (max-width: 1024px) {
  .tool-headers-desktop { display: none; }
  .tool-swiper-mobile { display: block; }
}
