/* browser/app.css */
@font-face {
  font-family: Monocraft;
  src: url(/assets/Monocraft.ttf) format("truetype");
  font-display: swap;
  font-weight: 400;
}
:root {
  --paper:#f5f3ec;
  --paper-2:#eae7dd;
  --ink:#17161a;
  --ink-700:#3a3840;
  --green-300:#a8d786;
  --green-500:#54a628;
  --green-700:#2d7b0d;
  --green-800:#22600a;
  --green-900:#194407;
  --yellow:#f4cf43;
  --yellow-700:#966e05;
  --error:#9e2434;
  --display:Monocraft,"Lucida Console",Consolas,monospace;
  --body:system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  --mono:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  --stroke:.018em;
  --pad:clamp(16px,4vw,56px);
  --t-tap:70ms;
  --t-quick:140ms;
  --t-move:220ms;
  --ease-snap:cubic-bezier(.2,.9,.25,1.08);
  --ease-out:cubic-bezier(.16,1,.3,1);
  color-scheme: light;
  font-synthesis: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 300px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  -webkit-text-stroke: .012em currentColor;
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 24px;
}
h3 {
  font-size: 22px;
  margin: 0 0 12px;
}
p {
  margin: 0 0 .75em;
  text-wrap: pretty;
}
a {
  color: var(--green-800);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  font-weight: 700;
}
a:hover {
  color: var(--ink);
  background: var(--yellow);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
}
code {
  font-family: var(--mono);
  font-size: .9em;
  background: var(--paper-2);
  padding: .05em .35em;
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--yellow);
}
[hidden] {
  display: none !important;
}
.an {
  font-family: var(--display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.55;
  margin: 0;
}
.an.green {
  color: var(--green-700);
}
header.site {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px var(--pad);
  flex-wrap: wrap;
}
.mark {
  font-family: var(--display);
  font-weight: 400;
  -webkit-text-stroke: var(--stroke) currentColor;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
}
.mark:hover {
  background: none;
  color: var(--green-700);
}
#nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-right: auto;
}
#nav form {
  margin: 0;
}
.network {
  font-family: var(--display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
main {
  padding: 24px var(--pad) 96px;
  max-width: 1480px;
  margin: 0 auto;
}
section {
  margin: 0 0 72px;
}
.blk {
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  -webkit-text-stroke: .02em currentColor;
  font-size: 13px;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 14px 18px;
  border: 0;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .45);
  cursor: pointer;
  transition:
    background var(--t-quick) var(--ease-out),
    transform var(--t-tap) linear,
    box-shadow var(--t-tap) linear;
}
.blk:hover:not(:disabled) {
  background: var(--green-700);
  color: var(--paper);
}
.blk:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .45);
}
.blk:disabled {
  cursor: not-allowed;
  background: var(--ink-700);
  box-shadow: none;
}
.word {
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(var(--yellow), var(--yellow)) left/0 100% no-repeat;
  border: 0;
  padding: 6px 10px;
  margin: 0 -10px;
  cursor: pointer;
  transition: background-size var(--t-quick) var(--ease-out);
}
.word:hover {
  background-size: 100% 100%;
  color: var(--ink);
}
.word[aria-current] {
  background: var(--green-700);
  color: var(--paper);
}
.tog {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.tog button {
  font-family: var(--display);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: transparent;
  border: 0;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: inset 0 -4px 0 var(--ink);
  transition: background var(--t-tap) linear, color var(--t-tap) linear;
}
.tog button[aria-pressed=true] {
  background: var(--ink);
  color: var(--paper);
}
.tog button:hover:not([aria-pressed=true]) {
  background: var(--yellow);
}
.x {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: transform var(--t-move) var(--ease-snap), background var(--t-tap) linear;
}
.x:hover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(90deg);
}
.hero {
  margin: 24px 0 40px;
}
.hero .title {
  position: relative;
}
.hero .band {
  position: absolute;
  left: calc(-1 * var(--pad) - 60px);
  top: 38%;
  width: min(92vw, 980px);
  height: 46%;
  background: var(--green-500);
  z-index: 0;
}
.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(56px, 13vw, 200px);
  line-height: .88;
  -webkit-text-stroke: var(--stroke) currentColor;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.hero .an {
  margin: 0 0 16px;
}
.lede {
  font-size: 18px;
  line-height: 1.45;
  max-width: 46ch;
  margin: 0 0 32px;
}
.headline-wrap {
  position: relative;
  margin: 12px 0 32px;
  font-size: clamp(26px, 3.6vw, 48px);
}
.headline {
  position: relative;
  font-family: var(--display);
  font-weight: 400;
  -webkit-text-stroke: .012em currentColor;
  font-size: 1em;
  line-height: 1.12;
  max-width: 28ch;
  margin: 0;
  z-index: 1;
}
.headline-wrap .band {
  position: absolute;
  left: calc(-1 * var(--pad) - 40px);
  top: .62em;
  width: min(60vw, 560px);
  height: .62em;
  background: var(--green-500);
  z-index: 0;
}
.prose {
  max-width: 70ch;
}
.prose li {
  margin: 0 0 8px;
}
.rows {
  margin: 0 0 24px;
}
.row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 260px) 150px;
  align-items: baseline;
  gap: 20px;
  padding: 14px 8px 12px;
  margin: 0 -8px;
  color: inherit;
  text-decoration: none;
  font-weight: 400;
  box-shadow: inset 0 -4px 0 var(--ink);
  transition: background var(--t-tap) linear, color var(--t-tap) linear;
}
a.row:hover,
label.row:hover,
.row.pick:hover {
  background: var(--ink);
  color: var(--paper);
}
a.row:hover .an,
label.row:hover .an {
  color: var(--green-300);
}
.row .t {
  font-family: var(--display);
  font-weight: 400;
  -webkit-text-stroke: .012em currentColor;
  font-size: 22px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.row .t.lg {
  font-size: 32px;
}
.row .y {
  font-family: var(--display);
  font-size: 13px;
  text-align: right;
}
.row input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--green-700);
  margin: 0;
}
.row[data-selected=true] {
  background: var(--green-700);
  color: var(--paper);
}
.row[data-selected=true] .an {
  color: var(--green-300);
}
.bar {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0;
}
.row.group {
  grid-template-columns: 44px minmax(0, 220px) minmax(0, 1fr);
}
.row.group p {
  margin: 0;
  font-size: 15px;
}
form + .an {
  margin-top: 20px;
}
.drop {
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 32px;
  background: var(--green-700);
  color: var(--paper);
  cursor: pointer;
  text-align: center;
  transition: background var(--t-tap) linear;
}
.drop[data-over=true],
.drop:hover {
  background: var(--ink);
}
.drop strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  -webkit-text-stroke: .012em currentColor;
  font-size: clamp(26px, 4vw, 44px);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 12px;
}
.drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  margin: 0 0 40px;
  position: relative;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  -webkit-text-stroke: .016em currentColor;
  font-size: clamp(48px, 7vw, 104px);
  line-height: .88;
  letter-spacing: -.02em;
}
.stat.small b {
  font-size: clamp(32px, 4vw, 52px);
}
.stat .an {
  margin-top: 12px;
}
.stat.hot {
  position: relative;
  padding: 16px 20px 16px 0;
  z-index: 0;
}
.stat.hot::before {
  content: "";
  position: absolute;
  inset: 0 0 0 calc(-1 * var(--pad) - 40px);
  background: var(--yellow);
  z-index: -1;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.scroll {
  overflow-x: auto;
  margin: 0 0 24px;
}
th {
  font-family: var(--display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  padding: 8px 12px 10px 0;
  box-shadow: inset 0 -4px 0 var(--ink);
  white-space: nowrap;
}
td {
  padding: 10px 12px 8px 0;
  vertical-align: top;
  overflow-wrap: anywhere;
}
tbody tr:hover {
  background: var(--ink);
  color: var(--paper);
}
td.num,
th.num {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
form.panel {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin: 0 0 32px;
}
label.field {
  display: grid;
  gap: 6px;
}
input[type=text],
input[type=number],
input[type=search],
textarea {
  width: 100%;
  font-size: 17px;
  padding: 10px 4px 8px;
  background: transparent;
  border: 0;
  box-shadow: inset 0 -4px 0 var(--ink);
}
input[type=text]:focus-visible,
input[type=number]:focus-visible,
input[type=search]:focus-visible,
textarea:focus-visible {
  background: var(--paper-2);
}
.heat {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 640px);
  gap: 12px;
  margin: 0 0 24px;
}
.heat canvas {
  width: 100%;
  aspect-ratio: 1;
  image-rendering: pixelated;
  background: var(--paper-2);
  cursor: crosshair;
  touch-action: none;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.legend span:not(.an) {
  width: 24px;
  height: 14px;
}
.legend .an {
  margin: 0 10px;
}
.tip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 10px;
  font-size: 13px;
  max-width: 280px;
  z-index: 2;
}
.tip strong {
  display: block;
  font-family: var(--mono);
  font-size: 16px;
}
.meter {
  position: relative;
  height: 12px;
  background: var(--paper-2);
  max-width: 520px;
  margin: 0 0 28px;
}
.meter .fill {
  display: block;
  height: 100%;
  background: var(--green-700);
}
.meter .an {
  position: absolute;
  left: 0;
  top: 18px;
}
.timeline svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.timeline text {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  fill: var(--ink);
}
#notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 16px var(--pad);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}
#notice .x {
  color: var(--paper);
}
.error {
  color: var(--error);
  font-weight: 600;
}
@media (max-width: 760px) {
  .row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 12px;
  }
  .row > :nth-child(n+3) {
    grid-column: 2;
  }
  .row .y {
    text-align: left;
  }
  .row .t {
    font-size: 17px;
  }
  .stats {
    gap: 28px 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
