body[data-page="home"] .wrap { max-width: 1180px; }

.hm-top-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hm-top-links .topbar-link { margin-left: 0; }
.hm-stack { display: grid; gap: 22px; }
.hm-card { border: 1px solid rgba(139,118,255,.14); border-radius: 20px; background: rgba(12,18,38,.72); padding: 22px; min-width: 0; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.hm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.hm-head h2 { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #c9d4ef; }
.hm-note { margin: 0 0 16px; color: var(--muted, #9aa3b5); line-height: 1.5; }
.hm-status { margin: 14px 0 0; min-height: 1.2em; color: var(--muted, #9aa3b5); }
.hm-status.err { color: #f0a8a8; }
.hm-status.ok { color: #9ddeb4; }
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm-sys { display: flex; flex-direction: column; gap: 8px; min-height: 0; padding: 20px; border-radius: 18px; border: 1px solid rgba(139,118,255,.18); background: linear-gradient(180deg, rgba(20,28,56,.96), rgba(12,18,38,.96)); }
.hm-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d5def3; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.hm-quiet { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); color: #e7eeff; text-decoration: none; font-weight: 650; }
.hm-quiet:hover { border-color: rgba(77,224,255,.5); }
.hm-stat { margin: 8px 0 0; display: flex; align-items: baseline; gap: 8px; }
.hm-stat b { font-size: 2rem; letter-spacing: -.04em; line-height: 1; }
.hm-stat span, .hm-meta { color: var(--muted, #9aa3b5); }
.hm-meta { margin: 0; font-size: 13px; line-height: 1.45; }
.hm-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-links a { color: #c9d4ef; text-decoration: none; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.hm-links a:hover { border-color: rgba(77,224,255,.45); color: #fff; }
.hm-lists { display: flex; flex-direction: column; }
.hm-list { display: grid; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
.hm-lists .hm-list:first-child { border-top: 0; padding-top: 4px; }
.hm-list-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.hm-list h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.02em; }
.hm-free { margin: 0; text-align: right; }
.hm-free b { display: block; font-size: 1.45rem; letter-spacing: -.03em; line-height: 1; }
.hm-free span { color: var(--muted, #9aa3b5); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hm-slots { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 20px; }
.hm-slot { display: grid; grid-template-columns: 128px auto; grid-template-rows: auto auto; gap: 6px 8px; align-items: center; width: max-content; padding: 0; background: none; border: 0; }
.hm-slot span { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9eb0d4; }
.hm-slot input { width: 128px; height: 42px; box-sizing: border-box; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: #090f22; color: #f4f7ff; font: 600 16px/1 Inter, ui-sans-serif, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.hm-slot input:focus { outline: none; border-color: rgba(77,224,255,.7); box-shadow: 0 0 0 3px rgba(77,224,255,.12); }
.hm-slot input::placeholder { color: #667494; font-weight: 500; }
.hm-go, .hm-these { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; border: 0; border-radius: 10px; height: 42px; padding: 0 16px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; }
.hm-go { color: #08122b; background: linear-gradient(135deg, #4de0ff, #64e7b5); }
.hm-go:hover { filter: brightness(1.06); }
.hm-go:disabled, .hm-these:disabled { opacity: .4; cursor: not-allowed; }
.hm-these { margin-left: auto; color: #d7f7ff; background: transparent; border: 1px solid rgba(77,224,255,.35); }
.hm-these:hover { background: rgba(77,224,255,.08); }
.hm-empty { color: var(--muted, #9aa3b5); }
@media (max-width: 980px) {
  .hm-grid { grid-template-columns: 1fr; }
  .hm-these { margin-left: 0; }
}
@media (max-width: 700px) {
  .hm-grid { grid-template-columns: 1fr; }
  .hm-sys { min-height: 0; }
  .hm-list-top { align-items: flex-start; }
  .hm-free { text-align: left; }
}
