/* Nexus Hammer maker (Claude Main, 10 Oct 2026): wide two-column page. Upload on the left, categories and builds on the right. */
.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(1240px, 100%); margin: 0 auto; padding: clamp(28px, 4vw, 48px) 28px 80px; }
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header: title left, name + download right */
.hm-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.hm-title { display: grid; gap: 10px; min-width: 0; }
.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; }
.hm-title h1 { margin: 0; color: #fff; font: 900 clamp(2.2rem, 4.6vw, 3.4rem)/1.02 Outfit, Inter, sans-serif; letter-spacing: -.02em; }
.hm-title p { max-width: 520px; margin: 0; color: #a1a1aa; font-size: 15.5px; line-height: 1.55; }
.hm-topact { display: flex; align-items: flex-end; gap: 12px; flex: none; }
.hm-name { display: grid; gap: 6px; }
.hm-name span { color: #71717a; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hm-name input { width: 240px; height: 50px; padding: 0 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.04); color: #fff; font: 700 15px Inter, sans-serif; outline: none; transition: border-color .2s, background .2s; }
.hm-name input:focus { border-color: rgba(167,139,250,.6); background: rgba(255,255,255,.06); }
.hm-dlbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 14px; background: #fff; color: #0b0b10; font: 800 15px Inter, sans-serif; cursor: pointer; box-shadow: 0 14px 34px -14px rgba(255,255,255,.45); transition: transform .2s, opacity .2s; white-space: nowrap; }
.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; }

/* Two columns */
.hm-grid { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 24px; align-items: start; }
.hm-up { display: grid; gap: 14px; }
.hm-drop { display: grid; justify-items: center; gap: 8px; width: 100%; min-height: 300px; align-content: center; padding: 36px 24px; border: 0; border-radius: 22px; background: rgba(12,11,18,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' rx='22' ry='22' fill='none' stroke='rgba(255,255,255,.16)' stroke-width='3' stroke-dasharray='13 11' stroke-linecap='round'/%3E%3C/svg%3E"); color: #a1a1aa; font: 500 14px Inter, sans-serif; text-align: center; cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .25s, transform .25s; }
.hm-drop:hover, .hm-drop.drag { background-color: rgba(26,20,42,.85); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' rx='22' ry='22' fill='none' stroke='rgba(167,139,250,.7)' stroke-width='3' stroke-dasharray='13 11' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hm-drop.drag { transform: scale(1.015); }
.hm-dropic { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 8px; border-radius: 20px; background: linear-gradient(140deg, rgba(167,139,250,.22), rgba(34,211,238,.12)); color: #c4b5fd; }
.hm-dropic svg { width: 32px; height: 32px; stroke-width: 1.7; }
.hm-drop b { color: #fff; font: 800 20px Outfit, Inter, sans-serif; }
.hm-drop small { margin-top: 8px; color: #71717a; font-size: 12.5px; }
.hm-into { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; }
.hm-into span { color: #8a8d9b; font-size: 13px; font-weight: 600; white-space: nowrap; }
.hm-into select { flex: 1; min-width: 0; max-width: 220px; height: 40px; padding: 0 34px 0 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.04) 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 12px center/14px no-repeat; color: #f4f4f5; font: 600 13.5px Inter, sans-serif; appearance: none; cursor: pointer; outline: none; }
.hm-into select option { background: #121219; }
.hm-sum { margin: 2px 4px 0; color: #71717a; font-size: 13px; }
.hm-links { display: flex; gap: 8px; align-items: center; margin: 0 4px; 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; }

/* Right: categories and builds */
.hm-list { min-width: 0; padding: 6px 22px 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 22px; background: rgba(9,9,13,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hm-listh { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.hm-listh h2 { margin: 0; color: #fff; font: 800 18px Outfit, Inter, sans-serif; }
.hm-newbtn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border: 0; border-radius: 11px; background: rgba(255,255,255,.06); color: #e4e4e7; font: 700 13px Inter, sans-serif; cursor: pointer; transition: background .2s; }
.hm-newbtn:hover { background: rgba(255,255,255,.11); }
.hm-newbtn svg { width: 15px; height: 15px; stroke-width: 2.4; }
.hm-newcat { display: flex; gap: 8px; margin: 0 0 12px; }
.hm-newcat[hidden] { display: none; }
.hm-newcat input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid rgba(167,139,250,.5); border-radius: 12px; background: rgba(255,255,255,.05); color: #fff; font: 600 14px Inter, sans-serif; outline: none; }
.hm-newcat button { height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: #fff; color: #0b0b10; font: 800 13.5px Inter, sans-serif; cursor: pointer; }
.hm-newcat .hm-cancel { background: rgba(255,255,255,.06); color: #d4d4d8; }

.hm-cat { border-top: 1px solid rgba(255,255,255,.07); }
.hm-cat-h { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.hm-cat-t { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; height: 52px; padding: 0 4px; border: 0; background: none; color: #f4f4f5; font: inherit; text-align: left; cursor: pointer; }
.hm-cat-t > svg:first-child { width: 17px; height: 17px; color: #71717a; transform: rotate(-90deg); transition: transform .25s cubic-bezier(.22,1,.36,1); }
.hm-cat.open .hm-cat-t > svg:first-child { transform: none; }
.hm-cat-t > svg:nth-child(2) { color: #c4b5fd; }
.hm-cat-t b { overflow: hidden; font: 700 15.5px Inter, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.hm-cat-t span { padding: 2px 9px; border-radius: 99px; background: rgba(255,255,255,.07); color: #a1a1aa; font-size: 12px; font-weight: 700; }
.hm-rows { display: none; margin: 0 0 10px; padding: 0; list-style: none; }
.hm-cat.open .hm-rows { display: grid; gap: 2px; animation: hmIn .28s cubic-bezier(.22,1,.36,1) both; }
.hm-row { display: flex; align-items: center; gap: 13px; min-height: 58px; padding: 6px 6px 6px 10px; border-radius: 13px; transition: background .18s; }
.hm-row:hover { background: rgba(255,255,255,.035); }
.hm-row-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(140deg, rgba(167,139,250,.16), rgba(34,211,238,.08)); color: #c4b5fd; }
.hm-row-ic svg { width: 18px; height: 18px; }
.hm-row-t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.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; }
.hm-none { padding: 10px 10px 14px 44px; color: #71717a; font-size: 13.5px; }
.hm-acts { display: flex; align-items: center; gap: 2px; flex: none; }
.hm-ic { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: none; color: #71717a; cursor: pointer; transition: background .18s, color .18s, opacity .18s; }
.hm-ic svg { width: 17px; height: 17px; }
.hm-ic:hover:not(:disabled) { background: rgba(255,255,255,.08); color: #fff; }
.hm-ic:disabled { opacity: .22; cursor: default; }
.hm-del:hover:not(:disabled) { background: rgba(239,68,68,.13); color: #fca5a5; }
.hm-row .hm-acts { opacity: .55; transition: opacity .18s; }
.hm-row:hover .hm-acts, .hm-row:focus-within .hm-acts { opacity: 1; }
.hm-edit { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.hm-edit input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid rgba(167,139,250,.6); border-radius: 11px; background: rgba(255,255,255,.06); color: #fff; font: 650 14.5px Inter, sans-serif; outline: none; }
.hm-ok { background: #fff !important; color: #0b0b10 !important; }

/* How it works */
.hm-how { width: min(760px, 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; }
.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 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; }

/* Toast */
.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; }
body.hm-busy .hm-list { opacity: .75; pointer-events: none; transition: opacity .2s; }

@keyframes hmIn { from { opacity: 0; transform: translateY(-4px); } }
@keyframes hmBob { 50% { transform: translateY(3px); } }
@media (hover: none) { .hm-row .hm-acts { opacity: 1; } }
@media (max-width: 980px) {
  .hm-top { flex-direction: column; align-items: stretch; }
  .hm-topact { align-items: stretch; }
  .hm-name { flex: 1; } .hm-name input { width: 100%; }
  .hm-grid { grid-template-columns: 1fr; }
  .hm-up { position: static; }
  .hm-drop { min-height: 190px; padding: 26px 18px; }
  .hm-how ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hm { padding-left: 14px; padding-right: 14px; }
  .hm-topact { flex-direction: column; }
  .hm-dlbtn { width: 100%; }
  .hm-list { padding: 4px 12px 10px; }
  .hm-row { gap: 10px; padding-left: 4px; }
  .hm-row-ic { display: none; }
  .hm-ic { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .hm * { animation: none !important; transition: none !important; } }

/* Table rows (Claude Main, 10 Oct 2026): name | size | file | icons, lined up in every category */
.hm-thead, .hm-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) 120px 64px 146px; align-items: center; column-gap: 14px; }
.hm-thead { padding: 0 6px 8px 10px; color: #52525b; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hm-thead span:first-child { grid-column: 1 / 3; padding-left: 52px; }
.hm-row { min-height: 54px; }
.hm-col { color: #a1a1aa; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-colkb { color: #71717a; }
.hm-row .hm-acts { justify-content: flex-end; }
.hm-row .hm-edit { grid-column: 2 / 5; }
.hm-row-t b { font-size: 14.5px; }
@media (max-width: 1100px) { .hm-thead, .hm-row { grid-template-columns: 38px minmax(0, 1fr) 104px 146px; } .hm-colkb { display: none; } }
@media (max-width: 560px) { .hm-thead { display: none; } .hm-row { grid-template-columns: minmax(0, 1fr) auto; } .hm-col { display: none; } .hm-row .hm-edit { grid-column: 1 / 2; } }

/* Drag and drop */
.hm-row[draggable="true"] { cursor: grab; }
.hm-row.dragging, .hm-card.dragging { opacity: .35; }
.hm-row { position: relative; }
.hm-row.drop-before::before, .hm-row.drop-after::after { content: ""; position: absolute; left: 8px; right: 8px; height: 2px; border-radius: 2px; background: #a78bfa; box-shadow: 0 0 10px rgba(167,139,250,.8); }
.hm-row.drop-before::before { top: -1px; } .hm-row.drop-after::after { bottom: -1px; }
.hm-cat.drop { background: rgba(167,139,250,.07); box-shadow: inset 0 0 0 2px rgba(167,139,250,.45); border-radius: 14px; }
body.hm-dragging .hm-cat:not(.open) .hm-cat-h { background: rgba(167,139,250,.04); border-radius: 12px; }

/* All builds (left, desktop) */
.hm-pool { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.hm-pool[hidden] { display: none; }
.hm-poolh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hm-poolh h2 { margin: 0; color: #fff; font: 800 16px Outfit, Inter, sans-serif; }
.hm-poolh h2 span { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.07); color: #a1a1aa; font: 700 12px Inter, sans-serif; }
.hm-view { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.05); }
.hm-view button { display: grid; place-items: center; width: 30px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: none; color: #71717a; cursor: pointer; }
.hm-view button svg { width: 15px; height: 15px; }
.hm-view button[aria-pressed="true"] { background: rgba(167,139,250,.18); color: #ddd6fe; }
.hm-poolhint { margin: 6px 0 12px; color: #52525b; font-size: 12px; }
.hm-cards { display: grid; gap: 8px; max-height: 42vh; overflow: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #2a2a31 transparent; }
.hm-cards.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-card { display: grid; gap: 8px; padding: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: rgba(12,12,18,.75); cursor: grab; transition: border-color .2s, background .2s, transform .15s; user-select: none; }
.hm-card:hover { border-color: rgba(167,139,250,.4); background: rgba(20,17,32,.85); }
.hm-card:active { cursor: grabbing; transform: scale(.98); }
.hm-card-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(140deg, rgba(167,139,250,.2), rgba(34,211,238,.1)); color: #c4b5fd; }
.hm-card-ic svg { width: 17px; height: 17px; }
.hm-card-t { display: grid; gap: 2px; min-width: 0; }
.hm-card-t b { overflow: hidden; color: #f4f4f5; font: 650 13.5px Inter, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.hm-card-t small { color: #71717a; font-size: 11.5px; }
.hm-card em { width: fit-content; max-width: 100%; overflow: hidden; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.06); color: #a1a1aa; font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.hm-cards.list .hm-card { grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; }
@media (max-width: 980px) { .hm-pool { display: none; } }
