@charset "UTF-8";

/* 10 o'clock, prototype styling. Dark academic with the lights off. */

:root {
  --ink: #e7e3d8;
  --dim: #8d8778;
  --paper: #0e0f12;
  --rule: #262a33;
  --live: #4fd6c9;
  --warn: #c98b4f;
  --font: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 16px 64px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.45;
}

.masthead { max-width: 860px; margin: 0 auto; padding: 48px 0 24px; border-bottom: 1px solid var(--rule); }
.masthead h1 { margin: 0; font-size: 2.2rem; letter-spacing: 0.02em; font-weight: 500; }
.masthead h1 a { color: var(--ink); text-decoration: none; }
footer a { color: var(--live); }
.masthead .sub { margin: 6px 0 8px; font-size: 1.02rem; }
.truth { margin: 0 0 14px; font-size: 0.86rem; color: var(--warn); max-width: 70ch; }
.meta, .receipt { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); letter-spacing: 0.02em; }
.sep { color: var(--rule); padding: 0 4px; }

main { max-width: 860px; margin: 0 auto; }

.story { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.rank { flex: 0 0 62px; text-align: right; font-family: var(--mono); }
.rank .n { display: block; font-size: 1.5rem; }
.delta { font-size: 0.72rem; }
.delta.up { color: var(--live); }
.delta.down { color: var(--warn); }
.delta.flat { color: var(--rule); }

.body { flex: 1 1 auto; min-width: 0; }
.story h2 { margin: 0 0 6px; font-size: 1.22rem; font-weight: 500; line-height: 1.3; }
.story h2 a { color: var(--ink); text-decoration: none; }
.story h2 a:hover { color: var(--live); }
.receipt b { color: var(--live); font-weight: 600; }
/* Chains are a different measurement from independence, so they are a different
   colour. Same number in both slots would otherwise read as one number twice. */
.receipt b.chains { color: var(--warn); }
.receipt .unknown { color: var(--dim); font-style: italic; }
.receipt span[title] { border-bottom: 1px dotted var(--rule); cursor: help; }

.bar { height: 3px; background: var(--rule); margin: 10px 0 12px; }
.fill { display: block; height: 3px; background: var(--live); }

/* Who everybody is citing. Evidence for the reader, never part of the score. */
.origins {
  margin: 0 0 9px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--warn);
}
.origins .tag {
  font-size: 0.6rem;
  border: 1px solid var(--rule);
  color: var(--dim);
  padding: 1px 5px;
  margin-right: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sources { list-style: none; margin: 0; padding: 0; font-size: 0.86rem; }
.src { display: inline-block; margin: 0 14px 4px 0; color: var(--dim); }
.src a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.src a:hover { border-bottom-color: var(--live); }
.src .cc { font-family: var(--mono); font-size: 0.7rem; color: var(--dim); }
.cc-flag {
  display: inline-block;
  width: 12px;
  height: 9px;
  margin: 0 3px 0 2px;
  object-fit: cover;
  vertical-align: baseline;
  box-shadow: 0 0 0 1px rgba(236, 231, 219, 0.14);
}
.src.echo { color: var(--warn); }
.tag { font-family: var(--mono); font-size: 0.68rem; border: 1px solid var(--warn); padding: 1px 5px; margin-right: 4px; }

footer { max-width: 860px; margin: 32px auto 0; color: var(--dim); font-size: 0.82rem; }

@media (max-width: 640px) {
  .masthead h1 { font-size: 2rem; }
  .story { gap: 12px; }
  .rank { flex-basis: 44px; }
}

.fill.w0 { width: 0%; }
.fill.w5 { width: 5%; }
.fill.w10 { width: 10%; }
.fill.w15 { width: 15%; }
.fill.w20 { width: 20%; }
.fill.w25 { width: 25%; }
.fill.w30 { width: 30%; }
.fill.w35 { width: 35%; }
.fill.w40 { width: 40%; }
.fill.w45 { width: 45%; }
.fill.w50 { width: 50%; }
.fill.w55 { width: 55%; }
.fill.w60 { width: 60%; }
.fill.w65 { width: 65%; }
.fill.w70 { width: 70%; }
.fill.w75 { width: 75%; }
.fill.w80 { width: 80%; }
.fill.w85 { width: 85%; }
.fill.w90 { width: 90%; }
.fill.w95 { width: 95%; }
.fill.w100 { width: 100%; }
