/* punchpad's own look, on top of base.css: the punch card, the deck, the ask box, the code chart, the run log on
   green-bar paper, and the paper-and-ink restyle of the shared components. Tokens live in tokens.css. */

body { background: var(--bg); }
h1, h2, .display { line-height: 0.98; }
h1.display { font-size: clamp(46px, 7.4vw, 104px); line-height: 0.92; letter-spacing: -0.025em; }
.kicker { color: var(--ink-2); }
.kicker-dot { border-radius: 1px; width: 7px; height: 11px; background: var(--accent); }
.label { color: var(--muted); }
::selection { background: var(--ink); color: var(--bg); }

/* ---------- header ---------- */
#top { background: var(--bg); backdrop-filter: none; border-bottom: 1px solid var(--line-2); }
.top-bar { gap: 24px; }
.brand { gap: 9px; color: var(--ink); }
.brand-mark { display: inline-flex; width: 26px; height: 26px; border: 0; border-radius: 0; color: var(--ink); --mark-hole: var(--bg); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word { display: inline-flex; color: var(--ink); }
.wordmark { height: 22px; width: auto; }
.nav a { border-radius: var(--r-sm); font-size: 15px; }
.nav a:hover, .nav a[aria-current] { background: var(--bg-2); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.demo-strip { background: var(--ink); color: color-mix(in srgb, var(--bg) 80%, transparent); }
.demo-strip b { color: #f0b54a; }
.x-btn { color: var(--ink); border: 1px solid var(--line-2); width: 36px; height: 36px; border-radius: var(--r-sm); }
.x-btn:hover { background: var(--surface); }
.ca-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r-sm); border: 1px dashed var(--line-3); background: transparent; font-size: 12.5px; color: var(--ink); white-space: nowrap; }
button.ca-chip { cursor: pointer; }
.ca-chip .label { font-size: 10px; }
.ca-soon { color: var(--warn); }

/* ---------- buttons ---------- */
.btn { border-radius: var(--r-sm); background: var(--surface); border-color: var(--line-3); box-shadow: 0 1px 0 var(--line-2); }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent-ink); box-shadow: 0 2px 0 var(--accent-ink); }
.btn.primary:hover { filter: none; background: var(--accent-ink); }
.btn.primary:active { box-shadow: 0 1px 0 var(--accent-ink); }
.btn.ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.ink:hover { background: #2b2d35; }
.btn.ghost { background: transparent; box-shadow: none; border-style: dashed; }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }
.icon-btn { border-radius: var(--r-sm); }
.icon-btn.sm { width: 32px; height: 32px; }
.chip { border-radius: var(--r-sm); background: var(--surface); border-color: var(--line-2); color: var(--ink-2); }
.chip.demo { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.chip.soon { color: var(--warn); border-style: dashed; border-color: color-mix(in srgb, var(--warn) 55%, transparent); }
.seg { border-radius: var(--r); background: var(--bg-2); }
.seg button, .chips button { border-radius: var(--r-sm); }
.seg button[aria-pressed="true"], .chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.input, .prefix { border-radius: var(--r-sm); background: var(--surface); border-color: var(--line-3); }
.input:focus, .prefix:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 10%, transparent); }
.card, .step, .faq details { border-radius: var(--r-lg); background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow); }
.banner { border-radius: var(--r); }
.toast { border-radius: var(--r-sm); }
.modal-panel { border-radius: var(--r-lg); background: var(--surface); box-shadow: 4px 6px 0 rgba(23, 24, 29, 0.12); }
.modal-veil { background: rgba(23, 24, 29, 0.45); backdrop-filter: none; }
.problem-soft { color: var(--warn); font-size: 14px; }

/* ---------- the punch card ---------- */
.pc-box { position: relative; width: 100%; }
.pc { display: block; width: 100%; height: auto; overflow: visible; }
.pc-stock { fill: var(--stock); stroke: var(--stock-edge); stroke-width: 1; filter: drop-shadow(2px 3px 0 rgba(23, 24, 29, 0.09)); }
.pc-print { font: 600 10.5px var(--font-mono); fill: var(--ink); text-anchor: middle; dominant-baseline: middle; }
.pc-digit { font: 500 7.6px var(--font-mono); fill: var(--print); opacity: 0.62; text-anchor: middle; }
.pc-bracket { fill: none; stroke: var(--print); stroke-width: 1; opacity: 0.8; }
.pc-seg { font: 600 7.5px var(--font-mono); fill: var(--print); letter-spacing: 0.08em; }
.pc-bracket.pc-do, .pc-seg.pc-do { stroke: var(--ink-2); }
.pc-seg.pc-do { fill: var(--ink-2); stroke: none; }
.pc-holes rect { fill: var(--hole); }
.pc-draft .pc-holes rect { fill: none; stroke: var(--ink-2); stroke-width: 0.9; stroke-dasharray: 1.6 1.4; opacity: 0.75; }
.pc-col.pc-wait rect { fill: none; stroke: var(--ink-2); stroke-width: 0.9; stroke-dasharray: 1.6 1.4; opacity: 0.6; }
.pc-head { fill: var(--accent); opacity: 0; }
.pc-running .pc-head { opacity: 1; }
.pc-foot { font: 600 8.5px var(--font-mono); fill: var(--print); letter-spacing: 0.06em; }
.pc-runs { font: 700 10px var(--font-mono); fill: var(--accent); letter-spacing: 0.06em; }

.pc-stamp { position: absolute; right: 7%; top: 30%; padding: 2px 10px; border: 2.5px solid var(--accent); border-radius: 4px; color: var(--accent); font-size: clamp(14px, 2.2vw, 26px); font-weight: 700; letter-spacing: 0.14em; transform: rotate(-8deg); background: color-mix(in srgb, var(--stock) 70%, transparent); pointer-events: none; }

/* the chad: a coin's picture when it has none */
.chad { display: inline-flex; flex: none; }
.chad svg { display: block; }
.chad-stock { fill: var(--stock); stroke: var(--stock-edge); }
.chad-holes rect { fill: var(--hole); }
.coin-art { border-radius: var(--r-sm); }

/* ---------- home: hero ---------- */
.hero { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; padding-top: clamp(36px, 5.5vw, 72px); }
.hero .lede { margin-top: 20px; max-width: 40em; }
.ask { width: min(760px, 100%); margin-top: 32px; display: grid; gap: 8px; text-align: left; }
.ask-box { display: flex; gap: 8px; padding: 8px; border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--ink); box-shadow: 3px 4px 0 rgba(23, 24, 29, 0.12); }
.ask-input { flex: 1; min-width: 0; height: 52px; padding: 0 12px; border: 0; background: transparent; font: 400 17px var(--font-mono); color: var(--ink); }
.ask-input:focus { outline: none; }
.ask-input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.ask-read { width: min(760px, 100%); min-height: 8px; margin-top: 12px; text-align: left; }
.examples { width: min(760px, 100%); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; text-align: left; }
.examples .label { width: 100%; }
.example { border: 1px solid var(--line-2); background: transparent; border-radius: var(--r-sm); padding: 6px 10px; font: 13.5px/1.35 var(--font-text); color: var(--ink-2); cursor: pointer; text-align: left; }
.example:hover { border-color: var(--ink); color: var(--ink); }
.hero-stage { width: min(960px, 100%); margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 12px; }
.hero-card { width: 100%; }
.hero-caption { font-size: 13px; color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.hero-caption b { color: var(--ink); font-weight: 600; }

/* the blocks a sentence was read into */
.blocks { display: flex; flex-wrap: wrap; gap: 6px; }
.block { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; }
.block-part { display: inline-grid; place-items: center; padding: 2px 6px; border-radius: 3px; font: 600 10.5px var(--font-mono); letter-spacing: 0.08em; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.b-when .block-part { background: var(--stock); color: #5a4720; }
.b-do .block-part { background: var(--ink); color: var(--bg); }

/* ---------- home: official (CA + X) ---------- */
.official { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.ca { margin: 0; padding: 20px 22px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-3); background: var(--surface); display: grid; gap: 12px; align-content: start; }
.ca-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ca-head .label { font-size: 12px; color: var(--ink-2); }
.ca-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ca-addr { flex: 1; min-width: 0; font-size: 15px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line-2); word-break: break-all; user-select: all; }
.ca-blank { color: var(--line-3); user-select: none; overflow: hidden; white-space: nowrap; word-break: normal; letter-spacing: 0.1em; }
.ca-note { font-size: 13.5px; flex-basis: auto; }
.xbox { padding: 20px 22px; border-radius: var(--r-lg); background: var(--ink); color: var(--bg); display: grid; gap: 16px; align-content: space-between; box-shadow: var(--shadow); }
.xbox-head { display: flex; gap: 14px; align-items: flex-start; }
.xbox-head b { font: 600 17px var(--font-text); }
.xbox-head .muted { color: color-mix(in srgb, var(--bg) 70%, transparent); font-size: 14px; margin-top: 4px; }
.xbox-logo { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); flex: none; }
.xbox .btn.ink { background: var(--bg); color: var(--ink); border-color: var(--bg); justify-self: start; }
.xbox .btn.ink:hover { background: #fff; }
.xbox .btn[aria-disabled] { background: transparent; color: var(--bg); justify-self: start; }

/* ---------- home: tally ---------- */
.tally-wrap { margin-top: 16px; }
.tally { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.tally .stat { padding: 16px 18px; border-right: 1px solid var(--line-2); display: grid; gap: 2px; }
.tally .stat:nth-child(4) { border-right: 0; }
.tally .stat-value { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.tally .chip { margin: 0 12px; }

/* ---------- steps: one card in three states ---------- */
.steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 18px; gap: 16px; background: var(--surface); }
.step-text { display: grid; gap: 6px; }
.step-n { color: var(--accent); }
.steps.big .step { padding: 20px; }

/* ---------- the deck (a coin card) ---------- */
.grid-decks { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px 18px; }
.deck { display: grid; gap: 14px; padding: 14px 14px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: transform var(--t) var(--ease), border-color var(--t) var(--ease); min-width: 0; }
a.deck:hover { transform: translateY(-3px); border-color: var(--line-3); }
.deck-stack { position: relative; padding-top: calc((var(--n) - 1) * 6px); }
.deck-behind { position: absolute; left: calc(var(--i) * 8px); right: calc(var(--i) * -2px); top: calc((var(--n) - 1 - var(--i)) * 6px); bottom: calc(var(--i) * 6px); border-radius: 6px; background: var(--stock); border: 1px solid var(--stock-edge); filter: brightness(calc(1 - var(--i) * 0.05)); }
.deck-stack .pc-box { position: relative; }
.deck-body { display: grid; gap: 10px; min-width: 0; }
.deck-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.deck-name { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.deck-name b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck-name .mono { font-size: 13px; }
.deck-rule { font-size: 14.5px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.deck-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.deck-nums > div { display: grid; gap: 2px; }
.deck-nums .num { font-size: 15px; }
.deck-last { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck.preview { box-shadow: none; border-style: dashed; }
.skeleton .sk { border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), var(--bg-2), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.6s infinite linear; }
.sk-card { aspect-ratio: 740 / 326; }

/* ---------- code chart ---------- */
.code-chart { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.code-col { border-right: 1px solid var(--line-2); min-width: 0; }
.code-col:last-child { border-right: 0; }
.code-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--ink); font: 500 13px var(--font-mono); color: var(--muted); }
.code-col li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.code-col li:nth-child(even) { background: color-mix(in srgb, var(--bg-2) 45%, transparent); }
.code-col li code { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.code-col h3 .block-part { font-size: 11px; }
.code-col:nth-child(1) .block-part { background: var(--stock); color: #5a4720; }
.code-col:nth-child(3) .block-part { background: var(--ink); color: var(--bg); }

/* ---------- the run log, on green-bar paper ---------- */
.log { display: grid; border-radius: var(--r-lg); border: 1px solid var(--line-2); overflow: hidden; background: #fbfaf5; box-shadow: var(--shadow); }
.log-row { display: grid; grid-template-columns: 72px 92px 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 16px; font-size: 14px; }
.log-row:nth-child(4n + 1), .log-row:nth-child(4n + 2) { background: #e3eedf; }
.log-time, .log-card { font-size: 12px; color: var(--muted); }
.log-sym { font-size: 13px; font-weight: 600; }
.log-sym:hover { text-decoration: underline; }
.log-text { min-width: 0; }
.tx { font-size: 12px; }
.log-empty { padding: 18px 16px; }
.card .log { box-shadow: none; }
.coin-main .log-row { grid-template-columns: 72px 64px 1fr auto; }

/* ---------- locked ---------- */
.sealed { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.locked-copy { display: grid; gap: 18px; justify-items: start; }
.sealed h2 { font-size: clamp(36px, 5vw, 66px); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: 100%; border-top: 1px solid var(--line-2); }
.facts-grid > div { padding: 12px 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 3px; }
.facts-grid > div:nth-child(odd) { padding-right: 14px; }
.facts-grid dd { font-size: 15px; }
.locked-card { display: grid; gap: 16px; }
.slip { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; padding: 14px 16px; border-radius: var(--r); border: 1px dashed var(--line-3); background: var(--surface); font-size: 14px; }
.slip dt { padding-top: 2px; }
.slip dd { min-width: 0; overflow-wrap: anywhere; }
.slip .mono, .slip code { font-size: 12.5px; }

/* ---------- closing band ---------- */
.band { justify-items: center; text-align: center; padding-bottom: 20px; }
.band h2 { font-size: clamp(40px, 6vw, 80px); }
.band .lede { max-width: 34em; }

/* ---------- coins page ---------- */
.live-line { font-size: 13px; color: var(--muted); }

/* ---------- coin page ---------- */
.coin-head { padding-top: 36px; }
.coin-sym { font-size: 0.5em; letter-spacing: 0; }
.coin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.coin-stats { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 24px; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line-2); gap: 0; }
.coin-stats .stat { padding: 14px 16px; border: 0; border-right: 1px solid var(--line-2); border-radius: 0; background: none; display: grid; gap: 2px; }
.coin-stats .stat:last-child { border-right: 0; }
.coin-stats .stat-value { font-size: 22px; font-weight: 600; }
.coin-deck { display: grid; gap: 22px; margin-top: 28px; }
.deck-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.deck-row-text { display: grid; gap: 12px; min-width: 0; }
.deck-row-rule { font: 600 19px/1.35 var(--font-text); }
.chart-line { stroke: var(--ink); stroke-width: 1.8; fill: none; }
.chart-run { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.7; }
.coin-grid { margin-top: 22px; grid-template-columns: 1fr 360px; }
.facts dd { min-width: 0; overflow-wrap: anywhere; }

/* ---------- launch ---------- */
.launch-grid { grid-template-columns: 1fr 420px; }
.rules { display: grid; gap: 16px; margin-top: 18px; }
.rule { display: grid; gap: 10px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg); }
.rule-head { display: flex; justify-content: space-between; align-items: center; }
.rule-text { font: 400 16px/1.45 var(--font-mono); min-height: 72px; }
.reads { font-size: 14.5px; }
.block-list { display: grid; gap: 8px; }
.block-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); }
.block-edit .block-part { min-width: 64px; }
.block-edit .input { height: 38px; font-size: 15px; width: auto; }
.block-edit select.kind { flex: 1 1 200px; min-width: 0; padding: 0 8px; }
.param-wrap { display: inline-flex; align-items: center; gap: 6px; }
.param-wrap .input { width: 92px; padding: 0 8px; font-family: var(--font-mono); }
.param-wrap.wide .input { width: 190px; font-family: var(--font-text); }
.block-edit select.param { padding: 0 8px; font-family: var(--font-mono); }
.block-edit .icon-btn { margin-left: auto; }
.block-adds { margin-top: 2px; }
#p-rules { margin-top: 10px; }
.launch-side .kicker { margin-bottom: 0; }

/* ---------- how ---------- */
.read-card { align-items: center; }
.prose { display: grid; gap: 14px; max-width: 36em; }
.block-ref { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.block-ref-col { display: grid; gap: 10px; align-content: start; }
.block-ref-col dl { display: grid; gap: 0; margin-top: 6px; }
.block-ref-col dt { font-weight: 600; padding-top: 12px; border-top: 1px solid var(--line); }
.block-ref-col dd { display: grid; gap: 4px; padding-bottom: 12px; font-size: 14px; color: var(--ink-2); }
.block-ref-col dd code { font-size: 11.5px; color: var(--muted); }
.block-ref-col:nth-child(1) .block-part { background: var(--stock); color: #5a4720; }
.block-ref-col:nth-child(3) .block-part { background: var(--ink); color: var(--bg); }
.limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 22px; border-top: 1.5px solid var(--ink); }
.limits li { display: grid; gap: 4px; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-2); }
.limits b { font-size: 20px; }
.risks { display: grid; gap: 10px; margin-top: 18px; max-width: 760px; }
.risks li { padding-left: 18px; position: relative; color: var(--ink-2); }
.risks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--ink-2); border-radius: 1px; }

/* ---------- empty, 404 ---------- */
.empty .pc-box { width: min(420px, 100%); }
.notfound .pc-box { width: min(560px, 100%); }

/* ---------- footer ---------- */
#foot { border-top: 1.5px solid var(--ink); background: var(--bg-2); }
.foot { grid-template-columns: 1.2fr 2fr; gap: 32px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand p { max-width: 30em; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col ul { display: grid; gap: 6px; }
.foot-col a { color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { align-items: flex-end; }
.foot-base > div { display: grid; gap: 4px; max-width: 760px; }

/* ---------- phones ---------- */
@media (max-width: 980px) {
  .official, .sealed, .deck-row, .block-ref { grid-template-columns: 1fr; }
  .coin-stats { grid-template-columns: repeat(3, 1fr); }
  .coin-stats .stat:nth-child(3) { border-right: 0; }
  .coin-stats .stat:nth-child(-n + 3) { border-bottom: 1px solid var(--line-2); }
  .steps { grid-template-columns: 1fr; }
  .code-chart { grid-template-columns: 1fr; }
  .code-col { border-right: 0; border-bottom: 1px solid var(--ink); }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .top-actions .ca-chip, .x-btn { display: none; }
  .tabbar { border-radius: var(--r); background: var(--surface); backdrop-filter: none; box-shadow: 2px 3px 0 rgba(23, 24, 29, 0.1); }
  .tabbar a { border-radius: var(--r-sm); }
  .tally { grid-template-columns: repeat(2, 1fr); }
  .tally .stat:nth-child(2) { border-right: 0; }
  .tally .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line-2); }
  .tally .chip { grid-column: 1 / -1; justify-self: start; margin: 10px 0; }
  .log-row { grid-template-columns: 58px 74px 1fr; gap: 10px; }
  .log-row .log-card, .log-row .tx { display: none; }
  .coin-main .log-row { grid-template-columns: 58px 1fr; }
  .limits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero { text-align: left; justify-items: start; }
  .ask-box { flex-direction: column; }
  .ask-box .btn { width: 100%; }
  .grid-decks { grid-template-columns: 1fr; }
  .coin-stats { grid-template-columns: repeat(2, 1fr); }
  .coin-stats .stat { border-right: 0 !important; border-bottom: 1px solid var(--line-2); }
  .ca-row { flex-direction: column; align-items: stretch; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .limits { grid-template-columns: 1fr; }
  .wordmark { height: 19px; }
  .param-wrap.wide .input { width: 150px; }
  .pc-print { font-size: 12px; }
}
.log-more { justify-self: center; margin: 12px; }
@media (max-width: 560px) { .home-file > .deck:nth-child(n + 4) { display: none; } }
.read-card { margin-top: 22px; }
#blocks > .lede { margin-top: 12px; }
.card > p + p, .card > h2.h3 + p, .card > h3 + p { margin-top: 10px; }
.card > p + h3 { margin-top: 20px; }
