/* LabStore public storefront — restrained dark liquid-glass. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #0b0b10;
  color: #eef0f6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: inherit; }

/* ---- hero + pills ------------------------------------------------------ */

.ls-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px 8px;
  text-align: center;
}

.ls-hero h1 {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, #eef0f6, #b7bcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ls-hero p {
  margin: 0 0 24px;
  color: #9aa0b0;
  font-size: 16px;
}

.ls-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ls-pills a {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  text-decoration: none;
  font-size: 14px;
  color: #cdd1e0;
  transition: background .15s;
}

.ls-pills a:hover { background: rgba(255, 255, 255, .12); }
.ls-pills a.on { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---- grid + tiles -------------------------------------------------------- */

.ls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  padding: 32px;
  max-width: 1200px;
  margin: auto;
}

.ls-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .08);
  text-decoration: none;
  color: inherit;
  transition: transform .15s, background .15s;
  text-align: center;
}

.ls-tile:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, .09);
}

.ls-icon {
  width: 72px;
  height: 72px;
  border-radius: 22%;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #5860ff, #9b5cff);
  color: #fff;
}

.ls-icon-lg {
  width: 96px;
  height: 96px;
  font-size: 42px;
  flex: none;
}

.ls-name {
  font-size: 15px;
  font-weight: 600;
}

.ls-pub {
  font-size: 12px;
  color: #9aa0b0;
}

.ls-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #9aa0b0;
  padding: 48px 0;
}

/* ---- state chips ---------------------------------------------------------- */

.ls-state {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.ls-state-built { color: #7ee2a8; }
.ls-state-source-only { color: #f0c674; }
.ls-state-unknown { color: #9aa0b0; }

/* ---- detail page ----------------------------------------------------------- */

.ls-detail {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
}

.ls-back {
  display: inline-block;
  margin-bottom: 24px;
  color: #9aa0b0;
  text-decoration: none;
  font-size: 14px;
}

.ls-back:hover { color: #eef0f6; }

.ls-detail-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.ls-detail-head h1 {
  margin: 0 0 4px;
  font-size: 26px;
}

.ls-desc {
  color: #cdd1e0;
  line-height: 1.6;
  font-size: 15px;
}

.ls-install {
  margin-top: 32px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .08);
}

.ls-install h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.ls-install p {
  color: #cdd1e0;
  font-size: 14px;
  line-height: 1.5;
}

.ls-install pre {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #05050a;
  border: 1px solid rgba(255, 255, 255, .08);
  overflow-x: auto;
  font-size: 13px;
  color: #b7bcff;
}
