
    /* === Page Hero === */
    .rank-hero {
      background: linear-gradient(180deg, #f0fdf4 0%, #e8f5e9 40%, #ffffff 100%);
      padding: 60px 0 40px;
      position: relative;
      overflow: hidden;
    }

    .rank-hero::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 100px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L0,50 Q180,20 360,55 Q540,90 720,35 Q900,0 1080,50 Q1260,90 1440,25 L1440,100 Z' fill='%2322c55e' fill-opacity='0.06'/%3E%3C/svg%3E") no-repeat bottom/cover;
      pointer-events: none;
    }

    .rank-hero-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
      z-index: 1;
    }

    .rank-hero h1 {
      font-size: 36px;
      font-weight: 800;
      margin-bottom: 12px;
      letter-spacing: -0.5px;
    }

    .rank-hero p {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 500px;
      line-height: 1.6;
    }

    /* === Category Tabs === */
    .rank-categories {
      padding: 0 0 48px;
      background: var(--white);
    }

    .cat-tabs {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-bottom: 40px;
    }

    .cat-tab-btn {
      padding: 10px 24px;
      border-radius: 24px;
      font-size: 15px;
      font-weight: 500;
      background: var(--bg-gray);
      color: var(--text-secondary);
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.2s;
      font-family: inherit;
    }

    .cat-tab-btn:hover {
      background: var(--primary-bg);
      color: var(--primary);
    }

    .cat-tab-btn.active {
      background: var(--primary);
      color: var(--white);
      border-color: var(--primary);
      font-weight: 600;
    }

    /* === Ranking Cards Grid === */
    .rank-cards-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }

    .rank-panel {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      transition: all 0.3s;
      cursor: pointer;
    }

    .rank-panel:hover {
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-light);
    }

    .rank-panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 24px;
      border-bottom: 1px solid #f3f4f6;
      background: linear-gradient(135deg, #fafafa, var(--white));
    }

    .rank-panel-title-group {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .rank-panel-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }

    .rank-panel-title {
      font-size: 17px;
      font-weight: 600;
    }

    .rank-panel-update {
      font-size: 12px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .rank-panel-view {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 13px;
      color: var(--primary);
      font-weight: 500;
      padding: 6px 12px;
      border-radius: 6px;
      background: var(--primary-bg);
      transition: all 0.2s;
    }

    .rank-panel-view:hover {
      background: var(--primary);
      color: var(--white);
    }

    /* === Top 3 Section === */
    .top3-section {
      display: flex;
      gap: 16px;
      padding: 20px 24px;
      border-bottom: 1px solid #f3f4f6;
      align-items: flex-end;
    }

    .top3-card {
      flex: 1;
      text-align: center;
      position: relative;
    }

    .top3-avatar {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      margin: 0 auto 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      font-weight: 700;
    }

    .top3-1 .top3-avatar {
      width: 68px;
      height: 68px;
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      color: white;
      box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }

    .top3-2 .top3-avatar {
      background: linear-gradient(135deg, #cbd5e1, #94a3b8);
      color: white;
    }

    .top3-3 .top3-avatar {
      background: linear-gradient(135deg, #fcd34d, #d97706);
      color: white;
    }

    .top3-rank {
      position: absolute;
      top: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      color: white;
    }

/*
    .top3-1 .top3-rank {
      background: #f59e0b;
      animation: glow-gold 2s infinite;
    }

    .top3-2 .top3-rank {
      background: #94a3b8;
    }

    .top3-3 .top3-rank {
      background: #d97706;
    }
*/

    @keyframes glow-gold {
      0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
      50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    }

    .top3-name {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .top3-score {
      font-size: 13px;
      color: var(--primary);
      font-weight: 600;
    }

    .top3-meta {
      font-size: 11px;
      color: var(--text-muted);
    }

    /* === List Items === */
    .rank-list-items {
      padding: 8px 24px;
    }

    .rank-list-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid #f9fafb;
      transition: background 0.2s;
    }

    .rank-list-row:last-child {
      border-bottom: none;
    }

    .rank-list-row:hover {
      background: #f9fafb;
      margin: 0 -12px;
      padding: 12px;
      border-radius: 6px;
    }

    .rank-list-row .rank-num {
      width: 26px;
      height: 26px;
      font-size: 13px;
    }

    .rank-list-thumb {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      background: #f3f4f6;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .rank-list-info {
      flex: 1;
      min-width: 0;
    }

    .rank-list-title {
      font-size: 14px;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rank-list-author {
      font-size: 12px;
      color: var(--text-muted);
    }

    .rank-list-stats {
      text-align: right;
      flex-shrink: 0;
    }

    .rank-list-score {
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
    }

    .rank-list-trend {
      font-size: 11px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 2px;
    }

    .rank-list-trend.up {
      color: var(--red);
    }

    .rank-list-trend.down {
      color: #22c55e;
    }

    .rank-list-trend.same {
      color: var(--text-muted);
    }

    /* === Responsive === */
    @media (max-width: 1024px) {
      .rank-cards-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .rank-hero h1 {
        font-size: 28px;
      }

      .top3-avatar {
        width: 44px;
        height: 44px;
        font-size: 16px;
      }

      .top3-1 .top3-avatar {
        width: 52px;
        height: 52px;
        font-size: 18px;
      }

      .cat-tab-btn {
        padding: 8px 16px;
        font-size: 13px;
      }
    }