/* ============================================================
   ABSTRICT · Features v15 — 3D Builder, Marketplace,
   Gallery, Interactive Share CSS
   ============================================================= */

/* ---- 3D BUILDER ---- */
.builder-3d {
  margin-bottom: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.b3d-head {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: var(--bg-alt);
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted);
}
.b3d-head svg { flex-shrink: 0; }
.b3d-reset {
  margin-left: auto; background: transparent; border: none;
  color: var(--text-muted); cursor: pointer; font-size: 14px;
  padding: 2px 6px; border-radius: 4px;
  transition: color 150ms, background 150ms;
}
.b3d-reset:hover { color: var(--accent); background: rgba(99,102,241,.1); }
.b3d-canvas {
  width: 100%; height: 280px; background: #08080d;
  cursor: grab; position: relative;
}
.b3d-canvas:active { cursor: grabbing; }
.b3d-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.b3d-hint {
  text-align: center; padding: 4px;
  font-size: 9px; color: var(--text-muted);
  background: var(--bg-alt);
}

/* ---- MARKETPLACE ---- */
.marketplace-panel {
  margin-top: 12px; padding: 10px 12px;
  background: var(--bg-alt); border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}
.mp-head {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px; color: var(--text-muted);
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px;
}
.mp-list { display: flex; flex-direction: column; gap: 4px; }
.mp-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 8px; align-items: center;
  padding: 4px 0; border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
}
.mp-row:last-child { border-bottom: none; }
.mp-name { color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-price { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--teal); white-space: nowrap; }
.mp-links { display: flex; gap: 4px; }
.mp-link {
  width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; border-radius: 3px;
  background: rgba(255,255,255,.06); text-decoration: none;
  transition: background 150ms;
}
.mp-link:hover { background: rgba(255,255,255,.12); }

/* ---- COMMUNITY GALLERY ---- */
.community-gallery {
  margin-bottom: 16px;
}
.cg-head {
  display: flex; align-items: center; gap: 6px;
  padding: 0 0 8px 0;
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted);
}
.cg-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.cg-card {
  padding: 12px;
  background: var(--bg-alt); border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  transition: border-color 200ms, transform 200ms;
  cursor: default;
}
.cg-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cg-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.cg-author { font-size: 10px; color: var(--accent); font-weight: 500; }
.cg-likes { font-size: 10px; color: var(--danger); }
.cg-card-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.cg-specs {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 10px; color: var(--text-muted);
  margin-bottom: 8px;
}
.cg-specs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-card-foot {
  display: flex; justify-content: space-between; align-items: center;
}
.cg-total { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--teal); }
.cg-clone {
  padding: 4px 10px; font-size: 10px; font-weight: 600;
  background: var(--accent); color: #fff; border: none;
  border-radius: 4px; cursor: pointer;
  transition: opacity 150ms;
}
.cg-clone:hover { opacity: .85; }

/* ---- INTERACTIVE SHARE (enhanced share bar) ---- */
/* inherits existing .share-bar styles */
