/* ZeroDay Cloud 2026 presentation. Shared controls and form states live in sprint.css. */
:root {
  --stadium-frame: #0056f4;
  --stadium-rule: #454451;
}
.page-width {
  max-width: 1280px;
  padding-inline: 40px;
}
.site-header {
  border-color: var(--stadium-rule);
}
.header-inner {
  max-width: 1360px;
  min-height: 80px;
  padding: 18px 40px;
}
.sprint-brand .brand-lockup {
  display: grid;
  gap: 4px;
  padding: 0;
  border: 0;
}
.sprint-brand .brand-title {
  color: var(--white);
  font:
    400 22px/1.1 "DM Sans",
    sans-serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.sprint-brand .brand-title strong {
  font:
    italic 600 22px/1.1 Poppins,
    sans-serif;
  text-shadow: 1px 1px 0 var(--pink);
}
.sprint-brand .brand-byline {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font:
    400 11px/1.2 "DM Sans",
    sans-serif;
}
.brand-byline img {
  width: 28px;
  height: 16px;
  object-fit: contain;
}
.main-nav {
  gap: 32px;
}
.main-nav > a,
.nav-button {
  font-size: 13px;
}
.main-nav .nav-account {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.main-nav a[aria-current="page"] {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.header-return {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.header-return .icon {
  width: 17px;
  height: 17px;
}
.header-score {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}
.header-score > strong {
  font-size: 21px;
}
.button {
  border-radius: 7px;
  min-height: 48px;
  padding: 12px 22px;
}
.button-primary:hover {
  background: #ffabff;
  filter: none;
}
.text-button {
  min-height: 36px;
}
.stadium-hero {
  padding: 0;
  min-height: 0;
  text-align: left;
}
.stadium-masthead {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 26px;
  font-size: 12px;
  color: var(--muted);
}
.stadium-masthead > span:first-child {
  color: var(--pink);
}
.masthead-rule {
  height: 1px;
  flex: 1;
  background: var(--line);
}
.hero-stage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  position: relative;
  z-index: var(--z-content);
  min-height: 565px;
  gap: 30px;
}
.hero-copy {
  margin: 0;
  padding-block: 18px 52px;
  max-width: 100%;
}
.hero-presenter {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 21px;
}
.hero h1 {
  display: block;
  font-size: clamp(76px, 7.8vw, 116px);
  color: var(--white);
  font-style: italic;
  line-height: 0.96;
}
.hero-name {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 0.73em;
  line-height: 1.12;
}
.hero-sprint {
  display: block;
  position: relative;
  width: max-content;
  font-weight: 800;
  text-shadow: 2px 3px 0 var(--pink);
}
.hero-sprint > img {
  position: absolute;
  right: -54px;
  top: 7px;
  width: 40px;
  height: 40px;
}
.hero-tagline {
  margin-top: 31px;
  font-size: 28px;
  font-weight: 500;
}
.hero-description {
  font-size: 16px;
  margin-top: 12px;
  line-height: 1.7;
  max-width: 42ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 27px;
}
.hero-cta {
  margin: 0;
  min-width: 207px;
}
.hero-guide {
  font-size: 12px;
  text-underline-offset: 5px;
  color: var(--muted);
}
.hero-illustration {
  min-width: 0;
  height: 510px;
  position: relative;
  align-self: end;
  isolation: isolate;
}
.hero-orbit {
  position: absolute;
  inset: 80px 0 28px 10px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  transform: rotate(-24deg);
  z-index: var(--z-base);
}
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 17px -10px;
  border: 1px solid var(--blue);
  border-radius: 50%;
}
.stadium-robot {
  position: absolute;
  height: 440px;
  width: 365px;
  object-fit: contain;
  right: 50px;
  bottom: 23px;
  z-index: var(--z-art);
}
.stadium-lights {
  width: 105px;
  height: 100px;
  position: absolute;
  right: 2px;
  top: 0;
}
.stadium-cone {
  position: absolute;
  width: 68px;
  height: 93px;
  object-fit: contain;
  right: 3px;
  bottom: 25px;
  z-index: var(--z-content);
  transform: rotate(9deg);
}
.race-bib {
  position: absolute;
  z-index: var(--z-content);
  left: -14px;
  bottom: 56px;
  padding: 16px 25px;
  border: 1px solid var(--pink);
  background: var(--background);
  transform: rotate(-7deg);
  box-shadow: 6px 6px 0 var(--blue);
}
.race-bib::before,
.race-bib::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 4px;
  height: 4px;
  border: 1px solid var(--pink);
  border-radius: 50%;
}
.race-bib::before {
  left: 8px;
}
.race-bib::after {
  right: 8px;
}
.race-bib > span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.race-bib > strong {
  font-family: Poppins, sans-serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1.6;
  color: var(--pink);
}
.hero-track {
  width: max(100%, 1280px);
  bottom: -58px;
  opacity: 0.64;
}
.hero-bottom {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 20px 30px;
  font-size: 11px;
  color: var(--muted);
}
.hero-bottom > a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.hero-bottom .icon {
  transform: rotate(90deg);
  width: 18px;
}
.race-strip {
  display: block;
  min-height: 0;
  background: var(--pink);
  font-size: 14px;
}
.race-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 70px;
}
.race-strip-inner > span {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.race-strip strong {
  font-family: Poppins, sans-serif;
  font-size: 26px;
  font-style: italic;
}
.race-strip .strip-finish {
  margin-left: auto;
  font-size: 13px;
}
.race-strip .icon {
  width: 20px;
  height: 20px;
}
.arena {
  padding-block: 80px;
}
.section-kicker {
  margin-bottom: 13px;
  font-size: 13px;
}
.section-heading h2 {
  font-size: clamp(36px, 4vw, 50px);
}
.player-greeting {
  font-size: 13px;
}
.scoreboard {
  position: relative;
  margin-top: 28px;
  padding: 25px 30px 27px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 8px 8px;
  background: var(--panel);
  grid-template-columns: minmax(190px, 1.1fr) auto minmax(110px, 0.55fr) minmax(
      230px,
      1fr
    );
  gap: 18px 28px;
}
.race-card-label {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.race-card-label .icon {
  width: 17px;
  height: 17px;
  color: var(--pink);
}
#race-stage {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.race-continue {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  padding-inline: 16px;
  white-space: nowrap;
}
.scoreboard-progress {
  grid-column: 1;
  grid-row: 2;
}
.scoreboard-score {
  grid-column: 3;
  grid-row: 2;
  padding-inline: 24px;
  border-right: 0;
}
.scoreboard:has(.race-continue[hidden]) {
  grid-template-columns: minmax(200px, 1.2fr) minmax(130px, 0.6fr) minmax(
      280px,
      1fr
    );
}
.scoreboard:has(.race-continue[hidden]) .scoreboard-score {
  grid-column: 2;
}
.scoreboard:has(.race-continue[hidden]) .environment-summary {
  grid-column: 3;
}
.environment-summary {
  grid-column: 4;
  grid-row: 2;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.progress-label {
  font-size: 12px;
}
.progress-track {
  height: 8px;
  gap: 4px;
}
.progress-track > span:nth-child(3) {
  margin-right: 5px;
}
.progress-track > span:nth-child(n + 4).is-solved {
  background: var(--yellow);
}
.scoreboard-score > strong {
  font-size: 31px;
}
#environment-message,
.environment-expiry {
  font-size: 12px;
}
.environment-actions {
  gap: 16px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.environment-label {
  font-size: 13px;
}
.qualifiers {
  margin-top: 68px;
}
.phase-heading {
  margin-bottom: 28px;
  align-items: center;
}
.phase-tag {
  padding: 0;
  margin-bottom: 13px;
  border: 0;
  font-size: 12px;
  color: var(--pink);
}
.phase-heading h3 {
  font-size: clamp(26px, 3vw, 36px);
}
.phase-heading p {
  max-width: 61ch;
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.65;
}
.phase-count {
  font-size: 12px;
  margin: 0;
}
.phase-aside {
  display: flex;
  align-items: center;
  gap: 28px;
}
.phase-aside > img {
  width: 70px;
  height: 64px;
  object-fit: contain;
  transform: rotate(-12deg);
}
.qualifier-list {
  gap: 12px;
}
.qualifier-card {
  grid-template-columns: 100px minmax(0, 1fr) 130px;
  padding: 25px 28px 25px 0;
  gap: 26px;
  border-radius: 6px;
  background: var(--background);
  border-color: var(--line);
  min-height: 134px;
}
.qualifier-card.is-available {
  border-color: var(--pink);
  background: var(--panel);
  box-shadow: inset 4px 0 0 var(--pink);
}
.qualifier-card.is-solved {
  border-color: #6b5573;
  background: var(--panel);
}
.qualifier-card:hover {
  border-color: var(--pink);
  filter: none !important;
}
.lane-number {
  font-size: 48px;
  line-height: 1.6;
  color: var(--pink);
  border-color: var(--line);
}
.qualifier-card.is-locked .lane-number {
  color: #b5b2c3;
}
.lane-heading {
  gap: 14px;
  margin-bottom: 8px;
}
.lane-heading h4 {
  font-size: 21px;
}
.lane-details p {
  font-size: 14px;
  max-width: 67ch;
}
.lane-footer {
  font-size: 11px;
  gap: 14px;
  margin-top: 10px;
}
.lane-action {
  min-width: 0;
  gap: 17px;
}
.points-label {
  font-size: 14px;
  color: var(--white);
}
.lane-action .lane-open {
  font-size: 12px;
}
.state-badge {
  background: #3a3948;
  color: #dbd9e4;
  font-size: 10px;
  border-radius: 3px;
  padding: 5px 8px;
}
.state-badge.is-available {
  background: #48334e;
  color: var(--pink);
}
.state-badge.is-solved {
  background: #3e3f2c;
  color: #ffff83;
}
.state-badge.is-locked {
  color: #d2cfdd;
  background: #363541;
}
.handoff {
  margin: 34px 0 64px;
  font-size: 12px;
  gap: 12px;
}
.handoff-line {
  max-width: none;
  background: var(--stadium-rule);
}
.handoff > .icon {
  color: var(--pink);
}
.finals {
  scroll-margin-top: 100px;
}
.finals .phase-heading {
  align-items: flex-end;
}
.finals .phase-heading p {
  max-width: 64ch;
}
.research-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: none;
  padding: 14px 18px;
  margin: 0 0 28px;
  border-left: 2px solid var(--blue);
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.research-notice .icon {
  width: 17px;
  height: 17px;
  color: var(--pink);
  margin-top: 2px;
}
.final-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.event-card {
  min-height: 345px;
  padding: 24px 26px;
  border: 2px solid var(--blue);
  border-radius: 0;
  background: var(--background);
  isolation: isolate;
}
.event-card.is-available {
  border-color: var(--blue);
}
.event-card.is-locked {
  opacity: 1;
}
.event-card.is-solved {
  border-color: var(--pink);
}
.event-card:hover {
  border-color: var(--pink);
  background: var(--panel);
  filter: none !important;
}
.event-card-top {
  gap: 10px;
  margin-bottom: 8px;
  min-height: 26px;
}
.event-target {
  font-size: 12px;
  line-height: 1.5;
  color: var(--white);
  margin: 0;
}
.event-illustration {
  width: 100px;
  height: 88px;
  object-fit: contain;
  margin: 12px 0 17px;
  object-position: left center;
}
.event-card h4 {
  font-size: 23px;
  line-height: 1.28;
  margin-bottom: 12px;
  max-width: 20ch;
}
.event-card > p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 45ch;
  margin-bottom: 24px;
}
.event-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--white);
  font-size: 12px;
}
.event-points {
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.event-entry {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
}
.event-card.is-available .event-card-footer {
  color: var(--white);
}
.event-card.is-available .event-entry {
  color: var(--pink);
}
.event-card:last-child {
  grid-column: 1/-1;
  min-height: 255px;
  padding-right: 350px;
}
.event-card:last-child .event-illustration {
  position: absolute;
  right: 48px;
  top: 30px;
  width: 255px;
  height: 200px;
  margin: 0;
}
.event-card:last-child .event-card-top {
  margin-bottom: 20px;
}
.event-card:last-child h4 {
  font-size: 32px;
}
.event-card:last-child > p {
  max-width: 64ch;
}
.event-review {
  font-size: 11px;
  margin: -10px 0 16px;
}
.prizes {
  padding-block: 70px 64px;
  border-top: 1px solid var(--blue);
}
.prizes-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}
.prizes-heading h2 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 16px;
}
.prizes-heading > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.prize-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "second grand third";
  align-items: end;
  gap: 20px;
}
.prize-award {
  position: relative;
  padding: 28px;
  border: 1px solid var(--pink);
  background: var(--background);
  text-align: center;
  min-width: 0;
}
.prize-grand {
  grid-area: grand;
  padding-top: 42px;
  border-width: 2px;
  background: var(--panel);
  box-shadow: 7px 7px 0 var(--blue);
}
.prize-second {
  grid-area: second;
}
.prize-third {
  grid-area: third;
}
.prize-ribbon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  padding: 7px 18px;
  color: var(--background);
  background: var(--pink);
  font:
    500 12px/1.4 Poppins,
    sans-serif;
  white-space: nowrap;
}
.prize-medal {
  display: block;
  width: 100px;
  height: 120px;
  margin: 0 auto 18px;
  object-fit: contain;
}
.prize-grand .prize-medal {
  width: 120px;
  height: 144px;
}
.prize-place {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.prize-award h3 {
  font-size: 25px;
  line-height: 1.4;
  margin: 0;
  color: var(--white);
}
.prize-grand h3 {
  color: var(--yellow);
}
.prize-third h3 {
  color: #d9a47c;
}
.prize-amount {
  margin: 22px 0 0;
  font:
    600 clamp(36px, 4vw, 58px)/1.15 Poppins,
    sans-serif;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
}
.prize-grand .prize-amount {
  color: var(--yellow);
}
.prize-amount > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font:
    400 11px/1.5 "DM Sans",
    sans-serif;
  letter-spacing: 0;
}
.prizes-note {
  max-width: 78ch;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}
@media (max-width: 800px) {
  .prizes {
    padding-block: 48px;
  }
  .prizes-heading {
    margin-bottom: 48px;
  }
  .prizes-heading h2 {
    font-size: 34px;
  }
  .prize-podium {
    gap: 14px;
  }
  .prize-award {
    padding-inline: 18px;
  }
  .prize-award h3 {
    font-size: 22px;
  }
  .prize-amount {
    font-size: 34px;
  }
}
@media (max-width: 640px) {
  .prizes-heading {
    gap: 14px;
  }
  .prizes-heading h2 {
    font-size: 30px;
  }
  .prizes-heading > div > p:last-child {
    font-size: 13px;
  }
  .prize-podium {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "grand" "second" "third";
    gap: 24px;
  }
  .prize-award {
    padding: 28px 24px 24px;
  }
  .prize-grand {
    margin-right: 7px;
  }
  .prize-award h3 {
    font-size: 25px;
  }
  .prize-amount {
    font-size: 52px;
    margin-block: 18px 0;
  }
  .prizes-note {
    text-align: left;
  }
}
.how-to-play {
  padding-block: 64px 44px;
  border-top-color: var(--blue);
}
.how-heading {
  gap: 25px;
  margin-bottom: 36px;
}
.how-heading > img {
  width: 76px;
  height: 80px;
}
.how-heading h2 {
  font-size: 36px;
}
.how-grid {
  gap: 38px;
}
.how-grid > div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.how-grid h3 {
  font-size: 17px;
  line-height: 1.4;
}
.how-grid p {
  font-size: 14px;
  line-height: 1.75;
}
.scope-note {
  font-size: 12px;
  margin-top: 34px;
}
.site-footer {
  padding-block: 30px 40px;
  margin-top: 22px;
  font-size: 12px;
}
.footer-brand {
  font-size: 20px;
}
.site-footer > p {
  font-size: 12px;
}
/* Native dialogs keep their existing focus, close and mutation semantics. */
dialog {
  border-radius: 10px;
  border-color: #5d586b;
  max-height: calc(100dvh - 48px);
}
.challenge-dialog {
  max-width: 1100px;
}
.dialog-topbar {
  min-height: 61px;
  padding: 13px 28px;
  font-size: 12px;
}
.icon-button {
  width: 36px;
  height: 36px;
}
.challenge-navigation {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 30px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.round-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
  min-width: 46px;
  height: 33px;
  padding-inline: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.round-switch.is-solved {
  color: var(--pink);
  border-color: #715377;
}
.round-switch.is-available {
  color: var(--white);
}
.round-switch[aria-current] {
  background: var(--pink);
  color: var(--background);
  border-color: var(--pink);
  font-weight: 700;
}
.round-switch.research-switch {
  margin-left: 20px;
}
.round-switch .icon {
  width: 11px;
  height: 11px;
}
.challenge-workspace {
  grid-template-columns: minmax(0, 1fr) 330px;
}
.challenge-main {
  position: relative;
  min-width: 0;
  padding: 34px 38px 44px;
}
.challenge-art {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 80px;
  height: 85px;
  pointer-events: none;
}
.workspace-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.challenge-meta {
  margin-bottom: 18px;
  padding-right: 75px;
  flex-wrap: wrap;
}
.target-tag {
  font-size: 11px;
  padding: 5px 8px;
}
.challenge-main h2 {
  font-size: 36px;
  max-width: 19ch;
  padding-right: 38px;
  line-height: 1.22;
}
.challenge-summary {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 17px;
  max-width: 56ch;
}
.challenge-description {
  font-size: 14px;
  line-height: 1.8;
  padding-top: 24px;
  margin-top: 24px;
}
.challenge-description:empty {
  display: none;
}
.challenge-launch {
  margin-top: 28px;
  border-left: 2px solid var(--blue);
  padding: 0 0 0 18px;
}
.challenge-launch h3 {
  font-size: 17px;
}
.challenge-launch > p {
  font-size: 13px;
  line-height: 1.7;
}
.launch-actions .button {
  min-height: 44px;
  font-size: 12px;
}
.challenge-sidebar {
  padding: 32px 27px;
}
.challenge-actions {
  top: 82px;
}
.points-block {
  padding-bottom: 24px;
}
.points-block strong {
  font-size: 31px;
}
.flag-form h3,
.hints-section h3 {
  font-size: 21px;
}
.flag-form label {
  font-size: 12px;
}
.flag-form input {
  min-height: 47px;
  font-size: 14px;
  border-radius: 5px;
}
.flag-form .button {
  min-height: 47px;
  font-size: 13px;
}
.hints-section {
  margin-top: 27px;
  padding-top: 25px;
}
.hints-section > p {
  font-size: 12px;
  line-height: 1.65;
}
.hint-button {
  min-height: 48px;
  font-size: 13px;
  padding-block: 14px;
}
.hint-cost {
  font-size: 11px;
}
.research-brief,
.finding-section {
  font-size: 13px;
  line-height: 1.75;
}
.research-brief h3,
.finding-section h3 {
  font-size: 20px;
}
.leaderboard-content {
  padding: 32px;
}
.leaderboard-heading h2 {
  font-size: 32px;
}
.leaderboard-table td {
  padding-block: 18px;
}
@media (min-width: 1600px) {
  .hero-stage {
    min-height: 610px;
  }
  .hero h1 {
    font-size: 124px;
  }
  .hero-illustration {
    height: 550px;
  }
  .stadium-robot {
    height: 470px;
    width: 390px;
  }
}
@media (max-width: 1100px) {
  .page-width {
    padding-inline: 30px;
  }
  .header-inner {
    padding-inline: 30px;
  }
  .hero-stage {
    min-height: 510px;
    gap: 12px;
  }
  .hero h1 {
    font-size: 94px;
  }
  .hero-illustration {
    height: 455px;
  }
  .stadium-robot {
    height: 390px;
    width: 300px;
    right: 15px;
  }
  .stadium-lights {
    width: 80px;
    height: 80px;
  }
  .race-bib {
    left: -15px;
    bottom: 40px;
    padding: 12px 17px;
  }
  .race-bib > strong {
    font-size: 23px;
  }
  .stadium-cone {
    width: 56px;
    height: 75px;
    right: -10px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-guide {
    font-size: 11px;
  }
  .hero-cta {
    min-width: 0;
  }
  .scoreboard {
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
  }
  .scoreboard:has(.race-continue[hidden]) {
    grid-template-columns: 1fr auto 1fr;
  }
  .race-continue {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }
  .scoreboard-score,
  .scoreboard:has(.race-continue[hidden]) .scoreboard-score {
    grid-column: 2;
  }
  .environment-summary,
  .scoreboard:has(.race-continue[hidden]) .environment-summary {
    grid-column: 3;
  }
  .scoreboard:has(.race-continue:not([hidden])) .environment-summary {
    grid-row: 2/4;
  }
  .event-card {
    padding: 22px;
  }
  .event-card h4 {
    font-size: 21px;
  }
  .event-card:last-child {
    padding-right: 290px;
  }
  .event-card:last-child .event-illustration {
    width: 215px;
    right: 28px;
  }
  .challenge-workspace {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .challenge-main {
    padding-inline: 28px;
  }
  .challenge-sidebar {
    padding-inline: 23px;
  }
}
@media (max-width: 800px) {
  .page-width {
    padding-inline: 26px;
  }
  .header-inner {
    min-height: 74px;
    padding: 15px 24px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .main-nav {
    gap: 20px;
  }
  .main-nav > a[href="#how-to-play"] {
    display: none;
  }
  .header-score {
    padding-left: 18px;
  }
  .hero-stage {
    grid-template-columns: 1fr 0.8fr;
    min-height: 445px;
  }
  .stadium-masthead {
    padding-block: 22px;
    gap: 15px;
    font-size: 11px;
  }
  .hero-copy {
    padding-block: 20px 35px;
  }
  .hero h1 {
    font-size: 78px;
  }
  .hero-sprint > img {
    width: 29px;
    height: 29px;
    right: -34px;
  }
  .hero-presenter {
    font-size: 11px;
    margin-bottom: 19px;
  }
  .hero-tagline {
    font-size: 23px;
    margin-top: 25px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-top: 22px;
  }
  .hero-illustration {
    height: 390px;
  }
  .hero-orbit {
    inset: 70px -15px 25px 0;
  }
  .stadium-robot {
    height: 330px;
    width: 270px;
    right: -15px;
    bottom: 20px;
    max-width: none;
  }
  .stadium-lights {
    right: 5px;
    width: 69px;
    height: 70px;
  }
  .race-bib {
    left: 0;
    bottom: 28px;
    padding: 10px 14px;
  }
  .race-bib > strong {
    font-size: 21px;
  }
  .race-bib > span {
    font-size: 8px;
  }
  .stadium-cone {
    display: none;
  }
  .hero-bottom {
    padding-block: 16px 24px;
    font-size: 10px;
  }
  .race-strip-inner {
    gap: 20px;
    min-height: 62px;
    font-size: 12px;
  }
  .race-strip strong {
    font-size: 23px;
  }
  .race-strip .strip-finish {
    font-size: 11px;
  }
  .race-strip-inner > .icon:last-child {
    display: none;
  }
  .arena {
    padding-block: 60px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 38px;
  }
  .player-greeting {
    font-size: 11px;
    padding-top: 35px;
  }
  .scoreboard,
  .scoreboard:has(.race-continue[hidden]) {
    padding: 22px;
    gap: 20px;
    grid-template-columns: 1fr auto;
  }
  .scoreboard-score,
  .scoreboard:has(.race-continue[hidden]) .scoreboard-score {
    grid-column: 2;
    grid-row: 2;
    padding-inline: 22px 0;
  }
  .environment-summary,
  .scoreboard:has(.race-continue[hidden]) .environment-summary,
  .scoreboard:has(.race-continue:not([hidden])) .environment-summary {
    grid-column: 1/-1;
    grid-row: 3;
    border-left: 0;
    padding: 17px 0 0;
    border-top: 1px solid var(--line);
  }
  .race-continue {
    grid-column: 1/-1;
    grid-row: 4;
  }
  .environment-actions {
    gap: 24px;
  }
  .qualifiers {
    margin-top: 48px;
  }
  .phase-heading {
    gap: 16px;
  }
  .phase-heading h3 {
    font-size: 29px;
  }
  .phase-heading p {
    font-size: 13px;
  }
  .phase-aside {
    flex-direction: column;
    gap: 10px;
  }
  .phase-aside > img {
    width: 50px;
    height: 44px;
  }
  .qualifier-card {
    grid-template-columns: 64px minmax(0, 1fr) 104px;
    gap: 18px;
    padding: 22px 20px 22px 0;
  }
  .lane-number {
    font-size: 34px;
  }
  .lane-heading h4 {
    font-size: 19px;
  }
  .lane-details p {
    font-size: 13px;
  }
  .lane-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 10px;
  }
  .lane-action {
    gap: 13px;
  }
  .lane-action .lane-open {
    font-size: 11px;
    gap: 7px;
  }
  .points-label {
    font-size: 13px;
  }
  .handoff {
    margin-block: 27px 48px;
  }
  .final-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .event-card {
    padding: 22px;
    min-height: 340px;
  }
  .event-card h4 {
    font-size: 23px;
  }
  .event-card > p {
    font-size: 13px;
  }
  .event-card:last-child {
    padding-right: 240px;
    min-height: 260px;
  }
  .event-card:last-child .event-illustration {
    width: 175px;
    right: 26px;
    top: 45px;
  }
  .event-card:last-child h4 {
    font-size: 28px;
  }
  .event-target {
    font-size: 11px;
  }
  .how-to-play {
    padding-block: 44px 32px;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .how-grid p {
    max-width: 70ch;
  }
  .how-heading h2 {
    font-size: 30px;
  }
  .site-footer {
    gap: 24px;
    flex-wrap: wrap;
  }
  .site-footer > p {
    order: 3;
    width: 100%;
    text-align: left;
  }
  .challenge-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .challenge-sidebar {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px;
  }
  .challenge-main {
    padding: 28px;
  }
  .challenge-actions {
    position: static;
    display: block;
  }
  .challenge-main h2 {
    font-size: 32px;
    max-width: 22ch;
  }
  .challenge-art {
    right: 24px;
    top: 24px;
    width: 65px;
    height: 72px;
  }
  .flag-form input {
    font-size: 16px;
  }
  .flag-form .button {
    width: 100%;
  }
  .points-block {
    padding-bottom: 20px;
  }
  .challenge-navigation {
    padding: 13px 25px;
  }
}
@media (max-width: 560px) {
  .page-width {
    padding-inline: 22px;
  }
  .header-inner {
    min-height: 68px;
    padding: 14px 20px;
    gap: 10px;
  }
  .sprint-brand .brand-title,
  .sprint-brand .brand-title strong {
    font-size: 18px;
  }
  .sprint-brand .brand-byline {
    font-size: 10px;
  }
  .brand-byline img {
    width: 25px;
    height: 14px;
  }
  .main-nav {
    display: flex;
    gap: 0;
  }
  .main-nav > a {
    display: none;
  }
  .main-nav .nav-account {
    padding-inline: 6px;
    font-size: 11px;
  }
  .main-nav .nav-button {
    display: flex;
    min-width: 40px;
    min-height: 40px;
    padding: 10px;
  }
  .nav-button span {
    display: none;
  }
  .nav-button .icon {
    display: block;
    width: 20px;
    height: 20px;
  }
  .header-score {
    padding-left: 11px;
  }
  .header-score > span {
    font-size: 9px;
  }
  .header-score > strong {
    font-size: 18px;
  }
  .header-score strong span {
    font-size: 10px;
  }
  .stadium-masthead {
    gap: 12px;
    padding-block: 20px;
    font-size: 10px;
  }
  .stadium-masthead > span:last-child {
    max-width: 18ch;
    text-align: right;
  }
  .hero-stage {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    text-align: center;
  }
  .hero-copy {
    width: 100%;
    padding: 15px 0 0;
  }
  .hero-presenter {
    margin-bottom: 16px;
    font-size: 11px;
  }
  .hero h1 {
    font-size: clamp(80px, 23vw, 114px);
    display: inline-block;
    text-align: left;
  }
  .hero-name {
    font-size: 0.72em;
  }
  .hero-sprint > img {
    width: 26px;
    height: 26px;
    right: -25px;
    top: 5px;
  }
  .hero-tagline {
    font-size: 24px;
    margin-top: 24px;
  }
  .hero-description {
    font-size: 14px;
    margin: 10px auto 0;
    line-height: 1.65;
  }
  .hero-actions {
    align-items: center;
    gap: 15px;
    margin-top: 24px;
  }
  .hero-cta {
    min-width: 217px;
    font-size: 13px;
  }
  .hero-guide {
    font-size: 11px;
  }
  .hero-illustration {
    align-self: center;
    width: 290px;
    height: 295px;
    margin-top: 25px;
  }
  .stadium-robot {
    width: 240px;
    height: 280px;
    right: 19px;
    bottom: 0;
  }
  .stadium-lights {
    width: 65px;
    height: 65px;
    right: -12px;
    top: 2px;
  }
  .hero-orbit {
    inset: 30px 0 4px;
  }
  .race-bib {
    left: -13px;
    bottom: 20px;
    padding: 8px 13px;
  }
  .race-bib > strong {
    font-size: 19px;
  }
  .race-bib > span:last-child {
    display: none;
  }
  .hero-track {
    width: 1050px;
    bottom: 0;
    opacity: 0.65;
  }
  .hero-bottom {
    justify-content: center;
    padding-block: 15px 20px;
  }
  .hero-bottom > span {
    display: none;
  }
  .hero-bottom > a {
    font-size: 10px;
  }
  .race-strip-inner {
    justify-content: center;
    gap: 16px;
    min-height: 65px;
    font-size: 10px;
  }
  .race-strip-inner > span {
    gap: 7px;
  }
  .race-strip strong {
    font-size: 24px;
  }
  .race-strip .strip-finish {
    display: none;
  }
  .race-strip .icon {
    width: 16px;
    height: 16px;
  }
  .arena {
    padding-block: 45px;
  }
  .section-heading {
    display: block;
  }
  .section-kicker {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .player-greeting {
    max-width: none;
    text-align: left;
    padding: 12px 0 0;
    font-size: 12px;
  }
  .scoreboard,
  .scoreboard:has(.race-continue[hidden]) {
    margin-top: 23px;
    padding: 18px;
    gap: 18px;
  }
  .race-card-label {
    font-size: 11px;
    gap: 7px;
    padding-bottom: 13px;
  }
  #race-stage {
    font-size: 10px;
  }
  .scoreboard-progress {
    min-width: 0;
  }
  .progress-label {
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 11px;
  }
  .progress-track {
    gap: 3px;
    margin-top: 11px;
    height: 6px;
  }
  .scoreboard-score,
  .scoreboard:has(.race-continue[hidden]) .scoreboard-score {
    padding-left: 17px;
  }
  .scoreboard-score > strong {
    font-size: 26px;
  }
  .scoreboard-score > span {
    font-size: 10px;
  }
  .scoreboard-score small {
    font-size: 10px;
  }
  .race-continue {
    width: 100%;
    font-size: 12px;
  }
  .environment-label {
    font-size: 12px;
  }
  #environment-message {
    font-size: 11px;
  }
  .environment-actions {
    gap: 19px;
  }
  .qualifiers {
    margin-top: 42px;
  }
  .phase-heading {
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 21px;
  }
  .phase-tag {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .phase-heading h3 {
    font-size: 26px;
  }
  .phase-heading p {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 10px;
  }
  .phase-count {
    font-size: 10px;
  }
  .phase-aside {
    flex-shrink: 0;
    gap: 12px;
    padding-bottom: 4px;
  }
  .phase-aside > img {
    width: 45px;
    height: 44px;
  }
  .qualifier-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px 15px;
    padding: 20px 17px 18px 0;
    min-height: 0;
  }
  .lane-number {
    grid-row: 1/3;
    font-size: 30px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .lane-details {
    grid-column: 2;
  }
  .lane-heading {
    gap: 7px 10px;
    margin-bottom: 10px;
  }
  .lane-heading h4 {
    font-size: 18px;
  }
  .lane-details p {
    font-size: 12px;
    line-height: 1.7;
  }
  .lane-footer {
    font-size: 10px;
    margin-top: 10px;
  }
  .lane-action {
    grid-column: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
  }
  .lane-action .lane-open {
    font-size: 10px;
    gap: 7px;
  }
  .lane-action .icon {
    width: 16px;
    height: 16px;
  }
  .points-label {
    font-size: 12px;
  }
  .state-badge {
    font-size: 9px;
    padding: 4px 6px;
  }
  .handoff {
    margin-block: 25px 41px;
    font-size: 11px;
    text-align: center;
    gap: 8px;
  }
  .handoff-line {
    margin-inline: 0;
    min-width: 8px;
  }
  .handoff p {
    max-width: 28ch;
  }
  .finals .phase-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .finals .phase-heading h3 {
    max-width: 15ch;
    font-size: 30px;
  }
  .finals .phase-count {
    font-size: 11px;
  }
  .research-notice {
    font-size: 11px;
    padding: 13px;
    gap: 10px;
    margin-bottom: 20px;
  }
  .final-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .event-card {
    min-height: 0;
    padding: 23px;
  }
  .event-card-top {
    margin-bottom: 6px;
  }
  .event-target {
    font-size: 12px;
  }
  .event-illustration {
    width: 96px;
    height: 75px;
    margin-block: 16px;
  }
  .event-card h4 {
    font-size: 25px;
    max-width: 22ch;
  }
  .event-card > p {
    font-size: 13px;
    margin-bottom: 23px;
  }
  .event-card-footer {
    margin-top: 0;
    font-size: 12px;
  }
  .event-points {
    font-size: 19px;
  }
  .event-entry {
    font-size: 11px;
  }
  .event-card:last-child {
    grid-column: auto;
    padding: 23px;
    min-height: 0;
  }
  .event-card:last-child .event-illustration {
    position: static;
    width: 160px;
    height: 104px;
    margin-block: 14px;
  }
  .event-card:last-child .event-card-top {
    margin-bottom: 6px;
  }
  .event-card:last-child h4 {
    font-size: 28px;
  }
  .how-to-play {
    padding-block: 37px 28px;
  }
  .how-heading {
    gap: 18px;
  }
  .how-heading > img {
    width: 55px;
    height: 60px;
  }
  .how-heading h2 {
    font-size: 28px;
  }
  .how-grid {
    gap: 24px;
  }
  .how-grid h3 {
    font-size: 17px;
  }
  .how-grid p {
    font-size: 13px;
  }
  .scope-note {
    align-items: flex-start;
    font-size: 11px;
    gap: 10px;
  }
  .site-footer {
    margin-top: 0;
    padding-block: 26px;
    gap: 20px;
  }
  .footer-brand {
    font-size: 18px;
  }
  .site-footer > a:last-child {
    font-size: 11px;
  }
  .site-footer > p {
    font-size: 11px;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 24px);
    border-radius: 8px;
  }
  .dialog-topbar {
    padding: 12px 18px;
    gap: 10px;
    min-height: 58px;
    font-size: 11px;
  }
  .challenge-navigation {
    padding: 12px 18px;
    gap: 5px;
  }
  .round-switch {
    min-width: 29px;
    height: 32px;
    padding-inline: 4px;
    font-size: 10px;
  }
  .round-switch.research-switch {
    margin-left: 9px;
  }
  .round-switch .icon {
    display: none;
  }
  .challenge-main {
    padding: 26px 21px 30px;
  }
  .challenge-art {
    width: 54px;
    height: 61px;
    right: 17px;
    top: 23px;
  }
  .challenge-meta {
    padding-right: 47px;
    gap: 8px;
    margin-bottom: 17px;
  }
  .challenge-main h2 {
    font-size: 30px;
    padding-right: 0;
    max-width: 18ch;
  }
  .target-tag {
    font-size: 10px;
  }
  .challenge-summary {
    font-size: 14px;
    margin-top: 16px;
  }
  .challenge-description {
    font-size: 13px;
    margin-top: 23px;
    padding-top: 23px;
  }
  .challenge-launch {
    padding-left: 15px;
    margin-top: 25px;
  }
  .challenge-launch > p {
    font-size: 12px;
  }
  .launch-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .launch-actions .button {
    font-size: 12px;
  }
  .challenge-sidebar {
    padding: 26px 21px 30px;
  }
  .flag-form h3,
  .hints-section h3 {
    font-size: 22px;
  }
  .flag-form input {
    font-size: 16px;
  }
  .flag-form .button {
    min-height: 48px;
  }
  .points-block strong {
    font-size: 30px;
  }
  .research-brief h3,
  .finding-section h3 {
    font-size: 18px;
  }
  .finding-heading {
    flex-wrap: wrap;
  }
  .leaderboard-content {
    padding: 25px 19px;
  }
  .leaderboard-heading h2 {
    font-size: 27px;
  }
}
@media (max-width: 360px) {
  .page-width {
    padding-inline: 17px;
  }
  .header-inner {
    padding-inline: 15px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero-sprint > img {
    width: 22px;
    height: 22px;
    right: -22px;
  }
  .hero-illustration {
    width: 260px;
  }
  .race-strip-inner {
    gap: 11px;
    font-size: 9px;
  }
  .race-strip-inner > span {
    gap: 5px;
  }
  .race-strip strong {
    font-size: 21px;
  }
  .phase-heading h3 {
    font-size: 24px;
  }
  .phase-aside > img {
    display: none;
  }
  .phase-aside {
    max-width: 65px;
  }
  .phase-count {
    white-space: normal;
  }
  .qualifier-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding-right: 14px;
  }
  .event-card,
  .event-card:last-child {
    padding: 20px;
  }
  .round-switch {
    min-width: 27px;
  }
  .challenge-navigation {
    padding-inline: 14px;
  }
}

/* The research dossier follows the brief and capture controls on every screen. */
.challenge-dialog > .finding-section {
  margin: 0;
  padding: 30px 38px 38px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.challenge-dialog > .finding-section .finding-intro {
  max-width: 78ch;
}
.event-card-top .state-badge {
  font-size: 10px;
  padding: 5px 8px;
}
@media (max-width: 560px) {
  .challenge-dialog > .finding-section {
    padding: 26px 21px 30px;
  }
}
