/* A shell: rail, top bar, buttons, cards, wall */
:root{--acc:#9b87ff;--hot:#ffd28a;--pan:#0a0a0c;--pan2:#111016;--ln:rgba(255,255,255,.07)}
body{padding-left:64px}
.rail{position:fixed;left:0;top:0;bottom:0;width:64px;display:flex;flex-direction:column;align-items:center;padding:18px 0;gap:6px;z-index:6;background:#000}
.rail .home{margin-bottom:18px;background:none!important}.rail .mk{width:34px;height:34px;display:block}
.rail a{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;color:rgba(255,255,255,.4);transition:.2s}
.rail a:hover{color:#fff;background:rgba(255,255,255,.06)}
.rail a.on{color:var(--acc);background:rgba(155,135,255,.1)}
.rail svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rail .sp{flex:1}
.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:10px;padding:16px 28px 16px 12px;background:linear-gradient(#000 60%,transparent)}
.search{flex:1;max-width:460px;display:flex;align-items:center;gap:10px;height:40px;padding:0 14px;border-radius:10px;background:rgba(255,255,255,.05);color:rgba(255,255,255,.4);transition:.2s}
.search:focus-within{background:rgba(255,255,255,.08);color:#fff}
.search input{flex:1;background:none;border:0;outline:0;color:#fff;font:13.5px 'Geist'}
.search input::placeholder{color:rgba(255,255,255,.4)}
.search kbd{font:12px 'Geist Mono';opacity:.6}
.top .sp{flex:1}
.btn{height:40px;padding:0 18px;border-radius:10px;font-weight:600;font-size:13.5px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s;white-space:nowrap}
.btn.pri{background:var(--acc);color:#07060f}.btn.pri:hover{background:#b3a3ff}
.btn.gh{background:rgba(255,255,255,.06);color:#fff}.btn.gh:hover{background:rgba(255,255,255,.11)}
.btn.lg{height:48px;padding:0 24px;font-size:14.5px}
.btn.full{width:100%}

.card{display:block;padding:16px;border-radius:14px;background:var(--pan);position:relative;overflow:hidden;transition:background .25s,transform .25s}
.card:hover{background:var(--pan2);transform:translateY(-2px)}
.card .h{display:flex;gap:12px;align-items:center}
.card img{width:44px;height:44px;border-radius:10px;image-rendering:pixelated;object-fit:cover}
.card .n{font-weight:600;font-size:15px;letter-spacing:-.01em}
.card .s{font:12px 'Geist Mono';color:rgba(255,255,255,.4);margin-top:2px}
.card .c{margin-left:auto;font:600 13px 'Geist Mono'}
.card .bits{margin:16px 0 14px}
.card .f{display:flex;align-items:baseline;gap:18px;font:12px 'Geist Mono';color:rgba(255,255,255,.42)}
.card .f b{color:#fff;font-weight:500;font-size:13px;margin-left:5px}
.card .k{margin-left:auto;color:var(--acc)}

.wall{display:grid;grid-template-columns:repeat(32,1fr);gap:3px}
.wall i{aspect-ratio:1;border-radius:1.5px;background:rgba(255,255,255,.05);transition:background .25s,opacity .25s}
.wall i.on{background:var(--acc);opacity:var(--v)}.wall i.hot{background:var(--hot);opacity:1}
.wall i.cur{background:#fff;opacity:1}

.pan{background:var(--pan);border-radius:16px}
.pill{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;font:500 12px 'Geist Mono';background:rgba(255,255,255,.06);color:rgba(255,255,255,.7);transition:.3s}
.pill.ok{background:var(--acc);color:#07060f}
.dn{color:#ff5d73}
@media(max-width:720px){body{padding-left:0;padding-bottom:64px}.rail{top:auto;right:0;width:auto;height:60px;flex-direction:row;justify-content:space-around;padding:0 10px}.rail .home,.rail .sp{display:none}.top{padding:12px 14px}.top .btn.gh{display:none}}
