/* Styling for the injected WF1 USB export column — inherits the face-maker's
   own .fm-x / .fm-export-col look; just a highlight + note. */
.fm-export-usb {
  border-left: 1px solid rgba(46, 236, 197, .25);
  padding-left: 14px;
}
.fm-usb-note {
  font-size: 12px;
  opacity: .7;
  margin-top: 2px;
}
#fmUsb { position: relative; }

/* ── "View all parts" component grid popup ── */
.fm-compgrid-box {
  background: #15131F; border: 1px solid #2A2638; border-radius: 12px;
  max-width: 1000px; width: 94%; max-height: 88vh; overflow-y: auto;
  padding: 18px 20px;
}
.fm-compgrid-head { display: flex; justify-content: space-between; align-items: center; }
.fm-compgrid-head h3 { margin: 0; color: #2EECC5; font-size: 1.05rem; font-family: 'Syne', system-ui, sans-serif; }
.fm-compgrid-cat {
  color: #A8A4BC; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  margin: 16px 0 8px; border-bottom: 1px solid #2A2638; padding-bottom: 4px;
}
.fm-compgrid-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px;
}
.fm-compgrid-item {
  background: #0C0B14; border: 1px solid #2A2638; border-radius: 8px;
  padding: 8px 4px 6px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.fm-compgrid-item:hover { border-color: #2EECC5; }
.fm-compgrid-item span { font-size: .68rem; color: #6E6A82; }
/* cells are sized per category to fit the widest part; max-width is only a
   safety net for odd viewports (keeps aspect via height:auto) */
.fm-compgrid-item canvas { image-rendering: pixelated; max-width: 100%; height: auto; }

/* ── Tips & offline-use section (hosted page + offline build) ── */
.pf-tips {
  max-width: 1100px; margin: 28px auto 0; padding: 0 1.25rem;
  color: #E8E6F0; font-family: 'Epilogue', system-ui, sans-serif;
}
.pf-tips h2 {
  font-size: 1.15rem; color: #2EECC5; margin: 0 0 12px;
  font-family: 'Syne', system-ui, sans-serif; letter-spacing: .02em;
}
.pf-tips-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.pf-tip {
  background: #15131F; border: 1px solid #2A2638; border-radius: 10px;
  padding: 14px 16px; font-size: .88rem; line-height: 1.55; color: #A8A4BC;
}
.pf-tip strong { color: #E8E6F0; display: block; margin-bottom: 4px; }
.pf-tip a { color: #2EECC5; }
