/*
 * css/site.css: Simply the Best in the look of a hand-built homepage from about 1999. A fixed-width page on a tiled
 * navy background, a navy banner with a gold wordmark, grey bevelled buttons, a left menu, tables with a navy header
 * row, a black DOS box for code. System fonts only (Verdana, Times New Roman, Courier New); nothing to download.
 */

:root {
  --green: #0a1f6b;
  --green-2: #1a3a9c;
  --ok: #008000;
  --gold: #ffcc00;
  --red: #cc0000;
  --navy: #000080;
  --link: #0000cc;
  --vlink: #551a8b;
  --face: #d4d0c8;
  --silver: #c0c0c0;
  --shade: #808080;
  --dark: #404040;
  --cream: #f6f3e4;
  --sans: Verdana, Tahoma, Geneva, 'DejaVu Sans', sans-serif;
  --serif: 'Times New Roman', Times, Georgia, serif;
  --mono: 'Courier New', Courier, monospace;
  --bevel: inset -1px -1px var(--dark), inset 1px 1px #fff, inset -2px -2px var(--shade), inset 2px 2px #e8e8e8;
  --bevel-in: inset -1px -1px #fff, inset 1px 1px var(--dark), inset -2px -2px #e8e8e8, inset 2px 2px var(--shade);
  --field: inset -1px -1px #fff, inset 1px 1px var(--shade), inset -2px -2px var(--face), inset 2px 2px var(--dark);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 18px 12px 28px;
  color: #000;
  font: 13px/1.5 var(--sans);
  /* a navy diamond tile, the way backgrounds used to be */
  background-color: #13246b;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
a:visited { color: var(--vlink); }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 1px dotted #000; outline-offset: 2px; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #000; padding: 4px 8px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* ------------------------------------------------------------------ the page */
.page {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #000;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
}
.wrap { display: block; }
.lbl { font: bold 11px/1.3 var(--sans); color: #333; }
.lbl.mute, .mute { color: #666; }
.num { font-variant-numeric: tabular-nums; }
.addr, .mono { font-family: var(--mono); }
.hl { color: var(--red); font-weight: bold; }
.small, .small-note, .tiny { font-size: 11px; line-height: 1.45; }
.small-note { margin-top: 6px; }

/* ------------------------------------------------------------------ banner and nav */
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 10px;
  background: var(--green);
  background-image: linear-gradient(180deg, #1b3592 0, var(--green) 60%, #061347 100%);
  border-bottom: 3px solid var(--gold);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo:visited, .logo:hover { color: inherit; }
.flag { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.6)); }
.logo-t { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 2px; }
.logo-t b {
  font: 900 36px/1 'Arial Black', 'Arial Bold', Gadget, Impact, sans-serif;
  letter-spacing: -1px;
  color: var(--gold);
  text-shadow: 2px 2px 0 #000, 3px 3px 0 #000;
}
.logo-t i { font: italic bold 18px/1 var(--serif); color: #fff; text-shadow: 1px 1px 0 #000; margin-left: 8px; }
.tagline {
  font: italic 15px/1.35 var(--serif);
  color: #fff;
  text-align: right;
  border: 1px solid rgba(255, 204, 0, 0.7);
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px 6px;
  background: var(--face);
  border-bottom: 2px solid #000;
}
.nb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 0;
  background: var(--face);
  box-shadow: var(--bevel);
  color: #000;
  font: bold 12px/1.4 var(--sans);
  text-decoration: none;
}
.nb:visited { color: #000; }
.nb:hover { color: var(--navy); text-decoration: underline; }
.nb:active, .nb[aria-current='page'] { box-shadow: var(--bevel-in); background: #e6e3db; padding: 5px 11px 3px 13px; }

/* ------------------------------------------------------------------ frame: left menu, content */
.frame {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  grid-template-areas: 'side main';
}
.content { grid-area: main; padding: 16px 18px 20px; min-width: 0; }
.side {
  grid-area: side;
  padding: 12px 10px;
  background: var(--cream);
  border-right: 1px solid var(--shade);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.box { border: 1px solid #000; background: #fff; }
.box-h {
  font: bold 11px/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: var(--green-2);
  padding: 4px 6px;
}
.menu { list-style: none; margin: 0; padding: 6px 6px 8px; }
.menu li { position: relative; padding: 2px 0 2px 14px; font-size: 12px; }
.menu li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border: 1px solid #000;
}
.news { padding: 6px 7px 8px; font-size: 11px; line-height: 1.45; }
.news b { color: var(--red); }
.counter {
  margin: 8px auto 4px;
  width: max-content;
  padding: 2px 6px;
  font: bold 20px/1.1 var(--mono);
  letter-spacing: 4px;
  color: #39ff14;
  background: #000;
  border: 2px solid var(--shade);
  box-shadow: inset 0 0 0 1px #000;
}
.tiny { padding: 0 7px 7px; text-align: center; color: #444; }

/* ------------------------------------------------------------------ buttons and links */
.btn {
  display: inline-block;
  padding: 5px 14px;
  border: 0;
  background: var(--face);
  box-shadow: var(--bevel);
  color: #000;
  font: bold 12px/1.4 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}
.btn:visited { color: #000; }
.btn:hover { color: #000; background: #dedad2; }
.btn:active { box-shadow: var(--bevel-in); padding: 6px 13px 4px 15px; }
.btn.big, .btn.violet {
  background: var(--gold);
  box-shadow: inset -1px -1px #5c4700, inset 1px 1px #fff7cc, inset -2px -2px #a88400, inset 2px 2px #ffe680;
  font-size: 14px;
  padding: 7px 18px;
  text-transform: uppercase;
}
.btn.big:hover, .btn.violet:hover { background: #ffd633; }
.btn.big:active, .btn.violet:active { box-shadow: inset 1px 1px #5c4700, inset -1px -1px #fff7cc; padding: 8px 17px 6px 19px; }
.btn.sm { font-size: 11px; padding: 3px 10px; }
.btn.ghost { background: var(--face); }
.btn[disabled], .btn.busy { color: var(--shade); text-shadow: 1px 1px 0 #fff; cursor: default; pointer-events: none; }
.arrow-link { font-weight: bold; }
.arrow-link svg { display: none; }

/* ------------------------------------------------------------------ home */
.welcome { padding-bottom: 4px; }
.welcome h1, .page-top h1, .sec-h.h1 {
  font: bold 30px/1.1 var(--serif);
  color: var(--green);
  margin-bottom: 4px;
}
.welcome .lead { font: italic 19px/1.3 var(--serif); color: #222; margin-bottom: 10px; }
.welcome p { margin-bottom: 10px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

.ticker {
  display: flex;
  align-items: stretch;
  margin: 8px 0 4px;
  border: 1px solid #000;
  background: #ffffcc;
  overflow: hidden;
  font: bold 12px/1 var(--sans);
}
.ticker-l { flex: none; padding: 6px 8px; background: var(--red); color: #fff; letter-spacing: 1px; }
.marq { flex: 1; overflow: hidden; position: relative; min-width: 0; }
.marq-in { display: inline-block; white-space: nowrap; padding: 6px 0; padding-left: 100%; animation: marq 32s linear infinite; }
.marq-in .hl { color: var(--red); }
.marq-in .sl { color: var(--green-2); padding: 0 10px; }
@keyframes marq { to { transform: translateX(-100%); } }
.ticker:hover .marq-in { animation-play-state: paused; }

.sec { margin-top: 22px; }
.sec-h {
  font: bold 13px/1.2 var(--sans);
  color: #fff;
  background: var(--green-2);
  border-left: 8px solid var(--gold);
  padding: 5px 8px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sec-h sup { display: none; }
h3 { font: bold 16px/1.2 var(--serif); color: var(--green); margin-bottom: 6px; }
.lead { font: bold 17px/1.3 var(--serif); color: var(--green); }
.body { margin-bottom: 8px; }

.card-tbl { width: 100%; border-collapse: separate; border-spacing: 4px; margin: -4px; width: calc(100% + 8px); }
.card-tbl td { vertical-align: top; background: var(--cream); border: 1px solid var(--shade); padding: 8px 10px; }
.stat { width: 50%; }
.stat .lbl { display: block; color: #800000; text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.stat b { display: block; font: bold 28px/1.15 var(--serif); color: var(--green); margin: 2px 0; font-variant-numeric: tabular-nums; }
.stat small { display: block; font-size: 11px; color: #444; line-height: 1.35; }
.duo td { width: 50%; }
.duo .live { font-size: 12px; margin: 6px 0 8px; }

.card { margin-top: 10px; border: 1px solid #000; background: #fff; }
.card-h { font: bold 11px/1 var(--sans); padding: 5px 7px; background: var(--face); border-bottom: 1px solid #000; }
.pixbook {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 128px;
  padding: 10px 10px 0;
  background: repeating-linear-gradient(0deg, #fff 0 15px, #dcdcdc 15px 16px);
  border-bottom: 2px solid #000;
}
.pixbook .col { flex: 1; display: flex; flex-direction: column-reverse; gap: 1px; min-width: 0; }
.pixbook .px { display: block; height: 12px; background: #3366cc; border: 1px solid #001a66; }
.pixbook .px.d { background: var(--gold); border-color: #7a5c00; }
.pixbook .col.empty .px { background: #e8e8e8; border-color: var(--silver); }
.cap { display: flex; justify-content: space-between; gap: 10px; padding: 4px 7px; font: 10px/1.3 var(--sans); color: #333; }
.cap span:first-child { font-weight: bold; color: var(--red); letter-spacing: 1px; }

/* ------------------------------------------------------------------ tables */
.tbl { width: 100%; border-collapse: collapse; border: 1px solid var(--shade); font-size: 12px; }
.tbl th {
  text-align: left;
  font: bold 11px/1.3 var(--sans);
  color: #fff;
  background: var(--green);
  padding: 4px 6px;
  border: 1px solid var(--green);
  white-space: nowrap;
}
.tbl td { padding: 4px 6px; border: 1px solid #c8c8c8; vertical-align: top; }
.tbl tbody tr:nth-child(even) td { background: #f3f1e6; }
.tbl .r { text-align: right; }
.tbl s { color: var(--shade); }
.tbl tr.skel td { color: #666; font-style: italic; }
.mdl { display: block; font-weight: bold; }
.mdl small { display: block; font: 10px/1.3 var(--mono); color: #666; font-weight: normal; }
.board .score { font: bold 15px/1.2 var(--mono); color: var(--red); }
.ledger .when { white-space: nowrap; }
.ledger .tx { font-family: var(--mono); }

/* ------------------------------------------------------------------ code: a DOS box */
.code { border: 0; box-shadow: var(--field); background: var(--face); padding: 3px; margin: 8px 0; }
.code-tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px 3px 0; }
.code-tabs button {
  border: 0;
  background: var(--face);
  box-shadow: var(--bevel);
  font: bold 11px/1.3 var(--sans);
  padding: 3px 9px;
}
.code-tabs button[aria-selected='true'] { box-shadow: var(--bevel-in); background: #fff; }
.code pre {
  margin: 3px;
  padding: 10px 12px;
  background: #000;
  color: #c0c0c0;
  font: 12.5px/1.5 var(--mono);
  overflow-x: auto;
  white-space: pre;
}
.code pre code { font: inherit; background: none; padding: 0; }
.code .c { color: #808080; }
.code .k { color: #ffff55; }
.code .s { color: #55ff55; }
.code-bar { display: flex; justify-content: flex-end; padding: 2px 3px 3px; }

/* ------------------------------------------------------------------ filters and chips */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 6px; }
.filters .lbl { margin-right: 4px; }
.filters button, .chips button {
  border: 0;
  background: var(--face);
  box-shadow: var(--bevel);
  font: bold 11px/1.3 var(--sans);
  padding: 3px 10px;
}
.filters button svg { display: none; }
.filters button[aria-pressed='true'], .chips button[aria-pressed='true'] { box-shadow: var(--bevel-in); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }

/* ------------------------------------------------------------------ questions */
.qa details { border-bottom: 1px dotted var(--shade); padding: 6px 0; }
.qa summary { display: flex; gap: 8px; align-items: baseline; cursor: pointer; list-style: none; font-weight: bold; color: var(--link); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--red); text-decoration: underline; }
.qa summary .lbl { color: var(--red); font-size: 12px; min-width: 24px; }
.qa summary .pm { margin-left: auto; font: bold 12px/1 var(--mono); color: #000; }
.qa summary .pm::before { content: '['; }
.qa summary .pm::after { content: ']'; }
.qa details[open] summary .pm { font-size: 0; }
.qa details[open] summary .pm::before { content: '[-]'; font-size: 12px; }
.qa details[open] summary .pm::after { content: ''; }
.qa .ans { padding: 6px 0 4px 32px; }

/* ------------------------------------------------------------------ inner pages */
.page-top { margin-bottom: 10px; }
.page-top h1.sec-h { background: none; border: 0; padding: 0; text-transform: none; letter-spacing: 0; }
.prose h2 { font: bold 20px/1.2 var(--serif); color: var(--green); margin: 22px 0 6px; padding-bottom: 2px; border-bottom: 1px solid var(--silver); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 14px 0 4px; }
.prose p, .prose ul, .prose ol { margin: 0 0 9px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 4px; }
.prose code { font: 12px var(--mono); background: #eeeeee; padding: 0 3px; }
.prose .code pre code { background: none; padding: 0; }
.docs-grid { display: block; }
.toc { border: 1px solid #000; background: var(--cream); padding: 6px 10px 8px; margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.toc .lbl { width: 100%; text-transform: uppercase; letter-spacing: 1px; color: #800000; margin-bottom: 2px; }
.toc a { font-size: 12px; }
.toc a.on { color: var(--red); font-weight: bold; }
.addr-list { border: 1px solid var(--shade); margin-bottom: 10px; }
.addr-list > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 2px 10px; padding: 5px 8px; border-bottom: 1px solid #ddd; font-size: 12px; }
.addr-list > div:nth-child(even) { background: #f3f1e6; }
.addr-list a { font-family: var(--mono); word-break: break-all; }
.addr-list small { grid-column: 2; color: #666; font-size: 11px; }

.mod-head { margin-bottom: 10px; }
.mod-head .lead { margin-bottom: 4px; }
.mod-tools { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; padding: 8px; background: var(--cream); border: 1px solid var(--shade); }
.mod-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mod-filters > .lbl { min-width: 54px; }
.mod-more { text-align: center; margin-top: 10px; }
.mod-tbl td { font-size: 12px; }

.fld { display: flex; flex-direction: column; gap: 3px; }
.fld input, .fld select, .fld textarea {
  width: 100%;
  padding: 4px 6px;
  border: 0;
  background: #fff;
  box-shadow: var(--field);
  font: 13px/1.4 var(--sans);
  outline: none;
  border-radius: 0;
}
.mod-search { flex-direction: row; align-items: center; gap: 8px; }
.mod-search input { max-width: 320px; }

/* the reply to copy, the three steps, coins in a table, the handle lookup */
.replybox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 6px 0 6px; padding: 8px 10px; background: var(--cream); border: 1px solid #000; }
.replybox .lbl { color: #800000; text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.replybox-t { flex: 1 1 220px; min-width: 0; padding: 5px 8px; background: #fff; box-shadow: var(--field); font: bold 14px/1.4 var(--mono); overflow-wrap: anywhere; }
.replybox-b { display: flex; gap: 6px; align-items: center; }
a.btn[aria-disabled='true'] { color: var(--shade); text-shadow: 1px 1px 0 #fff; background: var(--face); box-shadow: var(--bevel); cursor: default; }
code { font: 12px var(--mono); background: #eeeeee; padding: 0 3px; }
.steps { list-style: none; margin: 0 0 10px; padding: 0; counter-reset: st; display: grid; gap: 8px; }
.steps li { position: relative; padding: 6px 8px 6px 46px; background: var(--cream); border: 1px solid var(--shade); min-height: 40px; }
.steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 8px; top: 6px; width: 28px; height: 28px; display: grid; place-items: center; font: bold 18px/1 var(--serif); color: #000; background: var(--gold); border: 1px solid #000; box-shadow: 2px 2px 0 #000; }
.coin { display: flex; align-items: center; gap: 8px; }
.coin b { display: block; }
.coin small { display: block; font: bold 10px/1.2 var(--mono); color: var(--red); }
.coinlogo { width: 28px; height: 28px; object-fit: cover; border: 1px solid #000; background: var(--face); flex: none; }
.pad td { vertical-align: middle; }
.stats4 .stat { width: 25%; }
.stats4 .stat b { font-size: 24px; }
[data-open] { color: var(--red); }
[data-open].is-open { color: var(--ok); }
.lookup { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; margin: 14px 0 4px; padding: 8px; background: var(--cream); border: 1px solid var(--shade); }
.lookup-f { flex: 1 1 220px; }
.lookup + .small { margin-bottom: 8px; min-height: 1em; }
.page-top .lead { margin-bottom: 4px; }

/* the 404 page, as a server would have said it */
.nf h1 { font: bold 30px/1.1 var(--serif); margin-bottom: 10px; }
.nf hr { margin: 14px 0 6px; }
.nf address { font: italic 12px var(--serif); color: #444; }

/* ------------------------------------------------------------------ footer */
.ftr { padding: 0 16px 14px; text-align: center; font-size: 12px; background: #fff; }
hr { border: 0; border-top: 1px solid var(--shade); border-bottom: 1px solid #fff; height: 0; margin: 0 0 10px; }
.ftr hr { margin: 0 -16px 12px; border-top: 2px solid #000; border-bottom: 0; }
.ftr-links { margin-bottom: 10px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 10px; }
.b88 {
  width: 88px;
  height: 31px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  text-decoration: none;
  line-height: 1;
  overflow: hidden;
}
.b88 b { font: bold 10px/1.1 var(--sans); white-space: nowrap; }
.b88 i { font: bold 8px/1.15 var(--sans); font-style: normal; letter-spacing: 0.5px; white-space: nowrap; }
.b-key { background: var(--green); color: var(--gold); }
.b-key:visited { color: var(--gold); }
.b-acct { background: #fff; color: #000; }
.b-acct i { color: var(--red); }
.b-api { background: #000; color: #39ff14; }
.b-api:visited { color: #39ff14; }
.b-llm { background: var(--navy); color: #fff; }
.b-llm:visited { color: #fff; }
.b-llm i { color: var(--gold); }
.b-any { background: var(--silver); color: var(--navy); }
.b-noai { background: var(--gold); color: #000; }
.b-noai i { letter-spacing: 0; }
.copy { font-size: 11px; color: #444; line-height: 1.6; }
.ftr-social a { display: inline-block; width: 12px; height: 12px; vertical-align: -2px; color: #000; }

/* ------------------------------------------------------------------ toast and the wallet picker */
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  max-width: min(460px, calc(100vw - 24px));
  padding: 6px 10px;
  background: #ffffe1;
  border: 1px solid #000;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
  font-size: 12px;
  z-index: 40;
  visibility: hidden;
}
.toast.on { visibility: visible; }
.dlg { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0, 0, 0, 0.25); padding: 12px; }
.dlg-box { width: min(340px, 100%); background: var(--face); box-shadow: var(--bevel); padding: 3px; }
.dlg-box h3 {
  font: bold 12px/1 var(--sans);
  color: #fff;
  background: linear-gradient(90deg, var(--navy), #1084d0);
  padding: 4px 6px;
  margin: 0 0 8px;
}
.dlg-box p { padding: 0 8px 8px; font-size: 12px; }
.dlg-list { display: flex; flex-direction: column; gap: 4px; padding: 0 8px 8px; }
.dlg-list button { display: flex; align-items: center; gap: 8px; border: 0; background: var(--face); box-shadow: var(--bevel); padding: 5px 8px; font: bold 12px var(--sans); text-align: left; }
.dlg-list button:active { box-shadow: var(--bevel-in); }
.dlg-list img { width: 18px; height: 18px; }
.dlg-close { display: block; margin: 0 8px 8px auto; border: 0; background: var(--face); box-shadow: var(--bevel); padding: 4px 16px; font: 12px var(--sans); }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 760px) {
  body { padding: 0; }
  .page { border: 0; box-shadow: none; }
  .banner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 12px; }
  .flag { width: 56px; height: 56px; }
  .logo-t b { font-size: 27px; }
  .logo-t i { margin-left: 0; font-size: 15px; width: 100%; margin-top: 3px; }
  .tagline { text-align: left; font-size: 14px; padding: 4px 8px; }
  .tagline br { display: none; }
  .nav { display: grid; grid-template-columns: repeat(3, 1fr); }
  .nb { justify-content: center; padding: 6px 4px; font-size: 11px; text-align: center; }
  .nb:active, .nb[aria-current='page'] { padding: 7px 3px 5px 5px; }
  .frame { display: block; }
  .content { padding: 12px 12px 16px; }
  .side { border-right: 0; border-top: 2px solid #000; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .side .box:first-child { grid-row: span 2; }
  .welcome h1, .page-top h1 { font-size: 26px; }
  .stat b { font-size: 22px; }
  .stats4 tr { display: grid; grid-template-columns: 1fr 1fr; }
  .stats4 .stat { width: auto; }
  .replybox-b { width: 100%; }
  .nav { grid-template-columns: repeat(2, 1fr); }
  .hide-s { display: none; }
  .tbl { font-size: 11px; }
  .tbl th, .tbl td { padding: 4px; }
  .mdl small { word-break: break-all; }
  .code pre { font-size: 11.5px; }
  .addr-list > div { grid-template-columns: 1fr; }
  .addr-list small { grid-column: 1; }
  .mod-search { flex-direction: column; align-items: stretch; }
  .mod-search input { max-width: none; }
  .ftr { padding: 0 10px 12px; }
  .ftr hr { margin: 0 -10px 12px; }
}
@media (max-width: 380px) {
  .side { grid-template-columns: 1fr; }
  .side .box:first-child { grid-row: auto; }
  .logo-t b { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .marq-in { animation: none; padding-left: 8px; white-space: normal; }
}
