:root { --text: #f7f7fb; --muted: #777785; --line: rgba(255,255,255,.07); --accent: #ff7c30; }
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 45%, rgba(255,124,48,.09), transparent 30rem),
    radial-gradient(circle at 80% 30%, rgba(82,229,209,.045), transparent 26rem),
    #07070a;
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.back-link { position: fixed; z-index: 3; top: 24px; left: 28px; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .78rem; transition: color .2s ease, transform .2s ease; }
.back-link:hover { color: var(--text); transform: translateX(-2px); }
.back-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.page { width: min(520px, calc(100% - 32px)); margin: 0 auto; padding: 96px 0 72px; }

.head { text-align: center; animation: enter .7s cubic-bezier(.2,.75,.2,1) both; }
.mark { display: inline-block; transition: transform .3s ease; }
.mark:hover { transform: scale(1.06) rotate(-4deg); }
.mark img { display: block; width: 48px; height: 48px; object-fit: contain; }
.head h1 { margin: 18px 0 0; font-size: 2rem; letter-spacing: -.045em; }
.head p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }

.card { margin-top: 32px; padding: 6px; border: 1px solid var(--line); border-radius: 20px; background: rgba(12,12,17,.72); box-shadow: 0 24px 75px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.025); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: enter .7s .08s cubic-bezier(.2,.75,.2,1) both; }

.list { margin: 0; padding: 0; list-style: none; }
.row a, .row.is-skeleton { display: grid; grid-template-columns: 28px 38px 1fr auto; align-items: center; gap: 14px; min-height: 62px; padding: 10px 14px; border-radius: 14px; }
.row a { transition: background .25s ease; }
.row a:hover, .row a:focus-visible { background: rgba(255,255,255,.04); outline: none; }
.row + .row { position: relative; }
.row + .row::before { position: absolute; top: 0; right: 14px; left: 14px; height: 1px; content: ""; background: rgba(255,255,255,.045); }
.row.is-live { animation: rowIn .5s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--i) * 45ms + 120ms); }

.rank { color: #4d4b55; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; }
.row:nth-child(-n+3) .rank { color: var(--accent); }

.avatar { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: #fff; background: #000; font-size: .85rem; font-weight: 700; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.name { min-width: 0; overflow: hidden; font-size: .92rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; transition: color .25s ease; }
.row a:hover .name { color: var(--accent); }
.arrow { display: inline-block; margin-left: 6px; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .25s ease, transform .25s ease; }
.row a:hover .arrow { opacity: 1; transform: none; }

.count { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.count b { color: #e9e7ee; font-weight: 600; }

.is-skeleton .avatar, .is-skeleton i { border-color: transparent; background: rgba(255,255,255,.05); animation: pulse 1.4s ease-in-out infinite; }
.is-skeleton i { display: block; width: 45%; height: 9px; border-radius: 6px; }
.is-skeleton .count i { width: 54px; }

.empty { margin: 0; padding: 34px 16px; color: var(--muted); font-size: .88rem; text-align: center; }

.cta { display: block; width: fit-content; margin: 22px auto 0; color: var(--muted); font-size: .8rem; transition: color .2s ease; animation: enter .7s .16s cubic-bezier(.2,.75,.2,1) both; }
.cta b { color: var(--accent); font-weight: 600; }
.cta:hover { color: var(--text); }

@keyframes enter { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }
@media (max-width: 560px) {
  .back-link span { display: none; }
  .page { padding-top: 80px; }
  .row a, .row.is-skeleton { grid-template-columns: 22px 34px 1fr auto; gap: 11px; padding: 9px 10px; }
  .avatar { width: 34px; height: 34px; }
  .arrow { display: none; }
}

html{overflow-x:clip}
