html, body {
  margin: 0;
  background: #fff;
  color: #000;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.4;
}
html.full, body.full {
  height: 100%;
}
header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 8px 16px;
  border-bottom: 1px solid;
}
header h1 {
  margin: 0;
  font-size: 28px;
}
header p {
  margin: 0;
}
main {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
}
body.full main {
  flex-wrap: nowrap;
  align-items: stretch;
  min-height: 0;
}
.col {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.wide {
  flex: 2 1 600px;
}
body.full .col {
  min-height: 0;
}
section {
  display: flex;
  flex-direction: column;
  border: 1px solid;
  padding: 6px 10px;
}
body.full section {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
body.full section.fit {
  flex: 0 0 auto;
}
section h2 {
  margin: 0 0 4px;
  font-size: 15px;
  border-bottom: 1px solid;
  padding-bottom: 2px;
}
section h3 {
  margin: 8px 0 2px;
  font-size: 14px;
}
section p, section ul, section ol {
  margin: 4px 0;
}
section ul, section ol {
  padding-left: 20px;
}
.center {
  text-align: center;
  align-items: center;
}
.big {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.big div {
  flex: 1 1 90px;
}
.big b {
  display: block;
  font-size: 22px;
}
img {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
figure img {
  display: block;
  width: 100%;
}
figcaption {
  margin-top: 4px;
  font-size: 13px;
}
.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.thumbs a {
  flex: 1 1 160px;
  max-width: 260px;
}
.thumbs img {
  display: block;
  width: 100%;
  border: 1px solid;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 16px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
}
.lightbox[hidden] {
  display: none;
}
.lightbox img {
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 120px);
  border: 1px solid #fff;
}
.lightbox p {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
}
.lightbox button {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  font-family: Menlo, Consolas, monospace;
  font-size: 18px;
  padding: 6px 10px;
  cursor: pointer;
}
.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
}
.os {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 12px;
  padding: 6px 0;
}
.os a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: #000;
}
.os img {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
}
.os span {
  font-size: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 1px 4px;
  vertical-align: top;
}
th {
  border-bottom: 1px solid;
}
td.n, th.n {
  text-align: right;
}
code {
  font-family: Menlo, Consolas, monospace;
  font-size: 13px;
}
footer {
  padding: 6px 16px 10px;
  border-top: 1px solid;
  font-size: 13px;
}
@media (max-width: 900px) {
  html.full, body.full {
    height: auto;
  }
  main, body.full main {
    flex-direction: column;
    align-items: stretch;
  }
  body.full section {
    overflow: visible;
  }
}
