@charset "UTF-8";
body {
  background: #ddd;
  margin: 0 0 90vh 0;
  font-family: lucida grande, tahoma, verdana, arial, sans-serif;
}

header, article {
  display: block;
  background: #eee;
  width: auto;
  margin: 0 24px 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  padding: 8px;
}

header {
  border-radius: 0 0 3px 3px;
  position: sticky;
  top: 0;
  z-index: 2;
}

crumbs {
  display: block;
  width: auto;
  margin: 0 24px 8px;
  padding: 0 8px;
  font-size: 12px;
  color: #aaa;
}
crumbs a {
  color: #444;
}

header {
  overflow: auto;
}
header h1 {
  margin: 0;
  line-height: 1;
  font-size: 18px;
  float: left;
}
header nav {
  float: left;
  padding-left: 8px;
  color: #999;
  font-size: 14px;
}
header nav a {
  color: #04c;
}

article {
  font-size: 14px;
}
article h2 {
  margin: 0 0 4px;
  font-size: 16px;
  border-bottom: dashed 1px #666;
}
article p {
  margin: 0;
}
article p + p {
  margin-top: 8px;
}
article ul {
  padding: 0;
  margin: 0;
  list-style: none;
  background: repeat-y url("/img/ul1.svg") 0/16px;
}
article ul::before, article ul::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  background: url("/img/ul0.svg") 0/16px;
}
article ul::after {
  background: url("/img/ul2.svg") 0/16px;
}
article ul li {
  border-left: solid 16px rgba(0, 0, 0, 0);
  background: no-repeat url("/img/ul3.svg") -16px 0/16px;
  padding-left: 4px;
}
article ul li + li {
  margin-top: 8px;
}
article ul li h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1;
}
article ul li a {
  text-decoration: none;
}
article ul li a span {
  font-weight: bold;
  color: #04c;
}
article ul li a small {
  color: #666;
  font-size: 11px;
}
article ul li a:hover span {
  text-decoration: underline;
}
article ul li ul {
  margin-bottom: -16px;
}
article ul[wd] {
  margin-left: 120px;
}
article ul[wd] > time {
  display: block;
  width: 120px;
  padding-right: 5px;
  margin-top: 12px;
  margin-left: -120px;
  color: #666;
  box-sizing: border-box;
  text-align: end;
  font-style: oblique;
  font-size: 12px;
  line-height: 18px;
  height: 0;
}
article ul[wd] li time {
  font-weight: bold;
  font-size: 10px;
}
article a[title] {
  text-decoration: dotted underline;
}
article a[missing] {
  opacity: 0.5;
}
article h3[collapsible] {
  cursor: pointer;
}
article h3[collapsible]:after {
  content: "[collapse]";
  font-size: 80%;
  font-style: oblique;
  font-weight: normal;
  margin-left: 4px;
  opacity: 0;
  transition: opacity 100ms linear;
}
article h3[collapsible]:before {
  content: "▼";
  width: 16px;
  display: inline-block;
  margin-right: 4px;
}
article h3[collapsible]:hover:after {
  opacity: 0.5;
}
article h3[collapsible][collapsed]::before {
  content: "▶";
}
article h3[collapsible][collapsed] + li, article h3[collapsible][collapsed] + ul {
  display: none;
}
article h3[collapsible][collapsed]:after {
  content: "[expand]";
}

.gallery-hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-hub li a:not([missing]) {
  text-decoration: underline;
  font-weight: bold;
}
.gallery-hub.gbg {
  column-gap: min(3vw, 64px);
}
.gallery-hub.gbg :where(ul, li) {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}
.gallery-hub.gbg :where(ul, li):before, .gallery-hub.gbg :where(ul, li):after {
  content: none;
}
.gallery-hub .gbg-ver {
  display: grid;
  margin-bottom: 8px;
}
.gallery-hub .gbg-ver[data-os] {
  padding-left: 40px;
  position: relative;
}
.gallery-hub .gbg-ver[data-os]:after {
  content: "";
  background: #ddd;
  border-radius: 2px;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 0;
  left: 0;
}
.gallery-hub .gbg-ver[data-os="BeOS/Haiku"]:after {
  background: no-repeat url("/img/icons.webp") 0 0;
}
.gallery-hub .gbg-ver[data-os="Mac OS"]:after {
  background: no-repeat url("/img/icons.webp") 0 -32px;
}
.gallery-hub .gbg-ver[data-os="OS/2"]:after {
  background: no-repeat url("/img/icons.webp") 0 -64px;
}
.gallery-hub .gbg-ver[data-os=Ubuntu]:after {
  background: no-repeat url("/img/icons.webp") 0 -96px;
}
.gallery-hub .gbg-ver[data-os=Windows]:after {
  background: no-repeat url("/img/icons.webp") 0 -128px;
}
.gallery-hub .gbg-ver > h3 {
  font-size: 18px;
  margin: 4px 0;
}
.gallery-hub .gbg-ver > ul {
  margin-left: 8px;
}
.gallery-hub .gbg-ver > ul > li {
  display: grid;
  grid-template-columns: min(260px, 20vw) auto;
  margin-top: 4px;
}
.gallery-hub .gbg-ver > ul > li > h3 {
  font-weight: normal;
  font-size: 14px;
  color: #444;
}
.gallery-hub .gbg-ver > ul > li > h3:after {
  content: "»";
  color: #888;
  margin-left: 6px;
}
.gallery-hub .gbg-ver > ul > li a {
  font-weight: normal;
}
.gallery-hub .gbg-ver > ul > li a[href] {
  color: #03c;
}
.gallery-hub .gbg-ver > ul > li > ul {
  color: #aaa;
  display: flex;
  flex-wrap: wrap;
}
.gallery-hub .gbg-ver > ul > li > ul > li {
  display: inline;
}
.gallery-hub .gbg-ver a[missing] {
  color: #444;
}

smol {
  display: block;
  font-size: 10px;
  color: #666;
  line-height: 1;
}

figure:not(.js) img:not(:first-of-type) {
  display: none;
}
figure.js img:not(.vis) {
  display: none;
}
figure figcaption {
  font-size: 11px;
}
figure img:not(.expanded) {
  max-width: 75vw;
  max-height: 90vh;
}

h4 {
  margin: 0;
}

.picker {
  display: grid;
  grid-template-columns: repeat(20, max-content);
  gap: 2px;
  margin-bottom: 2px;
}
.picker button {
  background: #ddd;
  color: #000;
  padding: 0 8px;
  border: none;
  border-radius: 3px;
  font: inherit;
  cursor: pointer;
}
.picker button.sel {
  background: #aaa;
}

ul h3[id] a, ul h4[id] a {
  color: inherit;
}
ul h3[id] a:hover, ul h4[id] a:hover {
  text-decoration: underline;
}

code {
  box-shadow: 0 0 0 1px #aaa;
  padding: 0 2px;
  border-radius: 2px;
  background: #fff;
}

.fixblend img {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}