:root {
  color-scheme: light;
  /* Same achromatic tokens as the game page. */
  --wall: #ffffff;
  --ink: #111111;
  --ink-hover: #333333;
  --ink-soft: #595959;
  --rule: #d4d4d4;
  --plate: #f2f2f2;
  --hero: #0040ff;
  --gutter: 20px;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wall); color: var(--ink); font: 17px/1.55 var(--sans); }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.paint-fill { height: 72px; background: var(--hero); }
.paint-label { display: none; }
.mast { padding: 16px var(--gutter); }
.mast a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.mast svg { flex: none; width: 19px; height: 34px; }
.mast span { font-size: 19px; font-weight: 600; letter-spacing: -.012em; line-height: 1.1; }

.prose { max-width: 36rem; padding: 12px var(--gutter) 40px; overflow-wrap: break-word; }
.prose h1 { font-size: 40px; line-height: 1.08; letter-spacing: -.028em; font-weight: 500; }
.lede { margin-top: 14px; font-size: 21px; line-height: 1.3; letter-spacing: -.012em; font-weight: 500; }
.prose h2 { margin-top: 40px; padding-top: 10px; border-top: 1px solid var(--ink); font-size: 22px; line-height: 1.2; font-weight: 500; letter-spacing: -.014em; }
.prose h3 { margin-top: 22px; font-size: 17px; line-height: 1.3; font-weight: 600; }
.prose p, .prose li { margin-top: 10px; }
.prose h3 + p { margin-top: 4px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { padding-left: .15em; }
.updated { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.scores { width: 100%; margin-top: 14px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 16px; }
.scores th, .scores td { padding: 8px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.scores th { color: var(--ink-soft); font-size: 14px; border-bottom-color: var(--ink); }
.scores td:last-child, .scores th:last-child { text-align: right; }
.go { display: flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 32px; padding: 0 22px; background: var(--ink); color: var(--wall); font-weight: 500; text-decoration: none; }
.go:hover { background: var(--ink-hover); }

.site-foot { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 10px var(--gutter) 28px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-soft); }
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.site-foot a:hover { color: var(--ink); }

@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .page { display: grid; grid-template-columns: minmax(0, 1fr) max(42vw, 32rem); }
  .paint { position: sticky; top: 0; height: 100vh; }
  .paint-fill { height: 100%; }
  .paint-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: baseline; padding: 16px 24px; color: var(--wall); font-size: 13px; font-weight: 500; letter-spacing: .02em; }
  .paint-label .hex { font-family: var(--mono); font-weight: 400; }
  .mast { padding-top: 28px; }
  .prose { padding-top: 7vh; }
  .prose h1 { font-size: 52px; }
  .lede { font-size: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .go { transition: background-color .12s linear; }
}
