  :root {
    --bg: #000000; --surface: #1c1c1e; --surface2: #2c2c2e;
    --frost-blue: #4fc8f8; --frost-deep: #1a7fc4; --frost-glow: #0a84ff;
    --text: #f5f5f7; --muted: #86868b; --border: rgba(255,255,255,0.1);
    --lite: #bf5af2;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Space Grotesk', sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
  .topo-bg, #particles { display: none; }
  #cursor-glow {
    position: fixed; left: 0; top: 0;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,200,248,0.07) 0%, rgba(79,200,248,0.03) 40%, transparent 70%);
    pointer-events: none; z-index: 3; opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.35s ease;
    mix-blend-mode: screen;
  }
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 48px; height: 68px;
    backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
    background: rgba(0,0,0,0.6);
    border-bottom: 1px solid var(--border);
  }
  .nav-desktop { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; }
  .nav-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; color: var(--text); text-decoration: none; }
  .nav-logo-icon { width: 20px; height: 20px; }
  .nav-logo span { color: var(--text); }
  .nav-right { display: flex; align-items: center; gap: 16px; }
  .nav-back { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
  .nav-back:hover { color: var(--text); }
  .nav-hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 28px; height: 22px; background: none; border: none; cursor: pointer; padding: 0;
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%); z-index: 101;
  }
  .nav-hamburger span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-logo-mobile {
    display: none; align-items: center; gap: 8px;
    font-size: 17px; font-weight: 700; letter-spacing: -0.3px; color: var(--text); text-decoration: none;
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  }
  .nav-logo-mobile img { width: 19px; height: 19px; }
  .nav-logo-mobile span { color: var(--text); }
  @media(max-width:700px){ .nav-desktop { display: none; } .nav-hamburger, .nav-logo-mobile { display: flex; } }

  .lb-page { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 140px 24px 100px; }
  .lb-header { text-align: center; margin-bottom: 48px; }
  .lb-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--frost-blue); margin-bottom: 16px; }
  .lb-header h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 14px; }
  .lb-sub { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 480px; margin: 0 auto; }

  @keyframes stateIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes spin { to { transform: rotate(360deg); } }
  .spinner { width: 30px; height: 30px; border: 3px solid rgba(255,255,255,0.12); border-top-color: var(--frost-blue); border-radius: 50%; margin: 0 auto 18px; animation: spin 0.8s linear infinite; }
  .lb-state { display: none; text-align: center; padding: 40px 0; }
  .lb-state.active { display: block; animation: stateIn 0.45s cubic-bezier(0.22,1,0.36,1) both; }
  .lb-state p { color: var(--muted); font-size: 14.5px; }

  .lb-list { display: none; flex-direction: column; gap: 8px; }
  .lb-list.active { display: flex; animation: stateIn 0.5s cubic-bezier(0.22,1,0.36,1) both; }
  .lb-row { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 20px; }
  .lb-rank { font-weight: 700; font-size: 15px; color: var(--muted); width: 32px; text-align: center; flex-shrink: 0; font-variant-numeric: tabular-nums; }
  .lb-row.top1 .lb-rank, .lb-row.top2 .lb-rank, .lb-row.top3 .lb-rank { font-size: 20px; }
  .lb-row.top1 { border-color: rgba(255,201,77,0.4); }
  .lb-row.top2 { border-color: rgba(200,210,220,0.3); }
  .lb-row.top3 { border-color: rgba(205,140,80,0.35); }
  .lb-avatar { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); image-rendering: pixelated; flex-shrink: 0; background: var(--surface2); }
  .lb-name-col { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
  .lb-name { font-weight: 700; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lb-name.is-lite { color: var(--lite); }
  .lb-lite-badge {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 2px 8px; border-radius: 980px; flex-shrink: 0;
    background: rgba(191,90,242,0.14); color: var(--lite); font-size: 9.5px; font-weight: 700; letter-spacing: 0.2px;
    cursor: default;
  }
  .lb-lite-badge::after {
    content: attr(data-tooltip);
    position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: var(--surface2); border: 1px solid var(--border);
    color: var(--text); font-size: 11px; font-weight: 600; letter-spacing: 0;
    padding: 6px 10px; border-radius: 10px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity 0.2s;
    z-index: 5;
  }
  .lb-lite-badge:hover::after { opacity: 1; }
  .lb-time { font-size: 13.5px; color: var(--frost-blue); flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 600; }

  footer { border-top: 1px solid var(--border); padding: 60px 48px 40px; position: relative; z-index: 1; }
  .footer-inner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px 56px; }
  .footer-brand { flex: 1 1 200px; }
  .footer-col { flex: 1 1 130px; }
  .footer-logo { font-size: 18px; font-weight: 700; color: var(--frost-blue); margin-bottom: 12px; letter-spacing: -0.2px; }
  .footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.5; }
  .footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
  .footer-col a { display: block; color: var(--text); font-size: 14px; text-decoration: none; margin-bottom: 10px; opacity: 0.75; transition: opacity 0.2s; }
  .footer-col a:hover { opacity: 1; }
  .footer-social-icons { display: flex; align-items: center; gap: 12px; }
  .footer-social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); margin-bottom: 0; opacity: 1; transition: border-color 0.2s, transform 0.15s, background 0.2s; }
  .footer-social-icons a:hover { border-color: rgba(255,255,255,0.28); background: var(--surface2); transform: translateY(-2px); }
  .footer-social-icons img { width: 18px; height: 18px; object-fit: contain; opacity: 0.85; transition: opacity 0.2s; }
  .footer-social-icons a:hover img { opacity: 1; }
  .footer-bottom { max-width: 1160px; margin: 32px auto 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 24px; font-size: 13px; color: var(--muted); }
  @media(max-width:600px){ nav { padding: 0 20px; } .footer-inner { text-align: center; } }
