
  body { min-width: 1200px; }


  .rank-header {
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 10px;
    padding: 28px 32px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .rank-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .rank-trophy {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #92400e;
    font-size: 28px;
  }
  .rank-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
  }
  .rank-header p { font-size: 13px; color: #888; }
  .rank-stats { display: flex; gap: 32px; }
  .rank-stat { text-align: center; }
  .rank-stat .num {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
  }
  .rank-stat .label { font-size: 12px; color: #999; margin-top: 2px; }

  .rank-tabs-wrap {
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 10px;
    margin-bottom: 16px;
    padding: 0 20px;
  }
  .rank-tabs {
    display: flex;
    gap: 0;
    position: relative;
  }
  .rank-tab {
    padding: 14px 20px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: color 0.2s ease-out;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .rank-tab:hover { color: #2563eb; }
  .rank-tab.active { color: #2563eb; font-weight: 600; }
  .rank-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #2563eb;
    border-radius: 2px 2px 0 0;
  }

  .filter-bar {
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .filter-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #666;
  }
  .filter-label { color: #999; }
  .filter-tags { display: flex; gap: 4px; flex-wrap: wrap; }
  .filter-tag {
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.2s;
  }
  .filter-tag:hover { color: #2563eb; background: #f0f4ff; }
  .filter-tag.active { color: #2563eb; background: #f0f4ff; font-weight: 500; }
  .filter-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
  }
  .sort-select {
    padding: 4px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    background: #fff;
    cursor: pointer;
    outline: none;
  }

  .rank-list {
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 10px;
    overflow: hidden;
  }
  .rank-list-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #fafbfc;
    border-bottom: 1px solid #ebeef5;
    font-size: 12px;
    color: #999;
    font-weight: 500;
  }
  .rank-list-header .col-rank { width: 60px; }
  .rank-list-header .col-site { flex: 1; }
  .rank-list-header .col-category { width: 100px; }
  .rank-list-header .col-hot { width: 180px; }
  .rank-list-header .col-trend { width: 60px; text-align: center; }
  .rank-list-header .col-action { width: 80px; text-align: right; }

  .rank-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.25s ease-out;
    cursor: pointer;
  }
  .rank-item:last-child { border-bottom: none; }
  .rank-item:hover { background: #fafbfc; }
  .rank-item:hover .rank-site-name { color: #2563eb; }

  .col-rank { width: 60px; flex-shrink: 0; }
  .rank-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #999;
    border-radius: 6px;
  }
  .rank-num.top1 {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    color: #92400e;
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.3);
  }
  .rank-num.top2 {
    background: linear-gradient(135deg, #f3f4f6, #d1d5db);
    color: #4b5563;
    box-shadow: 0 2px 6px rgba(156, 163, 175, 0.3);
  }
  .rank-num.top3 {
    background: linear-gradient(135deg, #fed7aa, #f97316);
    color: #7c2d12;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
  }

  .col-site {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .rank-site-icon {
    width: 140px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2563eb;
    flex-shrink: 0;
    transition: transform 0.3s ease-out;
  }
  .rank-site-icon img{height: 40px;    width: 140px;  }
  .rank-item:hover .rank-site-icon { transform: scale(1.1); }
  .rank-site-info { flex: 1; min-width: 0; }
  .rank-site-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .rank-site-name a{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .rank-site-desc {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .col-category { width: 100px; flex-shrink: 0; }
  .rank-category {
    font-size: 12px;
    color: #666;
    padding: 3px 10px;
    background: #f3f4f6;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.2s;
  }
  .rank-category:hover { background: #e5e7eb; color: #333; }

  .col-hot { width: 180px; flex-shrink: 0; }
  .rank-hot {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .hot-bar {
    flex: 1;
    height: 6px;
    background: #f0f2f5;
    border-radius: 3px;
    overflow: hidden;
  }
  .hot-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 3px;
    min-width: 4px;
    transition: width 0.6s ease;
  }
  .hot-value {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    min-width: 55px;
    text-align: right;
    font-variant-numeric: tabular-nums;
  }

  .col-trend { width: 60px; flex-shrink: 0; text-align: center; }
  .rank-trend {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
  }

  .col-action { width: 80px; flex-shrink: 0; text-align: right; }
  .btn-detail {
    padding: 5px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    color: #555;
    transition: all 0.2s ease-out;
    display: inline-block;
  }
  .btn-detail:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #f0f4ff;
  }

  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 28px 0;
  }
  .page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .page-btn:hover:not(.disabled):not(.active) {
    border-color: #2563eb;
    color: #2563eb;
  }
  .page-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    font-weight: 500;
  }
  .page-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafbfc;
  }
  .page-ellipsis { padding: 0 4px; color: #999; font-size: 13px; }
