/* Nexus Hammer maker (simplified by Claude Main, 12 Oct 2026, Parky: simple, centred, easy categories).
   One centred column: the Hammer name, each category with its builds, New category, then Download. */
.hm-page { margin: 0; color: #e4e4e7; font-family: Inter, "Segoe UI", system-ui, sans-serif; }
.hm, .hm * { box-sizing: border-box; }
.hm svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hm { width: min(760px, 100%); margin: 0 auto; padding: clamp(32px, 5vw, 56px) 16px 80px; }
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Title */
.hm-hero { display: grid; justify-items: center; gap: 12px; margin-bottom: 34px; text-align: center; }
.hm-hero h1 { margin: 0; color: #fff; font: 900 clamp(2.3rem, 6vw, 3.4rem)/1.02 Outfit, Inter, sans-serif; letter-spacing: -.02em; }
.hm-hero p { max-width: 480px; margin: 0; color: #a1a1aa; font-size: 15.5px; line-height: 1.55; }
.hm-kick { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 13px; border: 1px solid rgba(251,146,60,.35); border-radius: 999px; background: rgba(251,146,60,.08); color: #fdba74; font: 700 11.5px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.hm-kick i { width: 7px; height: 7px; border-radius: 50%; background: #fb923c; box-shadow: 0 0 10px #fb923c; }

/* The Hammer's name: a big editable title */
.hm-name { display: grid; justify-items: center; gap: 6px; margin-bottom: 26px; text-align: center; }
.hm-name label { color: #71717a; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hm-namebox { position: relative; display: flex; align-items: center; justify-content: center; }
.hm-namebox input { width: min(420px, 82vw); padding: 6px 30px; border: 0; border-bottom: 1px dashed rgba(255,255,255,.18); border-radius: 0; background: none; color: #fff; font: 800 26px Outfit, Inter, sans-serif; text-align: center; outline: none; transition: border-color .2s; }
.hm-namebox input:hover { border-bottom-color: rgba(255,255,255,.35); }
.hm-namebox input:focus { border-bottom: 1px solid #a78bfa; }
.hm-namebox svg { position: absolute; right: 4px; width: 15px; height: 15px; color: #52525b; pointer-events: none; }
.hm-name small { color: #8a8d9b; font-size: 12.5px; }

/* Categories: open sections with hairlines, no boxes */
.hm-cats { display: grid; }
.hm-cat { padding: 18px 0 16px; border-top: 1px solid rgba(255,255,255,.08); border-radius: 16px; transition: background .2s, box-shadow .2s; }
.hm-cat.drop { background: rgba(167,139,250,.07); box-shadow: inset 0 0 0 1px rgba(167,139,250,.45); }
.hm-cat-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 6px; }
.hm-cat-t { display: inline-flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 8px; border: 0; border-radius: 10px; background: none; color: #fff; cursor: text; text-align: left; }
.hm-cat-t:hover { background: rgba(255,255,255,.04); }
.hm-cat-t svg { color: #a78bfa; }
.hm-cat-t b { overflow: hidden; font: 800 17px Outfit, Inter, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.hm-cat-t span { flex: none; min-width: 24px; padding: 1px 8px; border-radius: 99px; background: rgba(255,255,255,.07); color: #a1a1aa; font: 700 12px Inter, sans-serif; text-align: center; }
.hm-cat-a { display: flex; align-items: center; gap: 6px; flex: none; }
.hm-add { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04); color: #fff; font: 700 13px Inter, sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.hm-add:hover { border-color: rgba(167,139,250,.6); background: rgba(167,139,250,.12); }
.hm-add svg { width: 16px; height: 16px; stroke-width: 2.4; }
.hm-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: none; color: #71717a; cursor: pointer; transition: background .2s, color .2s; }
.hm-ic:hover { background: rgba(255,255,255,.06); color: #fff; }
.hm-ic svg { width: 17px; height: 17px; }
.hm-del:hover { background: rgba(239,68,68,.12); color: #fca5a5; }
.hm-ok { color: #4ade80; }

/* Builds in a category */
.hm-rows { display: grid; gap: 2px; margin: 8px 0 0; padding: 0; list-style: none; }
.hm-row { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 6px 6px 10px; border-radius: 12px; transition: background .15s, opacity .2s; }
.hm-row:hover { background: rgba(255,255,255,.035); }
.hm-row.dragging { opacity: .4; }
.hm-row-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(167,139,250,.1); color: #c4b5fd; }
.hm-row-ic svg { width: 17px; height: 17px; }
.hm-row-t { display: grid; flex: 1; gap: 2px; min-width: 0; padding: 4px 6px; border: 0; border-radius: 8px; background: none; color: inherit; cursor: text; text-align: left; }
.hm-row-t b { overflow: hidden; color: #f4f4f5; font: 650 14.5px Inter, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.hm-row-t small { color: #71717a; font-size: 12px; font-variant-numeric: tabular-nums; }
.hm-move select { max-width: 150px; height: 34px; padding: 0 28px 0 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 9px center/12px no-repeat; color: #d4d4d8; font: 600 12.5px Inter, sans-serif; text-overflow: ellipsis; appearance: none; cursor: pointer; }
.hm-move select:focus { border-color: rgba(167,139,250,.6); outline: none; }
.hm-move option { background: #121219; }
.hm-edit { display: flex; flex: 1; align-items: center; gap: 6px; min-width: 0; }
.hm-edit input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid rgba(167,139,250,.6); border-radius: 10px; background: rgba(255,255,255,.05); color: #fff; font: 700 15px Inter, sans-serif; outline: none; }

/* Empty category: one big friendly drop target */
.hm-empty { display: grid; justify-items: center; gap: 6px; width: 100%; margin-top: 10px; padding: 26px 16px; border: 1px dashed rgba(255,255,255,.14); border-radius: 16px; background: none; color: #a1a1aa; font: 500 13px Inter, sans-serif; cursor: pointer; transition: border-color .2s, background .2s; }
.hm-empty:hover, .hm-cat.drop .hm-empty { border-color: rgba(167,139,250,.6); background: rgba(167,139,250,.06); }
.hm-empty svg { width: 26px; height: 26px; color: #a78bfa; }
.hm-empty b { color: #fff; font-size: 14.5px; }

/* New category */
.hm-newcat { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 4px; border: 0; border-top: 1px solid rgba(255,255,255,.08); border-radius: 0; background: none; color: #c4b5fd; font: 700 14px Inter, sans-serif; cursor: pointer; transition: color .2s; }
.hm-newcat:hover { color: #fff; }
.hm-newcat[hidden], .hm-newform[hidden] { display: none; }
.hm-newform { display: flex; gap: 8px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); }
.hm-newform input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid rgba(167,139,250,.5); border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; font: 600 15px Inter, sans-serif; outline: none; }
.hm-newform button { height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: #fff; color: #0b0b10; font: 800 14px Inter, sans-serif; cursor: pointer; }
.hm-newform .hm-cancel { background: rgba(255,255,255,.06); color: #d4d4d8; }

/* Download */
.hm-get { display: grid; justify-items: center; gap: 10px; margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }
.hm-dlbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: min(360px, 100%); height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: #fff; color: #0b0b10; font: 800 15.5px Inter, sans-serif; cursor: pointer; box-shadow: 0 12px 34px -12px rgba(255,255,255,.4); transition: transform .15s, opacity .2s; }
.hm-dlbtn svg { width: 19px; height: 19px; stroke-width: 2.3; }
.hm-dlbtn:hover { transform: translateY(-1px); }
.hm-dlbtn:not(.ready) { opacity: .45; box-shadow: none; }
.hm-dlbtn.working { opacity: .7; pointer-events: none; }
.hm-dlbtn.working svg { animation: hmBob .8s ease-in-out infinite; }
.hm-get > small { color: #71717a; font-size: 12.5px; }
.hm-links { display: flex; justify-content: center; gap: 8px; align-items: center; margin: 4px 0 0; color: #52525b; }
.hm-links button { padding: 2px 0; border: 0; background: none; color: #a1a1aa; font: 600 13px Inter, sans-serif; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(161,161,170,.35); text-underline-offset: 3px; }
.hm-links button:hover { color: #fff; }
body.hm-busy .hm-cats { opacity: .75; pointer-events: none; transition: opacity .2s; }

/* How it works + questions */
.hm-how { width: 100%; margin: 64px auto 0; }
.hm-how h2 { margin: 0 0 18px; color: #fff; font: 800 22px Outfit, Inter, sans-serif; text-align: center; }
.hm-how ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0 0 26px; padding: 0; list-style: none; counter-reset: s; }
.hm-how li { display: grid; gap: 6px; align-content: start; justify-items: center; text-align: center; }
.hm-how li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 4px; border-radius: 50%; background: rgba(167,139,250,.14); color: #ddd6fe; font: 800 13px Inter, sans-serif; }
.hm-how li b { color: #f4f4f5; font-size: 15px; }
.hm-how li span { color: #a1a1aa; font-size: 13.5px; line-height: 1.55; }
.hm-how li em { color: #e4e4e7; font-style: normal; font-weight: 700; }
.hm-how a { color: #c4b5fd; }
.hm-faq { border-top: 1px solid rgba(255,255,255,.07); }
.hm-faq:last-of-type { border-bottom: 1px solid rgba(255,255,255,.07); }
.hm-faq summary { position: relative; padding: 15px 30px 15px 2px; color: #e4e4e7; font-size: 14.5px; font-weight: 650; list-style: none; cursor: pointer; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: ""; position: absolute; right: 8px; top: 20px; width: 7px; height: 7px; border-right: 2px solid #71717a; border-bottom: 2px solid #71717a; transform: rotate(45deg); transition: transform .2s; }
.hm-faq[open] summary::after { transform: rotate(-135deg); top: 23px; }
.hm-faq p { margin: 0 0 16px; color: #a1a1aa; font-size: 14px; line-height: 1.6; }

/* Messages */
.hm-toast { position: fixed; left: 50%; bottom: 26px; z-index: 3000; max-width: calc(100% - 32px); margin: 0; padding: 11px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #111118; color: #f4f4f5; font: 600 14px Inter, sans-serif; box-shadow: 0 20px 50px rgba(0,0,0,.5); opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s, transform .3s; pointer-events: none; }
.hm-toast.on { opacity: 1; transform: translate(-50%, 0); }
.hm-toast.bad { border-color: rgba(239,68,68,.5); color: #fecaca; }
@keyframes hmBob { 50% { transform: translateY(3px); } }

/* Phones: Upload builds and New category sit above the list (12 Oct 2026, Parky) */
.hm-bar { display: none; }
@media (max-width: 560px) {
  .hm-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
  .hm-barbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04); color: #fff; font: 700 14px Inter, sans-serif; cursor: pointer; }
  .hm-barbtn.go { border-color: #fff; background: #fff; color: #0b0b10; }
  .hm-barbtn svg { width: 17px; height: 17px; stroke-width: 2.3; }
  .hm-newcat { display: none !important; }
  .hm-bar + .hm-newform { padding-top: 0; border-top: 0; margin-bottom: 10px; }
}

/* Phones */
@media (max-width: 640px) {
  .hm-how ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hm-namebox input { font-size: 22px; }
  .hm-add { padding: 0 12px; }
  .hm-cat-h { padding: 0 2px; gap: 8px; }
  .hm-row { flex-wrap: wrap; row-gap: 4px; }
  .hm-row-t { flex: 1 1 calc(100% - 90px); }
  .hm-move { order: 3; display: flex; align-items: center; gap: 8px; flex: 1 1 100%; padding-left: 44px; }
  .hm-move::before { content: "Category"; flex: none; color: #71717a; font-size: 12px; font-weight: 600; }
  .hm-move select { max-width: none; width: 100%; }
}
@media (hover: none) { .hm-row:hover { background: none; } }
@media (prefers-reduced-motion: reduce) { .hm * { animation: none !important; transition: none !important; } }
