body { background: #050506; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.glow { position: fixed; inset: -20vh 0 auto; height: 70vh; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255,255,255,.07), transparent 70%); }

/* nav */
nav.top { position: sticky; top: 0; z-index: 50; background: rgba(5,5,6,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(255,255,255,.06); }
nav.top .wrap { display: flex; align-items: center; height: 62px; }
nav.top .right { margin-left: auto; display: flex; gap: 8px; }

/* hero */
main { position: relative; z-index: 1; flex: 1; }
.hero { padding: 72px 0 34px; max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 5px 11px 5px 9px; border-radius: 99px; box-shadow: var(--hair); background: rgba(255,255,255,.03); text-transform: lowercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); font-weight: 700; letter-spacing: -0.055em; line-height: .98; margin: 18px 0 14px;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--muted); margin: 0; font-size: 17px; max-width: 560px; }
.sub b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* controls */
.bar { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; position: sticky; top: 62px; z-index: 40; padding: 12px 0; background: linear-gradient(#050506 70%, transparent); }
.search { flex: 1; min-width: 220px; max-width: 400px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 14px; border-radius: 14px; box-shadow: var(--hair); background: rgba(255,255,255,.035); transition: box-shadow .15s, background .15s; cursor: text; }
.search:focus-within { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 0 0 4px rgba(255,255,255,.05); background: rgba(255,255,255,.05); }
.search svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; }
.search input::placeholder { color: var(--dim); }
.search kbd { font-family: var(--mono); font-size: 11px; color: var(--dim); border-radius: 6px; padding: 2px 7px; box-shadow: var(--hair); }
.search:focus-within kbd { opacity: 0; }
.seg { display: flex; padding: 4px; gap: 2px; border-radius: 14px; box-shadow: var(--hair); background: rgba(255,255,255,.025); }
.seg button { border: 0; background: none; height: 34px; padding: 0 14px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: color .15s, background .15s; }
.seg button:hover { color: var(--text); }
.seg button.on { color: var(--text); background: rgba(255,255,255,.08); box-shadow: var(--hair); }

/* grid + cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
.pc { --a: #ffffff; --a2: #ffffff; --mx: 50%; --my: 0%; position: relative; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); box-shadow: var(--hair);
  transition: transform .35s cubic-bezier(.2,1,.3,1), box-shadow .25s; animation: pcIn .5s cubic-bezier(.2,1,.3,1) backwards; }
@keyframes pcIn { from { opacity: 0; transform: translateY(14px); } }
.pc::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--a) 18%, transparent), transparent 70%); }
.pc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 35%, transparent), 0 24px 60px -30px color-mix(in srgb, var(--a) 60%, transparent); }
.pc:hover::before { opacity: 1; }
.pc-cover { position: relative; display: block; height: 132px; overflow: hidden; background: #0b0b0d center / cover; }
.pc-cover .art, .pc-cover video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: center / cover; transition: transform .6s cubic-bezier(.2,1,.3,1), opacity .3s; }
.pc-cover video { opacity: 0; }
.pc-cover video.on { opacity: 1; }
.pc:hover .pc-cover .art, .pc:hover .pc-cover video { transform: scale(1.06); }
.pc-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,5,6,.92)); }
.chip { position: absolute; z-index: 1; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; font-family: var(--mono); font-size: 11px; color: #fff;
  background: rgba(0,0,0,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.chip.fx { left: 10px; }
.chip.fx i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--a2)); }
.chip.rank { right: 10px; font-weight: 600; }
.chip.rank.r1 { color: #1a1300; background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 6px 20px -6px #f59e0b; }
.chip.rank.r2 { color: #111; background: linear-gradient(135deg, #f4f4f5, #a1a1aa); }
.chip.rank.r3 { color: #1c0d02; background: linear-gradient(135deg, #fdba74, #c2410c); }
.chip.vid { right: 10px; top: auto; bottom: 10px; }
.pc-body { position: relative; z-index: 3; padding: 0 16px 14px; margin-top: -34px; display: flex; flex-direction: column; flex: 1; }
.pc-av { width: 62px; height: 62px; border-radius: 50%; padding: 2.5px; background: linear-gradient(135deg, var(--a), var(--a2)); flex: none; }
.pc-av span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #121214 center / cover; border: 3px solid #0a0a0c; font-weight: 700; font-size: 22px; color: var(--a); }
.pc-name { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; font-size: 16.5px; letter-spacing: -0.02em; min-width: 0; }
.pc-name b { font-weight: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-name svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--a); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-hd { font-family: var(--mono); font-size: 12.5px; color: var(--dim); }
.pc-bio { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin: 8px 0 12px; min-height: 39px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pc-bio:empty::before { content: 'no bio yet'; color: var(--dim); font-style: italic; }
.pc-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pc-foot span { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.pc-foot svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-use { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 9px; font-family: var(--body); font-size: 12.5px; font-weight: 600; color: var(--text); box-shadow: var(--hair); background: rgba(255,255,255,.04); transition: background .15s, color .15s, box-shadow .15s; }
.pc-use:hover { color: #000; background: #fff; box-shadow: none; }
.pc a.hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pc a.hit:focus-visible { outline: 2px solid var(--a); outline-offset: -2px; }
.pc-body { pointer-events: none; }
.pc-use { pointer-events: auto; position: relative; z-index: 4; }

/* skeletons */
.sk { pointer-events: none; animation: none; }
.sk .pc-cover, .sk .sk-l { background: linear-gradient(90deg, rgba(255,255,255,.03) 20%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.03) 80%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.sk .pc-av { background: #121214; }
.sk-l { height: 12px; border-radius: 6px; margin-top: 10px; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* empty */
.empty { grid-column: 1 / -1; padding: 64px 24px; text-align: center; border-radius: 20px; box-shadow: var(--hair); background: rgba(255,255,255,.02); }
.empty b { display: block; font-size: 20px; letter-spacing: -0.03em; margin-bottom: 6px; }
.empty p { color: var(--muted); margin: 0 0 18px; }

#sentinel { height: 1px; }
#more { display: block; margin: 28px auto 0; }
#more[hidden] { display: none; }
.foot { display: flex; justify-content: space-between; padding: 60px 24px 34px; color: var(--dim); font-family: var(--mono); font-size: 12px; position: relative; z-index: 1; }
.foot a:hover { color: var(--text); }

@media (max-width: 640px) {
  .hero { padding-top: 44px; }
  .bar { top: 62px; }
  .search { max-width: none; flex-basis: 100%; }
  .search kbd { display: none; }
  .seg { width: 100%; } .seg button { flex: 1; padding: 0 8px; }
  nav.top .right .btn-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pc, .pc-cover .art, .pc-cover video { animation: none; transition: none; } }
