:root {
  color-scheme: dark;
  --navy: #0b1247; --ink: #0a0f33;
  --amber: #f28c1e; --cream: #fbe3b5;
  --paper: #fff6e3; --rule: #e8d3a8;
  --text: #1b1d3f; --muted: #55506e;
  --fail: #cc3517; --fail-ink: #a82a10;
  --off: #f28c1e; --off-ink: #8a4a00;
  --pass: #2b7a4b; --pass-ink: #1f6139;
  --none: #5b5870;
  --display: Rockwell, "Rockwell Nova", "Roboto Slab", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier New", Courier, ui-monospace, "Cascadia Mono", Consolas, monospace;
  --code: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --grit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='70'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 0 0 0 2.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--cream); font: 16px/1.45 var(--sans); background-color: var(--navy);
  background-image: radial-gradient(rgba(251, 227, 181, 0.06) 1px, transparent 1.2px); background-size: 22px 22px;
  overflow-wrap: anywhere;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 14px 16px 36px; }
.wrap.narrow { max-width: 640px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.1; }
button, input { font: inherit; }
code { font-family: var(--code); }
ul, ol { list-style: none; margin: 0; padding: 0; }
.label { font: 700 15px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* header */
.top { display: grid; grid-template-columns: 76px 1fr; grid-template-areas: "mug id" "chip chip"; column-gap: 14px; row-gap: 10px; align-items: center; padding: 4px 0 18px; }
.mug { grid-area: mug; width: 76px; height: 76px; border-radius: 10px; border: 3px solid var(--cream); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25); transform: rotate(-3deg); background: var(--navy); }
.id { grid-area: id; min-width: 0; }
.id h1 { font-size: 44px; color: var(--cream); }
.id p { margin: 4px 0 0; font-size: 16px; color: #efe1c3; }
.head-r { grid-area: chip; justify-self: start; display: grid; gap: 10px; max-width: 100%; }
.follow { display: flex; flex-wrap: wrap; gap: 8px; }
.follow[hidden] { display: none; }
.chip { justify-self: start; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 3px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 800; max-width: 100%; }
.chip .tick { padding: 0 8px 0 12px; }
.chip a.tick { color: var(--ink); text-decoration: none; }
.chip a.tick:hover { text-decoration: underline; }
.chip .contract { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 2px 4px 2px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 15px; font-weight: 600; }
.chip .contract .soon { font-family: var(--sans); padding-right: 8px; }
.chip .copy { color: var(--cream); border-color: var(--cream); min-height: 30px; }
.chip .copy:hover { background: var(--cream); color: var(--ink); }

/* shared */
.paper { position: relative; background: var(--paper); color: var(--text); border-radius: 10px; box-shadow: 0 2px 0 rgba(10, 15, 51, 0.35), 0 10px 24px rgba(0, 0, 0, 0.22); }
.copy { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 12px; border: 1.5px solid var(--text); border-radius: 999px; background: transparent; color: var(--text); font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.copy:hover { background: var(--text); color: var(--paper); }
.copy.ok, .chip .copy.ok { background: var(--pass); border-color: var(--pass); color: #fff; }
.sec { margin-top: 26px; }
.sec-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.sec-h h2 { font-size: 28px; color: var(--cream); }
.sec-h .sub { font-size: 15px; color: #e3d6bb; }
.delay { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; color: var(--cream); border: 1.5px dashed rgba(251, 227, 181, 0.55); border-radius: 999px; padding: 2px 12px; }
.delay::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.dry { color: var(--muted); font-style: italic; padding: 12px 14px; font-size: 16px; }
.main .notes > .dry { background: rgba(251, 227, 181, 0.08); color: #efe1c3; border-radius: 10px; border: 1.5px dashed rgba(251, 227, 181, 0.4); }
#check-result .dry { padding: 10px 0 0; margin: 0; }

/* stamps: each verdict has its own shape and glyph as well as its own colour */
.stamp { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 5px 9px; font: 900 15px/1 var(--display); letter-spacing: 0.1em; white-space: nowrap; transform: rotate(-4deg); flex: none; -webkit-mask-image: var(--grit); mask-image: var(--grit); -webkit-mask-size: 140px 70px; mask-size: 140px 70px; }
.stamp::before { font-family: var(--sans); font-weight: 900; }
.s-fail { background: var(--fail); color: var(--paper); border-radius: 2px; box-shadow: inset 0 0 0 2px var(--fail), inset 0 0 0 4px var(--paper); }
.s-fail::before { content: "✕"; }
.s-off { background: var(--off); color: var(--ink); border-radius: 9px; box-shadow: inset 0 0 0 2px var(--off), inset 0 0 0 4px var(--ink); }
.s-off::before { content: "▲"; }
.s-pass { background: var(--pass); color: var(--paper); border-radius: 999px; padding-left: 10px; padding-right: 14px; box-shadow: inset 0 0 0 2px var(--pass), inset 0 0 0 4px var(--paper); }
.s-pass::before { content: "✓"; }
.s-none { background: var(--none); color: var(--paper); border-radius: 0; clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 7px 100%, 0 50%); padding-left: 14px; padding-right: 14px; box-shadow: inset 0 0 0 2px var(--none), inset 0 0 0 4px var(--paper); }
.s-none::before { content: "?"; }

/* buttons and the check box */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 22px; border-radius: 8px; font-weight: 800; font-size: 17px; cursor: pointer; text-decoration: none; box-shadow: 0 3px 0 var(--ink); }
.btn-amber { background: var(--amber); color: var(--ink); border: 2px solid var(--ink); }
.btn-navy { background: var(--ink); color: var(--cream); border: 0; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 15px; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }
.btn-line { background: transparent; color: var(--cream); border: 2px solid var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-block { width: 100%; margin-top: 14px; }
.btn:active { transform: translateY(2px); }
.btn[disabled] { opacity: 0.78; cursor: not-allowed; transform: none; }
.btn[hidden] { display: none; }
.intake { margin-top: 28px; padding: 18px 16px 16px; border-top-left-radius: 0; }
.tab { position: absolute; left: 0; top: -28px; height: 28px; padding: 6px 14px 0; background: var(--paper); color: var(--muted); border-radius: 10px 10px 0 0; }
.intake h2 { font-size: 30px; color: var(--ink); }
.intake label { display: block; margin: 10px 0 6px; font-weight: 700; }
.field { display: flex; gap: 8px; }
.field input { flex: 1; min-width: 0; height: 50px; padding: 0 12px; border-radius: 8px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-family: var(--code); font-size: 16px; }
.field input::placeholder { color: #6f6a88; }
.field input:focus { outline: 3px solid var(--amber); outline-offset: 1px; }
.hint { margin: 10px 0 0; color: var(--muted); }
#check-result .notes { margin-top: 14px; }

/* case notes */
.notes { display: grid; gap: 12px; }
.note { padding: 11px 14px 10px 20px; overflow: hidden; }
.note::before, .pass::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; }
.v-fail::before { background: var(--fail); }
.v-off::before { background: var(--off); }
.v-pass::before, .v-clear::before { background: var(--pass); }
.v-none::before { background: repeating-linear-gradient(180deg, var(--none) 0 8px, transparent 8px 14px); }
.note-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; min-height: 30px; }
.caseno { color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; padding-top: 2px; }
.caseno .age { font: 600 15px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); }
.note h3 { font-size: 21px; margin: 2px 0 4px; color: var(--ink); font-weight: 800; }
.note h3 .verb { font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--text); }
.facts { margin: 0; font-size: 16px; color: var(--text); }
.quote { margin: 8px 0 0; padding: 5px 10px; background: #fdecc6; border-radius: 6px; border-left: 3px solid var(--amber); font: italic 15px/1.35 Georgia, "Times New Roman", serif; color: #3a2c12; }
.quote cite { font: 700 15px/1.3 var(--mono); color: #6f5120; font-style: normal; white-space: nowrap; }
.quote cite { margin-left: 6px; }
.shame .hint { margin: 4px 0 0; font-size: 15px; }
.ca { display: flex; align-items: center; gap: 8px 10px; margin-top: 8px; padding-top: 8px; border-top: 1.5px dashed var(--rule); }
.ca .label { color: var(--muted); }
.ca code { font-size: 15px; color: var(--ink); font-weight: 600; }
.ca .copy { margin-left: auto; }

/* the feed's status line, and a case that is new since the last refresh */
.live-status { margin: -6px 0 12px; font-size: 15px; color: #e3d6bb; }
.live-status::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--amber); }
.is-new { animation: new-case 4s ease-out; }
@keyframes new-case {
  0%, 40% { background-color: #ffe9bd; box-shadow: 0 0 0 3px var(--amber), 0 10px 24px rgba(0, 0, 0, 0.22); }
  100% { background-color: var(--paper); box-shadow: 0 2px 0 rgba(10, 15, 51, 0.35), 0 10px 24px rgba(0, 0, 0, 0.22); }
}
@media (prefers-reduced-motion: reduce) {
  .is-new { animation: none; background-color: #ffe9bd; box-shadow: 0 0 0 3px var(--amber), 0 10px 24px rgba(0, 0, 0, 0.22); }
}

/* passed */
.pass { padding: 11px 14px 10px 20px; overflow: hidden; }
.pass-top { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.pass h3 { font-size: 21px; color: var(--ink); }
.pass.revoked { background: #efe6d3; }
.pass.revoked::before { background: repeating-linear-gradient(180deg, #8a8398 0 8px, transparent 8px 14px); }
.pass.revoked h3 { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--fail); }
.pass.revoked .s-pass { opacity: 0.45; filter: grayscale(1); }
.pass .facts { margin-top: 6px; }
.revoke { display: inline-flex; padding: 3px 9px; border: 2px solid var(--fail-ink); color: var(--fail-ink); border-radius: 4px; font: 900 14px/1.1 var(--display); letter-spacing: 0.08em; transform: rotate(3deg); background: rgba(255, 246, 227, 0.7); }

/* side cards */
.card { padding: 16px; }
.card h2 { font-size: 26px; color: var(--ink); }
.kicker { display: block; color: var(--muted); margin-bottom: 4px; }
.tally { background-image: linear-gradient(90deg, transparent 28px, rgba(204, 53, 23, 0.4) 28px 29.5px, transparent 29.5px); padding-left: 40px; }
.tally h2 { margin-bottom: 8px; }
.rows li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0 5px; border-bottom: 1px solid #e4cfa4; font-size: 16px; }
.rows li.sub { padding-left: 16px; }
.rows li.sub::before { content: "↳"; color: var(--muted); margin-left: -16px; width: 10px; }
.rows li.dry { display: block; padding: 8px 0; }
.rows .lead { flex: 1; border-bottom: 2px dotted #b9a786; transform: translateY(-5px); min-width: 8px; }
.rows .n { font: 700 20px/1 var(--code); color: var(--ink); min-width: 3ch; text-align: right; }
.rows .n.red { color: var(--fail-ink); } .rows .n.amb { color: var(--off-ink); } .rows .n.grn { color: var(--pass-ink); }
.margin-note { margin: 12px 0 0; font: italic 15px/1.35 Georgia, serif; color: var(--fail-ink); transform: rotate(-1.5deg); }
.shame ol { display: grid; gap: 8px; margin-top: 10px; }
.shame li:not(.dry) { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 10px; background: #fbeccc; border-radius: 8px; border: 1.5px solid #ecd6a7; }
.shame li.dry { padding: 8px 0; }
.rank { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 900 18px/1 var(--display); color: var(--ink); border: 2.5px solid var(--ink); transform: rotate(-8deg); }
.who { display: grid; min-width: 0; }
.shame .tk { font: 800 19px/1.1 var(--display); color: var(--ink); }
.shame .line, .wanted .line { font-size: 17px; overflow-wrap: anywhere; }
.shame .sub { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.shame .sub .dev { white-space: nowrap; }
.shame .sub a { color: inherit; text-decoration: underline; }
.caught { font-size: 15px; text-align: right; }
.caught b { font: 700 19px/1 var(--code); color: var(--ink); display: block; }
.live { background: var(--amber); color: var(--ink); padding: 18px 16px; }
.live h2 { font-size: 28px; color: var(--ink); }
.live p { margin: 6px 0 14px; font-size: 17px; font-weight: 500; }
.live .btn { width: 100%; }
.live .btn + .btn { margin-top: 10px; }
.live small { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; color: #2a1a05; }
.coin .hole { position: absolute; right: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.4), 0 0 0 4px #f6e2bc; }
.coin h2 { font-size: 32px; }
.kv { margin: 10px 0 0; }
.kv > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 0; border-top: 1.5px dashed var(--rule); }
.kv > div[hidden] { display: none; }
.kv dt { font-weight: 700; }
.kv dd { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kv code { font-size: 15px; color: var(--muted); }
.kv code.soon { font-family: var(--sans); font-style: italic; }
.kv a { color: #1d3a9e; font-weight: 700; text-underline-offset: 3px; }
.self-check { margin: 0; padding-top: 8px; border-top: 1.5px dashed var(--rule); font-size: 15px; color: var(--muted); }
.self-check:empty { display: none; }
.own-case { align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--ink); }

/* put Sniff to work */
.sec[hidden] { display: none; }
.work .card-h { font-size: 22px; color: var(--ink); }
.work p { margin: 6px 0 14px; font-size: 17px; }

/* how the sniff test works */
.how { padding: 0 16px 16px; }
.how summary { display: block; margin: 0 -16px; padding: 16px; cursor: pointer; list-style: none; position: relative; }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: "+"; position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font: 800 20px/1 var(--sans); color: var(--ink); }
.how[open] summary::after { content: "−"; }
.how summary:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; border-radius: 10px; }
.how summary h2 { font-size: 26px; color: var(--ink); padding-right: 40px; }
.how p { margin: 0 0 12px; }
.how h3 { margin: 16px 0 8px; font-size: 20px; color: var(--ink); padding-top: 12px; border-top: 1.5px dashed var(--rule); }
.bullets { display: grid; gap: 8px; }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before { content: ""; position: absolute; left: 3px; top: 0.6em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.stamps { display: grid; gap: 14px; }
.stamps li { display: grid; gap: 8px; align-items: start; }
.stamps .stamp { justify-self: start; }
.how .closing { margin-top: 16px; padding-top: 12px; border-top: 1.5px dashed var(--rule); font: italic 16px/1.45 Georgia, serif; color: var(--muted); }

/* footer */
.foot { margin-top: 32px; padding: 16px; border: 1.5px solid rgba(251, 227, 181, 0.4); border-radius: 10px; background: rgba(10, 15, 51, 0.55); }
.foot .label { color: var(--amber); display: block; margin-bottom: 6px; }
.foot p { margin: 0; line-height: 1.55; color: #f3e6cb; max-width: 72ch; }
.foot .sig { margin-top: 8px; font: italic 16px Georgia, serif; color: var(--cream); }

/* the holder check page */
.gate { padding-top: 20px; }
.gate pre { margin: 12px 0; padding: 10px 12px; background: #fff; border: 1.5px dashed var(--rule); border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.4 var(--code); color: var(--ink); }
.gate pre:empty { display: none; }
.nowallet { margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--rule); }
.nowallet h3 { margin: 0 0 8px; font-size: 22px; color: var(--ink); }
.nowallet p { margin: 10px 0 0; }
.nowallet .btn { display: flex; width: 100%; margin-top: 12px; }
.nowallet .hint { margin-top: 8px; }
#gate-status p { margin: 8px 0 0; }
#gate-status { margin: 12px 0 0; min-height: 1.45em; }
#gate-status a { color: #1d3a9e; font-weight: 700; }

/* a ticker that links to the coin's page */
a.tk, .tk a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.shame a.tk { text-decoration: none; }
.shame a.tk:hover { text-decoration: underline; }

/* a coin's page */
.back { display: inline-block; margin-top: 6px; color: var(--cream); font-weight: 700; text-underline-offset: 3px; }
.case { margin-top: 8px; padding: 16px 16px 14px 22px; }
.case .dry { padding: 6px 0; font-size: 18px; }
.case h2 { font-size: 30px; margin: 4px 0 6px; color: var(--ink); font-weight: 800; }
.case h2 .verb { display: block; margin-top: 4px; font: 600 20px/1.25 var(--sans); color: var(--text); }
.reasons { display: grid; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1.5px dashed var(--rule); }
.r-head { margin: 0; font-weight: 700; color: var(--ink); }
.ev { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 3px 0 0; font-size: 15px; }
.ev a { font: 15px/1.4 var(--code); color: #1d3a9e; text-underline-offset: 3px; }
.ev .more { color: var(--muted); font-style: italic; }
.case .pons { width: 100%; margin-top: 14px; }
.case .tail { margin: 12px 0 0; font: italic 15px/1.35 Georgia, serif; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.share[hidden] { display: none; }
.share .btn.ok { background: var(--pass); border-color: var(--pass); color: #fff; }
@media (min-width: 700px) {
  .case { padding: 20px 24px 16px 30px; }
  .case h2 .verb { display: inline; margin: 0 0 0 4px; }
}

@media (min-width: 700px) {
  .stamps li { grid-template-columns: 172px 1fr; gap: 14px; }
  .how { padding: 0 22px 20px; }
  .how summary { margin: 0 -22px; padding: 18px 22px; }
  .wrap { padding: 22px 28px 48px; }
  .top { grid-template-columns: 112px 1fr auto; grid-template-areas: "mug id chip"; column-gap: 22px; }
  .mug { width: 112px; height: 112px; }
  .id h1 { font-size: 60px; }
  .id p { font-size: 19px; }
  .head-r { justify-self: end; }
  .chip { justify-self: end; }
  .follow { justify-content: flex-end; }
  .intake { padding: 22px 24px 20px; }
  .note, .pass { padding-left: 26px; padding-right: 20px; }
  .wrap.narrow .top { grid-template-columns: 112px 1fr; grid-template-areas: "mug id"; }
}
/* On a phone the page is one column in this order: the case work, the scorecard, how it works, then the rest of the side cards. */
@media (max-width: 899px) {
  .cols { display: flex; flex-direction: column; }
  .main, .side { display: contents; }
  #how-section { order: 1; }
  #wall-section, #wanted-section, #holders-section, #self-section { order: 2; }
}
@media (min-width: 900px) {
  .cols { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 34px; align-items: start; }
  .main { grid-column: 1; grid-row: 1; }
  .side { grid-column: 2; grid-row: 1 / span 2; }
  #how-section { grid-column: 1; grid-row: 2; }
  .side .sec:first-child { margin-top: 28px; }
}

/* the rulebook: links to it, and its page */
.rulebook { display: inline-block; margin-top: 14px; color: #1d3a9e; font-weight: 700; text-underline-offset: 3px; }
main > .rulebook { color: var(--cream); }
.rulebook-page .id h1 { font-size: 30px; }
.lead { margin: 0 0 18px; max-width: 70ch; font-size: 18px; color: #f3e6cb; }
.rules-grid { display: grid; gap: 16px; align-items: start; }
.rule { padding: 14px 16px 16px 22px; }
.rule .rule-h { margin: 6px 0 12px; font-size: 22px; color: var(--ink); font-weight: 800; }
.rule .note-top { min-height: 0; }
.rule .after { margin: 14px 0 0; padding-top: 10px; border-top: 1.5px dashed var(--rule); font: italic 16px/1.45 Georgia, serif; color: var(--muted); }
.off-note { display: block; margin-top: 2px; color: var(--off-ink); font-weight: 700; font-style: normal; }
.rulebook-page .intake { margin-top: 36px; }
.closing-line { margin: 26px 0 0; max-width: 70ch; font: italic 16px/1.45 Georgia, serif; color: #e3d6bb; }
@media (min-width: 700px) {
  .rulebook-page .id h1 { font-size: 40px; }
  .rule { padding: 18px 22px 20px 28px; }
}
@media (min-width: 900px) {
  .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-grid .rule:last-child { grid-column: 1 / -1; }
}

/* the footer's links, on every page */
.legal-links { margin: 0; font-size: 15px; color: #f3e6cb; }
.foot .sig + .legal-links { margin-top: 12px; padding-top: 10px; border-top: 1.5px dashed rgba(251, 227, 181, 0.4); }
.legal-links a { color: var(--cream); font-weight: 700; text-underline-offset: 3px; }

/* about, terms and privacy */
.legal-page .id h1 { font-size: 34px; }
.legal { margin-top: 8px; padding: 20px 18px 16px; font-size: 17px; line-height: 1.6; max-width: 68ch; }
.legal p { margin: 0 0 14px; }
.legal a { color: #1d3a9e; text-underline-offset: 3px; }
.legal .points { display: grid; gap: 14px; margin: 0 0 14px; padding-left: 28px; list-style: decimal; }
.legal .points li::marker { font-weight: 800; color: var(--ink); }
.legal .bullets { margin: 0 0 14px; }
.legal strong { color: var(--ink); }
.legal .updated { margin: 18px 0 0; padding-top: 10px; border-top: 1.5px dashed var(--rule); font: italic 15px/1.35 Georgia, serif; color: var(--muted); }
@media (min-width: 700px) {
  .legal-page .id h1 { font-size: 44px; }
  .legal { padding: 26px 30px 20px; }
}
/* The dev wallet row is a sentence, not a label. */
.kv #dev-row dt { font-weight: 400; flex: 1 1 14rem; }

/* the most-wanted page, and its link on the home page */
.more-link { display: inline-block; margin-top: 12px; color: #1d3a9e; font-weight: 700; text-underline-offset: 3px; }
.wanted-page .id h1 { font-size: 30px; }
.wanted { margin-top: 8px; }
.wanted h2 { margin-bottom: 4px; }
.wanted ol { display: grid; gap: 8px; margin-top: 12px; }
.wanted li:not(.dry) { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 4px 10px; padding: 8px 10px; background: #fbeccc; border-radius: 8px; border: 1.5px solid #ecd6a7; }
.wanted .rank { grid-row: span 2; }
#wanted-home .rank { grid-row: auto; }
.wanted .who { display: grid; min-width: 0; }
.wanted .tk { font: 800 19px/1.1 var(--code); color: var(--ink); }
.wanted .sub { font-size: 15px; color: var(--muted); }
.wanted .caught { grid-column: 2; font-size: 15px; text-align: left; }
.wanted .caught b { display: block; font: 700 19px/1.2 var(--code); color: var(--ink); }
.wanted .margin-note { color: var(--muted); }
.wanted .margin-note[hidden] { display: none; }
@media (min-width: 700px) {
  .wanted-page .id h1 { font-size: 40px; }
  .wanted li:not(.dry) { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .wanted .rank { grid-row: auto; }
  .wanted .caught { grid-column: auto; text-align: right; }
}
