/* HYPERGRID — gallery-feed build. Design reference: Zora ("neon gallery on graphite glass"). */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('./type/spacegrotesk-400.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('./type/spacegrotesk-500.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('./type/spacegrotesk-600.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('./type/spacegrotesk-700.woff2') format('woff2')}

:root{
  --void:#121212; --graphite:#4d4d4d; --fog:#878787; --ash:#cacaca;
  --hairline:#e6e6e6; --white:#ffffff; --green:#00df00; --pink:#ff00f0; --onyx:#000;
  --f:'Space Grotesk',ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --rail:56px; --panel:288px; --feed:600px; --trk:-0.015em;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--white); color:var(--void);
  font-family:var(--f); font-size:15px; line-height:1.4; letter-spacing:var(--trk);
  font-weight:400; -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
button{font-family:inherit; letter-spacing:var(--trk); cursor:pointer}
h1,h2,h3,h4{margin:0; font-weight:600; letter-spacing:var(--trk); line-height:1.15}
p{margin:0}
:focus-visible{outline:2px solid var(--void); outline-offset:2px}

/* ---------- shell: rail | feed | panel ---------- */
.app{display:grid; grid-template-columns:var(--rail) minmax(0,1fr) var(--panel); align-items:start; max-width:1120px; margin:0 auto; min-height:100vh}

/* left icon rail */
.rail{position:sticky; top:0; height:100vh; width:var(--rail); display:flex; flex-direction:column; align-items:center; gap:20px; padding:16px 0; border-right:1px solid var(--hairline); background:var(--white); z-index:30}
.rail__ava{width:32px; height:32px; border-radius:9999px; background:var(--void); color:var(--white); display:grid; place-items:center; font-weight:700; font-size:15px}
.rail__nav{display:flex; flex-direction:column; align-items:center; gap:18px; margin-top:6px}
.rail__ic{width:40px; height:40px; border-radius:9999px; display:grid; place-items:center; color:var(--graphite); transition:color .15s,background .15s}
.rail__ic:hover{color:var(--void); background:#f4f4f4}
.rail__ic svg{width:21px; height:21px; stroke:currentColor; stroke-width:1.6; fill:none}
.rail__ic--live{color:var(--pink)}
.rail__sp{flex:1}
.rail__burger{display:none}

/* center feed */
.feed{max-width:var(--feed); width:100%; margin:0 auto; padding:0 16px 80px; min-width:0}

/* top bar (sticky) */
.top{position:sticky; top:0; display:flex; align-items:center; gap:12px; padding:12px 0 10px; background:rgba(255,255,255,.9); backdrop-filter:blur(8px); border-bottom:1px solid var(--hairline); z-index:20; margin-bottom:16px}
.brand{font-weight:700; font-size:17px; letter-spacing:var(--trk); white-space:nowrap}
.brand b{color:var(--green)}
.search{flex:1; min-width:0; display:flex; align-items:center; gap:8px; height:36px; padding:0 12px; border:1px solid var(--hairline); border-radius:8px; color:var(--fog)}
.search svg{width:16px; height:16px; stroke:var(--fog); stroke-width:1.7; fill:none; flex:none}
.search input{border:0; outline:0; background:transparent; font:inherit; color:var(--void); width:100%; letter-spacing:var(--trk)}
.search input::placeholder{color:var(--ash)}
.top__auth{display:flex; gap:6px; flex:none}

/* buttons */
.btn{font-size:13px; font-weight:500; letter-spacing:var(--trk); border-radius:8px; padding:8px 16px; border:0; line-height:1; display:inline-flex; align-items:center; gap:6px}
.btn--ghost{background:transparent; color:var(--void)}
.btn--dark{background:var(--void); color:var(--white)}
.btn--buy{background:var(--green); color:var(--void); font-weight:600}
.btn--pill{border-radius:9999px}
.btn--wide{width:100%; justify-content:center; padding:11px 16px; font-size:15px}
.btn--dark:hover{background:#000}
.btn--buy:hover{filter:brightness(.94)}

/* generic card */
.card{border:1px solid var(--hairline); border-radius:12px; padding:12px; margin-bottom:12px; background:var(--white)}
.card__hd{display:flex; align-items:center; gap:8px; margin-bottom:10px}
.card__ava{width:32px; height:32px; border-radius:9999px; object-fit:cover; background:#f0f0f0; flex:none}
.avatxt{display:grid; place-items:center; background:var(--void); color:var(--white); font-size:13px; font-weight:600; line-height:1}
.card__who{min-width:0}
.card__name{font-size:13px; font-weight:600; letter-spacing:var(--trk)}
.card__sub{font-size:11px; color:var(--fog)}
.card__time{margin-left:auto; font-size:11px; color:var(--fog); flex:none}

/* collectible media */
.media{border-radius:8px; overflow:hidden; background:#0c0c0c; aspect-ratio:1/1; display:grid; place-items:center}
.media img{width:100%; height:100%; object-fit:cover}
.media--wide{aspect-ratio:16/10}
.media--icon{aspect-ratio:auto; background:transparent; display:flex; justify-content:center; padding:0}
.media--icon img{width:340px; max-width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; border-radius:16px; background:#0b0b0e}

/* title + genre row */
.postt{display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-top:10px}
.postt h3{font-size:16px; font-weight:600}
.postt__dev{font-size:11px; color:var(--fog); margin-top:2px}
.genre{font-size:11px; color:var(--graphite); border:1px solid var(--hairline); border-radius:9999px; padding:3px 9px; white-space:nowrap; flex:none}
.blurb{font-size:13px; color:var(--graphite); line-height:1.45; margin-top:8px}

/* action / price-timer bar */
.bar{display:flex; align-items:center; gap:10px; margin-top:12px; padding-top:10px; border-top:1px solid var(--hairline)}
.bar__meta{display:flex; flex-direction:column; gap:2px; min-width:0}
.bar__inst{font-size:11px; color:var(--fog)}
.rate{font-size:15px; font-weight:600; color:var(--void); display:flex; align-items:center; gap:6px}
.rate small{font-size:11px; color:var(--fog); font-weight:400}
.live{color:var(--pink); font-size:11px; font-weight:500; display:inline-flex; align-items:center; gap:5px}
.live__dot{width:7px; height:7px; border-radius:9999px; background:var(--pink); animation:pulse 1.6s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
.bar__go{margin-left:auto; flex:none}
.actions{display:flex; gap:14px; color:var(--graphite)}
.actions svg{width:19px; height:19px; stroke:currentColor; stroke-width:1.6; fill:none}

/* section label chip in feed */
.flabel{display:flex; align-items:center; gap:8px; margin:22px 4px 10px; font-size:11px; color:var(--fog); text-transform:uppercase; letter-spacing:.04em}
.flabel::after{content:""; flex:1; height:1px; background:var(--hairline)}

/* featured (first post, larger) */
.feat .media{aspect-ratio:16/9}
.feat h2{font-size:22px; font-weight:600; margin-top:12px; line-height:1.1}
.feat p{font-size:14px; color:var(--graphite); margin-top:8px; line-height:1.5}

/* leaderboard card */
.lb{display:flex; flex-direction:column}
.lbrow{display:grid; grid-template-columns:26px 40px 1fr auto; align-items:center; gap:10px; padding:8px 0; border-top:1px solid var(--hairline)}
.lbrow:first-child{border-top:0}
.lbrow__pos{font-size:13px; color:var(--fog); font-weight:600}
.lbrow img{width:40px; height:40px; border-radius:8px}
.lbrow__nm{font-size:13px; font-weight:600; min-width:0}
.lbrow__nm span{display:block; font-size:11px; color:var(--fog); font-weight:400}
.lbrow__sc{font-size:15px; font-weight:600}
.lbrow--top .lbrow__sc{color:var(--void)}

/* reviews (comment posts) */
.rev{display:flex; gap:8px; padding:10px 0; border-top:1px solid var(--hairline)}
.rev:first-child{border-top:0}
.rev__av{width:28px; height:28px; border-radius:9999px; background:var(--void); color:var(--white); display:grid; place-items:center; font-size:12px; font-weight:600; flex:none}
.rev__b{min-width:0}
.rev__nm{font-size:13px; font-weight:600}
.rev__nm span{color:var(--fog); font-weight:400; font-size:11px; margin-left:6px}
.rev__tx{font-size:13px; color:var(--graphite); line-height:1.45; margin-top:3px}
.rev__st{color:var(--pink); font-size:11px; margin-top:4px; letter-spacing:1px}

/* faq */
.faq details{border-top:1px solid var(--hairline); padding:10px 0}
.faq details:first-child{border-top:0}
.faq summary{font-size:14px; font-weight:500; list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:10px; align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; color:var(--fog); font-size:18px; line-height:1}
.faq details[open] summary::after{content:"–"}
.faq p{font-size:13px; color:var(--graphite); line-height:1.5; margin-top:8px}

/* subscribe (composer card) */
.compose .field{display:flex; flex-direction:column; gap:4px; margin-bottom:8px}
.compose label{font-size:11px; color:var(--fog)}
.compose input[type=text],.compose input[type=tel],.compose input[type=email]{height:38px; border:1px solid var(--hairline); border-radius:8px; padding:0 12px; font:inherit; letter-spacing:var(--trk); color:var(--void)}
.compose input::placeholder{color:var(--ash)}
.compose input:focus{outline:0; border-color:var(--void)}
.consent{display:flex; gap:8px; align-items:flex-start; font-size:11px; color:var(--graphite); margin:6px 0 12px; line-height:1.4}
.consent input{margin-top:2px; accent-color:var(--green)}
.consent a{color:var(--void); text-decoration:underline}
.ok{display:none; margin-top:10px; font-size:13px; color:var(--void); background:#eafff0; border:1px solid var(--green); border-radius:8px; padding:10px 12px}
.ok.show{display:block}

/* right discovery panel */
.panel{position:sticky; top:0; height:100vh; overflow-y:auto; padding:16px 16px 40px; border-left:1px solid var(--hairline)}
.panel::-webkit-scrollbar{width:0}
.pblock{margin-bottom:24px}
.ptitle{font-size:13px; font-weight:600; margin-bottom:10px}
.follow{display:flex; align-items:center; gap:8px; padding:7px 0}
.follow img{width:40px; height:40px; border-radius:8px}
.follow__b{min-width:0; flex:1}
.follow__nm{font-size:13px; font-weight:600}
.follow__nm span{display:block; font-size:11px; color:var(--fog); font-weight:400}
.qr{border:1px solid var(--hairline); border-radius:12px; padding:14px; text-align:center}
.qr__code{width:96px; height:96px; margin:0 auto 10px; border-radius:8px; background:
  conic-gradient(#000 25%,#fff 0 50%,#000 0 75%,#fff 0) 0 0/16px 16px}
.qr h4{font-size:13px; font-weight:600}
.qr p{font-size:11px; color:var(--fog); margin-top:2px}
.plink{display:block; font-size:12px; color:var(--graphite); padding:5px 0}
.plink:hover{color:var(--void)}
.pfoot{font-size:11px; color:var(--fog); line-height:1.5; border-top:1px solid var(--hairline); padding-top:12px}
.pfoot a{color:var(--graphite); text-decoration:underline}

/* footer (in feed, mobile+desktop) */
.ffoot{border-top:1px solid var(--hairline); margin-top:24px; padding-top:16px; font-size:12px; color:var(--fog); line-height:1.6}
.ffoot strong{color:var(--void)}
.ffoot a{color:var(--graphite); text-decoration:underline}
.ffoot__links{display:flex; flex-wrap:wrap; gap:12px; margin-bottom:12px}

/* cookie */
.cookie{position:fixed; left:16px; right:16px; bottom:16px; max-width:520px; margin:0 auto; background:var(--void); color:var(--white); border-radius:12px; padding:14px 16px; display:flex; gap:14px; align-items:center; z-index:60; font-size:12px}
.cookie p{color:#d9d9d9; line-height:1.4}
.cookie a{color:var(--green); text-decoration:underline}
.cookie__b{display:flex; gap:6px; flex:none}
.cookie.hide{display:none}

/* mobile menu (full-screen color overlay is for another site; here: simple sheet) */
.sheet{position:fixed; inset:0; background:var(--white); z-index:70; padding:20px; display:none; flex-direction:column; gap:4px}
.sheet.open{display:flex}
.sheet a{font-size:20px; font-weight:600; padding:12px 4px; border-bottom:1px solid var(--hairline)}
.sheet__x{align-self:flex-end; font-size:24px; background:none; border:0; color:var(--void); padding:8px}

/* ---------- responsive ---------- */
@media(max-width:1000px){
  .app{grid-template-columns:var(--rail) minmax(0,1fr)}
  .panel{display:none}
}
@media(max-width:720px){
  .app{grid-template-columns:1fr}
  .rail{position:fixed; bottom:0; top:auto; left:0; right:0; width:100%; height:auto; flex-direction:row; justify-content:space-around; gap:0; padding:8px 0; border-right:0; border-top:1px solid var(--hairline)}
  .rail__ava{display:none}
  .rail__nav{flex-direction:row; gap:0; margin-top:0; justify-content:space-around; width:100%}
  .rail__sp{display:none}
  .feed{padding-bottom:80px}
  .top__auth .btn--ghost{display:none}
  .brand{font-size:15px}
}
@media(min-width:721px){ .rail__burger{display:none} }
@media(prefers-reduced-motion:reduce){ *{animation:none!important} }

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
