:root{
  --bg:#0b0c10;--text:#e5e7eb;--muted:#9aa4b2;--panel:#101217;
  --accent:#f6b4d8;--radius:16px;
}
body{margin:0;background:var(--bg);color:var(--text);
  font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto;}
a{text-decoration:none;color:inherit}

/* Profile header */
.profile{display:flex;flex-wrap:wrap;align-items:center;gap:1.5rem;
  padding:1.5rem 1rem;border-bottom:1px solid rgba(255,255,255,.08);}
.avatar img{width:96px;height:96px;border-radius:50%;border:2px solid rgba(255,255,255,.1);object-fit:cover;}
.info h1{margin:0;font-size:1.6rem;font-weight:800;}
.sub{margin:.2rem 0 .4rem;color:var(--accent);font-weight:600;}
.about{max-width:640px;margin:.3rem 0 1rem;font-size:.95rem;color:var(--muted);}
@media(max-width:600px){.profile{flex-direction:column;align-items:flex-start}.avatar img{width:72px;height:72px}}

/* Grid */
.ps-grid{display:grid;gap:1rem;padding:1rem;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));}
.ps-grid .item{display:block;overflow:hidden;border-radius:var(--radius);
  background:var(--panel);}
.ps-grid img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;
  transition:transform .4s ease;}
.ps-grid .item:hover img{transform:scale(1.05)}

/* Lightbox */
.lightbox{position:fixed;inset:0;display:none;flex-direction:column;
  background:rgba(0,0,0,.86);z-index:1000;}
.lightbox.open{display:flex}
.topbar{display:flex;align-items:center;gap:.6rem;padding:.6rem .8rem;
  background:linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,0));}
.back{display:flex;align-items:center;gap:.4rem;color:#fff;background:none;border:0;cursor:pointer;}
.title{flex:1;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.full{color:#e2e8f0;border:1px solid rgba(255,255,255,.15);
  padding:.35rem .65rem;border-radius:8px;background:rgba(255,255,255,.08)}

.stage{position:relative;flex:1;display:flex;align-items:center;justify-content:center;padding:1rem;}
.stage img{max-width:96vw;max-height:78vh;object-fit:contain;border-radius:var(--radius);
  transition:opacity .25s ease;background:#000;}
.stage img.fade{opacity:.5}

/* Arrows */
.nav{position:absolute;top:50%;transform:translateY(-50%);
  width:52px;height:52px;border-radius:14px;border:1px solid rgba(255,255,255,.18);
  background:rgba(20,24,32,.85);color:#fff;display:grid;place-items:center;cursor:pointer;
  opacity:0;transition:opacity .2s ease;}
.stage:hover .nav{opacity:1}
.nav.prev{left:14px}.nav.next{right:14px}

/* Fullscreen close */
.full-close{position:fixed;top:14px;left:14px;z-index:2000;width:46px;height:46px;
  border:none;border-radius:50%;background:rgba(0,0,0,.65);color:#fff;
  font-size:24px;line-height:46px;text-align:center;cursor:pointer;
  box-shadow:0 0 12px rgba(0,0,0,.5);display:none;transition:opacity .25s ease;}
.lightbox.fullview .full-close{display:block;opacity:.9;}
.full-close:hover{opacity:1}

/* add/override in <style> (or gallery.css) */
.ps-hero-top{
  display:flex;
  gap:14px;
  align-items:center;
}
.ps-album-cover{
  width:72px;
  height:72px;
  border-radius:10px;
  overflow:hidden;
  flex:0 0 auto;
  border:1px solid #2a2f3a;
  background:#0b0c10;
}
.ps-album-cover img{
  width:100%;
  height:100%;
  object-fit:cover;   /* thumbnail square, not a big banner */
  display:block;
}
.ps-album-meta .ps-title{
  margin:0;
  font-size:20px;
  font-weight:700;
  color:#e5e7eb;
  letter-spacing:.2px;
}
.ps-album-meta .ps-sub{
  margin:4px 0 0;
  font-size:14px;
  color:#9aa4b2;
  line-height:1.4;
}
.ps-album-meta .ps-count{
  margin-top:6px;
  font-size:13px;
  color:#7b8796;
}


@media(max-width:768px){.nav{display:none}.stage img{max-height:72vh}}
