.nh-builds-page { max-width: 1400px; margin: 0 auto 2rem; padding: 0 12px; color: inherit; }
.nh-builds-hero { margin-bottom: 1.25rem; }
.nh-builds-hero h2 { margin: 0 0 .35rem; font-size: 1.6rem; }
.nh-builds-hero p { margin: 0; opacity: .85; font-size: .95rem; }
.nh-builds-toolbar {
  display: flex; flex-wrap: wrap; gap: .6rem .75rem; align-items: flex-end;
  margin-bottom: 1rem; padding: .75rem; border: 1px solid rgba(127,127,127,.35); border-radius: 6px;
}
.nh-builds-toolbar label { display: flex; flex-direction: column; gap: .25rem; font-size: .8rem; }
.nh-builds-toolbar input, .nh-builds-toolbar select {
  min-width: 140px; padding: .35rem .5rem; border-radius: 4px; border: 1px solid rgba(127,127,127,.4);
  background: transparent; color: inherit;
}
.nh-builds-btn {
  display: inline-block; padding: .4rem .75rem; border-radius: 4px; text-decoration: none;
  border: 1px solid rgba(127,127,127,.4); color: inherit; background: transparent; cursor: pointer; font-size: .85rem;
}
.nh-builds-btn.primary {
  background: #3a6ea5; border-color: #3a6ea5; color: #fff;
}
.nh-builds-chips { display: flex; flex-wrap: wrap; gap: .35rem; width: 100%; }
.nh-builds-chips label {
  flex-direction: row; align-items: center; gap: .3rem; font-size: .8rem;
  padding: .2rem .5rem; border: 1px solid rgba(127,127,127,.35); border-radius: 999px; cursor: pointer;
}
.nh-builds-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.nh-builds-col {
  border: 1px solid rgba(127,127,127,.35);
  border-radius: 8px;
  padding: .85rem;
  min-width: 0;
}
.nh-builds-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(127,127,127,.25);
}
.nh-builds-col-head h3 {
  margin: 0;
  font-size: 1.1rem;
}
.nh-builds-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.nh-builds-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: .78rem;
}
.nh-builds-table th,
.nh-builds-table td {
  padding: .4rem .28rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(127,127,127,.22);
}
.nh-builds-table thead th {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  opacity: .75;
  font-weight: 600;
}
.nh-builds-table tbody tr:hover { background: rgba(58,110,165,.08); }
.nh-builds-table tbody tr.is-featured { background: rgba(201,162,39,.08); }
.nh-builds-table .col-name { width: 22%; }
.nh-builds-table .col-job { width: 16%; }
.nh-builds-table .col-author { width: 12%; }
.nh-builds-table .col-style { width: 38%; }
.nh-builds-table .col-note { width: 12%; }
.nh-builds-table .col-name a {
  color: #3a6ea5;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.nh-builds-table .col-name a:hover { text-decoration: underline; }
.nh-builds-table .col-job,
.nh-builds-table .col-author {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .74rem;
}
.nh-builds-table .col-author { opacity: .85; }
.nh-builds-table .col-note {
  text-align: right;
}
.nh-builds-table th.col-note { text-align: right; }
.nh-note-score {
  display: block;
  font-size: .9rem;
  color: #3a6ea5;
  line-height: 1.15;
}
.nh-note-votes {
  display: block;
  font-size: .62rem;
  opacity: .7;
  line-height: 1.2;
}
.nh-feat-tag {
  display: inline-block;
  margin-left: .25rem;
  font-size: .6rem;
  padding: .05rem .3rem;
  border-radius: 999px;
  background: rgba(201,162,39,.25);
  color: inherit;
  vertical-align: middle;
}
.nh-style-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
}
.nh-pill {
  display: inline-block;
  font-size: .58rem;
  line-height: 1;
  padding: .18rem .3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
}
.nh-pill.is-on {
  background: #3a6ea5;
  border-color: #3a6ea5;
  color: #fff;
  opacity: 1;
}
.nh-pill.is-off {
  background: transparent;
  border-color: rgba(127,127,127,.35);
  color: inherit;
  opacity: .35;
}
.nh-builds-empty { padding: 2rem; text-align: center; opacity: .8; }
.nh-builds-empty.compact { padding: 1rem .5rem; font-size: .9rem; }
.nh-builds-pager { display: flex; gap: .5rem; justify-content: center; margin-top: 1.25rem; }
@media (max-width: 980px) {
  .nh-builds-columns { grid-template-columns: 1fr; }
}

.nh-build-view { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.25rem; }
@media (max-width: 820px) { .nh-build-view { grid-template-columns: 1fr; } }
.nh-build-panel {
  border: 1px solid rgba(127,127,127,.35); border-radius: 8px; padding: 1rem;
}
.nh-build-equip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem;
}
.nh-build-equip .slot {
  border: 1px solid rgba(127,127,127,.3); border-radius: 6px; padding: .35rem; text-align: center; font-size: .7rem;
}
.nh-build-equip img { width: 24px; height: 24px; image-rendering: pixelated; }
.nh-build-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.nh-vote-row { display: flex; align-items: center; gap: .5rem; margin: .5rem 0; }
.nh-vote-row strong { font-size: 1.2rem; }
.nh-comments { margin-top: 1.5rem; }
.nh-comment { border-top: 1px solid rgba(127,127,127,.25); padding: .75rem 0; }
.nh-comment .who { font-size: .8rem; opacity: .8; margin-bottom: .25rem; }
.nh-comment.reply { margin-left: 1.5rem; border-left: 2px solid rgba(58,110,165,.4); padding-left: .75rem; }
.nh-comment-form textarea {
  width: 100%; min-height: 70px; padding: .5rem; border-radius: 4px;
  border: 1px solid rgba(127,127,127,.4); background: transparent; color: inherit; box-sizing: border-box;
}
.nh-builds-error {
  padding: .75rem 1rem; border-radius: 6px; background: rgba(180,40,40,.12); border: 1px solid rgba(180,40,40,.35); margin-bottom: 1rem;
}
