@font-face { font-family: Centurion; src: url(/fonts/Centurion-Roman.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Jost; src: url(/fonts/jost.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/JetBrainsMono-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #f3f5f6;
  --ink: #0f151b;
  --soft: #5a6670;
  --rule: #cdd5db;
  --mark: #c2381b;
  --serif: Centurion, "Iowan Old Style", Georgia, serif;
  --sans: Jost, "Futura", "Avenir Next", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.35; font-variant-numeric: lining-nums; }
a { color: inherit; }
img { max-width: 100%; }
.page { margin: 0 auto; max-width: 1000px; padding: 0 20px 60px; }

/* The design-round switcher: plain, small, set apart from the page. */
.lookbar { font: 12px/1.6 var(--mono); background: var(--ink); color: #bdb5a8; padding: 6px 20px; text-align: center; }
.lookbar a { color: #fff; text-decoration: none; margin: 0 9px; opacity: 0.6; }
.lookbar a.here { opacity: 1; border-bottom: 1px solid #fff; }

header.top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0 10px; border-bottom: 1.5px solid var(--ink); }
.mark { font-family: var(--sans); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; text-decoration: none; }
.mark span { font-weight: 400; }
header nav, nav.sections, .meta, .host, footer, .more, small, .lede, table.sources .when, h2.sect, .kicker { font-family: var(--sans); }
header nav a { margin-left: 18px; text-decoration: none; font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; }
header nav a:first-child { margin-left: 0; }
nav.sections { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 9px 0; border-bottom: 0.5px solid var(--ink); font-size: 13.5px; }
nav.sections a { text-decoration: none; color: var(--soft); }
nav a.here, nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

h1 { font-family: var(--sans); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: 0.14em; margin: 26px 0 4px; }
.lede { color: var(--soft); font-size: 15px; max-width: 46em; }
.vote { display: inline; margin: 0; }
.vote button { appearance: none; border: 0; background: none; padding: 2px 4px; font: inherit; font-size: 15px; color: var(--soft); cursor: pointer; line-height: 1; }
.vote button:hover { color: var(--ink); }
.voted .vote button, .voted .pts { color: var(--mark); }
.voted .pts { font-weight: 600; }
.meta { margin: 5px 0 0; font-size: 13px; color: var(--soft); }
.meta a { text-decoration: none; }
.meta a:hover { text-decoration: underline; }
.more { font-size: 15px; margin-top: 22px; }
footer { margin-top: 40px; padding-top: 10px; border-top: 0.5px solid var(--ink); font-size: 13px; color: var(--soft); }

/* ---------- A. Ledger ---------- */
ol.items { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: n; }
ol.items li { display: grid; grid-template-columns: 38px 28px 88px 1fr; gap: 0 12px; padding: 14px 0; border-bottom: 0.5px solid var(--rule); align-items: start; counter-increment: n; }
ol.items li::before { content: counter(n) "."; font-family: var(--sans); font-size: 14px; color: var(--soft); text-align: right; padding-top: 4px; grid-column: 1; grid-row: 1; }
ol.items .vote { grid-column: 2; grid-row: 1; }
.thumb { grid-column: 3; grid-row: 1; display: block; width: 88px; height: 66px; background: #ebe5d9; overflow: hidden; }
.thumb:empty { background: repeating-linear-gradient(135deg, transparent 0 6px, #e7e0d2 6px 7px); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.body { grid-column: 4; grid-row: 1; min-width: 0; }
a.title { font-size: 21px; font-weight: 600; text-decoration: none; line-height: 1.2; }
a.title:visited { color: #5c544b; }
a.title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.host { font-size: 12.5px; color: var(--soft); margin-left: 6px; }
.summary { margin: 4px 0 0; font-size: 15.5px; font-weight: 450; color: #2e2a25; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
ol.items + .more { margin-left: 178px; }
ol.items li::before { content: counter(n) "."; }

/* ---------- D. Instrument ---------- */
.look-instrument { --paper: #f2f2ef; --ink: #0d0d0d; --soft: #7a7a76; --rule: #cfcfca; --mark: #ff4f00; }
.look-instrument body, body.look-instrument { font-family: var(--sans); }
.look-instrument .page { max-width: 1240px; background-image: linear-gradient(var(--rule) 0.5px, transparent 0.5px); background-size: 100% 48px; }
.look-instrument header.top { border-bottom: 2px solid var(--ink); align-items: center; }
.look-instrument .mark { font-family: var(--sans); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; }
.look-instrument .mark span { color: var(--mark); font-weight: 800; }
.look-instrument .greeble, .look-instrument header nav a, .look-instrument nav.sections, .look-instrument h1, .look-instrument footer, .look-instrument .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.look-instrument header nav a { color: var(--ink); }
.look-instrument nav.sections a { color: var(--soft); }
.sheet { margin-top: 18px; border-top: 1px solid var(--ink); }
.sheet-head, .sheet .row { display: grid; grid-template-columns: 44px 62px 70px minmax(0, 1fr) 190px 100px 44px; gap: 0 12px; align-items: center; }
.sheet-head { font: 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); padding: 6px 0; border-bottom: 0.5px solid var(--ink); }
.sheet .row { padding: 8px 0; border-bottom: 0.5px solid var(--rule); min-height: 64px; }
.sheet .row:hover { background: #e9e9e5; }
.sheet .no, .sheet .age, .sheet .src, .sheet .field, .sheet small, .sheet .cap { font: 11px var(--mono); letter-spacing: 0.04em; color: var(--soft); text-transform: uppercase; text-decoration: none; }
.sheet .src, .sheet .field { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet .src:hover, .sheet .field:hover { color: var(--ink); }
.sheet .cap button { font: 11px var(--mono); border: 1px solid var(--ink); border-radius: 99px; padding: 3px 8px; color: var(--ink); }
.sheet .voted .cap button { background: var(--mark); border-color: var(--mark); color: #fff; }
.sheet .voted .cap .pts { color: #fff; }
.sheet .cap b { font-weight: 400; }
.plate { display: block; width: 70px; height: 48px; overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.08); }
.row:hover .plate img { filter: none; }
.swatch-empty { display: block; width: 100%; height: 100%; background: radial-gradient(var(--rule) 1px, transparent 1.2px) 0 0 / 6px 6px; }
.sheet .t { min-width: 0; }
.sheet .title { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2; display: block; }
.sheet small { display: block; margin-top: 3px; font-size: 10px; }
.chip { display: inline-block; width: 8px; height: 8px; margin: 0 4px -1px 0; }
.look-instrument .more a { font: 12px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }
.look-instrument .prose, .look-instrument table.sources { font-family: var(--sans); }

/* ---------- other pages ---------- */
h2.sect { font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; margin: 34px 0 6px; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
h2.sect a { text-decoration: none; }
h2.sect small { color: var(--soft); font-weight: 400; letter-spacing: 0; }
table.sources { width: 100%; border-collapse: collapse; font-size: 15px; }
table.sources td { padding: 5px 10px 5px 0; border-bottom: 0.5px solid var(--rule); vertical-align: top; }
table.sources td:first-child { width: 28%; }
table.sources .note { color: #3d3831; font-size: 14px; }
table.sources .when { white-space: nowrap; color: var(--soft); font-size: 12.5px; text-align: right; width: 7em; }
tr.err td:first-child a { text-decoration: line-through; text-decoration-color: var(--mark); }
.sourcehead { margin-top: 10px; }
.sourcehead h2 { font-size: 30px; font-weight: 500; margin: 0 0 6px; }
.prose { max-width: 36em; font-size: 19px; }
.prose code { font-size: 15px; }

@media (max-width: 760px) {
  header.top { display: block; }
  header.top nav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
  header nav a, header nav a:first-child { margin-left: 0; font-size: 12.5px; }
  header nav a.acct { margin-left: 0; padding-left: 0; border-left: 0; text-decoration: underline; }
  nav.sections { font-size: 12.5px; gap: 3px 12px; }
  body { font-size: 17px; }
  .page { padding: 0 12px 40px; }
  ol.items li { grid-template-columns: 22px 64px 1fr; gap: 0 10px; }
  ol.items li::before { display: none; }
  ol.items .vote { grid-column: 1; }
  .thumb { grid-column: 2; width: 64px; height: 52px; }
  .body { grid-column: 3; }
  a.title { font-size: 18.5px; }
  ol.items .summary { display: none; }
  ol.items + .more { margin-left: 0; }
  table.sources .note { display: none; }
  .sheet-head { display: none; }
  .sheet .row { grid-template-columns: 34px 56px minmax(0, 1fr); grid-template-rows: auto auto; }
  .sheet .no { display: none; }
  .sheet .cap { grid-column: 1; grid-row: 1 / 3; }
  .sheet .plate { grid-column: 2; grid-row: 1 / 3; width: 56px; }
  .sheet .t { grid-column: 3; }
  .sheet .src { grid-column: 3; grid-row: 2; }
  .sheet .field, .sheet .age, .look-instrument .greeble { display: none; }
}

/* Feed text can carry unbroken runs (long URLs, rules drawn in characters). */
a.title, .summary, .cbody { overflow-wrap: anywhere; }

/* ---------- members ---------- */
header nav a.acct { margin-left: 26px; padding-left: 18px; border-left: 0.5px solid var(--ink); }
.by { font-weight: 600; }
.notice { font-family: var(--sans); font-size: 14.5px; background: #ece5d6; padding: 9px 12px; margin: 16px 0; }
.look-instrument .notice { background: #e4e4df; font-family: var(--mono); font-size: 12px; }
.signin { font-family: var(--sans); font-size: 15px; margin: 18px 0; }
.talk { margin-top: 18px; max-width: 760px; }
.say textarea, .submit input[type=url], .submit input[type=text] { width: 100%; font: 17px/1.4 var(--serif); padding: 8px 10px; border: 1px solid var(--ink); background: #fffdf8; color: var(--ink); border-radius: 0; }
.look-instrument .say textarea, .look-instrument .submit input { font-family: var(--sans); background: #fff; }
.say-foot { display: flex; gap: 14px; align-items: baseline; margin-top: 6px; }
.say-foot small { color: var(--soft); font-size: 12px; line-height: 1.35; }
.say button, .submit button, .queue button, .cact button, form.inline button {
  font: 600 13px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 0; padding: 7px 14px; }
form.inline { display: inline; }
form.inline button, .cact summary { background: none; color: var(--soft); padding: 0 8px 0 0; font: 12px var(--sans); text-transform: lowercase; letter-spacing: 0; cursor: pointer; }
form.inline button:hover, .cact summary:hover { color: var(--ink); text-decoration: underline; }
.cact { display: inline-block; vertical-align: top; }
.cact[open] { display: block; margin: 6px 0 10px; }
.cact summary { list-style: none; display: inline; }
.cact summary::-webkit-details-marker { display: none; }
ul.thread { list-style: none; padding: 0; margin: 18px 0 0; }
ul.thread ul.thread { margin: 10px 0 0 22px; padding-left: 14px; border-left: 0.5px solid var(--rule); }
li.c { margin: 0 0 16px; }
.cmeta { font: 12.5px var(--sans); color: var(--soft); margin: 0 0 3px; }
.cmeta .by { color: var(--ink); }
.cbody { font-size: 17px; line-height: 1.42; }
.look-instrument .cbody { font-family: var(--sans); font-size: 15.5px; }
.cbody p { margin: 0 0 8px; }
li.c.held > .cbody { opacity: 0.6; }
.gone { color: var(--soft); font-style: italic; font-size: 15px; }
.submit { max-width: 640px; display: grid; gap: 14px; margin-top: 10px; }
.submit label { font: 13px var(--sans); text-transform: uppercase; letter-spacing: 0.1em; display: grid; gap: 4px; }
.submit label.check { display: flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 15px; }
.submit button { justify-self: start; }
ul.queue { list-style: none; padding: 0; }
ul.queue li { padding: 12px 0; border-bottom: 0.5px solid var(--rule); }
.sheet .src .by { font-weight: 400; color: var(--ink); }
.editor-bar { font: 12px var(--sans); color: var(--mark); margin: 8px 0 0; }
@media (max-width: 760px) {
  header nav a.acct { margin-left: 0; padding-left: 0; border-left: 0; text-decoration: underline; }
}
.sheet .src a { text-decoration: none; }
