/*
 * Zition Live games
 * Page rules are scoped by stable renderer body classes so the catalog,
 * Prism Relay, and Signal Hunt can safely preserve their original class contracts.
 */

/* Signal Hunt */
:root {
  color-scheme: dark;
  --black: #0b0d0c;
  --deep: #131613;
  --raised: #181c18;
  --white: #f4f2ea;
  --muted: #9da39b;
  --line: #30352f;
  --line-strong: #51594f;
  --acid: #c8ff3d;
  --acid-dark: #789b18;
  --header: 72px;
  --gutter: clamp(16px, 3.25vw, 54px);
  --max-width: 1440px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--black);
}

.signal-hunt-body,


.signal-hunt-body * {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

.signal-hunt-body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
}

.signal-hunt-body button,


.signal-hunt-body a {
  font: inherit;
}

.signal-hunt-body button {
  color: inherit;
}

.signal-hunt-body a {
  color: inherit;
}

.signal-hunt-body [hidden] {
  display: none !important;
}

.signal-hunt-body .skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--acid);
  color: var(--black);
  font-weight: 700;
  transform: translateY(-160%);
}

.signal-hunt-body .skip-link:focus {
  transform: translateY(0);
}

.signal-hunt-body .site-header {
  min-height: var(--header);
  border-bottom: 1px solid var(--line);
}

.signal-hunt-body .header-inner {
  width: min(100%, var(--max-width));
  min-height: var(--header);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.signal-hunt-body .wordmark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.signal-hunt-body .wordmark strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.signal-hunt-body .wordmark span {
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.signal-hunt-body .site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.signal-hunt-body .site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 150ms ease;
}

.signal-hunt-body .site-nav a:hover,


.signal-hunt-body .site-nav a:focus-visible,


.signal-hunt-body .site-nav a[aria-current="page"] {
  color: var(--white);
}

.signal-hunt-body .site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--acid);
}

.signal-hunt-body .wordmark:focus-visible,


.signal-hunt-body .site-nav a:focus-visible,


.signal-hunt-body .footer-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.signal-hunt-body .page-intro {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(58px, 7vw, 104px) var(--gutter) clamp(48px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(270px, 0.34fr);
  gap: clamp(38px, 8vw, 116px);
  align-items: end;
}

.signal-hunt-body .page-intro h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.signal-hunt-body .intro-copy {
  padding-bottom: 6px;
}

.signal-hunt-body .intro-copy p {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
}

.signal-hunt-body .intro-copy a {
  min-height: 44px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.signal-hunt-body .intro-copy a span {
  color: var(--acid);
  transition: transform 150ms ease;
}

.signal-hunt-body .intro-copy a:hover span,


.signal-hunt-body .intro-copy a:focus-visible span {
  transform: translateX(5px);
}

.signal-hunt-body .hunt-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-hunt-body .hunt-heading {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 25px var(--gutter) 27px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.signal-hunt-body .hunt-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.signal-hunt-body .hunt-heading p {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.signal-hunt-body .hunt-layout {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 70px) var(--gutter) clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(240px, 0.52fr) minmax(490px, 1fr);
  grid-template-areas:
    "rules field"
    "log field"
    "actions field";
  column-gap: clamp(42px, 7vw, 110px);
  row-gap: 30px;
  align-items: start;
}

.signal-hunt-body .hunt-rules {
  grid-area: rules;
  min-width: 0;
}

.signal-hunt-body .kicker {
  margin: 0 0 17px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-hunt-body .instruction {
  margin: 0;
  max-width: 23ch;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.signal-hunt-body .detail {
  margin: 21px 0 0;
  max-width: 35ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.signal-hunt-body .legend {
  margin: 27px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.signal-hunt-body .legend li {
  min-height: 48px;
  padding: 10px 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.signal-hunt-body .legend li:last-child {
  border-right: 0;
}

.signal-hunt-body .legend strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-hunt-body .legend span {
  color: var(--muted);
  font-size: 10px;
}

.signal-hunt-body .metrics {
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.signal-hunt-body .metric {
  min-height: 47px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.signal-hunt-body .metric dt,


.signal-hunt-body .metric dd {
  margin: 0;
}

.signal-hunt-body .metric dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-hunt-body .metric dd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  text-align: right;
}

.signal-hunt-body .metric dd.is-active {
  color: var(--acid);
}

.signal-hunt-body .feedback {
  min-height: 112px;
  margin-top: 24px;
  padding: 17px 0 17px 15px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-left: 2px solid var(--acid);
}

.signal-hunt-body .feedback-code {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.signal-hunt-body .feedback-copy strong,


.signal-hunt-body .feedback-copy span {
  display: block;
}

.signal-hunt-body .feedback-copy strong {
  font-size: 15px;
}

.signal-hunt-body .feedback-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.signal-hunt-body .keyboard-help {
  margin: 20px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.65;
}

.signal-hunt-body .probe-log {
  grid-area: log;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.signal-hunt-body .probe-log h3 {
  margin: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-hunt-body .probe-log ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.signal-hunt-body .probe-log li {
  min-height: 35px;
  padding: 7px 0;
  display: grid;
  grid-template-columns: 70px 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.signal-hunt-body .probe-log li:first-child {
  border-top: 0;
}

.signal-hunt-body .log-index,


.signal-hunt-body .log-strength {
  color: var(--muted);
}

.signal-hunt-body .log-direction {
  color: var(--acid);
  font-weight: 700;
}

.signal-hunt-body .empty-log {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.signal-hunt-body .field-column {
  grid-area: field;
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.signal-hunt-body .field-frame {
  width: min(100%, 680px);
  border: 1px solid var(--line-strong);
  background: var(--black);
}

.signal-hunt-body .field-meta {
  min-height: 44px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.signal-hunt-body .field-meta strong {
  color: var(--white);
  font-weight: 500;
}

.signal-hunt-body .field-board {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(7, minmax(0, 1fr));
  background: var(--line);
  overflow: hidden;
  touch-action: manipulation;
}

.signal-hunt-body .field-cell {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--deep);
  color: var(--muted);
  outline: 0;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.signal-hunt-body .field-cell[data-probeable="true"] {
  cursor: pointer;
}

.signal-hunt-body .field-cell[data-probeable="true"]:hover {
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--acid-dark);
  color: var(--white);
}

.signal-hunt-body .field-cell:focus-visible {
  z-index: 6;
  box-shadow:
    inset 0 0 0 2px var(--white),
    inset 0 0 0 5px var(--acid);
}

.signal-hunt-body .field-cell.is-eliminated {
  background: var(--black);
  color: #60665e;
}

.signal-hunt-body .field-cell.is-probed {
  background: var(--raised);
  color: var(--white);
}

.signal-hunt-body .field-cell.is-target {
  background: var(--acid);
  color: var(--black);
}

.signal-hunt-body .cell-coordinate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(8px, 1.1vw, 12px);
  letter-spacing: 0.03em;
  pointer-events: none;
}

.signal-hunt-body .probe-number {
  position: absolute;
  top: 5px;
  left: 6px;
  z-index: 3;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(7px, 0.75vw, 9px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.signal-hunt-body .signal-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 37%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  background: var(--acid);
  color: var(--black);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(9px, 1.4vw, 14px);
  font-weight: 700;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.signal-hunt-body .field-cell.is-new-probe::after {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: 5;
  border: 1px solid var(--acid);
  pointer-events: none;
  animation: probe-mark 280ms ease-out both;
}

@keyframes probe-mark {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.signal-hunt-body .hunt-actions {
  grid-area: actions;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-hunt-body .action-button {
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  cursor: pointer;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 100ms ease;
}

.signal-hunt-body .action-button:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.signal-hunt-body .action-button.primary {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--black);
}

.signal-hunt-body .action-button.primary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.signal-hunt-body .action-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-color: var(--acid);
}

.signal-hunt-body .action-button:active {
  transform: translateY(1px);
}

.signal-hunt-body .verification {
  width: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.signal-hunt-body .verification.is-error {
  padding-left: 9px;
  border-left: 2px solid var(--white);
  color: var(--white);
}

.signal-hunt-body .site-footer {
  background: var(--acid);
  color: var(--black);
}

.signal-hunt-body .footer-inner {
  width: min(100%, var(--max-width));
  min-height: 180px;
  margin: 0 auto;
  padding: 34px var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.signal-hunt-body .footer-title {
  margin: 0;
  font-size: clamp(31px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.signal-hunt-body .footer-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.signal-hunt-body .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  :root {
    --header: 64px;
  }

  .signal-hunt-body .page-intro {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .signal-hunt-body .page-intro h1 {
    font-size: clamp(48px, 11vw, 72px);
  }

  .signal-hunt-body .intro-copy {
    padding-bottom: 0;
  }

  .signal-hunt-body .hunt-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "rules"
      "field"
      "log"
      "actions";
    row-gap: 29px;
  }

  .signal-hunt-body .field-column {
    justify-content: flex-start;
  }

  .signal-hunt-body .field-frame {
    width: min(100%, 650px);
  }

  .signal-hunt-body .instruction,


  .signal-hunt-body .detail {
    max-width: 42ch;
  }

  .signal-hunt-body .metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-hunt-body .metric:nth-child(odd) {
    padding-right: 18px;
  }

  .signal-hunt-body .metric:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .signal-hunt-body .nav-search,


  .signal-hunt-body .nav-projects,


  .signal-hunt-body .nav-contact,


  .signal-hunt-body .nav-about {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .signal-hunt-body .header-inner {
    gap: 16px;
  }

  .signal-hunt-body .wordmark span {
    display: none;
  }

  .signal-hunt-body .site-nav {
    gap: 16px;
  }

  .signal-hunt-body .site-nav a {
    font-size: 12px;
  }

  .signal-hunt-body .page-intro {
    padding-top: 46px;
    padding-bottom: 44px;
  }

  .signal-hunt-body .page-intro h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .signal-hunt-body .hunt-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .signal-hunt-body .hunt-layout {
    padding-top: 30px;
  }

  .signal-hunt-body .metrics {
    grid-template-columns: 1fr;
  }

  .signal-hunt-body .metric:nth-child(odd),


  .signal-hunt-body .metric:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .signal-hunt-body .feedback {
    min-height: 96px;
  }

  .signal-hunt-body .hunt-actions .action-button {
    flex: 1 1 132px;
  }

  .signal-hunt-body .footer-inner {
    min-height: 155px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media (max-width: 340px) {
  html {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar {
    display: none;
  }

  .signal-hunt-body .site-nav {
    gap: 10px;
  }

  .signal-hunt-body .site-nav a {
    padding-inline: 2px;
  }

  .signal-hunt-body .field-column {
    width: calc(100vw - 8px);
    margin-left: calc((var(--gutter) - 4px) * -1);
  }

  .signal-hunt-body .field-frame {
    width: 100%;
  }

  .signal-hunt-body .field-meta {
    padding: 0 8px;
    letter-spacing: 0.05em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .signal-hunt-body,


  .signal-hunt-body *,


  .signal-hunt-body::before,


  .signal-hunt-body *::before,


  .signal-hunt-body::after,


  .signal-hunt-body *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .signal-hunt-body .field-cell.is-new-probe::after {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .signal-hunt-body .field-frame,

  .signal-hunt-body .field-board,

  .signal-hunt-body .field-cell,

  .signal-hunt-body .action-button,

  .signal-hunt-body .signal-mark {
    border-color: CanvasText;
    forced-color-adjust: none;
  }

  .signal-hunt-body .field-cell {
    background: Canvas;
    color: CanvasText;
  }

  .signal-hunt-body .field-cell.is-eliminated {
    color: GrayText;
  }

  .signal-hunt-body .field-cell.is-target,


  .signal-hunt-body .signal-mark {
    background: Highlight;
    color: HighlightText;
  }

  .signal-hunt-body .field-cell:focus-visible {
    outline: 3px solid Highlight;
    outline-offset: -4px;
    box-shadow: none;
  }
}

/* Prism Relay */
:root {
  color-scheme: dark;
  --black: #0b0d0c;
  --deep: #131613;
  --deep-raised: #181c18;
  --paper: #f0eee6;
  --white: #f4f2ea;
  --muted: #9da39b;
  --line: #30352f;
  --line-strong: #51594f;
  --acid: #c8ff3d;
  --acid-dark: #789b18;
  --header: 72px;
  --page-gutter: clamp(16px, 3.25vw, 54px);
  --max-width: 1440px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--black);
}

.prism-relay-body,


.prism-relay-body * {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

.prism-relay-body {
  margin: 0;
  min-width: 0;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

.prism-relay-body button,


.prism-relay-body a {
  font: inherit;
}

.prism-relay-body button {
  color: inherit;
}

.prism-relay-body a {
  color: inherit;
}

.prism-relay-body [hidden] {
  display: none !important;
}

.prism-relay-body .skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--acid);
  color: var(--black);
  font-weight: 700;
  transform: translateY(-160%);
}

.prism-relay-body .skip-link:focus {
  transform: translateY(0);
}

.prism-relay-body .site-header {
  min-height: var(--header);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.prism-relay-body .header-inner {
  width: min(100%, var(--max-width));
  min-height: var(--header);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.prism-relay-body .wordmark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.prism-relay-body .wordmark strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.prism-relay-body .wordmark span {
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.prism-relay-body .site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.prism-relay-body .site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 160ms ease;
}

.prism-relay-body .site-nav a:hover,


.prism-relay-body .site-nav a:focus-visible,


.prism-relay-body .site-nav a[aria-current="page"] {
  color: var(--white);
}

.prism-relay-body .site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--acid);
}

.prism-relay-body .site-nav a:focus-visible,


.prism-relay-body .wordmark:focus-visible,


.prism-relay-body .footer-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.prism-relay-body main {
  display: block;
}

.prism-relay-body .page-intro {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 112px) var(--page-gutter) clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(260px, 0.34fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.prism-relay-body .page-intro h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.prism-relay-body .page-intro-copy {
  padding-bottom: 7px;
}

.prism-relay-body .page-intro-copy p {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.45;
}

.prism-relay-body .page-intro-copy a {
  min-height: 44px;
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.prism-relay-body .page-intro-copy a span {
  color: var(--acid);
  transition: transform 160ms ease;
}

.prism-relay-body .page-intro-copy a:hover span,


.prism-relay-body .page-intro-copy a:focus-visible span {
  transform: translateX(5px);
}

.prism-relay-body .game-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.prism-relay-body .game-heading {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 25px var(--page-gutter) 27px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.prism-relay-body .game-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.prism-relay-body .game-heading p {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prism-relay-body .game-layout {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) var(--page-gutter) clamp(54px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(228px, 0.52fr) minmax(480px, 1fr);
  grid-template-areas:
    "rules board"
    "actions board";
  column-gap: clamp(40px, 7vw, 110px);
  row-gap: 34px;
  align-items: start;
}

.prism-relay-body .game-rules {
  grid-area: rules;
  min-width: 0;
}

.prism-relay-body .game-kicker {
  margin: 0 0 18px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prism-relay-body .game-instruction {
  margin: 0;
  max-width: 23ch;
  font-size: clamp(22px, 2.45vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.prism-relay-body .game-detail {
  margin: 22px 0 0;
  max-width: 33ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.prism-relay-body .metrics {
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}

.prism-relay-body .metric-row {
  min-height: 47px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.prism-relay-body .metric-row dt,


.prism-relay-body .metric-row dd {
  margin: 0;
}

.prism-relay-body .metric-row dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.prism-relay-body .metric-row dd {
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  text-align: right;
}

.prism-relay-body .metric-row dd.status-clean {
  color: var(--acid);
}

.prism-relay-body .result-line {
  min-height: 52px;
  margin: 24px 0 0;
  padding-left: 14px;
  display: flex;
  align-items: center;
  border-left: 2px solid var(--acid);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.prism-relay-body .keyboard-help {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.6;
}

.prism-relay-body .board-column {
  grid-area: board;
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.prism-relay-body .board-frame {
  position: relative;
  width: min(100%, 680px);
  padding: 4px;
  border: 1px solid var(--line-strong);
  background: var(--black);
  isolation: isolate;
}

.prism-relay-body .board-meta {
  min-height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prism-relay-body .board-meta strong {
  color: var(--white);
  font-weight: 500;
}

.prism-relay-body .board {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  touch-action: manipulation;
  overflow: hidden;
}

.prism-relay-body .cell {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: var(--deep);
  color: var(--white);
  outline: 0;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.prism-relay-body .cell::after {
  content: attr(data-coordinate);
  position: absolute;
  top: 6px;
  left: 7px;
  z-index: 7;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(7px, 1vw, 10px);
  line-height: 1;
  opacity: 0;
}

.prism-relay-body .cell[data-rotatable="true"] {
  cursor: pointer;
}

.prism-relay-body .cell[data-rotatable="true"]:hover::after,


.prism-relay-body .cell:focus-visible::after {
  opacity: 1;
}

.prism-relay-body .cell[data-rotatable="true"]:hover {
  box-shadow: inset 0 0 0 1px var(--acid-dark);
}

.prism-relay-body .cell:focus-visible {
  z-index: 10;
  box-shadow:
    inset 0 0 0 2px var(--white),
    inset 0 0 0 5px var(--acid);
}

.prism-relay-body .tile-symbol {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.prism-relay-body .mirror-mark {
  width: 62%;
  height: 2px;
  background: var(--white);
  transform-origin: center;
  transition: transform 180ms ease, background-color 160ms ease;
}

.prism-relay-body .mirror-mark.slash {
  transform: rotate(-45deg);
}

.prism-relay-body .mirror-mark.backslash {
  transform: rotate(45deg);
}

.prism-relay-body .cell[data-rotatable="true"]:hover .mirror-mark,


.prism-relay-body .cell:focus-visible .mirror-mark {
  background: var(--acid);
}

.prism-relay-body .source-mark,


.prism-relay-body .receiver-mark {
  width: clamp(25px, 36%, 48px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  background: var(--deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(10px, 1.8vw, 15px);
  font-weight: 700;
}

.prism-relay-body .source-mark {
  color: var(--acid);
}

.prism-relay-body .receiver-mark {
  color: var(--white);
}

.prism-relay-body .cell.is-solved .receiver-mark {
  background: var(--acid);
  color: var(--black);
  border-color: var(--acid);
}

.prism-relay-body .obstacle-mark {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(17px, 3vw, 28px);
  font-weight: 300;
}

.prism-relay-body .beam-part {
  position: absolute;
  z-index: 3;
  display: none;
  background: var(--acid);
  pointer-events: none;
  transform-origin: center;
}

.prism-relay-body .cell.beam-n .beam-arm-n,


.prism-relay-body .cell.beam-e .beam-arm-e,


.prism-relay-body .cell.beam-s .beam-arm-s,


.prism-relay-body .cell.beam-w .beam-arm-w,


.prism-relay-body .cell.has-beam .beam-core {
  display: block;
}

.prism-relay-body .beam-arm-n {
  top: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: calc(50% + 1px);
  transform-origin: center bottom;
}

.prism-relay-body .beam-arm-e {
  top: calc(50% - 1px);
  right: 0;
  width: calc(50% + 1px);
  height: 2px;
  transform-origin: left center;
}

.prism-relay-body .beam-arm-s {
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: calc(50% + 1px);
  transform-origin: center top;
}

.prism-relay-body .beam-arm-w {
  top: calc(50% - 1px);
  left: 0;
  width: calc(50% + 1px);
  height: 2px;
  transform-origin: right center;
}

.prism-relay-body .beam-core {
  top: calc(50% - 2px);
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
}

.prism-relay-body .board.is-wiping .cell.has-beam .beam-part {
  animation: reveal-beam 260ms ease-out both;
  animation-delay: calc(var(--trace-order, 0) * 13ms);
}

@keyframes reveal-beam {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.prism-relay-body .idle-cover {
  position: absolute;
  inset: 49px 4px 4px;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(11 13 12 / 0.91);
}

.prism-relay-body .idle-panel {
  width: min(100%, 310px);
  border-top: 1px solid var(--acid);
  border-bottom: 1px solid var(--line-strong);
  padding: 22px 0;
  text-align: left;
}

.prism-relay-body .idle-panel p {
  margin: 0 0 22px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prism-relay-body .control-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 100ms ease;
  white-space: nowrap;
}

.prism-relay-body .control-button:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.prism-relay-body .control-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-color: var(--acid);
}

.prism-relay-body .control-button:active {
  transform: translateY(1px);
}

.prism-relay-body .control-button.primary {
  width: 100%;
  border-color: var(--acid);
  background: var(--acid);
  color: var(--black);
}

.prism-relay-body .control-button.primary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.prism-relay-body .game-actions {
  grid-area: actions;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prism-relay-body .verification {
  width: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prism-relay-body .verification.is-error {
  color: var(--white);
  border-left: 2px solid var(--white);
  padding-left: 9px;
}

.prism-relay-body .site-footer {
  background: var(--acid);
  color: var(--black);
}

.prism-relay-body .footer-inner {
  width: min(100%, var(--max-width));
  min-height: 190px;
  margin: 0 auto;
  padding: 35px var(--page-gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.prism-relay-body .footer-title {
  margin: 0;
  font-size: clamp(31px, 4.8vw, 70px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.prism-relay-body .footer-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prism-relay-body .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  :root {
    --header: 64px;
  }

  .prism-relay-body .page-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .prism-relay-body .page-intro h1 {
    font-size: clamp(48px, 11vw, 72px);
  }

  .prism-relay-body .page-intro-copy {
    padding-bottom: 0;
  }

  .prism-relay-body .game-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "rules"
      "board"
      "actions";
    row-gap: 30px;
  }

  .prism-relay-body .board-column {
    justify-content: flex-start;
  }

  .prism-relay-body .board-frame {
    width: min(100%, 640px);
  }

  .prism-relay-body .game-instruction,


  .prism-relay-body .game-detail {
    max-width: 40ch;
  }

  .prism-relay-body .metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prism-relay-body .metric-row:nth-child(odd) {
    padding-right: 18px;
  }

  .prism-relay-body .metric-row:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .prism-relay-body .nav-search,


  .prism-relay-body .nav-contact {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .prism-relay-body .header-inner {
    gap: 16px;
  }

  .prism-relay-body .wordmark span,


  .prism-relay-body .nav-projects,


  .prism-relay-body .nav-about {
    display: none !important;
  }

  .prism-relay-body .site-nav {
    gap: 16px;
  }

  .prism-relay-body .site-nav a {
    font-size: 12px;
  }

  .prism-relay-body .page-intro {
    padding-top: 48px;
    padding-bottom: 46px;
  }

  .prism-relay-body .page-intro h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .prism-relay-body .game-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .prism-relay-body .game-layout {
    padding-top: 30px;
  }

  .prism-relay-body .metrics {
    grid-template-columns: 1fr;
  }

  .prism-relay-body .metric-row:nth-child(odd),


  .prism-relay-body .metric-row:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .prism-relay-body .board-meta {
    padding: 0 8px;
    letter-spacing: 0.06em;
  }

  .prism-relay-body .game-actions .control-button {
    flex: 1 1 138px;
  }

  .prism-relay-body .footer-inner {
    min-height: 160px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media (max-width: 340px) {
  .prism-relay-body .site-nav {
    gap: 10px;
  }

  .prism-relay-body .site-nav a {
    padding-inline: 2px;
  }

  .prism-relay-body .board-frame {
    padding: 3px;
  }

  .prism-relay-body .board-meta {
    min-height: 42px;
  }

  .prism-relay-body .idle-cover {
    inset: 46px 3px 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .prism-relay-body,


  .prism-relay-body *,


  .prism-relay-body::before,


  .prism-relay-body *::before,


  .prism-relay-body::after,


  .prism-relay-body *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .prism-relay-body .board.is-wiping .cell.has-beam .beam-part {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .prism-relay-body .cell,

  .prism-relay-body .board,

  .prism-relay-body .board-frame,

  .prism-relay-body .source-mark,

  .prism-relay-body .receiver-mark,

  .prism-relay-body .control-button {
    border-color: CanvasText;
    forced-color-adjust: none;
  }

  .prism-relay-body .cell {
    background: Canvas;
    color: CanvasText;
  }

  .prism-relay-body .mirror-mark,


  .prism-relay-body .beam-part,


  .prism-relay-body .cell.is-solved .receiver-mark {
    background: Highlight;
  }

  .prism-relay-body .cell:focus-visible {
    outline: 3px solid Highlight;
    outline-offset: -4px;
    box-shadow: none;
  }
}

/* Games catalog */
:root {
  color-scheme: dark;
  --live-black: #0b0d0c;
  --live-deep: #131613;
  --live-paper: #f0eee6;
  --live-ink: #101210;
  --live-white: #f4f2ea;
  --live-muted: #9da39b;
  --live-line: #30352f;
  --live-acid: #c8ff3d;
  --live-acid-dark: #789b18;
  --live-header: 72px;
}

.games-index-body,


.games-index-body * {
  box-sizing: border-box;
}

html {
  background: var(--live-black);
  scroll-behavior: smooth;
}

.games-index-body {
  margin: 0;
  overflow-x: hidden;
  background: var(--live-black);
  color: var(--live-white);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.games-index-body a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.games-index-body :focus-visible {
  outline: 3px solid var(--live-acid);
  outline-offset: 5px;
}

.games-index-body .skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--live-acid);
  color: var(--live-ink);
  font-weight: 750;
  transform: translateY(-160%);
}

.games-index-body .skip-link:focus {
  transform: translateY(0);
}

.games-index-body .live-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: var(--live-header);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(24px, 3.3vw, 56px);
  border-bottom: 1px solid var(--live-line);
  background: var(--live-black);
}

.games-index-body .live-wordmark {
  display: flex;
  align-items: baseline;
  gap: 13px;
  white-space: nowrap;
}

.games-index-body .live-wordmark strong {
  font-size: 15px;
  letter-spacing: -0.03em;
}

.games-index-body .live-wordmark span {
  color: var(--live-muted);
  font-size: 11px;
}

.games-index-body .live-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  font-size: 13px;
}

.games-index-body .live-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--live-muted);
  white-space: nowrap;
}

.games-index-body .live-nav a:hover,


.games-index-body .live-nav a:focus-visible {
  color: var(--live-white);
}

.games-index-body .live-nav .nav-current {
  padding-left: clamp(16px, 2vw, 30px);
  border-left: 1px solid var(--live-line);
  color: var(--live-acid);
}

.games-index-body .page-intro {
  display: grid;
  min-height: clamp(360px, 54svh, 650px);
  grid-template-columns: minmax(360px, 44%) minmax(0, 56%);
  border-bottom: 1px solid var(--live-line);
}

.games-index-body .intro-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(62px, 8vw, 118px) clamp(28px, 5vw, 82px);
}

.games-index-body .eyebrow,


.games-index-body .stage-label,


.games-index-body .stage-meta,


.games-index-body .index-label,


.games-index-body .index-number,


.games-index-body .game-type,


.games-index-body .game-count {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.games-index-body .eyebrow {
  margin: 0 0 clamp(34px, 5vh, 56px);
  color: var(--live-acid);
}

.games-index-body .page-intro h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.games-index-body .intro-copy > p:last-child {
  max-width: 31em;
  margin: clamp(28px, 4vh, 44px) 0 0;
  color: var(--live-muted);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.8;
}

.games-index-body .intro-index {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr auto;
  padding: clamp(30px, 4vw, 58px) clamp(28px, 5vw, 76px);
  border-left: 1px solid var(--live-line);
  background: var(--live-deep);
}

.games-index-body .intro-index-top,


.games-index-body .intro-index-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--live-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.games-index-body .intro-index-top {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--live-line);
}

.games-index-body .intro-index-top span:last-child {
  color: var(--live-acid);
}

.games-index-body .intro-index-count {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(40px, 7vh, 78px) 0;
}

.games-index-body .intro-index-count strong {
  font-size: clamp(72px, 9vw, 128px);
  font-weight: 780;
  letter-spacing: -0.075em;
  line-height: 0.72;
}

.games-index-body .intro-index-count span {
  max-width: 13em;
  color: var(--live-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.games-index-body .intro-index-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--live-line);
}

.games-index-body .game-stage {
  position: relative;
  display: grid;
  min-height: 78svh;
  grid-template-columns: minmax(340px, 42%) minmax(0, 58%);
  overflow: hidden;
  border-bottom: 1px solid var(--live-line);
  isolation: isolate;
}

.games-index-body .game-stage::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 4px;
  background: var(--live-acid);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.games-index-body .game-stage:hover::after,


.games-index-body .game-stage:focus-visible::after {
  transform: scaleX(1);
}

.games-index-body .game-stage:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--live-white), inset 0 -6px 0 var(--live-acid);
}

.games-index-body .stage-copy {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(58px, 7vw, 108px) clamp(28px, 5vw, 82px);
  border-right: 1px solid var(--live-line);
  background: var(--live-black);
}

.games-index-body .stage-label {
  color: var(--live-acid);
}

.games-index-body .stage-title {
  margin: 52px 0 0;
}

.games-index-body .stage-title h2 {
  max-width: 7em;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 770;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.games-index-body .stage-title p {
  max-width: 30em;
  margin: 28px 0 0;
  color: var(--live-muted);
  font-size: 16px;
  line-height: 1.8;
}

.games-index-body .stage-action {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--live-line);
  font-size: 14px;
  font-weight: 720;
}

.games-index-body .stage-action span:last-child {
  color: var(--live-acid);
  font-size: 22px;
  transition: transform 180ms ease;
}

.games-index-body .game-stage:hover .stage-action span:last-child,


.games-index-body .game-stage:focus-visible .stage-action span:last-child {
  transform: translate(5px, -5px);
}

.games-index-body .optical-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--live-deep);
}

.games-index-body .stage-meta {
  position: absolute;
  top: clamp(26px, 4vw, 54px);
  right: clamp(24px, 4vw, 58px);
  left: clamp(24px, 4vw, 58px);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--live-muted);
}

.games-index-body .relay-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(72%, 540px);
  aspect-ratio: 1;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  border-top: 1px solid var(--live-line);
  border-left: 1px solid var(--live-line);
  transform: translate(-50%, -45%);
}

.games-index-body .relay-grid > span {
  position: relative;
  border-right: 1px solid var(--live-line);
  border-bottom: 1px solid var(--live-line);
}

.games-index-body .relay-grid .source::before,


.games-index-body .relay-grid .receiver::before {
  position: absolute;
  inset: 42%;
  background: var(--live-acid);
  border-radius: 50%;
  content: "";
}

.games-index-body .relay-grid .receiver::before {
  inset: 34%;
  background: transparent;
  border: 2px solid var(--live-white);
}

.games-index-body .relay-grid .mirror-forward::before,


.games-index-body .relay-grid .mirror-back::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  height: 2px;
  background: var(--live-white);
  content: "";
  transform: translate(-50%, -50%) rotate(-45deg);
}

.games-index-body .relay-grid .mirror-back::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.games-index-body .beam {
  position: absolute;
  z-index: 3;
  display: block;
  background: var(--live-acid);
}

.games-index-body .beam-a {
  top: calc(20% - 1px);
  left: 0;
  width: 50%;
  height: 2px;
}

.games-index-body .beam-b {
  top: 20%;
  left: calc(50% - 1px);
  width: 2px;
  height: 40%;
}

.games-index-body .beam-c {
  top: calc(60% - 1px);
  left: 50%;
  width: 30%;
  height: 2px;
}

.games-index-body .stage-caption {
  position: absolute;
  right: clamp(24px, 4vw, 58px);
  bottom: clamp(26px, 4vw, 50px);
  left: clamp(24px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--live-line);
  color: var(--live-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.games-index-body .game-index {
  border-bottom: 1px solid var(--live-line);
}

.games-index-body .index-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(24px, 5vw, 82px);
  border-bottom: 1px solid var(--live-line);
  background: var(--live-deep);
}

.games-index-body .index-label,


.games-index-body .game-count {
  color: var(--live-muted);
}

.games-index-body .index-game {
  position: relative;
  display: grid;
  min-height: 190px;
  grid-template-columns: 64px minmax(0, 1fr) minmax(180px, 0.4fr) 42px;
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  padding: 34px clamp(24px, 5vw, 82px);
  isolation: isolate;
}

.games-index-body .index-game::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 3px;
  background: var(--live-acid);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.games-index-body .index-game:hover::after,


.games-index-body .index-game:focus-visible::after {
  transform: scaleX(1);
}

.games-index-body .index-game:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--live-white), inset 0 -5px 0 var(--live-acid);
}

.games-index-body .index-number {
  align-self: start;
  padding-top: 8px;
  color: var(--live-muted);
}

.games-index-body .index-copy {
  min-width: 0;
}

.games-index-body .index-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1;
}

.games-index-body .index-copy p {
  max-width: 38em;
  margin: 18px 0 0;
  color: var(--live-muted);
  font-size: 14px;
  line-height: 1.75;
}

.games-index-body .game-type {
  display: grid;
  gap: 10px;
  color: var(--live-muted);
}

.games-index-body .game-type span:last-child {
  color: var(--live-white);
}

.games-index-body .signal-mark {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.games-index-body .signal-mark i {
  width: 2px;
  background: var(--live-line);
}

.games-index-body .signal-mark i:nth-child(1) { height: 10px; }
.games-index-body .signal-mark i:nth-child(2) { height: 18px; }
.games-index-body .signal-mark i:nth-child(3) { height: 28px; background: var(--live-acid); }
.games-index-body .signal-mark i:nth-child(4) { height: 38px; }

.games-index-body .signal-mark::after {
  margin-left: 10px;
  color: var(--live-acid);
  content: "↗";
  font-size: 20px;
  transition: transform 180ms ease;
}

.games-index-body .index-game:hover .signal-mark::after,


.games-index-body .index-game:focus-visible .signal-mark::after {
  transform: translate(5px, -5px);
}

.games-index-body .live-footer {
  min-height: 62svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(70px, 8vw, 130px) clamp(24px, 5.2vw, 88px) 38px;
  background: var(--live-acid);
  color: var(--live-ink);
}

.games-index-body .live-footer > p {
  margin: 0;
  font-size: 14px;
  font-weight: 720;
}

.games-index-body .live-email {
  align-self: flex-start;
  max-width: 100%;
  border-bottom: clamp(4px, 0.5vw, 8px) solid currentColor;
  font-size: clamp(32px, 5vw, 74px);
  font-weight: 790;
  letter-spacing: -0.055em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.games-index-body .live-email:hover,


.games-index-body .live-email:focus-visible {
  color: #32420c;
}

.games-index-body .footer-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 38px;
  border-top: 1px solid rgba(16, 18, 16, 0.34);
  font-size: 12px;
}

.games-index-body .footer-row span {
  margin-right: auto;
}

@media (max-width: 1080px) {
  .games-index-body .live-nav {
    gap: 17px;
  }

  .games-index-body .page-intro {
    grid-template-columns: minmax(340px, 46%) minmax(0, 54%);
  }

  .games-index-body .game-stage {
    grid-template-columns: minmax(320px, 45%) minmax(0, 55%);
  }

  .games-index-body .relay-grid {
    width: min(78%, 460px);
  }
}

@media (max-width: 860px) {
  :root {
    --live-header: 64px;
  }

  .games-index-body .nav-hide-md {
    display: none !important;
  }

  .games-index-body .page-intro,


  .games-index-body .game-stage {
    grid-template-columns: 1fr;
  }

  .games-index-body .page-intro {
    min-height: 0;
  }

  .games-index-body .intro-copy {
    min-height: 48svh;
    padding: 72px 24px;
  }

  .games-index-body .intro-index {
    min-height: 46svh;
    border-top: 1px solid var(--live-line);
    border-left: 0;
  }

  .games-index-body .game-stage {
    min-height: 0;
  }

  .games-index-body .stage-copy {
    min-height: 56svh;
    border-right: 0;
    border-bottom: 1px solid var(--live-line);
  }

  .games-index-body .optical-stage {
    min-height: 78svh;
  }

  .games-index-body .index-game {
    grid-template-columns: 48px minmax(0, 1fr) 150px 40px;
  }
}

@media (max-width: 560px) {
  .games-index-body .live-header {
    gap: 18px;
    padding-inline: 18px;
  }

  .games-index-body .live-wordmark span,


  .games-index-body .nav-hide-xs {
    display: none !important;
  }

  .games-index-body .live-nav {
    gap: 14px;
  }

  .games-index-body .live-nav .nav-current {
    padding-left: 14px;
  }

  .games-index-body .intro-copy {
    min-height: 44svh;
    padding: 64px 18px;
  }

  .games-index-body .page-intro h1 {
    font-size: clamp(42px, 12vw, 52px);
  }

  .games-index-body .intro-index {
    min-height: 44svh;
    padding: 28px 18px;
  }

  .games-index-body .intro-index-count {
    padding-block: 54px;
  }

  .games-index-body .intro-index-count strong {
    font-size: clamp(72px, 26vw, 96px);
  }

  .games-index-body .stage-copy {
    min-height: 52svh;
    padding: 58px 18px;
  }

  .games-index-body .stage-title {
    margin-top: 42px;
  }

  .games-index-body .stage-title h2 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .games-index-body .stage-title p {
    font-size: 15px;
  }

  .games-index-body .optical-stage {
    min-height: 64svh;
  }

  .games-index-body .relay-grid {
    width: min(82vw, 300px);
  }

  .games-index-body .index-heading {
    min-height: 68px;
    padding-inline: 18px;
  }

  .games-index-body .index-game {
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr) 34px;
    gap: 13px;
    padding: 32px 18px;
  }

  .games-index-body .index-number {
    grid-row: 1 / span 2;
  }

  .games-index-body .index-copy {
    grid-column: 2;
  }

  .games-index-body .game-type {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 8px 15px;
    margin-top: 6px;
  }

  .games-index-body .signal-mark {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .games-index-body .signal-mark i {
    display: none;
  }

  .games-index-body .signal-mark::after {
    margin-left: 0;
  }

  .games-index-body .live-footer {
    min-height: 58svh;
    padding: 64px 18px 26px;
  }

  .games-index-body .live-email {
    font-size: clamp(29px, 8.7vw, 40px);
  }

  .games-index-body .footer-row {
    flex-wrap: wrap;
    gap: 18px;
  }

  .games-index-body .footer-row span {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .games-index-body .live-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .games-index-body .live-nav {
    gap: 9px;
    font-size: 12px;
  }

  .games-index-body .live-nav .nav-current {
    padding-left: 10px;
  }

  .games-index-body .intro-copy,


  .games-index-body .intro-index,


  .games-index-body .stage-copy {
    padding-inline: 16px;
  }

  .games-index-body .intro-index-top,


  .games-index-body .intro-index-count {
    align-items: flex-start;
    flex-direction: column;
  }

  .games-index-body .intro-index-count span {
    text-align: left;
  }

  .games-index-body .stage-meta,


  .games-index-body .stage-caption {
    right: 16px;
    left: 16px;
  }

  .games-index-body .index-heading,


  .games-index-body .index-game {
    padding-inline: 16px;
  }

  .games-index-body .game-type {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .games-index-body,


  .games-index-body *,


  .games-index-body::before,


  .games-index-body *::before,


  .games-index-body::after,


  .games-index-body *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .games-index-body .game-stage:focus-visible,

  .games-index-body .index-game:focus-visible {
    outline: 2px solid CanvasText;
    outline-offset: -2px;
    box-shadow: none;
  }

  .games-index-body .game-stage::after,


  .games-index-body .index-game::after,


  .games-index-body .beam,


  .games-index-body .relay-grid .source::before,


  .games-index-body .signal-mark i:nth-child(3) {
    background: LinkText;
  }
}
