:root {
  --bg: #000;
  --tile: #0e0e10;
  --tile-2: #19191c;
  --tile-3: #2a2a2e;
  --w: #f5f5f7;
  --ink: #0b0b0c;
  --soft: #b4b4ba;
  --gray: #86868b;
  --dim: #55555a;
  --line: rgba(255, 255, 255, 0.1);
  --paper: #fff;
  --sepp: #c9a9e9;
  --paeb: #f2a36b;
  --gold: #e6c777;
  --gold-wash: rgba(230, 199, 119, 0.12);
  --good: #74d391;
  --good-wash: rgba(116, 211, 145, 0.14);
  --bad: #ff7480;
  --bad-wash: rgba(255, 116, 128, 0.14);
  --bar-0: #3b3442;
  --bar-1: #7d6a92;
  --scrim: rgba(0, 0, 0, 0.66);
  --shade: rgba(0, 0, 0, 0.62);
  --clear: rgba(0, 0, 0, 0);
  --wash: rgba(255, 255, 255, 0.78);
  --wash-off: rgba(255, 255, 255, 0);
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --r: 22px;
  --nav-h: 52px;
  --safe-top: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--w);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

.wrap {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: min(1180px, 100% - 3rem);
  height: 100%;
  margin-inline: auto;
}

.brand {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand i,
.wordmark i {
  font-style: normal;
  color: var(--sepp);
}

.brand b,
.wordmark b {
  font-weight: inherit;
  color: var(--paeb);
}

.ee {
  position: relative;
  display: inline-block;
}

.loop {
  position: absolute;
  top: 50%;
  left: calc(50% + 0.02em);
  width: 0.92em;
  height: 1.48em;
  max-width: none;
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.loop path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
}

.loop polygon {
  fill: currentColor;
}

.loop-a {
  color: var(--sepp);
}

.loop-b {
  color: var(--paeb);
}

.nav-links {
  display: flex;
  gap: 1.7rem;
  margin-left: auto;
  font-size: 0.8rem;
}

.nav-links a,
.nav-side > a:not(.nav-cta) {
  color: rgba(245, 245, 247, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="true"],
.nav-side > a:not(.nav-cta):hover {
  color: var(--w);
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-left: 1.7rem;
  border-left: 1px solid var(--line);
  font-size: 0.8rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.42em 1em 0.44em;
  border-radius: 999px;
  background: var(--w);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.hero-stage {
  --a: 0;
  --b: 0;
  --card: 0;
  --card-in: 0;
  --card-out: 0;
  --light: 0.17;
  --colour: 0.7;
  --zoom: 1.07;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + var(--safe-top) + 1.2rem) 0 4.2rem;
  overflow: hidden;
}

.scrub-on .hero {
  height: 310vh;
}

.scrub-on .hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}

.hero-panels {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(100% - 3rem, 1560px, (100vh - var(--nav-h) - 9rem) * 2.38);
  width: min(100% - 3rem, 1560px, (100svh - var(--nav-h) - 9rem) * 2.38);
  filter: brightness(var(--light)) saturate(var(--colour));
  transform: scale(var(--zoom));
}

.panel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1180 / 1000;
  border-radius: 18px;
  background: var(--tile);
}

.panel img,
.panel canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.panel img {
  width: 200%;
}

.panel-r img {
  left: -100%;
}

.hud {
  position: absolute;
  z-index: 1;
  opacity: var(--b);
  background: var(--scrim);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 1.2;
}

.hud-name {
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.42em 0.95em 0.46em;
  border-radius: 999px;
  color: var(--soft);
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  font-weight: 500;
}

.panel-l .hud-name,
.hud-name b {
  color: var(--w);
  font-weight: 600;
}

.hud-name b {
  margin-right: 0.35em;
}

.hud-clock {
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.22em 0.5em 0.2em;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: clamp(1.05rem, 2.1vw, 1.85rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hud-out {
  right: 0.8rem;
  bottom: 0.8rem;
  max-width: calc(100% - 7.5rem);
  padding: 0.42em 0.95em 0.46em;
  border-radius: 0.95em;
  color: var(--ink);
  font-size: clamp(0.78rem, 1.15vw, 0.98rem);
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.hud-out.good {
  background: var(--good);
  color: var(--ink);
}

.hud-out.bad {
  background: var(--bad);
  color: var(--ink);
}

.hud-out.on {
  opacity: var(--b);
  transform: none;
}

.hero-copy {
  grid-area: 1 / 1;
  z-index: 2;
  width: min(1180px, 100% - 3rem);
  text-align: center;
  opacity: calc(1 - var(--a));
  filter: blur(calc(var(--a) * 5px));
  transform: translateY(calc(var(--a) * -44px));
}

.hero-stage.untitled .hero-copy {
  visibility: hidden;
}

.hero-brief {
  position: relative;
  grid-area: 1 / 1;
  z-index: 2;
  width: min(46rem, 100% - 3rem);
  text-align: center;
  opacity: var(--card);
  pointer-events: none;
  transform: translateY(calc((1 - var(--card-in)) * 34px + var(--card-out) * 27vh)) scale(calc(1 - 0.32 * var(--card-out)));
}

.hero-brief::before {
  content: "";
  position: absolute;
  inset: -3.5rem -5rem;
  z-index: -1;
  background: radial-gradient(closest-side, var(--shade), var(--clear));
}

.hero-brief .label {
  color: var(--soft);
}

.brief-goal {
  margin: 0.9rem 0 1.4rem;
  font-size: clamp(1.5rem, 3.3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.brief-sides {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.7rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.brief-sides span {
  padding: 0.42em 1em 0.46em;
  border-radius: 999px;
  background: var(--scrim);
}

.brief-sides b {
  margin-left: 0.35em;
  color: var(--w);
  font-weight: 600;
}

.brief-note {
  margin-top: 1.1rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.hero-stage.playing .hero-panels {
  filter: none;
  transform: none;
}

h1 {
  margin: 0;
  font-weight: 700;
}

.wordmark {
  display: block;
  margin-bottom: 0.37em;
  font-size: clamp(4.5rem, min(17vw, 20vh), 12.5rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.orgs {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-h) + var(--safe-top) + 1.1rem);
  left: max(1.5rem, (100% - 1180px) / 2);
  display: flex;
  align-items: center;
  gap: 1.15rem;
  opacity: calc((1 - var(--a)) * 0.78);
}

.orgs img {
  width: auto;
  height: 1.9rem;
}

.orgs img.org-ms {
  height: 1.05rem;
}

.hero-stage.untitled .orgs {
  visibility: hidden;
}

.title {
  display: block;
  margin: clamp(0.9rem, 2vw, 1.5rem) auto 0;
  color: var(--soft);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.title em {
  font-style: normal;
  color: var(--w);
}

.title em.c1 {
  color: var(--sepp);
}

.title em.c2 {
  color: var(--paeb);
}

.tagline {
  max-width: 34rem;
  margin: 1.1rem auto 0;
  color: var(--soft);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.4;
  text-wrap: balance;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.66em 1.25em 0.68em;
  border-radius: 999px;
  background: var(--tile-2);
  color: var(--w);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s;
}

a.btn:hover {
  background: var(--tile-3);
}

.btn-main,
a.btn-main:hover {
  background: var(--w);
  color: var(--ink);
}

.btn small {
  color: var(--gray);
  font-size: 0.78em;
  font-weight: 500;
}

.authors {
  max-width: 54rem;
  margin: 2.4rem auto 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.75;
  text-wrap: balance;
}

.authors span {
  display: inline-block;
  margin: 0 0.6em;
  white-space: nowrap;
}

.affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1em 1.6em;
  margin: 0.7rem auto 0;
  color: var(--gray);
  font-size: 0.88rem;
}

sup {
  margin-left: 0.1em;
  color: var(--gray);
  font-size: 0.66em;
  line-height: 0;
}

.affiliations sup {
  margin: 0 0.15em 0 0;
}

.hero-task {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  width: min(1180px, 100% - 3rem);
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  opacity: var(--b);
  transform: translateX(-50%);
}

.hero-task .label {
  margin-right: 0.9em;
  color: var(--soft);
}

.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  display: none;
  color: var(--gray);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: calc(1 - var(--a) * 4);
  transform: translateX(-50%);
}

.scrub-on .hero-hint {
  display: block;
}

.hero-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 1.5rem;
  margin: 0.5rem auto 0;
  background: linear-gradient(var(--gray), transparent);
  transform-origin: 50% 0;
  animation: hint 1.8s var(--ease) infinite;
}

@keyframes hint {
  from {
    transform: scaleY(0);
  }

  60% {
    transform: scaleY(1);
  }

  to {
    opacity: 0;
    transform: scaleY(1);
  }
}

.label {
  color: var(--gray);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.statement {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.statement > p {
  max-width: 60rem;
  margin-bottom: 1.1em;
  color: var(--gray);
  font-size: clamp(1.45rem, 2.9vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.statement b {
  color: var(--w);
  font-weight: inherit;
}

.abstract {
  margin-top: 2.2rem;
}

.abstract summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 1.2em 0.62em;
  border-radius: 999px;
  background: var(--tile-2);
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: background 0.2s;
}

.abstract summary::-webkit-details-marker {
  display: none;
}

.abstract summary::after {
  content: "+";
  color: var(--gray);
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1;
}

.abstract[open] summary::after {
  content: "−";
}

.abstract summary:hover {
  background: var(--tile-3);
}

.abstract p {
  max-width: 52rem;
  margin-top: 1.2rem;
  padding: 1.7rem 1.9rem;
  border-radius: var(--r);
  background: var(--tile);
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.62;
}

.sec {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--sepp);
  font-size: 1.05rem;
  font-weight: 500;
}

h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.copy p:not(.eyebrow),
.body {
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1.6;
}

.copy p + p {
  margin-top: 1.1em;
}

.copy strong,
.lead strong {
  color: var(--w);
  font-weight: 600;
}

.copy strong.sepp {
  color: var(--sepp);
}

.copy strong.paeb {
  color: var(--paeb);
}

.lead,
.copy p.lead {
  max-width: 46rem;
  color: var(--gray);
  font-size: clamp(1.12rem, 1.7vw, 1.3rem);
  font-weight: 500;
  line-height: 1.42;
}

.head {
  margin-bottom: 2.8rem;
}

.head h2 {
  margin-bottom: 1.3rem;
}

.head-center {
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2.5rem clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.split-next {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  align-items: center;
}

.split-even {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
}

.pairs {
  display: grid;
  gap: 1.5rem;
}

.pair .label {
  margin-bottom: 0.6rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.shot {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--tile);
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shot figcaption {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  max-width: calc(100% - 1.1rem);
  padding: 0.3em 0.75em 0.34em;
  border-radius: 0.95em;
  background: var(--scrim);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--w);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
}

.good {
  color: var(--good);
}

.bad {
  color: var(--bad);
}

.credit {
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.45;
}

.tile {
  border-radius: var(--r);
  background: var(--tile);
}

.kept {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: grid;
  gap: 0.9rem;
}

.kept .tile {
  padding: 1.4rem 1.5rem 1rem;
}

.tile-head {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  margin-bottom: 0.9rem;
  color: var(--gray);
  font-size: 0.95rem;
}

.tile-head b {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kept-sepp .tile-head b {
  color: var(--sepp);
}

.kept-paeb .tile-head b {
  color: var(--paeb);
}

.kept ol,
.kept ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  font-size: 1.02rem;
  line-height: 1.35;
}

.kept li {
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  padding: 0.68rem 0.8rem;
  border-top: 1px solid var(--line);
}

.kept ol li::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 1em;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.78em;
}

.kept li.added,
.kept li.cited {
  margin: 0 -0.3rem;
  padding-inline: 1.1rem;
  border-top-color: transparent;
  border-radius: 12px;
  background: var(--gold-wash);
  color: var(--gold);
  font-weight: 500;
}

.kept ol li.added::before {
  content: "+";
  color: var(--gold);
  font-size: 1em;
}

.tick {
  flex: none;
  width: 1em;
  font-weight: 700;
}

.tick.ok {
  color: var(--good);
}

.tick.no {
  color: var(--bad);
}

.arrow {
  color: var(--dim);
}

.kept li.cited .arrow {
  color: inherit;
  opacity: 0.6;
}

.kept ul li {
  flex-wrap: wrap;
  gap: 0 0.45em;
}

.method {
  border-top: 1px solid var(--line);
}

.method-stage {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 9fr);
  gap: 2rem clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stage;
}

.steps li {
  padding: 0.85rem 0 0.9rem;
  border-top: 1px solid var(--line);
  counter-increment: stage;
}

.steps h3 {
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease);
}

.steps h3::before {
  content: counter(stage);
  flex: none;
  width: 1em;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72em;
  font-weight: 500;
  transition: color 0.4s var(--ease);
}

.steps p {
  padding: 0.45rem 0 0 1.7rem;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.5;
}

.viewport {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--paper);
}

.viewport img {
  width: 100%;
  transform-origin: 0 0;
}

.method.pin .method-stage {
  position: sticky;
  top: 0;
  display: grid;
  align-items: center;
  height: 100vh;
  height: 100svh;
  padding: calc(var(--nav-h) + var(--safe-top) + 1.2rem) 0 1.4rem;
}

.method.pin .method-grid {
  width: min(1560px, 100% - 3rem);
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
}

.method.pin h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.method.pin .steps li {
  cursor: pointer;
}

.method.pin .steps li:not(.on) h3 {
  color: var(--gray);
}

.method.pin .steps li.on h3::before {
  color: var(--sepp);
}

.method.pin .steps p {
  max-height: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), padding 0.6s var(--ease);
}

.method.pin .steps li.on p {
  max-height: 11rem;
  padding-top: 0.45rem;
  opacity: 1;
}

.method.pin .viewport {
  aspect-ratio: 3 / 2;
  max-height: calc(100vh - var(--nav-h) - 5rem);
  max-height: calc(100svh - var(--nav-h) - 5rem);
  cursor: default;
}

.method.pin .viewport img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  transition: transform 1.15s cubic-bezier(0.3, 0.1, 0.15, 1);
}

.focus {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 0 0 200vmax var(--wash);
  pointer-events: none;
  transition: left 1.15s cubic-bezier(0.3, 0.1, 0.15, 1), top 1.15s cubic-bezier(0.3, 0.1, 0.15, 1),
    width 1.15s cubic-bezier(0.3, 0.1, 0.15, 1), height 1.15s cubic-bezier(0.3, 0.1, 0.15, 1), box-shadow 0.8s var(--ease);
}

.focus.whole {
  box-shadow: 0 0 0 200vmax var(--wash-off);
}

code {
  padding: 0.12em 0.42em 0.16em;
  border-radius: 6px;
  background: var(--tile-2);
  color: var(--w);
  font-family: var(--mono);
  font-size: 0.84em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 3rem;
  margin: 3rem 0 0;
}

.stat b {
  display: block;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat .from {
  color: var(--dim);
}

.stat .to-arrow {
  margin: 0 0.22em;
  color: var(--dim);
  font-size: 0.6em;
  font-weight: 500;
  vertical-align: 0.18em;
}

.stat > span {
  display: block;
  max-width: 17rem;
  margin-top: 0.8rem;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.35;
}

.demo-meta.demo-meta-center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  margin-top: 1.1rem;
  text-align: center;
}

.body {
  max-width: 46rem;
  margin-top: 3rem;
}

.charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 3rem;
}

.charts figcaption {
  grid-column: 1 / -1;
  margin-top: 0.2rem;
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.45;
}

.chart {
  padding: 1.6rem 1.6rem 1.3rem;
}

.chart-title {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.bars {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 2rem);
}

.bar {
  flex: 0 1 7rem;
  text-align: center;
}

.plot {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 14rem;
  border-bottom: 1px solid var(--line);
}

.plot span {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.plot i {
  display: block;
  width: min(4.6rem, 100%);
  height: calc(var(--v) / var(--max) * 11.5rem);
  border-radius: 8px 8px 0 0;
  transform-origin: 50% 100%;
}

.plot .s0 {
  background: var(--bar-0);
}

.plot .s1 {
  background: var(--bar-1);
}

.plot .s2 {
  background: var(--sepp);
}

.bar .x {
  display: block;
  margin-top: 0.5rem;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.chart-x {
  margin-top: 0.2rem;
  color: var(--gray);
  font-size: 0.84rem;
  text-align: center;
}

.hbars {
  padding: 1.6rem;
}

.hbar {
  display: grid;
  grid-template-columns: 8.2rem minmax(0, 1fr) 2.8rem;
  gap: 0.9rem;
  align-items: center;
  padding: 0.62rem 0;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.95rem;
}

.hbar div {
  height: 0.85rem;
}

.hbar i {
  display: block;
  width: calc(var(--v) / 80 * 100%);
  height: 100%;
  border-radius: 0 5px 5px 0;
  background: var(--bar-0);
  transform-origin: 0 50%;
}

.hbar i.sepp {
  background: var(--sepp);
}

.hbar i.paeb {
  background: var(--paeb);
}

.hbar i.both {
  background: linear-gradient(90deg, var(--sepp), var(--paeb));
}

.hbar b {
  color: var(--w);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.real {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--nav-h);
}

.real .head {
  margin-bottom: 2.2rem;
}

.tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.1rem;
  padding: 4px;
  overflow-x: auto;
  border-radius: 999px;
  background: var(--tile-2);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs button {
  flex: none;
  padding: 0.52em 1.15em 0.55em;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--soft);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.tabs button span {
  margin-right: 0.55em;
  color: var(--gray);
  font-family: var(--mono);
  font-size: 0.86em;
}

.tabs button:hover {
  color: var(--w);
}

.tabs button[aria-selected="true"] {
  background: var(--w);
  color: var(--ink);
  font-weight: 600;
}

.tabs button[aria-selected="true"] span {
  color: var(--dim);
}

.stage {
  overflow: hidden;
  border-radius: var(--r);
  background: var(--tile);
  box-shadow: 0 0 0 1px var(--line);
}

.stage video {
  width: 100%;
  background: var(--bg);
}

.stage-light video {
  aspect-ratio: 16 / 9;
}

.scrub {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.pp {
  position: relative;
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tile-2);
  color: var(--w);
  cursor: pointer;
  transition: background 0.2s;
}

.pp:hover {
  background: var(--tile-3);
}

.pp::before,
.pp::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 11px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.pp::before {
  margin-left: -3.5px;
}

.pp::after {
  margin-left: 3.5px;
}

.pp[data-paused]::before {
  width: 0;
  height: 0;
  margin-left: 1.5px;
  border: solid transparent;
  border-width: 6px 0 6px 10px;
  border-left-color: currentColor;
  border-radius: 0;
  background: none;
}

.pp[data-paused]::after {
  display: none;
}

.track {
  position: relative;
  flex: 1;
  height: 1.4rem;
  cursor: pointer;
}

.track::before,
.track i {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: var(--tile-2);
}

.track i {
  background: var(--w);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.demo-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.8rem 3rem;
  margin-top: 0.9rem;
}

.goal {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.35;
}

.goal .label {
  display: block;
  margin-bottom: 0.35rem;
}

.note {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.7rem 1.5rem;
  text-decoration: none;
  transition: background 0.25s var(--ease);
}

a.card:hover {
  background: var(--tile-2);
}

.card h3 {
  margin: 0.9rem 0 0.5rem;
  font-size: 1.7rem;
}

.card p:not(.label) {
  margin-bottom: 1.6rem;
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.45;
}

.card-link {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sepp);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

button.card-link:hover {
  color: var(--w);
}

.bibtex {
  margin: 0.9rem 0 0;
  padding: 1.5rem 1.7rem;
  overflow-x: auto;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.65;
}

.bibtex code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

.foot {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.82rem;
  text-align: center;
}

:focus-visible {
  outline: 2px solid var(--sepp);
  outline-offset: 3px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

@keyframes grow-y {
  from {
    transform: scaleY(0);
  }
}

@keyframes grow-x {
  from {
    transform: scaleX(0);
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
}

.reveal.in {
  animation: rise 0.95s var(--ease) both;
}

.charts.in .plot i {
  animation: grow-y 1.1s var(--ease) 0.2s both;
}

.hbars.in .hbar i {
  animation: grow-x 1.1s var(--ease) 0.2s both;
}

.kept.in li.cited {
  animation: slide-in 0.7s var(--ease) 0.7s both;
}

.kept.in li.added {
  animation: slide-in 0.7s var(--ease) 1.4s both;
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .nav-side {
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }

  .split,
  .split-even,
  .method-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .kept {
    position: static;
  }

  .method.pin .method-stage {
    align-items: start;
  }

  .method.pin .method-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .method.pin .method-fig {
    order: -1;
  }

  .method.pin .method-copy .eyebrow,
  .method.pin h2 {
    display: none;
  }

  .method.pin .steps {
    position: relative;
  }

  .method.pin .steps li {
    padding-top: 0.2rem;
    border-top: 0;
  }

  .method.pin .steps li:not(.on) {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
  }

  .method.pin .viewport {
    aspect-ratio: 4 / 3;
    max-height: 54vh;
    max-height: 54svh;
  }
}

@media (max-aspect-ratio: 1 / 1) {
  .hero-panels {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 2.2rem, (100vh - var(--nav-h) - 8rem) * 0.585);
    width: min(100% - 2.2rem, (100svh - var(--nav-h) - 8rem) * 0.585);
  }

  .hud-clock {
    font-size: 1.15rem;
  }

  .hud-name,
  .hud-out {
    font-size: 0.8rem;
  }
}

@media (min-width: 721px) and (max-height: 800px) {
  .wordmark {
    font-size: min(17vw, 17vh);
  }

  .cta {
    margin-top: 1.3rem;
  }

  .authors {
    margin-top: 1.4rem;
    line-height: 1.6;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .orgs {
    left: 1.1rem;
    gap: 0.8rem;
  }

  .orgs img {
    height: 1.45rem;
  }

  .orgs img.org-ms {
    height: 0.82rem;
  }

  .hero-copy {
    padding-top: 2.2rem;
  }

  .wrap,
  .nav-in,
  .hero-copy,
  .hero-task {
    width: calc(100% - 2.2rem);
  }

  .title br {
    display: none;
  }

  .authors {
    margin-top: 1.8rem;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .authors span {
    margin: 0 0.4em;
  }

  .hero-task {
    font-size: 0.8rem;
  }

  .hero-task .label {
    display: block;
    margin: 0 0 0.2rem;
  }

  .tabs {
    width: auto;
    border-radius: 18px;
  }

  .stage {
    border-radius: 14px;
  }

  .demo-meta,
  .charts,
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .hbar {
    grid-template-columns: 6.4rem minmax(0, 1fr) 2.6rem;
    gap: 0.6rem;
  }

  .plot {
    height: 11rem;
  }

  .plot i {
    height: calc(var(--v) / var(--max) * 8.6rem);
  }
}

@media (max-width: 720px) and (max-height: 700px) {
  .hero-stage {
    padding-bottom: 2.6rem;
  }

  .hero-copy {
    padding-top: 2.8rem;
  }

  .wordmark {
    font-size: 3.5rem;
  }

  .title {
    font-size: 1.12rem;
  }

  .tagline {
    margin-top: 0.7rem;
    font-size: 0.92rem;
  }

  .cta {
    gap: 0.4rem;
    margin-top: 1.1rem;
  }

  .btn {
    padding: 0.55em 0.95em 0.57em;
    font-size: 0.84rem;
  }

  .btn small {
    display: none;
  }

  .authors {
    margin-top: 1.1rem;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .affiliations {
    margin-top: 0.5rem;
    font-size: 0.74rem;
  }

  .orgs img {
    height: 1.25rem;
  }

  .orgs img.org-ms {
    height: 0.7rem;
  }
}

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

.log-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 2.4rem;
}

.log-stats .stat b small {
  margin-left: 0.12em;
  color: var(--dim);
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.log-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.log-cat {
  padding: 1.25rem 1.35rem 1.15rem;
}

.log-cat-name {
  margin: 0 0 0.55rem;
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 600;
}

.log-cat-score {
  display: block;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.log-cat-meta,
.log-cat-count {
  margin: 0.6rem 0 0;
  color: var(--gray);
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}

.log-cat-count {
  margin-top: 0.45rem;
  color: var(--dim);
}

.log-bar {
  height: 4px;
  margin-top: 0.95rem;
  overflow: hidden;
  border-radius: 2px;
  background: var(--tile-3);
}

.log-bar i {
  display: block;
  width: calc(var(--p, 0) * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--sepp);
}

.log-table {
  padding: 0.6rem 0 0.4rem;
}

.log-bar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 0.75rem 1.4rem 1rem;
}

.log-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.log-pill {
  padding: 0.42rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font: 500 0.88rem/1 var(--sans);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.log-pill:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--w);
}

.log-pill[aria-pressed="true"] {
  border-color: var(--w);
  background: var(--w);
  color: var(--ink);
}

.log-when {
  margin: 0;
  color: var(--gray);
  font-size: 0.86rem;
}

.log-when span {
  color: var(--sepp);
  font-weight: 600;
}

.log-head,
.log-row summary {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) 4.2rem 4.2rem 4.6rem 5rem 25.2rem;
  align-items: center;
  gap: 0 1rem;
  padding: 0 1.4rem;
}

.is-complete:not(.has-versus) .log-head,
.is-complete:not(.has-versus) .log-row summary {
  grid-template-columns: minmax(11rem, 1fr) 4.2rem 4.6rem 5rem 25.2rem;
}

.is-complete .log-done {
  display: none;
}

.log-head {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font: 500 0.74rem/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.log-head span:nth-child(n + 2):nth-child(-n + 6) {
  text-align: right;
}

.log-row {
  border-bottom: 1px solid var(--line);
}

.log-row:last-child {
  border-bottom: 0;
}

.log-row summary {
  min-height: 3.4rem;
  padding-block: 0.55rem;
  list-style: none;
  cursor: pointer;
  transition: background 0.2s;
}

.log-row summary::-webkit-details-marker {
  display: none;
}

.log-row summary:hover,
.log-row[open] > summary {
  background: rgba(255, 255, 255, 0.035);
}

.log-row summary:focus-visible {
  outline: 2px solid var(--sepp);
  outline-offset: -2px;
}

.log-name {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  min-width: 0;
}

.log-name b {
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.log-name b::before {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin: 0 0.65rem 0.12rem 0.05rem;
  border-right: 1.5px solid var(--dim);
  border-bottom: 1.5px solid var(--dim);
  transform: rotate(-45deg);
  transition: transform 0.2s;
}

.log-row[open] > summary .log-name b::before {
  transform: rotate(45deg);
}

.log-name i {
  display: none;
  color: var(--dim);
  font-size: 0.8rem;
  font-style: normal;
  white-space: nowrap;
}

.log-num {
  color: var(--soft);
  font: 500 0.9rem/1 var(--mono);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.log-score {
  color: var(--w);
  font-weight: 600;
}

.log-done {
  color: var(--gray);
}

.log-astra {
  display: none;
  color: var(--gray);
}

.has-versus .log-astra {
  display: block;
}

.log-head .log-astra {
  color: inherit;
}

.log-cat-meta-next {
  margin-top: 0.2rem;
}

.log-key {
  margin: -1.2rem 0 1.6rem;
  color: var(--gray);
  font-size: 0.92rem;
}

.log-key b {
  color: var(--sepp);
  font-weight: 600;
}

.log-cat-score small {
  margin-left: 0.1em;
  color: var(--dim);
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.log-vs {
  display: grid;
  gap: 5px;
  margin-top: 0.95rem;
}

.log-vs-bar {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--tile-3);
}

.log-vs-bar i {
  display: block;
  width: calc(var(--p, 0) * 100%);
  height: 100%;
  border-radius: inherit;
  transform-origin: left;
}

.log-vs-bar.is-seek i {
  background: var(--sepp);
}

.log-vs-bar.is-astra i {
  background: var(--gray);
}

.log-cats.in .log-vs-bar i {
  animation: grow-x 1.2s var(--ease) 0.25s both;
}

.log-cats.in .log-vs-bar.is-astra i {
  animation-delay: 0.1s;
}

.versus {
  margin: clamp(2.8rem, 5vw, 3.8rem) 0 0;
}

.versus-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin-bottom: 1.3rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.versus-key span::before {
  content: "";
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  vertical-align: 0.02em;
}

.versus-key .k-astra::before {
  background: var(--gray);
}

.versus-key .k-seek::before {
  background: var(--sepp);
}

.versus-plot {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
}

.vs-axis {
  position: relative;
  height: clamp(220px, 24vw, 300px);
  color: var(--dim);
  font: 500 0.72rem/1 var(--mono);
}

.vs-axis span {
  position: absolute;
  right: 0.6rem;
  bottom: var(--y);
  transform: translateY(50%);
}

.vs-area {
  position: relative;
  height: clamp(220px, 24vw, 300px);
}

.vs-gl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--y);
  height: 1px;
  background: var(--line);
}

.vs-groups,
.vs-cats {
  display: flex;
  gap: clamp(0.5rem, 1.8vw, 1.6rem);
}

.vs-groups {
  position: absolute;
  inset: 0;
}

.vs-group {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

.vs-col {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 6px;
  transition: background 0.2s;
}

.vs-col:hover {
  background: rgba(255, 255, 255, 0.05);
}

.vs-line,
.vs-dot {
  position: absolute;
  left: 50%;
  transition: bottom 1.1s var(--ease), height 1.1s var(--ease), opacity 0.6s;
  transition-delay: calc(0.25s + var(--i) * 28ms);
}

.vs-line {
  bottom: var(--a);
  width: 2px;
  height: 0;
  border-radius: 1px;
  background: linear-gradient(to top, rgba(134, 134, 139, 0.45), var(--sepp));
  transform: translateX(-50%);
}

.vs-col.is-down .vs-line {
  background: var(--dim);
}

.vs-dot {
  width: clamp(6px, 0.7vw, 10px);
  height: clamp(6px, 0.7vw, 10px);
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.vs-astra {
  bottom: var(--a);
  background: var(--gray);
}

.vs-seek {
  bottom: var(--a);
  background: var(--sepp);
  box-shadow: 0 0 0 3px rgba(201, 169, 233, 0.16);
  opacity: 0;
}

.versus.in .vs-line {
  bottom: var(--lo);
  height: var(--len);
}

.versus.in .vs-seek {
  bottom: var(--s);
  opacity: 1;
}

.vs-cats {
  margin-top: 0.75rem;
}

.vs-cats span {
  flex: 1 1 0;
  min-width: 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.82rem;
  text-align: center;
  white-space: nowrap;
}

.versus figcaption {
  max-width: 46rem;
  margin-top: 1.4rem;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.versus figcaption a {
  color: var(--soft);
}

@media (max-width: 720px) {
  .versus-plot {
    grid-template-columns: 1.6rem minmax(0, 1fr);
  }

  .vs-axis span {
    right: 0.4rem;
    font-size: 0.62rem;
  }

  .vs-groups,
  .vs-cats {
    gap: 0.4rem;
  }

  .vs-cats span {
    font-size: 0.64rem;
  }
}

.vs-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: inherit;
}

.vs-panel + .vs-panel {
  margin-top: clamp(2rem, 3.4vw, 2.8rem);
}

.vs-title {
  grid-column: 1 / -1;
  margin: 0 0 1rem;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.vs-requests .vs-axis,
.vs-requests .vs-area {
  height: clamp(170px, 18vw, 230px);
}

.vs-requests .vs-line {
  background: linear-gradient(to bottom, rgba(134, 134, 139, 0.45), var(--sepp));
}

.vs-requests .vs-line,
.vs-requests .vs-dot {
  transition-delay: calc(0.9s + var(--i) * 28ms);
}

.versus-real .vs-groups,
.versus-real .vs-cats {
  gap: clamp(0.8rem, 3vw, 2.4rem);
}

.versus-real .vs-line {
  width: 3px;
  border-radius: 2px;
}

.versus-real .vs-dot {
  width: clamp(10px, 1.1vw, 14px);
  height: clamp(10px, 1.1vw, 14px);
}

.versus-real .vs-col:hover {
  background: none;
}

.versus-real .vs-line,
.versus-real .vs-dot {
  transition-duration: 1.4s, 1.4s, 0.8s;
  transition-delay: calc(0.7s + var(--i) * 200ms);
}

.vs-num {
  position: absolute;
  left: 50%;
  bottom: var(--a);
  padding: 0.15em 0.35em;
  border-radius: 4px;
  background: var(--bg);
  font: 600 clamp(0.76rem, 1.1vw, 0.95rem)/1 var(--mono);
  white-space: nowrap;
  transition: bottom 1.4s var(--ease), opacity 0.8s;
  transition-delay: calc(0.7s + var(--i) * 200ms);
}

.vs-num-astra {
  color: var(--gray);
  transform: translate(-50%, calc(100% + 0.6rem));
}

.vs-num-seek {
  color: var(--sepp);
  opacity: 0;
  transform: translate(-50%, -0.65rem);
}

.versus.in .vs-num-seek {
  bottom: var(--s);
  opacity: 1;
}

.versus-real .vs-cats span {
  line-height: 1.3;
  white-space: normal;
}

.log-cells {
  display: flex;
  gap: 0.3rem;
}

.log-cell {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 2.2rem;
  height: 1.75rem;
  border-radius: 6px;
  font: 600 0.72rem/1 var(--mono);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.log-cells .log-cell.is-random:nth-child(6) {
  margin-left: 0.55rem;
}

.log-cell.is-done {
  background: color-mix(in oklab, var(--sepp) calc(var(--s, 0) * 70%), var(--tile-3));
  color: var(--w);
}

.log-cell.is-full {
  background: var(--sepp);
  color: var(--ink);
}

.log-cell.is-zero {
  background: var(--bad-wash);
  color: var(--bad);
}

.log-cell.is-random {
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35);
}

.log-cell.is-running {
  border: 1.5px dashed var(--sepp);
  animation: log-pulse 1.8s ease-in-out infinite;
}

.log-cell.is-queued {
  border: 1px solid var(--line);
}

.log-cell.is-check {
  border: 1.5px solid var(--paeb);
  color: var(--paeb);
}

@keyframes log-pulse {
  50% {
    opacity: 0.4;
  }
}

.log-body {
  padding: 0.3rem 1.4rem 1.2rem;
  overflow-x: auto;
}

.log-eps {
  min-width: 34rem;
  margin-left: 1.05rem;
  border-collapse: collapse;
  font: 500 0.84rem/1.3 var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.log-eps th {
  padding: 0.5rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.log-eps td {
  padding: 0.42rem 1.1rem;
  color: var(--soft);
  text-align: right;
}

.log-eps th:nth-child(3),
.log-eps td:nth-child(3) {
  text-align: left;
}

.log-eps tr + tr td {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.log-eps tr.is-queued td {
  color: var(--dim);
}

.log-eps tr.is-running td:nth-child(4) {
  color: var(--sepp);
}

.log-eps tr.is-check td:nth-child(4) {
  color: var(--paeb);
}

.log-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  padding: 1.1rem 1.4rem 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.82rem;
}

.log-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.log-legend span[hidden],
.log-when[hidden] {
  display: none;
}

.log-legend .log-cell {
  width: 1.3rem;
  height: 1rem;
  border-radius: 4px;
  animation: none;
}

.log-foot {
  max-width: 52rem;
  margin: 1.4rem 0 0;
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.55;
}

.log-foot a {
  color: var(--soft);
  text-decoration: underline;
  text-decoration-color: var(--dim);
  text-underline-offset: 0.2em;
}

.log-empty {
  margin: 0;
  padding: 2rem 1.4rem;
  color: var(--gray);
}

.log-cat-row > summary {
  min-height: 3.9rem;
}

.log-cat-row > summary .log-name b {
  color: var(--sepp);
  font-size: 1.04rem;
}

.log-cat-row > summary .log-score {
  font-size: 0.98rem;
}

.log-cat-hint {
  color: var(--dim);
  font: 500 0.8rem/1 var(--mono);
  letter-spacing: 0.02em;
}

.log-cat-row[open] > summary .log-cat-hint {
  visibility: hidden;
}

.log-tasks {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.log-tasks .log-name {
  padding-left: 1.25rem;
}

.log-tasks .log-body {
  padding-left: 2.65rem;
}

.log-meta {
  display: none;
  color: var(--gray);
  font: 500 0.8rem/1.3 var(--mono);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1180px) {
  .log-head,
  .log-row summary {
    grid-template-columns: minmax(10rem, 1fr) 3.8rem 3.8rem 4.2rem 4.6rem 21.6rem;
    gap: 0 0.8rem;
  }

  .is-complete:not(.has-versus) .log-head,
  .is-complete:not(.has-versus) .log-row summary {
    grid-template-columns: minmax(10rem, 1fr) 3.8rem 4.2rem 4.6rem 21.6rem;
  }

  .log-cell {
    width: 1.85rem;
  }
}

@media (max-width: 1000px) {
  .log-stats,
  .log-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .log-head {
    display: none;
  }

  .log-row summary {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name score"
      "meta meta"
      "cells cells";
    gap: 0.35rem 1rem;
    padding-block: 0.9rem;
  }

  .is-complete:not(.has-versus) .log-row summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .has-versus .log-astra {
    display: none;
  }

  .log-name {
    grid-area: name;
  }

  .log-score {
    grid-area: score;
    font-size: 1rem;
  }

  .log-meta {
    display: block;
    grid-area: meta;
    padding-left: 1.1rem;
  }

  .log-done,
  .log-astra,
  .log-success,
  .log-req {
    display: none;
  }

  .log-cells {
    grid-area: cells;
    margin-top: 0.45rem;
  }

  .log-cat-hint {
    display: none;
  }

  .log-tasks .log-name,
  .log-tasks .log-meta {
    padding-left: 1.1rem;
  }

  .log-tasks .log-meta {
    padding-left: 2.2rem;
  }
}

@media (max-width: 720px) {
  .log-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem 1.2rem;
  }

  .log-cats {
    gap: 0.6rem;
  }

  .log-cat {
    padding: 1rem 1.05rem 0.95rem;
  }

  .log-bar-top,
  .log-row summary,
  .log-body,
  .log-legend,
  .log-group {
    padding-inline: 1rem;
  }

  .log-eps {
    min-width: 0;
    margin-left: 0;
    font-size: 0.76rem;
  }

  .log-eps th,
  .log-eps td {
    padding-inline: 0.45rem;
  }

  .log-meta {
    font-size: 0.74rem;
  }

  .log-cells {
    gap: 0.22rem;
  }

  .log-cell {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 1.6rem;
    font-size: 0.64rem;
  }

  .log-cells .log-cell.is-random:nth-child(6) {
    margin-left: 0.3rem;
  }
}
