/* /swarm reuses the /sell layout (styles.css h-*). Only the bits /sell doesn't have live here. */
.c-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 44px; margin: 34px 0 0; }
.c-facts dt { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.c-facts dd { margin: 6px 0 0; font-family: var(--sans); font-size: 16px; color: var(--ink); }
/* Hero fact skeletons (styles.css .skel): shorter than one line of each font, so the line box,
   and the block's height, is the same before and after the reveal. */
.c-facts .skel { display: inline-block; vertical-align: middle; height: 0.8em; }
.c-facts .c-skel-dt { width: 72px; }
.c-facts .c-skel-dd { width: 96px; }
.c-sellers { list-style: none; margin: 36px 0 0; padding: 0; text-align: left; }
.c-sellers li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: baseline;
  padding: 16px 2px; border-bottom: 1px solid var(--line); font-family: var(--sans);
}
.c-sellers li:first-child { border-top: 1px solid var(--line); }
.c-sellers strong { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.c-sellers .c-mins { font-family: var(--mono); font-size: 13px; color: var(--neon); white-space: nowrap; }
.c-sellers .c-id, .c-sellers .c-state { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.c-sellers .c-mins, .c-sellers .c-state { text-align: right; }
.c-sellers li.off .c-mins { color: var(--muted); }
/* Agent rows before the job states are in (live.ts 'roster'): one-line placeholders. */
.c-sellers .skel { display: inline-block; vertical-align: middle; height: 0.8em; }
.c-sellers .c-skel-used { width: 2ch; }
.c-sellers .c-skel-state { width: 84px; }
.c-note { margin: 22px 0 0; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.h-faq details p code { font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .c-facts { gap: 14px 28px; }
  .c-sellers li { grid-template-columns: 1fr; }
  .c-sellers .c-mins, .c-sellers .c-state { text-align: left; }
}
/* swarm titles are dynamic: let them wrap instead of the wordmark's single line */
.h-hero h1#challenge-title { white-space: normal; text-wrap: balance; max-width: 980px; margin: 18px auto 0; font-size: clamp(32px, 6vw, 80px); overflow-wrap: anywhere; }
/* the job: the swarm event's content, read like an article */
.c-job .h-in { text-align: left; }
.c-job .eyebrow, .c-job h2 { display: block; text-align: center; }
.c-job h2 { margin-bottom: 34px; text-wrap: balance; }
.c-job-body p, .c-job-body li { font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.c-job-body p { margin: 0 0 20px; }
.c-job-body ul { margin: 0 0 20px; padding-left: 22px; }
.c-job-body li { margin: 4px 0; }
.c-job-body li::marker { color: var(--neon); }
.c-job-body a { color: var(--neon); overflow-wrap: anywhere; }
/* hero: once the run is on, "Running now" links down to the live list (bob) */
.c-facts dd a { color: var(--neon); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.c-facts dd a:hover { color: var(--ink); }
/* while the live list loads only "Updating…" shows; the empty summary keeps no gap */
.c-summary:empty { display: none; }
.c-summary:empty ~ .c-sellers { margin-top: 28px; }
/* the job is capped at about one screen (the viewport minus the nav, the section padding,
   heading and button) with a fade, and "See more" opens it (bob). src/challenge/more.ts adds
   .is-clamped only when JS runs, so without JS the whole job is readable. */
.c-job-body.is-clamped {
  max-height: max(240px, calc(100vh - var(--nav-h) - 380px));
  max-height: max(240px, calc(100svh - var(--nav-h) - 380px));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent);
}
.c-more {
  display: block; margin: 22px auto 0; min-height: 44px; padding: 0 24px; box-sizing: border-box;
  background: none; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.c-more:hover { color: var(--neon); border-color: var(--neon); }
.c-more:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
.c-more[hidden] { display: none; }
@media (max-width: 760px) {
  .c-job-body.is-clamped {
    max-height: max(220px, calc(100vh - var(--nav-h) - 330px));
    max-height: max(220px, calc(100svh - var(--nav-h) - 330px));
  }
}
.eyebrow.is-off { visibility: hidden; }
