.namegen-scope{
  color:#1f2937;
  min-width:0;
}

.namegen-wrap{
  max-width:1000px;
  margin:0 auto;
  padding:0;
  min-width:0;
}

.namegen-shell{
  padding:20px;
}

.namegen-controls-grid{
  display:grid;
  gap:12px;
}

@media (min-width:860px){
  .namegen-controls-grid{
    grid-template-columns:minmax(0,2fr) minmax(220px,1fr) auto;
    align-items:end;
  }
}

.namegen-results-grid{
  display:grid;
  gap:14px;
  min-width:0;
}

@media (min-width:860px){
  .namegen-results-grid{
    grid-template-columns:1.1fr .9fr;
  }
}

.namegen-preview-value{
  font-size:clamp(30px,5vw,42px);
  font-weight:700;
  line-height:1.15;
  color:#0f172a;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.namegen-preview-fallback{
  opacity:.72;
}

.namegen-social{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-top:14px;
}

.namegen-status{
  min-height:20px;
  margin:10px 0 0;
  color:#0f766e;
  font-size:13px;
  font-weight:700;
  line-height:1.45;
  text-align:center;
}

.namegen-output-grid{
  display:grid;
  gap:14px;
  margin-top:14px;
}

@media (min-width:860px){
  .namegen-output-grid{
    grid-template-columns:1fr 1fr;
  }
}

.namegen-output-card{
  position:relative;
  min-width:0;
}

.namegen-copy-btn{
  position:absolute;
  top:16px;
  right:16px;
}

.namegen-textarea{
  min-height:124px;
  margin-top:12px;
  resize:none;
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media (max-width:380px){
  .namegen-shell{
    padding:16px;
  }

  .namegen-preview-value{
    font-size:clamp(25px, 8vw, 30px);
  }

  .namegen-social{
    gap:10px;
  }
}

.namegen-helper-list{
  display:grid;
  gap:8px;
  margin:0;
  padding-left:18px;
}

.namegen-helper-note{
  margin-top:12px;
}

.namegen-footer{
  margin-top:16px;
  text-align:center;
  font-size:12px;
  color:#64748b;
  display:grid;
  gap:8px;
  justify-items:center;
}

.namegen-footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.namegen-footer-brand img{
  width:72px;
  height:72px;
  object-fit:contain;
  background:#fff;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(15,23,42,.10);
  padding:4px;
  border:1px solid rgba(14,165,233,.20);
}
