:root {
  --bg: #000;
  --panel: #000;
  --panel-2: transparent;
  --inset: #141414;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: #fff;
  --text: #fff;
  --muted: #9a9a9a;
  --faint: #6e6e6e;
  --accent: #fff;
  --ok: #fff;
  --wait: #9a9a9a;
  --bad: #fff;
  --observe: #fff;
  --simd: #fff;
  --simd-active: #fff;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
::selection { color: #000; background: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: #000;
}
.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 29px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  color: #858789;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
}
.topline-name { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topline a.ca { text-transform: none; letter-spacing: 0.02em; }
.topline a {
  color: #a4a6a9;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.topline a:hover { color: #fff; text-decoration: none; }
.navrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 70px;
  padding: 0 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 12px 0 4px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
}
.logo { width: 26px; height: 26px; border-radius: 50%; display: block; flex: none; }
.wordmark {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
nav {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  border: 1px solid #fff;
}
nav a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.06em;
  font-size: 12px;
  padding: 10px 14px;
  border-left: 1px solid #fff;
  text-transform: uppercase;
}
nav a:first-child { border-left: 0; }
nav a:hover { color: #fff; text-decoration: none; background: #141414; }
nav a.on { color: #000; background: #fff; }
.status-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #858789;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
}
.status-cluster .net { display: inline-flex; align-items: center; }
.status-cluster i {
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}
.status-cluster i.bad { background: var(--bad); box-shadow: none; }

.metrics {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.metric {
  padding: 12px 14px 11px;
  border-right: 1px solid var(--line);
  min-width: 0;
  background: var(--panel-2);
}
.metric b {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.metric b.time { font-size: 18px; letter-spacing: 0; }
.vault-log { max-height: 280px; }
.vault-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vault-stats article { padding: 16px 18px 14px; border-right: 1px solid var(--line); min-width: 0; }
.vault-stats article:last-child { border-right: 0; }
.vault-stats b { display: block; font-size: 28px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
.vault-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.eco-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 8px 18px; padding: 4px 0 8px; }
.eco-grid h3 { margin: 12px 14px 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; color: var(--muted); }
.pulse { display: flex; align-items: flex-end; gap: 3px; height: 72px; padding: 8px 14px 0; }
.pulse i { flex: 1; display: block; background: #fff; min-height: 2px; }
.ship-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; padding: 4px 14px 0; }
.ship-row b { display: block; font-size: 18px; font-weight: 400; }
.ship-row span { color: var(--muted); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.event time { white-space: nowrap; }
.metric b.unavail {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--faint);
}
.metric .label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.metric .src {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.delta { font-style: normal; margin-left: 6px; font-size: 12px; }
.delta.up { color: var(--ok); }
.delta.down { color: var(--bad); }
.unavail { color: var(--faint); font-size: 12px; letter-spacing: 0.04em; }

#stage { padding: 12px 14px 32px; }
.network {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.72fr);
  gap: 12px;
}
.panel {
  background: transparent;
  border: 1px solid var(--line);
  min-width: 0;
}
.panel h2, .view-head h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #fff;
}
.panel-head, .view-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.hint { color: var(--faint); font-size: 12px; margin: 0; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  height: calc(100vh - 500px);
  min-height: 440px;
  gap: 12px;
}
.hero .graph-panel,
.hero .stream-panel {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.graph-host { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.graph-stage { position: relative; flex: 1; min-height: 0; background: #000; }
.graph-canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.graph-float {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: grid;
  gap: 2px;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.graph-float b { color: var(--text); letter-spacing: 0.14em; font-weight: 500; }
.graph-tip {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: #101316;
  border: 1px solid var(--line);
  padding: 8px 10px;
  white-space: pre-line;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  max-width: 280px;
}
.graph-count { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.hero .stream { flex: 1; max-height: none; }
.hero .filters { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.graph-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; gap: 4px; flex-wrap: wrap; }
.filters button, .tools button, .quiet {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  padding: 6px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}
a.quiet {
  display: inline-block;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}
.filters button:hover, .tools button:hover, .quiet:hover { background: #141414; }
.filters button.on, .quiet.on { color: #000; background: #fff; border-color: #fff; }
a.quiet.on:hover { color: #000; background: #fff; }
.graph-tools input, .tools input, .tools select, textarea {
  background: #141414;
  border: 1px solid var(--line);
  padding: 6px 8px;
}
.graph-note { margin: 0; padding: 8px 12px 10px; color: var(--faint); font-size: 12px; }
.node { cursor: pointer; }
.node rect, .node circle, .node polygon { fill: #12161a; stroke: #8e979f; stroke-width: 1.2; }
.n-simd rect { stroke: var(--simd); fill: #16140f; }
.n-imd rect { stroke: var(--accent); }
.n-agent circle { stroke: var(--observe); }
.n-job rect { stroke: var(--ok); }
.n-oracle polygon { stroke: var(--wait); fill: #12161a; }
.n-launch polygon { stroke: var(--accent); fill: #12161a; }
.node.on rect, .node.on circle, .node.on polygon { stroke: var(--text); }
.node.dim { opacity: 0.28; }
.nl { fill: #d5dbe1; font-size: 11px; font-family: var(--mono); }
.link { stroke: #2c333b; stroke-width: 1; }
.rel { fill: #667078; font-size: 9px; font-family: var(--mono); }

.stream-panel { min-height: 620px; display: flex; flex-direction: column; }
.stream {
  overflow: auto;
  max-height: 560px;
  padding: 4px 0 8px;
}
.event {
  display: grid;
  grid-template-columns: 72px 78px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.event:first-child { border-top: 0; }
.event time, .mono {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--observe);
}
.cat.JOB { color: var(--ok); }
.cat.ORACLE, .cat.LAUNCH { color: var(--wait); }
.cat.SIMD { color: var(--simd); }
.event p { margin: 0; }
.event .meta { color: var(--faint); font-size: 11px; margin-top: 3px; }

.lower {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 12px;
  margin-top: 12px;
}
.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 14px;
}
.stage {
  border: 1px solid var(--line);
  padding: 6px 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.stage.on { color: var(--bg); background: var(--simd); border-color: var(--simd); }
.arrow { color: var(--faint); }
.intel-grid, .kv {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 6px 12px;
  padding: 12px 14px 14px;
}
.kv span, .intel-grid span { color: var(--faint); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.entity-list { list-style: none; margin: 0; padding: 8px 0; }
.entity-list button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.entity-list li:first-child button { border-top: 0; }
.entity-list button:hover { background: #141414; }

.sent-list { list-style: none; margin: 0; padding: 0; }
.sent-list li {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}
.sent-list li:first-child { border-top: 0; }
.sent-list p { margin: 0; }

.log-list { list-style: none; margin: 0; padding: 0; }
.log-list li {
  border-top: 1px solid var(--line);
  padding: 14px;
  display: grid;
  gap: 6px;
}
.log-list li:first-child { border-top: 0; }
.log-list .log-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.log-list h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.log-list p { margin: 0; color: var(--muted); }

.sent-list li.clickable { cursor: pointer; }
.sent-list li.clickable:hover { background: #141414; }

.task-feed {
  display: grid;
  gap: 0;
}
.task-card {
  border-top: 1px solid var(--line);
  padding: 16px 14px;
  display: grid;
  gap: 8px;
}
.task-card:first-child { border-top: 0; }
.task-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
}
.task-card h3 {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.task-card .result-objective {
  max-height: 140px;
  margin: 0;
}
.task-card .result-text {
  max-height: 280px;
}
.task-card .result-media img,
.task-card .result-media video {
  max-height: 420px;
}
.task-card[data-open] { cursor: pointer; }
.task-card[data-open]:hover { background: #101010; }
#sent-filters { padding: 0 14px 8px; }

.token-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.token-card {
  padding: 18px 16px 16px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 8px;
  min-width: 0;
}
.token-card:last-child { border-right: 0; }
.token-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.token-price {
  margin: 8px 0 0;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.token-change { font-size: 14px; letter-spacing: 0; }
.token-change.up { color: #6f6; }
.token-change.down { color: #f66; }
.hire-refs { margin: 12px 0 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.hire-refs-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.hire-file-btn { cursor: pointer; }
.hire-ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.hire-ref-card {
  margin: 0; border: 1px solid var(--line); background: #0a0a0a; padding: 8px;
  display: grid; gap: 6px; align-content: start;
}
.hire-ref-card img { width: 100%; height: 88px; object-fit: cover; display: block; background: #141414; }
.hire-ref-card figcaption { color: var(--faint); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hire-ref-card .quiet { padding: 4px 8px; font-size: 10px; }
.feedback-thread {
  border-top: 1px solid var(--line); padding-top: 12px;
}
.feedback-replies {
  margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); background: #0a0a0a;
  display: grid; gap: 10px;
}
.feedback-reply { border-bottom: 1px solid var(--line-soft, rgba(255,255,255,.08)); padding-bottom: 8px; }
.feedback-reply:last-of-type { border-bottom: 0; padding-bottom: 0; }
.feedback-reply-form textarea { min-height: 72px; }
.forum-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  padding: 8px 14px 14px;
}
.forum-board-card {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #0a0a0a;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.forum-board-card:hover { border-color: var(--muted); }
.forum-board-card.vip { border-color: rgba(200, 170, 90, 0.45); background: #100e08; }
.forum-table tr.clickable { cursor: pointer; }
.forum-table tr.clickable:hover td { background: rgba(255,255,255,0.03); }
.forum-post { border-bottom: 1px solid var(--line-soft, rgba(255,255,255,.08)); padding-bottom: 8px; }
.forum-post:last-child { border-bottom: 0; }
.forum-op { border-top: 1px solid var(--line); }
.forum-vip .panel-head h2 { color: #d4b56a; }
.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.token-ways {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.token-ways a { color: var(--muted); }
.token-ways a:hover { color: #fff; }
.token-buy { margin-top: 0; }
.token-buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.token-buy-panel {
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.token-buy-panel:last-child { border-right: 0; }
.token-buy-panel h3 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.token-ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.token-pools {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.token-pools li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.token-pools li:first-child { border-top: 0; padding-top: 0; }
.token-pools b { display: block; font-weight: 500; }
.token-pools a { color: var(--accent); white-space: nowrap; }
.token-chart {
  border-top: 1px solid var(--line);
  min-height: 360px;
}
.token-chart iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  background: #000;
}

@media (max-width: 900px) {
  .token-hero,
  .token-buy-grid { grid-template-columns: 1fr; }
  .token-card,
  .token-buy-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .token-card:last-child,
  .token-buy-panel:last-child { border-bottom: 0; }
}

.contest-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.contest-card {
  padding: 18px 16px 16px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 8px;
  min-width: 0;
}
.contest-card:last-child { border-right: 0; }
.contest-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.contest-loop,
.contest-rules {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.contest-loop li,
.contest-rules li { padding-left: 2px; }
.contest-loop b { color: #fff; display: block; font-weight: 500; }
.contest-missions {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  border-top: 1px solid var(--line);
  min-height: 420px;
}
.contest-mission-list {
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
}
.contest-mission {
  display: grid;
  gap: 4px;
  text-align: left;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #fff;
  padding: 14px;
  font: inherit;
  cursor: pointer;
}
.contest-mission:hover { background: #101010; }
.contest-mission.on { background: #fff; color: #000; }
.contest-mission.on .hint { color: #444; }
.contest-mission-title { font-size: 14px; font-weight: 500; }
.contest-diff {
  display: inline-block;
  width: fit-content;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 2px 6px;
}
.contest-diff.medium { color: #9cf; border-color: #369; }
.contest-diff.hard { color: #fc6; border-color: #a63; }
.contest-diff.legendary { color: #f6f; border-color: #a3a; }
.contest-mission.on .contest-diff { border-color: #000; color: #000; }
.contest-mission-detail {
  padding: 16px 14px 18px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.contest-mission-detail h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}
.contest-mission-detail p { margin: 0; color: var(--muted); }
.contest-prompt { max-height: 220px; }
.contest-submit {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.contest-submit h3 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.contest-submit label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contest-submit input,
.contest-submit textarea {
  background: #141414;
  border: 1px solid var(--line);
  color: #fff;
  padding: 8px 10px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.contest-submit textarea { min-height: 72px; resize: vertical; }
.contest-entries {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contest-entries li {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}
.contest-entries li:first-child { border-top: 0; }
.contest-entries p { margin: 0; }

@media (max-width: 900px) {
  .contest-hero,
  .contest-missions { grid-template-columns: 1fr; }
  .contest-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .contest-card:last-child { border-bottom: 0; }
  .contest-mission-list { border-right: 0; border-bottom: 1px solid var(--line); }
}

.bounty-manifesto {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.bounty-manifesto article {
  padding: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.bounty-manifesto article:first-child { border-top: 0; }
.bounty-manifesto h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.bounty-manifesto p {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
}
.bounty-ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.bounty-rung {
  display: grid;
  gap: 6px;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #fff;
  padding: 12px;
  font: inherit;
  cursor: pointer;
  min-height: 96px;
  align-content: start;
}
.bounty-rung:nth-child(5n) { border-right: 0; }
.bounty-rung:hover { background: #101010; }
.bounty-rung.on { background: #fff; color: #000; }
.bounty-rung.on .hint { color: #444; }
.bounty-rung.fallen { opacity: 0.72; }
.bounty-rung-title { font-size: 13px; font-weight: 500; }
.bounty-detail {
  border-top: 1px solid var(--line);
}
.bounty-detail b { color: #fff; font-weight: 500; }

@media (max-width: 1100px) {
  .bounty-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bounty-rung:nth-child(5n) { border-right: 1px solid var(--line); }
  .bounty-rung:nth-child(2n) { border-right: 0; }
}
@media (max-width: 700px) {
  .bounty-ladder { grid-template-columns: 1fr; }
  .bounty-rung,
  .bounty-rung:nth-child(5n),
  .bounty-rung:nth-child(2n) { border-right: 0; }
}
button.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.result-objective {
  white-space: pre-wrap;
  color: var(--muted);
  max-height: 180px;
  overflow: auto;
}
.result-file {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  display: grid;
  gap: 8px;
}
.result-file:first-of-type { border-top: 0; }
.result-text {
  margin: 0;
  padding: 12px;
  background: #141414;
  border: 1px solid var(--line);
  white-space: pre-wrap;
  overflow: auto;
  max-height: 50vh;
  font-size: 12px;
  line-height: 1.5;
}
.result-media img,
.result-media video {
  display: block;
  width: 100%;
  max-height: 50vh;
  object-fit: contain;
  background: #141414;
  border: 1px solid var(--line);
}
.result-media audio { width: 100%; }

.cycles { margin-top: 12px; }
.cycle { border-top: 1px solid var(--line); }
.cycle summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 120px 90px 80px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  align-items: center;
}
.cycle summary::-webkit-details-marker { display: none; }
.cycle-body { padding: 0 14px 14px 14px; display: grid; gap: 8px; }
.phase-row { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.phase-row b { font-weight: 500; color: var(--faint); font-size: 11px; letter-spacing: 0.1em; }
.raw { margin: 0; max-height: 240px; overflow: auto; background: #141414; padding: 10px; font-family: var(--mono); font-size: 11px; color: #fff; }

.view-head { padding: 4px 2px 12px; border: 0; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.table-wrap { border: 1px solid var(--line); overflow: auto; background: var(--panel); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
tr.clickable { cursor: pointer; }
tr.clickable:hover { background: #141414; }
.pager { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 2px; color: var(--muted); }

.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.memory-card { border: 1px solid var(--line); background: var(--panel); padding: 12px 14px; margin-bottom: 8px; }
.memory-card h3 { margin: 0 0 6px; font-size: 13px; font-weight: 500; }
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 1px 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-right: 6px;
}
.badge-imd, .badge-imd-derived { color: #9aa3aa; border-color: #2a3036; }
.badge-eth { color: var(--ok); border-color: #314338; }
.badge-simd, .badge-simd-derived { color: var(--simd); border-color: #2c3c44; }
.badge-simd-inference { color: #a9c3d0; border-color: #314552; }
.badge-simd-action { color: var(--simd-active); border-color: #314552; }
.badge-verified { color: var(--ok); border-color: #314338; }
.badge-inferred { color: var(--wait); border-color: #4a4332; }

.absorb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.absorb i { font-style: normal; color: #2a3036; }
.absorb span.on { color: var(--simd-active); }
.absorb em {
  margin-left: auto;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-size: 12px;
}
.intel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 12px;
  margin-top: 12px;
}
.chain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
}
.chain-grid article { border: 1px solid var(--line); min-width: 0; }
.chain-grid .kv {
  padding: 10px 12px 12px;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
}
.chain-grid .kv > span { overflow-wrap: anywhere; }
.chain-grid .kv div span, .chain-grid .kv a { text-transform: none; letter-spacing: 0; }
.chain-grid .mono { overflow-wrap: anywhere; }
.objective-line { margin: 0; padding: 12px 14px 4px; font-size: 15px; }
.machine { display: grid; }
.mstage {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  padding: 7px 14px;
  border-top: 1px solid var(--line);
}
.mstage header { display: flex; justify-content: space-between; gap: 8px; }
.mstage b { font-size: 12px; letter-spacing: 0.14em; font-weight: 500; }
.mstage em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.mstage.complete em { color: var(--ok); }
.mstage.failed em { color: var(--bad); }
.mstage.waiting { color: var(--faint); }
.mstage.active { background: #141414; }
.mstage.active em { color: var(--simd-active); animation: simd-pulse 1.6s ease-in-out infinite; }
.mstage ul { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.mstage li + li { margin-top: 2px; }
.src-line, .src-inline {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}
.src-line { margin: 0; padding: 0 14px 10px; }
.intel-list .src-line { padding: 0; }
.intel-block { padding: 2px 14px 6px; }
.intel-block h3 {
  margin: 10px 0 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.intel-list { list-style: none; margin: 0; padding: 0; }
.intel-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.intel-list button {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}
.delta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 2px 0 4px; }
.delta-chip { font-family: var(--mono); font-size: 14px; }
.delta-chip.up { color: var(--ok); }
.delta-chip.down { color: var(--bad); }
.model-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 4px 8px 8px;
}
.model-metrics div { padding: 8px 6px; min-width: 0; }
.model-metrics b {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.model-metrics span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.model-open { padding: 0 14px 12px; }
.model-open summary { cursor: pointer; color: var(--simd); font-size: 13px; }
@keyframes simd-pulse {
  50% { color: #e7f2f6; }
}

.sources, .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.source {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 14px;
}
.source strong { display: block; font-weight: 500; }
.source em { font-style: normal; font-family: var(--mono); font-size: 12px; }
.source em.CONNECTED, .source em.RUNNING, .source em.LOCAL { color: var(--ok); }
.source em.UNAVAILABLE, .source em.NOT { color: var(--bad); }
.source em.IDLE { color: var(--wait); }

.inspector {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: #000;
  border-left: 1px solid #fff;
  z-index: 5;
  overflow: auto;
  padding: 16px 16px 32px;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.35);
}
.inspector header { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.inspector h2 { margin: 0; font-size: 20px; letter-spacing: 0.04em; }
.inspector .close { background: transparent; border: 1px solid var(--line); padding: 4px 8px; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.skill-cloud span { border: 1px solid var(--line); padding: 3px 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
form.objective { display: grid; gap: 8px; margin-top: 12px; }
textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  user-select: text;
  -webkit-user-select: text;
  pointer-events: auto;
}

.docs {
  display: grid;
  gap: 12px;
  padding-bottom: 48px;
}
.docs-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 2px 8px;
}
.docs-toc button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font: inherit;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}
.docs-toc button:hover { border-color: #fff; }
.docs-section { scroll-margin-top: 18px; }
.docs-body, .docs-copy {
  padding: 14px;
  display: grid;
  gap: 10px;
}
.docs-body p, .docs-copy p,
.docs-body li, .docs-copy li {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}
.docs-body ul, .docs-copy ul,
.docs-body ol, .docs-copy ol {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}
.docs-body h3, .docs-copy h3 {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.docs-body code, .docs-copy code,
.docs-table code {
  font-family: var(--mono);
  font-size: 12px;
  color: #fff;
}
.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.docs-table th,
.docs-table td {
  text-align: left;
  vertical-align: top;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.docs-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 400;
  padding-right: 14px;
}
.docs-pre {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #000;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  white-space: pre;
}

/* First-time Start landing */
body[data-view="start"] #metrics {
  display: none;
}
.start-landing {
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s ease, transform .7s ease;
}
.start-landing.on {
  opacity: 1;
  transform: none;
}
.start-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 0;
  min-height: calc(100vh - 120px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.start-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
  animation: start-grid-drift 28s linear infinite;
}
.start-scan {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.03) 50%, transparent 100%);
  background-size: 100% 220%;
  animation: start-scan 7s ease-in-out infinite;
}
@keyframes start-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 48px, 48px 0; }
}
@keyframes start-scan {
  0%, 100% { background-position: 0 -40%; }
  50% { background-position: 0 140%; }
}
.start-stage-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 28px 56px 22px;
  max-width: 720px;
}
.start-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--muted);
}
.start-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.55);
  animation: start-pulse 1.8s ease-out infinite;
}
@keyframes start-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.start-stage-inner h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.start-lede {
  margin: 0 0 24px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.start-lede code { color: #fff; }
.start-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.start-live {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 560px;
}
.start-live-item {
  background: #000;
  padding: 12px 12px 14px;
  display: grid;
  gap: 6px;
}
.start-live-item .k {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.start-live-item strong {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.start-live-item strong.ok { color: #fff; }
.start-live-item strong.bad { color: var(--muted); }
.start-terminal {
  position: relative;
  z-index: 1;
  border-left: 1px solid var(--line);
  background: rgba(0,0,0,.55);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.start-terminal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--muted);
}
.start-terminal-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: grid;
  gap: 0;
  overflow: auto;
}
.start-terminal-list li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.start-terminal-list .t {
  color: var(--faint);
  letter-spacing: 0.08em;
  font-size: 10px;
  text-transform: uppercase;
}
.start-terminal-list .m {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.start-terminal-list .a { color: var(--faint); font-size: 11px; }
.start-deck, .start-loop, .start-foot {
  padding: 36px 22px;
  border-bottom: 1px solid var(--line);
}
.start-deck-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.start-deck-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.start-rails {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.start-rail {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .25s ease, padding-left .25s ease;
}
.start-rail:hover {
  background: rgba(255,255,255,.03);
  padding-left: 10px;
  text-decoration: none;
}
.start-rail .n {
  color: var(--faint);
  letter-spacing: 0.14em;
  font-size: 11px;
}
.start-rail .title-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
}
.start-rail .title-row strong {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.start-rail .title-row em {
  font-style: normal;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.start-rail .copy {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  max-width: 54rem;
}
.start-rail .go {
  color: var(--faint);
  font-size: 18px;
  transition: transform .25s ease, color .25s ease;
}
.start-rail:hover .go {
  color: #fff;
  transform: translateX(4px);
}
.start-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.start-node {
  border: 1px solid var(--line);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%),
    #000;
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 8px;
}
.start-node .k {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.start-node strong {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.start-node p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.start-node a {
  margin-top: auto;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.start-arrow {
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 18px;
  animation: start-arrow 2.4s ease-in-out infinite;
}
@keyframes start-arrow {
  0%, 100% { opacity: .35; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3px); }
}
.start-foot-copy {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 40rem;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 980px) {
  .start-stage { grid-template-columns: 1fr; min-height: auto; }
  .start-terminal { border-left: 0; border-top: 1px solid var(--line); min-height: 240px; }
  .start-live { grid-template-columns: 1fr 1fr; max-width: none; }
  .start-flow { grid-template-columns: 1fr; }
  .start-arrow { transform: rotate(90deg); padding: 4px 0; }
}

@media (max-width: 1200px) {
  .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero, .network, .lower, .sources, .split, .intel-grid, .chain-grid { grid-template-columns: 1fr; }
  .navrow, .topline { align-items: flex-start; flex-direction: column; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .status-cluster { flex-wrap: wrap; gap: 8px 14px; }
  .model-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eco-grid, .ship-row { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: 0; }
  .hero .graph-panel { height: 72vh; min-height: 520px; }
  .status-cluster, nav { justify-self: start; text-align: left; }
  .graph-panel, .stream-panel { min-height: 0; }
  .cycle summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vault-stats { grid-template-columns: 1fr 1fr; }
  .metric b { font-size: 22px; }
}

/* Start directions: two calm entry points for the same live IMD data. */
body[data-view="start"] #stage { padding: 0 22px 48px; }
body[data-view="start"] .topline { min-height: 26px; }
.start-a,
.start-b {
  max-width: 1380px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(8px);
  animation: start-fade-in .45s ease forwards;
}
@keyframes start-fade-in {
  to { opacity: 1; transform: none; }
}
.start-a-header,
.start-b-header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.start-a-kicker,
.start-b-kicker,
.start-a-eyebrow,
.start-b-eyebrow {
  margin: 0;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.start-variant-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  color: var(--faint);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.start-variant-switch span { padding: 7px 9px; }
.start-variant-switch a { padding: 7px 9px; color: var(--muted); border-left: 1px solid var(--line); }
.start-variant-switch a:hover,
.start-variant-switch a.on { color: #000; background: #fff; text-decoration: none; }

.start-a-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  min-height: 500px;
  border-bottom: 1px solid var(--line);
}
.start-a-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 8vw 64px 0;
}
.start-a-intro h1,
.start-b-hero-copy h1 {
  margin: 18px 0 22px;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 400;
}
.start-a-intro h1 span,
.start-b-hero-copy h1 span { color: var(--muted); }
.start-a-lede {
  max-width: 600px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.start-a-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.start-a-readout {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  padding: 36px 0 36px 26px;
}
.start-a-readout-head,
.start-a-readout-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.start-a-readout-head { padding-top: 0; }
.start-a-readout-head span,
.start-a-readout-row span,
.start-a-source {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.start-a-readout-head strong { font-size: 10px; font-weight: 400; letter-spacing: .08em; }
.start-a-readout-head strong.is-ok { color: #fff; }
.start-a-readout-head strong.is-muted { color: var(--muted); }
.start-a-readout-row b { font-size: 20px; font-weight: 400; }
.start-a-source { margin: 14px 0 0; line-height: 1.6; text-transform: none; letter-spacing: .02em; }
.start-a-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.start-a-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 20px;
  border-right: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
}
.start-a-card:last-child { border-right: 0; }
.start-a-card:hover { background: #0b0b0b; text-decoration: none; }
.start-a-card-index { color: var(--faint); font-size: 10px; letter-spacing: .14em; }
.start-a-card h2 { margin: 30px 0 8px; font-size: 18px; font-weight: 400; }
.start-a-card p { max-width: 280px; margin: 0; color: var(--muted); line-height: 1.6; }
.start-a-card-link { margin-top: auto; padding-top: 24px; color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.start-a-explain {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: 30px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}
.start-a-explain-title h2 { margin: 14px 0 0; font-size: 22px; font-weight: 400; }
.start-a-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.start-a-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.start-a-steps li > span { color: var(--faint); font-size: 11px; }
.start-a-steps strong { font-size: 13px; font-weight: 400; }
.start-a-steps p { margin: 4px 0 0; color: var(--muted); line-height: 1.55; }
.start-a-signals { padding: 28px 0 0; }
.start-a-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.start-a-section-head h2 { margin: 0; font-size: 13px; font-weight: 400; }
.start-a-section-head a { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.start-a-forum {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 42px 330px 42px 0;
}
.start-a-forum::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 108px;
  width: 350px;
  border-top: 1px solid rgba(255,255,255,.72);
  z-index: 0;
  pointer-events: none;
}
.start-a-forum::after {
  content: "SIMD FORUM / OPEN THREADS";
  position: absolute;
  right: 262px;
  bottom: 117px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .13em;
  z-index: 2;
  pointer-events: none;
}
.start-a-forum-copy { position: relative; z-index: 3; max-width: 620px; }
.start-a-forum h2 { margin: 14px 0 10px; font-size: 26px; font-weight: 400; line-height: 1.15; }
.start-a-forum p { max-width: 520px; margin: 0 0 22px; color: var(--muted); line-height: 1.65; }
.start-a-forum-image {
  position: absolute;
  right: 76px;
  bottom: -42px;
  z-index: 1;
  width: auto;
  height: 286px;
  object-fit: contain;
  object-position: bottom;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
}
.start-a-forum-image.is-dragging {
  cursor: grabbing;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.18));
}
.start-signal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.start-signal-list li { display: grid; grid-template-columns: 64px 72px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.start-signal-time, .start-signal-cat { color: var(--faint); font-size: 10px; text-transform: uppercase; }
.start-signal-title { min-width: 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.start-signal-empty { display: block !important; color: var(--faint); }

.start-b-header { min-height: 58px; }
.start-b-header > div { display: flex; align-items: baseline; gap: 14px; }
.start-b-title { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.start-b-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 12px;
  padding: 54px 0 34px;
  border-bottom: 1px solid var(--line);
}
.start-b-hero-copy { padding: 0 0 14px; }
.start-b-hero-copy h1 { margin-bottom: 18px; }
.start-b-hero-copy p:not(.start-b-eyebrow) { max-width: 520px; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.start-b-status { align-self: end; border: 1px solid var(--line); padding: 16px; }
.start-b-status-top { display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.start-b-status-top i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.start-b-status-top i.is-muted { background: var(--muted); }
.start-b-status-value { padding: 22px 0 18px; border-bottom: 1px solid var(--line); font-size: 30px; font-weight: 400; letter-spacing: .04em; }
.start-b-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding-top: 16px; }
.start-b-status-grid div { display: grid; gap: 3px; }
.start-b-status-grid b { font-size: 18px; font-weight: 400; }
.start-b-status-grid span { color: var(--faint); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.start-b-main-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 12px; padding-top: 12px; }
.start-b-panel { border: 1px solid var(--line); min-width: 0; }
.start-b-panel-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.start-b-panel-head a { color: var(--muted); font-size: 10px; }
.start-b-paths a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 18px; gap: 10px; align-items: baseline; padding: 15px 14px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.start-b-paths a:last-child { border-bottom: 0; }
.start-b-paths a:hover { background: #0b0b0b; text-decoration: none; }
.start-b-path-num, .start-b-paths em { color: var(--faint); font-size: 10px; font-style: normal; }
.start-b-paths strong { font-size: 13px; font-weight: 400; }
.start-b-paths b { color: var(--muted); font-size: 15px; font-weight: 400; }
.start-b-live .start-signal-list { border-top: 0; padding: 0 14px; }
.start-b-loop { margin-top: 12px; border: 1px solid var(--line); }
.start-b-loop-grid { display: grid; grid-template-columns: 1fr 26px 1fr 26px 1fr; gap: 10px; align-items: stretch; padding: 18px 14px 22px; }
.start-b-loop-grid > div:not(.start-b-loop-arrow) { display: grid; gap: 7px; align-content: start; }
.start-b-loop-grid span { color: var(--faint); font-size: 10px; }
.start-b-loop-grid strong { font-size: 15px; font-weight: 400; }
.start-b-loop-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.start-b-loop-arrow { display: grid; place-items: center; color: var(--faint); font-size: 16px; }
.start-b-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 26px 0 0; color: var(--faint); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.start-b-footer a { color: var(--muted); }

@media (max-width: 900px) {
  body[data-view="start"] #stage { padding: 0 14px 36px; }
  .start-a-hero, .start-b-hero { grid-template-columns: 1fr; }
  .start-a-intro { padding: 48px 0 38px; }
  .start-a-readout { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 34px; }
  .start-a-explain, .start-b-main-grid { grid-template-columns: 1fr; }
  .start-a-forum { min-height: 340px; padding-right: 210px; }
  .start-a-forum-image { right: 18px; bottom: -34px; height: 250px; }
  .start-a-forum::before { right: 4px; width: 280px; bottom: 92px; }
  .start-a-forum::after { right: 184px; bottom: 101px; font-size: 8px; }
  .start-b-hero { padding-top: 42px; }
  .start-b-status { max-width: none; }
}
@media (max-width: 640px) {
  .start-a-header, .start-b-header, .start-b-footer { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .start-a-intro h1, .start-b-hero-copy h1 { font-size: 38px; }
  .start-a-forum { min-height: 430px; align-items: flex-start; padding: 34px 0 220px; }
  .start-a-forum-image { right: 12px; height: 224px; bottom: -32px; }
  .start-a-forum::before { right: 0; width: 238px; bottom: 78px; }
  .start-a-forum::after { right: 112px; bottom: 87px; font-size: 7px; }
  .start-a-triad { grid-template-columns: 1fr; }
  .start-a-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .start-a-card:last-child { border-bottom: 0; }
  .start-b-loop-grid { grid-template-columns: 1fr; }
  .start-b-loop-arrow { min-height: 20px; transform: rotate(90deg); }
  .start-b-paths a { grid-template-columns: 32px minmax(0, 1fr) 18px; }
  .start-b-paths em { grid-column: 2; }
  .start-signal-list li { grid-template-columns: 58px 58px minmax(0, 1fr); gap: 8px; }
}


/* Hackathon */
.hk-hero { padding: 26px 20px; margin-bottom: 12px; display: grid; gap: 16px; border-color: #fff; }
.hk-kicker { margin: 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hk-hero h3 { margin: 0; font-size: 36px; font-weight: 400; line-height: 1.15; }
.hk-amount { color: #6ee7a8; }
.hk-lead { margin: 0; line-height: 1.6; max-width: 720px; color: #d8d8d8; }
.hk-facts, .hk-split { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.hk-split { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hk-facts div, .hk-split div { padding: 12px 14px; display: grid; gap: 4px; border-right: 1px solid var(--line); min-width: 0; }
.hk-facts div:last-child, .hk-split div:last-child { border-right: 0; }
.hk-facts span, .hk-split span { color: var(--faint); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.hk-facts b { font-size: 18px; font-weight: 400; }
.hk-split b { font-size: 20px; font-weight: 400; }
.hk-split div:first-child { background: #fff; color: #000; }
.hk-split div:first-child span, .hk-split div:first-child small { color: #444; }
.hk-facts small, .hk-split small { color: var(--faint); font-size: 11px; }
.hk-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.hk-section { margin-bottom: 12px; }
.hk-body { padding: 14px; display: grid; gap: 12px; }
.hk-body p { margin: 0; line-height: 1.6; }
.hk-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hk-table td { padding: 10px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.hk-table tr:first-child td { border-top: 0; }
.hk-table td:last-child { text-align: right; white-space: nowrap; }
.hk-table .hint { display: block; margin-top: 2px; }
.hk-sum td { border-top: 1px solid #fff; font-size: 15px; }
.hk-tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hk-tracks article { border: 1px solid var(--line); padding: 14px; display: grid; gap: 6px; align-content: start; }
.hk-tracks h4 { margin: 0; font-size: 14px; font-weight: 500; }
.hk-tracks p { color: var(--muted); font-size: 13px; }
.hk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hk-steps li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.hk-steps li:first-child { border-top: 0; }
.hk-steps span { color: var(--faint); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.hk-steps b { font-weight: 500; }
.hk-steps p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.hk-faq { gap: 0; padding-top: 4px; padding-bottom: 4px; }
.hk-faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.hk-faq details:first-child { border-top: 0; }
.hk-faq summary { cursor: pointer; }
.hk-faq p { color: var(--muted); font-size: 13px; margin-top: 8px; }
@media (max-width: 720px) {
  .hk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-facts div:nth-child(2) { border-right: 0; }
  .hk-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hk-split { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hk-split div { padding: 10px 6px; }
  .hk-split b { font-size: 14px; }
  .hk-tracks { grid-template-columns: minmax(0, 1fr); }
  .hk-steps li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hk-hero h3 { font-size: 26px; }
}
.hk-head { flex-wrap: wrap; }
.hk-head-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hk-lang { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); padding: 3px 8px; color: var(--muted); }
.hk-lang:hover, .hk-lang:focus-within { color: #fff; border-color: #fff; }
.hk-lang select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: inherit; font: inherit; font-size: 12px; cursor: pointer; outline: none; }
.hk-lang select option { background: #000; color: #fff; }

.hk-other { border: 1px solid var(--line); padding: 16px; display: grid; gap: 12px; }
.hk-other-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hk-other h4 { margin: 0 0 2px; font-size: 16px; font-weight: 500; }
.hk-status { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); white-space: nowrap; }
.hk-status.open { color: #000; background: #6ee7a8; border-color: #6ee7a8; }
.hk-status.closed { color: #fbbf77; border-color: rgba(251, 191, 119, 0.5); }
.hk-status.done { color: var(--faint); }
.hk-other-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.hk-other-facts div { padding: 10px 12px; display: grid; gap: 3px; border-right: 1px solid var(--line); min-width: 0; }
.hk-other-facts div:last-child { border-right: 0; }
.hk-other-facts span { color: var(--faint); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.hk-other-facts b { font-weight: 400; font-size: 14px; }
@media (max-width: 720px) {
  .hk-other-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-other-facts div:nth-child(2) { border-right: 0; }
  .hk-other-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Hackathon registration */
.hk-reg-count { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hk-reg-count b { color: #6ee7a8; font-size: 18px; letter-spacing: 0; margin-right: 6px; }
.hk-reg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hk-reg label { display: grid; gap: 6px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hk-reg label small { text-transform: none; letter-spacing: 0; color: var(--muted); opacity: 0.8; }
.hk-reg input[type="text"], .hk-reg input[type="email"], .hk-reg select, .hk-reg textarea { width: 100%; background: #000; color: #fff; border: 1px solid var(--line); padding: 9px 10px; font: inherit; font-size: 14px; text-transform: none; letter-spacing: 0; }
.hk-reg input:focus, .hk-reg select:focus, .hk-reg textarea:focus { outline: none; border-color: #6ee7a8; }
.hk-reg .wide { grid-column: 1 / -1; }
.hk-reg textarea { min-height: 76px; }
.hk-reg .hk-check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 13px; color: #d8d8d8; line-height: 1.5; }
.hk-reg .hk-check input { margin-top: 3px; accent-color: #6ee7a8; }
.hk-reg .hk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hk-reg-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hk-reg-actions button { background: #6ee7a8; color: #000; border: 0; padding: 10px 18px; font: inherit; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; cursor: pointer; }
.hk-reg-actions button[disabled] { opacity: 0.5; cursor: wait; }
.hk-reg-msg { font-size: 13px; }
.hk-reg-msg.err { color: #ff7a7a; }
.hk-reg-done { border: 1px solid #6ee7a8; padding: 16px; display: grid; gap: 10px; }
.hk-reg-done h4 { margin: 0; color: #6ee7a8; }
.hk-reg-done p { margin: 0; }
.hk-reg-bad { border-color: #ff7a7a !important; }
@media (max-width: 720px) { .hk-reg { grid-template-columns: 1fr; } }

/* Hackathon judging */
.hk-sub { margin: 4px 0 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hk-criteria td { vertical-align: top; padding: 9px 8px; }
.hk-criteria td.mono { text-align: right; width: 60px; color: #6ee7a8; font-size: 15px; }
.hk-disq { margin: 0; border-left: 2px solid #ff7a7a; padding: 6px 10px; font-size: 13px; color: #ffb3b3; }
.hk-prompt { position: relative; border: 1px solid var(--line); background: #050505; }
.hk-prompt pre { margin: 0; padding: 16px; max-height: 420px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-size: 12px; line-height: 1.55; color: #d8d8d8; user-select: text; -webkit-user-select: text; }
.hk-prompt button { position: sticky; float: right; top: 8px; margin: 8px 8px 0 0; z-index: 1; }

.hk-disclaimer { margin: 0; font-size: 12px; color: var(--muted); border-left: 2px solid var(--line); padding: 4px 10px; max-width: 760px; }

/* SIMD Launchpad */
.lp-hero { padding: 26px 20px; margin-bottom: 12px; display: grid; gap: 16px; border-color: #fff; }
.lp-hero h3 { margin: 0; font-size: 34px; line-height: 1.15; letter-spacing: -0.01em; }
.lp-section { margin-bottom: 12px; }
.lp-body { padding: 14px; display: grid; gap: 12px; }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); }
.lp-checks li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.lp-checks li:first-child { border-top: 0; }
.lp-checks li > span:nth-child(2) { flex: 1; min-width: 200px; }
.lp-tick { width: 20px; height: 20px; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.lp-checks li.ok .lp-tick { border-color: #6ee7a8; color: #6ee7a8; }
.lp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-form label { display: grid; gap: 6px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lp-form small { text-transform: none; letter-spacing: 0; }
.lp-form input, .lp-form select, .lp-form textarea { width: 100%; background: #000; color: #fff; border: 1px solid var(--line); padding: 9px 10px; font: inherit; font-size: 14px; text-transform: none; letter-spacing: 0; }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus { outline: none; border-color: #6ee7a8; }
.lp-form textarea { min-height: 70px; }
.lp-form .wide { grid-column: 1 / -1; }
.lp-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lp-err { color: #ff7a7a; font-size: 13px; margin: 0; }
.lp-sub { margin: 4px 0 0; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lp-plan, .lp-facts, .lp-blockers { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13px; color: #d8d8d8; line-height: 1.5; }
.lp-blockers { color: #ffb3b3; }
.lp-card { border: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; }
.lp-card-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 12px; }
.lp-status { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--line); color: var(--muted); }
.lp-status.live { border-color: #6ee7a8; color: #6ee7a8; }
.lp-status.failed { border-color: #ff7a7a; color: #ff7a7a; }
@media (max-width: 720px) { .lp-form { grid-template-columns: 1fr; } .lp-hero h3 { font-size: 26px; } }

/* Launchpad builder */
.lp-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lp-preset { text-align: left; background: #000; color: #fff; border: 1px solid var(--line); padding: 10px 12px; display: grid; gap: 4px; cursor: pointer; font: inherit; }
.lp-preset:hover { border-color: #6ee7a8; }
.lp-preset span { font-size: 12px; color: var(--muted); }
.lp-step { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #6ee7a8; }
.lp-step small { color: var(--muted); letter-spacing: 0; text-transform: none; margin-left: 8px; }
.lp-note { align-self: end; padding-bottom: 10px; }
.lp-mechs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lp-mech { border: 1px solid var(--line); padding: 10px 12px; display: grid; gap: 6px; align-content: start; }
.lp-mech.on { border-color: #6ee7a8; }
.lp-mech p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.45; text-transform: none; letter-spacing: 0; }
.lp-form .lp-mech-head { display: flex; align-items: center; gap: 8px; color: #fff; text-transform: none; letter-spacing: 0; font-size: 14px; }
.lp-mech-head input { width: auto; accent-color: #6ee7a8; }
.lp-mech-params { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.lp-final { display: grid; gap: 6px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lp-final small { text-transform: none; letter-spacing: 0; }
.lp-final textarea { width: 100%; min-height: 240px; background: #050505; color: #e8e8e8; border: 1px solid var(--line); padding: 12px; font-family: var(--mono); font-size: 12px; line-height: 1.55; text-transform: none; letter-spacing: 0; resize: vertical; }
.lp-understood td { vertical-align: top; padding: 8px; font-size: 13px; }
.lp-state { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.lp-state.stated, .lp-state.fixed { border-color: #6ee7a8; color: #6ee7a8; }
.lp-state.missing { border-color: #f5c46b; color: #f5c46b; }
@media (max-width: 900px) { .lp-presets, .lp-mechs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-presets, .lp-mechs { grid-template-columns: 1fr; } }

/* Launchpad: logo, links, guide */
.lp-logo { display: grid; gap: 6px; }
.lp-logo-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lp-logo-label small { text-transform: none; letter-spacing: 0; }
.lp-logo-row { display: flex; align-items: center; gap: 10px; }
.lp-logo-row img, .lp-logo-empty { width: 40px; height: 40px; border: 1px solid var(--line); object-fit: cover; display: grid; place-items: center; font-size: 9px; color: var(--muted); }
.lp-form .lp-logo-btn { display: inline-block; cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.lp-card-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-card-title img { width: 28px; height: 28px; object-fit: cover; border: 1px solid var(--line); }
.lp-guide summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; }
.lp-guide summary::-webkit-details-marker { display: none; }
.lp-guide summary h2 { margin: 0; font-size: 13px; letter-spacing: 0.04em; }
.lp-guide summary::after { content: '+'; color: #6ee7a8; font-size: 18px; }
.lp-guide[open] summary::after { content: '−'; }
.lp-guide-steps { margin: 0; padding: 0 14px 14px 34px; display: grid; gap: 10px; }
.lp-guide-steps p { margin: 4px 0 0; color: #cfcfcf; font-size: 13px; line-height: 1.55; }

/* Launchpad: modes and tested badges */
.lp-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lp-form .lp-mode { display: grid; gap: 4px; border: 1px solid var(--line); padding: 10px 12px; cursor: pointer; text-transform: none; letter-spacing: 0; color: #fff; font-size: 14px; }
.lp-mode input { display: none; }
.lp-mode span { font-size: 12px; color: var(--muted); }
.lp-mode.on { border-color: #6ee7a8; }
.lp-tested, .lp-exp { font-style: normal; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; padding: 1px 6px; margin-left: 6px; border: 1px solid #6ee7a8; color: #6ee7a8; font-weight: 500; }
.lp-exp { border-color: #f5c46b; color: #f5c46b; }
@media (max-width: 560px) { .lp-modes { grid-template-columns: 1fr; } }

/* SIMD Swarm Oracle */
.or-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
.or-form input, .or-form select { background: #000; color: #fff; border: 1px solid var(--line); padding: 10px 12px; font: inherit; font-size: 14px; }
.or-form input:focus { outline: none; border-color: #6ee7a8; }
.or-preview { border: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; }
.or-preview p { margin: 0; }
.or-q i { color: #d8d8d8; }
.or-card { border: 1px solid var(--line); padding: 12px; display: grid; gap: 10px; }
.or-card-head { display: flex; gap: 10px; align-items: flex-start; }
.or-card-head > div { flex: 1; display: grid; gap: 4px; min-width: 0; }
.or-card-head img { width: 36px; height: 36px; object-fit: cover; border: 1px solid var(--line); }
.or-status { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.or-status.ok { border-color: #6ee7a8; color: #6ee7a8; }
.or-status.bad { border-color: #ff7a7a; color: #ff7a7a; }
.or-verdict { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; border-left: 2px solid #6ee7a8; padding: 4px 10px; }
.or-verdict span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.or-verdict b { font-size: 22px; color: #6ee7a8; }
.or-verdict small { color: var(--muted); }
.or-compare { margin: 0; font-size: 13px; }
.or-compare.ok b { color: #6ee7a8; }
.or-compare.bad b { color: #ff7a7a; }
.or-notes summary { cursor: pointer; font-size: 12px; color: var(--muted); }
.or-notes p { font-size: 12px; color: #cfcfcf; margin: 6px 0 0; line-height: 1.5; }
.or-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; }
@media (max-width: 640px) { .or-form { grid-template-columns: 1fr; } }

/* ChatSIMD spotlight on the start page: the one place with motion and an accent colour */
@property --cs-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.start-chatsimd {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  margin: 8px 0 28px;
  padding: 34px 32px;
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(109, 255, 168, 0.10) 0%, rgba(0, 0, 0, 0) 55%),
    radial-gradient(90% 90% at 100% 100%, rgba(120, 160, 255, 0.10) 0%, rgba(0, 0, 0, 0) 55%),
    #050505;
  isolation: isolate;
}
.start-chatsimd::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--cs-angle), rgba(255, 255, 255, 0.15), #6dffa8, rgba(255, 255, 255, 0.15) 30%, rgba(120, 160, 255, 0.8), rgba(255, 255, 255, 0.15) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: cs-spin 8s linear infinite;
  z-index: -1;
}
@keyframes cs-spin { to { --cs-angle: 360deg; } }
.start-chatsimd-kicker { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #cfcfcf; }
.start-chatsimd-new { background: #6dffa8; color: #000; font-weight: 700; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 999px; font-size: 11px; animation: cs-pulse 2.4s ease-in-out infinite; }
@keyframes cs-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(109, 255, 168, 0.55); } 50% { box-shadow: 0 0 0 7px rgba(109, 255, 168, 0); } }
.start-chatsimd-title { margin: 0 0 14px; font-size: clamp(34px, 5vw, 58px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; }
.start-chatsimd-title span { background: linear-gradient(90deg, #6dffa8, #9fb8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.start-chatsimd-lede { margin: 0 0 20px; max-width: 58ch; color: #d6d6d6; font-size: 15px; line-height: 1.6; }
.start-chatsimd-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.start-chatsimd-points li { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; background: rgba(255, 255, 255, 0.02); }
.start-chatsimd-points b { font-size: 14px; color: #fff; }
.start-chatsimd-points span { font-size: 12px; color: var(--muted); }
.start-chatsimd-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.start-chatsimd-cta { display: inline-block; background: #fff; color: #000; font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 12px; text-decoration: none; transition: transform 0.12s ease, box-shadow 0.2s ease; box-shadow: 0 0 0 0 rgba(109, 255, 168, 0); }
.start-chatsimd-cta:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 30px rgba(109, 255, 168, 0.25); }
.start-chatsimd-domain { color: var(--muted); font-size: 13px; }
.start-chatsimd-demo { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; background: #0b0b0b; padding: 0 14px 14px; display: grid; gap: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.start-chatsimd-bar { display: flex; align-items: center; gap: 6px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin: 0 -14px 4px; padding-left: 14px; }
.start-chatsimd-bar i { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.start-chatsimd-bar span { margin-left: 8px; font-size: 12px; color: var(--muted); }
.start-chatsimd-msg { font-size: 13px; line-height: 1.5; border-radius: 14px; padding: 9px 12px; max-width: 88%; opacity: 0; animation: cs-in 0.5s ease forwards; }
.start-chatsimd-msg:nth-of-type(2) { animation-delay: 0.2s; }
.start-chatsimd-msg:nth-of-type(3) { animation-delay: 0.9s; }
.start-chatsimd-msg:nth-of-type(4) { animation-delay: 1.6s; }
.start-chatsimd-msg:nth-of-type(5) { animation-delay: 2.3s; }
@keyframes cs-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.start-chatsimd-msg.user { justify-self: end; background: #1c1c1c; color: #fff; }
.start-chatsimd-msg.ai { justify-self: start; color: #d6d6d6; padding-left: 0; }
.start-chatsimd-msg.ai b { display: block; font-size: 11px; color: #6dffa8; letter-spacing: 0.08em; margin-bottom: 2px; }
.start-chatsimd-card { display: inline-block; margin-top: 8px; background: #fff; color: #000; font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 9px; }
.start-chatsimd-note { margin: 0; font-size: 11px; color: var(--faint); text-align: right; }
@media (prefers-reduced-motion: reduce) {
  .start-chatsimd::before, .start-chatsimd-new { animation: none; }
  .start-chatsimd-msg { animation: none; opacity: 1; }
}
@media (max-width: 900px) {
  .start-chatsimd { grid-template-columns: 1fr; padding: 24px 18px; gap: 22px; }
  .start-chatsimd-points { grid-template-columns: 1fr; }
  .start-chatsimd-cta { width: 100%; text-align: center; }
}

/* Start page: SIMD Launchpad section (replaces the forum block) */
.start-launch { max-width: 1380px; margin: 28px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 28px; align-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 22px; padding: 30px; background: radial-gradient(110% 120% at 100% 0%, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0) 55%), #050505; }
.start-launch-kicker { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #cfcfcf; }
.start-launch-kicker span { background: #fff; color: #000; font-weight: 700; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 999px; font-size: 11px; }
.start-launch h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; }
.start-launch h2 span { color: var(--muted); }
.start-launch-copy > p:not(.start-launch-kicker) { margin: 0 0 18px; color: #d6d6d6; font-size: 15px; line-height: 1.6; max-width: 56ch; }
.start-launch-facts { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.start-launch-facts li { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 8px 14px; display: grid; }
.start-launch-facts b { font-size: 20px; color: #fff; }
.start-launch-facts span { font-size: 12px; color: var(--muted); }
.start-launch-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.start-launch-cta { display: inline-block; background: #fff; color: #000; font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 12px; text-decoration: none; }
.start-launch-cta:hover { text-decoration: none; background: #e6e6e6; }
.start-launch-coins { display: grid; gap: 8px; }
.start-launch-label { margin: 0 0 2px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.start-launch-coin { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 9px 12px; background: #0a0a0a; color: var(--text); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.start-launch-coin:hover { text-decoration: none; border-color: rgba(255, 255, 255, 0.5); transform: translateY(-1px); }
.start-launch-coin img, .start-launch-coin > span { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.12); display: grid; place-items: center; background: #151515; font-weight: 700; }
.start-launch-coin div { display: grid; min-width: 0; }
.start-launch-coin b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.start-launch-coin small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.start-launch-coin i { font-style: normal; font-size: 11px; color: #6dffa8; border: 1px solid rgba(109, 255, 168, 0.4); border-radius: 999px; padding: 2px 8px; }
.start-launch-all { justify-self: end; font-size: 13px; color: var(--muted); }
.start-forum-link { max-width: 1380px; margin: 18px auto 0; color: var(--faint); font-size: 12px; }
.start-forum-link a { color: var(--muted); }
@media (max-width: 900px) {
  .start-launch { grid-template-columns: 1fr; padding: 22px 18px; }
  .start-launch-cta { width: 100%; text-align: center; }
}

/* start page: mass-adoption hero + featured launchpad coins */
.start-mass { display: grid; gap: 28px; margin: 8px 0 40px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 15% 0%, rgba(109,255,168,.10), transparent 55%), #050505; }
.start-mass-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #6dffa8; }
.start-mass h1 { margin: 0; font-size: clamp(32px, 5vw, 60px); line-height: 1.02; letter-spacing: -.02em; }
.start-mass h1 span { color: #6dffa8; }
.start-mass-lede { max-width: 640px; margin: 16px 0 22px; font-size: 16px; line-height: 1.55; color: #cfcfcf; }
.start-mass-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.start-mass-cta { padding: 13px 20px; border-radius: 12px; background: #6dffa8; color: #000; font-weight: 700; text-decoration: none; }
.start-mass-ghost { padding: 13px 20px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.start-mass-cta:hover, .start-mass-ghost:hover { text-decoration: none; filter: brightness(1.08); }
.start-mass-stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 24px 0 0; padding: 0; }
.start-mass-stats li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.start-mass-stats b { display: block; font-size: 22px; }
.start-mass-stats span { font-size: 12px; color: var(--muted); }
.start-mass-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.start-mass-head h2 { margin: 0; font-size: 18px; }
.start-mass-head a { font-size: 13px; color: #6dffa8; }
.start-mass-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.start-mass-coin { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.start-mass-coin:hover { border-color: #6dffa8; transform: translateY(-2px); text-decoration: none; }
.start-mass-coin img, .start-mass-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #151515; display: grid; place-items: center; font-weight: 700; }
.start-mass-name, .start-mass-mc { display: grid; gap: 2px; min-width: 0; }
.start-mass-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.start-mass-name i, .start-mass-mc i { font-style: normal; font-size: 12px; color: var(--muted); }
.start-mass-mc { text-align: right; }
.start-mass-mc b { color: #6dffa8; }
.start-mass-loading { color: var(--muted); }
@media (max-width: 600px) { .start-mass { padding: 18px; } }

/* start page: Swarm websites strip */
.start-sites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.start-site { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none; background: #0b0b0b; }
.start-site:hover { border-color: #6dffa8; text-decoration: none; }
.start-site-shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.start-site-shot iframe { position: absolute; top: 0; left: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; }
.start-site-name { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: 13px; }
.start-site-name i { font-style: normal; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* start page: the IMD network block, quieter and lower down */
.start-a-under { min-height: 0; opacity: .85; border-top: 1px solid var(--line); margin-top: 24px; }
.start-a-under .start-a-intro { padding: 32px 6vw 32px 0; }
.start-a-under .start-a-intro h2 { margin: 10px 0 12px; font-size: 26px; line-height: 1.15; font-weight: 400; }
.start-a-under .start-a-intro h2 span { color: var(--muted); }
.start-a-under ~ .start-a-triad .start-a-card h2 { font-size: 18px; }

/* start page: hackathon sign-up block */
.start-hk { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 28px; align-items: center; margin: 28px 0; padding: 28px; border: 1px solid rgba(255,210,92,.45); border-radius: 18px; background: radial-gradient(120% 140% at 0% 0%, rgba(255,210,92,.10), transparent 60%), #0b0b0b; }
.start-hk-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #ffd25c; }
.start-hk-kicker span { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: #ffd25c; color: #111; font-weight: 700; }
.start-hk h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.1; font-weight: 600; }
.start-hk h2 span { color: #ffd25c; }
.start-hk-copy p:not(.start-hk-kicker) { margin: 0 0 18px; color: var(--muted); line-height: 1.6; max-width: 640px; }
.start-hk-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.start-hk-cta { display: inline-block; padding: 11px 18px; border-radius: 999px; background: #ffd25c; color: #111; font-weight: 700; text-decoration: none; }
.start-hk-cta:hover { text-decoration: none; filter: brightness(1.08); }
.start-hk-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.start-hk-facts li { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.start-hk-facts b { display: block; font-size: 22px; color: #fff; }
.start-hk-facts span { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .start-hk { grid-template-columns: 1fr; padding: 20px; } .start-hk h2 { font-size: 24px; } }

/* start page: Swarm websites as their mini sites */
.start-site-shot { aspect-ratio: 480 / 560; }
.start-site-shot iframe { width: 480px; height: 560px; transform: scale(var(--mini-scale, .5)); }

/* Experimental: one tab per version the swarm shipped */
.exp-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px; border-top: 1px solid var(--line, #1c2430); scrollbar-width: thin; }
.exp-tab { flex: none; display: grid; gap: 2px; padding: 6px 12px; border: 1px solid var(--line, #1c2430); border-radius: 10px; background: none; color: inherit; font: inherit; font-size: 12px; cursor: pointer; text-align: left; }
.exp-tab small { color: var(--muted, #8b97a8); font-size: 10.5px; }
.exp-tab.on { border-color: #6ee7b7; color: #6ee7b7; background: rgba(110,231,183,.08); }

/* ===== Experimental as a desktop (IMD wallpaper, Chrome-style SIMD browser, windows, taskbar) ===== */
.xp-desktop { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid #232323; background: #0a0c0a; min-height: 760px; display: grid; grid-template-columns: 92px 1fr; grid-template-rows: 1fr auto; font-family: Inter, system-ui, sans-serif; color: #e9efe9; }
.xp-wall { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,5,.55), rgba(5,8,5,.9)), url("/launchpad/panels.webp") center / cover; z-index: 0; }
.xp-wall img { position: absolute; right: 2%; bottom: 46px; height: 62%; opacity: .16; filter: invert(1) sepia(1) hue-rotate(40deg) saturate(3); pointer-events: none; }
.xp-icons { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 6px; }
.xp-icon { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border: 1px solid transparent; border-radius: 10px; background: none; color: #fff; font: 600 11px/1.2 Inter, sans-serif; text-shadow: 0 1px 3px #000; cursor: pointer; }
.xp-icon svg { width: 40px; height: 40px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.xp-icon:hover, .xp-icon:focus-visible { background: rgba(204,255,0,.12); border-color: rgba(204,255,0,.4); outline: none; }
.xp-windows { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); grid-auto-rows: min-content; gap: 14px; padding: 14px 14px 18px 0; align-content: start; }
.xp-win { background: rgba(14,16,14,.94); border: 1px solid #2d332d; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.55); overflow: hidden; backdrop-filter: blur(6px); transition: box-shadow .2s, border-color .2s; min-width: 0; }
.xp-win.focus { border-color: #ccff00; box-shadow: 0 0 0 1px #ccff00, 0 18px 40px rgba(0,0,0,.6); }
.xp-big { grid-row: span 4; }
.xp-title { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: linear-gradient(180deg, #1d221d, #141814); border-bottom: 1px solid #2d332d; font-size: 12.5px; }
.xp-title b { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xp-title b small { color: #ccff00; font-weight: 700; margin-left: 4px; }
.xp-title-icon svg { width: 18px; height: 18px; display: block; }
.xp-title-btns { display: flex; gap: 4px; }
.xp-title-btns i { width: 22px; height: 18px; display: grid; place-items: center; border-radius: 4px; font-style: normal; font-size: 11px; color: #9aa59a; background: rgba(255,255,255,.04); }
.xp-title-btns i:last-child:hover { background: #c42b1c; color: #fff; }
.xp-body { padding: 12px; font-size: 13px; }
.xp-big .xp-body { padding: 0; }
/* Chrome-style browser */
.xp-chrome { display: flex; flex-direction: column; }
.xp-tabs { display: flex; align-items: flex-end; gap: 2px; padding: 8px 8px 0; background: #0b0d0b; overflow-x: auto; scrollbar-width: thin; }
.xp-tab { flex: none; display: flex; align-items: center; gap: 7px; max-width: 210px; padding: 7px 12px; border: 0; border-radius: 10px 10px 0 0; background: #181c18; color: #b9c2b9; font: 500 12px Inter, sans-serif; cursor: pointer; }
.xp-tab img { width: 16px; height: 16px; border-radius: 50%; }
.xp-tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xp-tab small { color: #6f7a6f; font-size: 10.5px; }
.xp-tab.on { background: #232923; color: #fff; box-shadow: inset 0 2px 0 #ccff00; }
.xp-newtab { flex: none; width: 28px; height: 28px; margin: 0 0 3px 4px; border: 0; border-radius: 50%; background: none; color: #ccff00; font-size: 18px; cursor: pointer; }
.xp-newtab:hover { background: rgba(204,255,0,.12); }
.xp-omnibox { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #232923; }
.xp-nav { color: #6f7a6f; font-size: 13px; letter-spacing: 4px; }
.xp-url { flex: 1; min-width: 0; padding: 6px 12px; border-radius: 999px; background: #0f120f; color: #dfe6df; font: 12.5px var(--mono, monospace); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xp-lock { margin-right: 6px; font-size: 11px; }
.xp-nav-btn { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #cfd8cf; text-decoration: none; cursor: pointer; font-size: 14px; }
.xp-nav-btn:hover { background: rgba(255,255,255,.08); }
.xp-chrome iframe { width: 100%; height: min(62vh, 600px); border: 0; background: #07090c; display: block; }
.xp-status-bar { margin: 0; padding: 6px 12px; background: #0b0d0b; border-top: 1px solid #2d332d; font-size: 11.5px; color: #9aa59a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xp-link { border: 0; background: none; color: #ccff00; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
/* Swarm Monitor */
.xp-pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.xp-step { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 10.5px; color: #7d887d; }
.xp-step i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #3a423a; font-style: normal; font-weight: 700; color: #9aa59a; }
.xp-step.done i { background: #3cff7a; border-color: #3cff7a; color: #000; }
.xp-step.now i { border-color: #ccff00; color: #ccff00; box-shadow: 0 0 0 0 rgba(204,255,0,.6); animation: xpPulse 1.4s infinite; }
.xp-step.now span { color: #ccff00; }
@keyframes xpPulse { 70% { box-shadow: 0 0 0 9px rgba(204,255,0,0); } 100% { box-shadow: 0 0 0 0 rgba(204,255,0,0); } }
.xp-phase { margin: 0 0 8px; font-size: 12.5px; line-height: 1.5; color: #cfd8cf; }
.xp-phase a, .xp-list a, .xp-timeline a { color: #ccff00; }
.xp-verdict { margin: 0 0 10px; padding: 7px 9px; border-radius: 8px; font-size: 12px; line-height: 1.45; }
.xp-verdict.ok { background: rgba(60,255,122,.08); color: #b9ffcf; }
.xp-verdict.bad { background: rgba(255,107,107,.08); color: #ffc2c2; }
.xp-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xp-meter { padding: 9px; border: 1px solid #2d332d; border-radius: 10px; background: #0f120f; display: grid; gap: 5px; }
.xp-meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 11px; color: #9aa59a; }
.xp-meter-top b { font-size: 20px; color: #fff; }
.xp-meter-top b small { font-size: 11px; color: #7d887d; }
.xp-meter > small { font-size: 10.5px; color: #6f7a6f; }
.xp-bar { height: 5px; border-radius: 999px; background: #222822; overflow: hidden; }
.xp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #3cff7a, #ccff00); }
.xp-small { margin: 8px 0 0; font-size: 11.5px; color: #8d978d; }
/* Request.txt */
.xp-note { display: grid; gap: 8px; }
.xp-note label { font-size: 11.5px; color: #9aa59a; }
.xp-note textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #2d332d; border-radius: 8px; background: #f3f1e8; color: #1b1b1b; font: 13px/1.5 var(--mono, monospace); resize: vertical; }
.xp-note-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: #9aa59a; }
.xp-btn { padding: 8px 14px; border: 0; border-radius: 999px; background: #ccff00; color: #000; font: 700 12.5px Inter, sans-serif; cursor: pointer; }
/* queue, versions, rules */
.xp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 300px; overflow: auto; }
.xp-list li { padding-bottom: 9px; border-bottom: 1px solid #222822; }
.xp-list p { margin: 5px 0 3px; font-size: 12.5px; line-height: 1.45; color: #dfe6df; }
.xp-list small { font-size: 11px; color: #7d887d; }
.xp-chip { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.xp-chip.ok { background: rgba(60,255,122,.15); color: #3cff7a; }
.xp-chip.bad { background: rgba(255,107,107,.15); color: #ff8a8a; }
.xp-chip.wait { background: rgba(255,210,92,.15); color: #ffd25c; }
.xp-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #2d332d; display: grid; gap: 10px; max-height: 260px; overflow: auto; }
.xp-timeline li { position: relative; display: grid; gap: 2px; font-size: 12px; }
.xp-timeline li::before { content: ""; position: absolute; left: -20px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: #3cff7a; box-shadow: 0 0 8px #3cff7a; }
.xp-timeline b { color: #ccff00; }
.xp-timeline span { color: #cfd8cf; line-height: 1.4; }
.xp-rules { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 12px; line-height: 1.45; color: #cfd8cf; }
/* taskbar */
.xp-taskbar { position: relative; z-index: 2; grid-column: 1 / -1; display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: rgba(12,14,12,.92); border-top: 1px solid #2d332d; backdrop-filter: blur(8px); overflow-x: auto; }
.xp-start { display: flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border: 0; border-radius: 8px; background: linear-gradient(180deg, #2b3a10, #1a2408); color: #ccff00; font: 800 12.5px Inter, sans-serif; cursor: pointer; }
.xp-start img { width: 22px; height: 22px; border-radius: 50%; }
.xp-task { flex: none; padding: 6px 12px; border: 0; border-radius: 8px; background: rgba(255,255,255,.04); color: #cfd8cf; font: 500 12px Inter, sans-serif; cursor: pointer; }
.xp-task:hover { background: rgba(255,255,255,.1); }
.xp-tray { margin-left: auto; flex: none; padding: 0 6px; font: 12px var(--mono, monospace); color: #cfd8cf; }
@media (max-width: 900px) {
  .xp-desktop { grid-template-columns: 1fr; }
  .xp-icons { flex-direction: row; overflow-x: auto; padding: 10px; }
  .xp-icon svg { width: 32px; height: 32px; }
  .xp-windows { grid-template-columns: 1fr; padding: 0 10px 14px; }
  .xp-big { grid-row: auto; }
  .xp-chrome iframe { height: 60vh; }
}
/* desktop layout fixes: icons top-left, the browser page fills its window */
.xp-icons { grid-row: 1; grid-column: 1; align-self: start; }
.xp-windows { grid-row: 1; grid-column: 2; }
.xp-big { display: flex; flex-direction: column; }
.xp-big .xp-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.xp-big .xp-chrome { flex: 1; min-height: 0; }
.xp-big .xp-chrome iframe { flex: 1; height: auto; min-height: 620px; }
@media (max-width: 900px) { .xp-icons, .xp-windows { grid-row: auto; grid-column: auto; } .xp-big .xp-chrome iframe { min-height: 60vh; } }
.xp-icons { border: 0 !important; background: none !important; box-shadow: none !important; outline: 0; }

/* interactive desktop */
.xp-wall { background: linear-gradient(180deg, rgba(5,8,5,.25), rgba(5,8,5,.55)), url("/experimental/wallpaper.webp") center / cover; }
.xp-wall img { display: none; }
.xp-title-btns button { width: 24px; height: 20px; display: grid; place-items: center; border: 0; border-radius: 4px; font-size: 12px; line-height: 1; color: #9aa59a; background: rgba(255,255,255,.05); cursor: pointer; }
.xp-title-btns button:hover { background: rgba(255,255,255,.14); color: #fff; }
.xp-title-btns button[data-xp-act="close"]:hover { background: #c42b1c; }
.xp-hidden { display: none !important; }
.xp-free .xp-windows { display: block; position: relative; }
.xp-free .xp-win { position: absolute; margin: 0; }
.xp-free .xp-title { cursor: grab; user-select: none; }
.xp-win.dragging { box-shadow: 0 30px 60px rgba(0,0,0,.7); opacity: .96; }
.xp-win.dragging .xp-title { cursor: grabbing; }
.xp-free .xp-win.xp-max { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; min-height: 760px; z-index: 999 !important; }
.xp-free .xp-win.xp-max .xp-chrome iframe { min-height: 680px; }
.xp-free .xp-win:not(.xp-big) .xp-body { max-height: 420px; overflow: auto; }
.xp-free .xp-big { overflow: hidden; resize: both; }
.xp-task.on { background: rgba(204,255,0,.16); color: #ccff00; box-shadow: inset 0 -2px 0 #ccff00; }
.xp-task.off { opacity: .55; }
.xp-reset { margin-left: 8px; }

/* IMD Network program */
.xp-net-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12.5px; flex-wrap: wrap; }
.xp-net-head small { color: #7d887d; margin-left: auto; }
.xp-led { width: 9px; height: 9px; border-radius: 50%; background: #3cff7a; box-shadow: 0 0 8px #3cff7a; }
.xp-led.bad { background: #ff6b6b; box-shadow: 0 0 8px #ff6b6b; }
.xp-net { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.xp-net-tile { display: grid; gap: 3px; padding: 10px; border: 1px solid #2d332d; border-radius: 10px; background: #0f120f; min-width: 0; }
.xp-net-icon { font-size: 20px; line-height: 1; }
.xp-net-tile b { font-size: 19px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xp-net-tile b small { font-size: 10.5px; font-weight: 700; }
.xp-net-tile b small.up { color: #3cff7a; } .xp-net-tile b small.down { color: #ff8a8a; }
.xp-net-tile > span:last-child { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: #8d978d; }
.xp-na { font-size: 11px; color: #7d887d; font-weight: 500; }
#metrics[hidden], .metrics[hidden] { display: none !important; }
/* IMD Network: compact, top of the right column */
.xp-netwin .xp-net { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.xp-netwin .xp-net-tile { padding: 7px 8px; }
.xp-netwin .xp-net-icon { font-size: 16px; }
.xp-netwin .xp-net-tile b { font-size: 16px; }
.xp-netwin .xp-net-tile > span:last-child { font-size: 9.5px; }
.xp-free .xp-netwin .xp-body { max-height: none; overflow: visible; }

/* network numbers as desktop icons (right edge of the desktop) */
.xp-desktop { grid-template-columns: 92px 1fr 210px; }
.xp-stats { position: relative; z-index: 1; grid-row: 1; grid-column: 3; align-self: start; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px 10px 14px 0; }
.xp-stat { gap: 2px; padding: 8px 4px; }
.xp-stat-icon { font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.7)); }
.xp-stat b { font: 800 14px/1.1 Inter, sans-serif; color: #ccff00; text-shadow: 0 1px 3px #000; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xp-stat span:last-child { font-size: 10px; font-weight: 600; max-width: 92px; color: #e9efe9; text-align: center; }
.xp-taskbar { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .xp-desktop { grid-template-columns: 1fr; }
  .xp-stats { grid-row: auto; grid-column: auto; display: flex; overflow-x: auto; padding: 0 10px 8px; }
  .xp-stat { flex: none; width: 86px; }
}
.xp-stats { border: 0 !important; background: none !important; box-shadow: none !important; }

/* Experimental = the whole page is the desktop: no site header, no section title */
body[data-view="experimental"] header.top, body[data-view="experimental"] #metrics, body[data-view="experimental"] .view-head { display: none !important; }
body[data-view="experimental"] #stage { padding: 0 !important; margin: 0 !important; max-width: none !important; }
body[data-view="experimental"] #experimental-body, body[data-view="experimental"] #stage > * { margin: 0 !important; padding: 0 !important; border: 0 !important; max-width: none !important; }
body[data-view="experimental"] .xp-desktop { min-height: 100vh; border-radius: 0; border: 0; }
/* Start menu */
.xp-startmenu { position: absolute; left: 8px; bottom: 50px; z-index: 1000; width: min(420px, calc(100% - 16px)); padding: 12px; background: rgba(16,19,16,.97); border: 1px solid #3a423a; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.7); backdrop-filter: blur(10px); }
.xp-startmenu[hidden] { display: none; }
.xp-sm-head { display: flex; gap: 10px; align-items: center; padding: 4px 4px 12px; border-bottom: 1px solid #2d332d; margin-bottom: 10px; }
.xp-sm-head img { width: 36px; height: 36px; border-radius: 50%; }
.xp-sm-head b { display: block; color: #ccff00; }
.xp-sm-head small { color: #8d978d; font-size: 11px; }
.xp-sm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.xp-sm-item { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px; color: #e9efe9; text-decoration: none; font-size: 12px; text-align: center; }
.xp-sm-item span { font-size: 24px; }
.xp-sm-item:hover { background: rgba(204,255,0,.1); text-decoration: none; color: #ccff00; }
.xp-sm-exit { display: block; margin-top: 10px; padding: 8px 10px; border-top: 1px solid #2d332d; color: #9aa59a; font-size: 12.5px; text-decoration: none; }
.xp-sm-exit:hover { color: #fff; text-decoration: none; }
.xp-quick { display: flex; gap: 2px; padding: 0 6px; border-right: 1px solid #2d332d; margin-right: 4px; }
.xp-quick a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; font-size: 17px; text-decoration: none; }
.xp-quick a:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* desktop: two columns again (stats moved to the tray) */
.xp-desktop { grid-template-columns: 92px 1fr; }
/* resizable windows */
.xp-free .xp-win { resize: both; overflow: hidden; min-width: 280px; min-height: 160px; }
.xp-free .xp-win.xp-max { resize: none; }
.xp-free .xp-win:not(.xp-big) { display: flex; flex-direction: column; }
.xp-free .xp-win:not(.xp-big) .xp-body { flex: 1; max-height: none; overflow: auto; }
.xp-free .xp-big .xp-chrome iframe { min-height: 160px; }
.xp-free .xp-win::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 10px; height: 10px; border-right: 2px solid #5b665b; border-bottom: 2px solid #5b665b; pointer-events: none; opacity: .7; }
/* tray stats counter */
.xp-tray-stats { margin-left: auto; flex: none; display: flex; align-items: stretch; height: 34px; padding: 0; border: 1px solid #2d332d; border-radius: 8px; background: rgba(8,10,8,.85); color: inherit; cursor: pointer; overflow: hidden; }
.xp-tray-stats:hover { border-color: #4a554a; }
.xp-ts { display: grid; align-content: center; padding: 0 10px; border-right: 1px solid #222822; text-align: left; min-width: 64px; }
.xp-ts:last-child { border-right: 0; }
.xp-ts small { font: 600 8.5px/1 Inter, sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #6f7a6f; }
.xp-ts b { font: 600 13px/1.25 "IBM Plex Mono", ui-monospace, monospace; color: #e6f3e6; white-space: nowrap; }
.xp-ts b i { font-style: normal; font-size: 10px; color: #7d887d; margin-left: 1px; }
.xp-ts b em { font-style: normal; font-size: 9.5px; margin-left: 4px; }
.xp-ts b em.up { color: #3cff7a; } .xp-ts b em.down { color: #ff8a8a; }
.xp-tray { display: flex; align-items: center; gap: 7px; margin-left: 8px; }
.xp-reset { margin-left: 4px; }
@media (max-width: 1200px) { .xp-ts:nth-child(n+6) { display: none; } }
@media (max-width: 900px) { .xp-tray-stats { max-width: 60vw; overflow-x: auto; } .xp-ts:nth-child(n+6) { display: grid; } }

/* custom section icons in the Start menu and quick launch */
.xp-sm-item span svg, .xp-sm-item span .xp-logo-icon { width: 34px; height: 34px; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)); }
.xp-sm-item span { font-size: 0; }
.xp-quick a svg, .xp-quick a .xp-logo-icon { width: 22px; height: 22px; display: block; }
.xp-logo-icon { border-radius: 50%; object-fit: cover; }
/* taskbar fits: fewer counters on narrower screens, compact buttons */
.xp-taskbar { overflow: hidden; }
.xp-tray { flex: none; }
@media (max-width: 1700px) { .xp-ts:nth-child(n+7) { display: none; } }
@media (max-width: 1500px) { .xp-ts:nth-child(n+5) { display: none; } .xp-task { padding: 6px 9px; } }
@media (max-width: 1250px) { .xp-ts:nth-child(n+4) { display: none; } .xp-reset span { display: none; } }
/* desktop shortcuts to the rest of SIMD (right edge) */
.xp-desktop { grid-template-columns: 92px 1fr 96px; }
.xp-shortcuts { position: relative; z-index: 1; grid-row: 1; grid-column: 3; align-self: start; display: flex; flex-direction: column; gap: 6px; padding: 14px 6px; border: 0 !important; background: none !important; }
.xp-shortcut { position: relative; text-decoration: none; }
.xp-shortcut:hover { text-decoration: none; }
.xp-shortcut svg { width: 40px; height: 40px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.xp-arrow { position: absolute; left: 50%; top: 34px; margin-left: 8px; width: 15px; height: 15px; display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 800; color: #000; background: #ccff00; border: 1px solid #232323; border-radius: 3px; }
@media (max-width: 900px) { .xp-desktop { grid-template-columns: 1fr; } .xp-shortcuts { grid-row: auto; grid-column: auto; flex-direction: row; overflow-x: auto; padding: 0 10px 8px; } }
.xp-shortcut, .xp-shortcut span { text-transform: none !important; letter-spacing: 0 !important; font: 600 11px/1.2 Inter, sans-serif !important; color: #fff !important; }

/* hackathon directory */
.hkd .panel-head .hint a { color: #ccff00; }
.hkd-imd { margin-bottom: 18px; padding: 16px; border: 1px solid rgba(204,255,0,.45); border-radius: 14px; background: radial-gradient(120% 140% at 0% 0%, rgba(204,255,0,.08), transparent 60%), #0b0d0b; }
.hkd-imd-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.hkd-imd h3 { margin: 0 0 6px; font-size: 20px; }
.hkd-imd p { margin: 0 0 8px; color: #cfd8cf; font-size: 13.5px; }
.hkd-rules { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; color: #cfd8cf; }
.hkd-rules a { color: #ccff00; }
.hkd-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.hkd-chip { padding: 6px 12px; border: 1px solid var(--line, #2a2a2a); border-radius: 999px; background: none; color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.hkd-chip.on { border-color: #ccff00; color: #ccff00; background: rgba(204,255,0,.08); }
.hkd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.hkd-card { display: flex; flex-direction: column; gap: 5px; padding: 13px; border: 1px solid var(--line, #262626); border-radius: 12px; background: rgba(255,255,255,.02); min-width: 0; }
.hkd-card.hot { border-color: rgba(255,107,107,.55); }
.hkd-card.closed { opacity: .65; }
.hkd-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.hkd-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.hkd-badge.hot { background: rgba(255,107,107,.16); color: #ff8a8a; }
.hkd-badge.soon { background: rgba(255,210,92,.16); color: #ffd25c; }
.hkd-badge.open { background: rgba(204,255,0,.14); color: #ccff00; }
.hkd-badge.tba { background: rgba(255,255,255,.07); color: #aab4aa; }
.hkd-badge.closed { background: rgba(255,255,255,.06); color: #8d978d; }
.hkd-cat { font-size: 10.5px; color: var(--muted, #8b8b8b); text-transform: uppercase; letter-spacing: .06em; }
.hkd-card h4 { margin: 4px 0 0; font-size: 14.5px; line-height: 1.3; }
.hkd-by { margin: 0; font-size: 11.5px; color: var(--muted, #8b8b8b); }
.hkd-by a { color: inherit; }
.hkd-prize { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: #ccff00; }
.hkd-what { margin: 0; font-size: 12.5px; line-height: 1.45; color: #cfcfcf; flex: 1; }
.hkd-when { margin: 0; font-size: 11.5px; color: var(--muted, #8b8b8b); }
.hkd-go { align-self: flex-start; margin-top: 4px; padding: 6px 12px; border: 1px solid var(--line, #333); border-radius: 999px; font-size: 12px; color: #fff; text-decoration: none; }
.hkd-go:hover { border-color: #ccff00; color: #ccff00; text-decoration: none; }
.hkd-closed { margin-top: 16px; }
.hkd-closed summary { cursor: pointer; font-size: 13px; color: var(--muted, #8b8b8b); margin-bottom: 10px; }
.hkd-sources { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 18px 0 8px; font-size: 12.5px; }
.hkd-sources a { color: #ccff00; }
.hkd-when span { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6f7a6f; margin-right: 4px; }

/* compact hackathon registration */
.hk-reg-compact .hk-reg-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; }
.hk-reg-bar-text { display: grid; gap: 2px; flex: 1; min-width: 220px; }
.hk-reg-bar-text b { font-size: 15px; }
.hk-reg-bar-text .hint { font-size: 12px; }
.hk-reg-compact .hk-reg-count { margin: 0; }
.hk-reg-toggle { flex: none; padding: 9px 16px; border: 0; border-radius: 999px; background: #ccff00; color: #000; font: 700 13px Inter, sans-serif; cursor: pointer; }
.hk-reg-compact .hk-body[hidden] { display: none; }
.hkd-closed-section .hkd-card { opacity: .7; }
/* hackathon page: grouped and digestible */
.hk-jump { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; margin-bottom: 8px; background: var(--bg, #000); }
.hk-jump a { padding: 8px 14px; border: 1px solid var(--line, #2a2a2a); border-radius: 999px; color: inherit; text-decoration: none; font-size: 13px; }
.hk-jump a:hover { border-color: #ccff00; color: #ccff00; text-decoration: none; }
.hk-jump b { color: #ccff00; margin-left: 4px; }
.hk-group { margin: 14px 0 26px; padding: 18px; border: 1px solid rgba(245,197,66,.35); border-radius: 18px; background: rgba(245,197,66,.03); scroll-margin-top: 60px; }
.hk-group-dir { border-color: rgba(204,255,0,.25); background: rgba(204,255,0,.02); }
.hk-group-head { margin-bottom: 12px; }
.hk-group-k { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #f5c542; margin-bottom: 4px; }
.hk-group-dir .hk-group-k { color: #ccff00; }
.hk-group-head h2 { margin: 0 0 4px; font-size: 24px; }
.hk-group .panel { margin-left: 0; margin-right: 0; }
.hk-acc-list { display: grid; gap: 8px; margin-top: 12px; }
.hk-acc { border: 1px solid var(--line, #262626); border-radius: 12px; background: rgba(0,0,0,.35); }
.hk-acc summary { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; flex-wrap: wrap; }
.hk-acc summary::-webkit-details-marker { display: none; }
.hk-acc summary::after { content: "+"; margin-left: auto; color: #f5c542; font-weight: 700; }
.hk-acc[open] summary::after { content: "–"; }
.hk-acc summary b { font-size: 15px; }
.hk-acc summary span { font-size: 12px; color: var(--muted, #8b8b8b); }
.hk-acc-body { padding: 0 8px 8px; }
.hk-acc-body .panel { border: 0; background: none; margin: 0; }
.hk-acc-body .panel-head { display: none; }
#hk-directory, #hk-closed { scroll-margin-top: 60px; }

/* Start page: the hackathon room's security camera, as an invitation to walk in */
.start-cam { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; margin: 18px 0; border: 1px solid #2a2a2a; color: inherit; text-decoration: none; background: #070807; }
.start-cam:hover { border-color: #ccff00; text-decoration: none; }
.start-cam-feed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.start-cam-feed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.start-cam-feed::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55)); }
.start-cam-osd { position: absolute; inset: 10px 12px; z-index: 1; pointer-events: none; font: 600 12px/1 ui-monospace, Consolas, monospace; color: #e9ffe9; text-shadow: 0 0 4px rgba(0,0,0,.9); letter-spacing: .08em; }
.start-cam-rec { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; }
.start-cam-rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; animation: start-cam-rec 1.2s steps(2, start) infinite; }
@keyframes start-cam-rec { to { visibility: hidden; } }
.start-cam-id { position: absolute; right: 0; top: 0; }
.start-cam-clock { position: absolute; left: 0; bottom: 0; }
.start-cam-online { position: absolute; right: 0; bottom: 0; color: #00ff41; }
@media (max-width: 760px) { .start-cam { grid-template-columns: 1fr; } .start-cam-osd { font-size: 10px; } }
.start-cam-copy { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px; }
.start-cam-kicker { margin: 0; color: #ff5b5b; font: 700 11px/1 ui-monospace, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; }
.start-cam-copy h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.start-cam-copy p { margin: 0; color: #a8a8a8; font-size: 13px; line-height: 1.5; }
.start-cam-copy .start-hk-cta { align-self: flex-start; }
@media (max-width: 760px) { .start-cam { grid-template-columns: 1fr; } }

/* The hackathon room as the hackathon page's intro (first visit) */
#room-intro { position: fixed; inset: 0; z-index: 1000; background: #050505; transition: opacity .6s; }
#room-intro.out { opacity: 0; pointer-events: none; }
#room-intro iframe { width: 100%; height: 100%; border: 0; display: block; }
.room-intro-skip { position: absolute; top: 14px; right: 14px; padding: 8px 14px; border: 0; background: none; color: #e8e8e8; font: 600 13px/1 ui-monospace, Consolas, monospace; cursor: pointer; text-shadow: 0 1px 4px #000, 0 0 10px #000; }
.room-intro-skip:hover { color: #ccff00; }

/* Hackathon page: the room's live security camera */
.hk-cam { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); margin: 14px 0; border: 1px solid #2a2a2a; color: inherit; text-decoration: none; background: #070807; }
.hk-cam:hover { border-color: #ccff00; text-decoration: none; }
.hk-cam-feed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.hk-cam-feed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.hk-cam-feed::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55)); }
.hk-cam-osd { position: absolute; inset: 10px 12px; z-index: 1; pointer-events: none; font: 600 12px/1 ui-monospace, Consolas, monospace; color: #e9ffe9; text-shadow: 0 0 4px rgba(0,0,0,.9); letter-spacing: .08em; }
.hk-cam-osd > span { position: absolute; }
.hk-cam-rec { left: 0; top: 0; display: flex; align-items: center; gap: 6px; }
.hk-cam-rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; animation: start-cam-rec 1.2s steps(2, start) infinite; }
.hk-cam-id { right: 0; top: 0; }
.hk-cam-clock { left: 0; bottom: 0; }
.hk-cam-online { right: 0; bottom: 0; color: #00ff41; }
.hk-cam-copy { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px; }
.hk-cam-kicker { margin: 0; color: #ff5b5b; font: 700 11px/1 ui-monospace, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; }
.hk-cam-copy h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.hk-cam-copy p { margin: 0; color: #a8a8a8; font-size: 13px; line-height: 1.5; }
.hk-cam-cta { align-self: flex-start; color: #ccff00; font-weight: 700; font-size: 13px; }
@media (max-width: 760px) { .hk-cam { grid-template-columns: 1fr; } .hk-cam-copy { padding: 16px; } .hk-cam-osd { font-size: 10px; } }

/* start page: the room's live camera, front and centre (where the websites were) */
.start-cam-big { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); margin: 26px 0 8px; border-color: #00ff41; box-shadow: 0 0 0 1px rgba(0,255,65,.15), 0 0 42px rgba(0,255,65,.12); }
.start-cam-big .start-cam-feed { aspect-ratio: 16 / 9; min-height: 340px; }
.start-cam-big .start-cam-osd { font-size: 14px; inset: 14px 16px; }
.start-cam-big .start-cam-copy { padding: 30px 28px; gap: 14px; }
.start-cam-big .start-cam-copy h2 { font-size: 30px; line-height: 1.12; }
.start-cam-big .start-cam-copy p { font-size: 14px; }
@media (max-width: 900px) { .start-cam-big { grid-template-columns: 1fr; } .start-cam-big .start-cam-feed { min-height: 0; } .start-cam-big .start-cam-copy h2 { font-size: 22px; } }

/* start page: one CCTV monitor cutting between the room and the vault */
.start-cam-static { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, rgba(0,0,0,.6) 1px 2px), radial-gradient(circle at 30% 40%, rgba(255,255,255,.25), rgba(0,0,0,.9)); background-size: 100% 3px, 100% 100%; }
.start-cam-feed.cut .start-cam-static { animation: start-cam-static .52s steps(6) both; }
@keyframes start-cam-static { 0% { opacity: 0; } 15% { opacity: 1; background-position: 0 0, 0 0; } 50% { opacity: .9; background-position: 0 7px, 10px 0; } 85% { opacity: .6; background-position: 0 2px, -6px 0; } 100% { opacity: 0; } }
