body.hub.cs2 {
  --max: 1120px;
}

body.hub.cs2 main {
  padding-top: 72px;
}

body.hub.cs2 .jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 22px 0 0;
}

body.hub.cs2 .jump a {
  font-family: "VT323", "Courier New", monospace;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--purple-2);
}

body.hub.cs2 .board-mode {
  margin: 14px 0 0;
  color: var(--dim);
}

body.hub.cs2 .xh-layout,
body.hub.cs2 .split {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

body.hub.cs2 .xh-stage,
body.hub.cs2 .card,
body.hub.cs2 .poll,
body.hub.cs2 .map-grid article,
body.hub.cs2 .utility-grid article,
body.hub.cs2 .queue-grid article,
body.hub.cs2 .want-grid article,
body.hub.cs2 .tab-card,
body.hub.cs2 .feed article,
body.hub.cs2 .account-card {
  background: rgba(18, 16, 24, 0.86);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
}

body.hub.cs2 canvas#xh-canvas,
body.hub.cs2 canvas.xh-mini {
  width: 100%;
  background: #1a2420;
  border-radius: 2px;
}

body.hub.cs2 canvas#xh-canvas {
  height: 280px;
}

body.hub.cs2 canvas.xh-mini {
  height: 96px;
}

body.hub.cs2 .xh-code,
body.hub.cs2 .xh-cmds {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  word-break: break-all;
  color: var(--ink);
}

body.hub.cs2 .xh-cmds {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

body.hub.cs2 .xh-command-details {
  margin-top: 16px;
}

body.hub.cs2 .xh-command-details summary {
  cursor: pointer;
  color: var(--purple-2);
}

body.hub.cs2 [hidden] {
  display: none !important;
}

body.hub.cs2 .badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  background: var(--orange);
  color: var(--on-orange);
  font-family: "VT323", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.hub.cs2 #polls.want-grid {
  grid-template-columns: 1fr;
}

body.hub.cs2 .xh-grid,
body.hub.cs2 .map-grid,
body.hub.cs2 .utility-grid,
body.hub.cs2 .queue-grid,
body.hub.cs2 .want-grid,
body.hub.cs2 .tab-grid,
body.hub.cs2 .feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

body.hub.cs2 .xh-card {
  display: grid;
  gap: 6px;
  text-align: left;
  color: inherit;
  background: rgba(18, 16, 24, 0.86);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
}

body.hub.cs2 .xh-card.is-on {
  border-color: var(--orange);
}

body.hub.cs2 .xh-collection-title,
body.hub.cs2 .xh-collection-head {
  margin-top: 28px;
}

body.hub.cs2 .xh-collection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.hub.cs2 .xh-collection-head h3 { margin: 0; }
body.hub.cs2 .xh-source { color: var(--dim); }
body.hub.cs2 .xh-pro-card { display: grid; grid-template-rows: 1fr auto; gap: 8px; min-width: 0; }
body.hub.cs2 .xh-pro-card .xh-card { width: 100%; align-content: start; }
body.hub.cs2 .xh-pro-card canvas.xh-mini { height: 128px; }
body.hub.cs2 .xh-preview-unavailable { display: flex; align-items: center; min-height: 128px; padding: 12px; background: #1a2420; }
body.hub.cs2 .xh-card:focus-visible,
body.hub.cs2 .xh-pro-card button:focus-visible { outline: 3px solid var(--purple-2); outline-offset: 3px; }

body.hub.cs2 .xh-card strong {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.hub.cs2 .xh-card span,
body.hub.cs2 .poll-who,
body.hub.cs2 .status {
  color: var(--dim);
  font-size: 0.92rem;
}

body.hub.cs2 .poll-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "vote label count"
    "vote bar bar"
    "vote who who";
  gap: 4px 10px;
  align-items: center;
  margin-top: 12px;
}

body.hub.cs2 .poll-row .vote { grid-area: vote; }
body.hub.cs2 .poll-label { grid-area: label; }
body.hub.cs2 .poll-count { grid-area: count; font-variant-numeric: tabular-nums; }
body.hub.cs2 .poll-bar { grid-area: bar; }
body.hub.cs2 .poll-who { grid-area: who; }

body.hub.cs2 .poll-bar {
  display: block;
  height: 8px;
  background: rgba(246, 243, 255, 0.08);
}

body.hub.cs2 .poll-bar span {
  display: block;
  height: 100%;
  background: var(--orange);
}

body.hub.cs2 button.vote,
body.hub.cs2 button.cta {
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--on-orange);
  border: 1px solid var(--orange);
  border-radius: 2px;
  padding: 8px 12px;
  cursor: pointer;
}

body.hub.cs2 button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(246, 243, 255, 0.45);
}

body.hub.cs2 label {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
}

body.hub.cs2 select,
body.hub.cs2 input,
body.hub.cs2 textarea {
  width: 100%;
  background: #07080c;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 12px;
  font: inherit;
}

body.hub.cs2 .account-grid,
body.hub.cs2 .form-row {
  display: grid;
  gap: 16px;
}

body.hub.cs2 .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 800px) {
  body.hub.cs2 .xh-layout,
  body.hub.cs2 .split {
    grid-template-columns: 1fr;
  }
}
