﻿
    :root {
      --bg: #050c1c;
      --panel: #101b36;
      --accent: #5ea0ff;
      --text: #f1f5f9;
      --muted: #94a3b8;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: 'Segoe UI', 'PingFang SC', 'Microsoft Yahei', sans-serif;
      background: radial-gradient(circle at top, #1d2a4e, #050c1c 70%);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    header {
      width: 100%;
      text-align: center;
      padding: 40px 20px 10px;
    }
    @keyframes titleShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    header h1 {
      margin: 0;
      font-size: clamp(1.8rem, 4vw, 3rem);
      background: linear-gradient(120deg, #f7f6ff, #b9e9ff, #ffb9f6);
      background-size: 200% 200%;
      animation: titleShift 10s ease infinite;
      -webkit-background-clip: text;
      color: transparent;
      text-shadow: none;
    }
    header p {
      margin: 8px 0 0;
      color: var(--muted);
    }
    main {
      width: min(1100px, 95%);
      margin-bottom: 40px;
    }
    .section-title {
      font-size: 1.3rem;
      margin: 0 0 18px;
      letter-spacing: 0.02em;
      color: var(--text);
    }
    .top-card {
      background: var(--panel);
      border-radius: 20px;
      padding: 24px;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    }
    .top-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }
    .top-header span {
      color: var(--muted);
      font-size: 0.9rem;
      letter-spacing: 1px;
    }
    button {
      border: none;
      background: var(--accent);
      color: #041126;
      border-radius: 999px;
      padding: 8px 16px;
      font-weight: 600;
      cursor: pointer;
    }
    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    li {
      background: rgba(255,255,255,0.02);
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,0.05);
      padding: 14px 18px;
      display: grid;
      grid-template-columns: 40px 60px 1fr 200px;
      gap: 12px;
      align-items: center;
    }
    li.empty {
      justify-content: center;
      grid-template-columns: 1fr;
      text-align: center;
      color: var(--muted);
    }
    @keyframes skeletonShimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }
    .skeleton {
      position: relative;
      overflow: hidden;
    }
    .skeleton::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent, rgba(255,255,255,0.08), transparent);
      animation: skeletonShimmer 1.5s infinite;
    }
    .skeleton-block {
      display: block;
      border-radius: 999px;
      background: rgba(255,255,255,0.1);
      height: 12px;
      margin-top: 8px;
    }
    .skeleton-block.short {
      width: 32px;
      height: 16px;
      margin-top: 0;
    }
    .skeleton-block.cover {
      height: 80px;
      border-radius: 10px;
      margin-top: 0;
    }
    .skeleton-block.long { width: 80%; }
    .skeleton-block.mid { width: 55%; }
    .skeleton-block.tiny { width: 60px; }
    .skeleton-info {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .skeleton-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
    }
    @media (max-width: 800px) {
      li {
        grid-template-columns: 40px 60px 1fr;
      }
      .meta {
        grid-column: 3 / -1;
        text-align: left !important;
      }
    }
    .rank {
      font-weight: 700;
      color: var(--accent);
      font-size: 1.2rem;
    }
    img.cover {
      width: 60px;
      height: 80px;
      border-radius: 10px;
      object-fit: cover;
      border: 1px solid rgba(255,255,255,0.1);
    }
    .info h3 {
      margin: 0;
      font-size: 1rem;
    }
    .info h3 a {
      color: inherit;
      text-decoration: none;
    }
    .genres {
      margin-top: 4px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .genres span {
      font-size: 0.75rem;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(255,255,255,0.08);
    }
    .meta {
      text-align: right;
      font-size: 0.85rem;
      color: var(--muted);
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    footer {
      color: var(--muted);
      font-size: 0.85rem;
      padding-bottom: 30px;
    }
  
