@font-face {
  font-family: "XCL Garamond";
  src: url("art/garamond.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
:root,
[data-theme="strawberry"] {
  --ink: #4a2424;
  --line: var(--ink);
  --shade: var(--ink);
  --deep: var(--ink);
  --deep-ink: var(--paper);
  --bright-ink: var(--ink);
  --bright-link: var(--link);
  --hot-ink: #fff;
  --straw-hi: #f7b6c3;
  --mint-hi: #8fe98f;
  --peripale: #cfd6f3;
  --peri-ink: #4b57a8;
  --flagbg: #fff3bd;
  --muted: #8a6a5a;
  --field: #fff;
  --field-ink: var(--ink);
  --stripe: #fff0d8;
  --code: #fffdf5;
  --code-ro: #fffaf0;
  --rule: #f3d9d9;
  --stampbg: rgba(255, 255, 255, 0.5);
  --scrim: rgba(74, 36, 36, 0.86);
  --cell-off: #f1dcc0;
  --cell-shine: #f5ffd4;
  --word: var(--ink);
  --hand-line: var(--ink);
  --thumb: #f9c5cc;
  --thumb-top: var(--ink);
  --wavy-size: auto;
  --page: var(--straw)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='%23f4b0bd'%3E%3Cpath d='M22 8l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Cpath d='M104 74l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3Ccircle cx='72' cy='30' r='3'/%3E%3Ccircle cx='30' cy='104' r='2.5'/%3E%3Ccircle cx='132' cy='128' r='3'/%3E%3Cpath d='M120 22c3-5 10-2 8 4-1 4-8 8-8 8s-7-4-8-8c-2-6 5-9 8-4z'/%3E%3Cpath d='M66 112c2-4 8-2 7 3-1 3-7 7-7 7s-6-4-7-7c-1-5 5-7 7-3z'/%3E%3C/g%3E%3C/svg%3E");
  --hero: var(--straw)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='90'%3E%3Cg fill='%23fbdfe3'%3E%3Cpath d='M18 8l2.5 7 7 2.5-7 2.5-2.5 7-2.5-7-7-2.5 7-2.500z'/%3E%3Cpath d='M80 52l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'/%3E%3Ccircle cx='58' cy='20' r='2.5'/%3E%3Ccircle cx='28' cy='66' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --paper: #fff6e6;
  --vanilla: #fdeccf;
  --straw: #f9c5cc;
  --straw2: #f2a3b3;
  --hot: #e2436b;
  --mint: #6edb6e;
  --mint2: #498a49;
  --mintpale: #d9f2cf;
  --peri: #9aa7e0;
  --butter: #ffe58a;
  --link: #2a3bb0;
  --seen: #8a2f8a;
  --want: #d5263f;
  --serif: Georgia, "Times New Roman", serif;
  --head: "XCL Garamond", Garamond, Georgia, serif;
  --ui: Helvetica, Arial, sans-serif;
  --tiny: Verdana, Geneva, sans-serif;
  --r-sm: 112px 5px 112px 5px / 5px 112px 5px 112px;
  --wavy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='7'%3E%3Cpath d='M0 4C14 1 26 6 42 3.500S70 6 88 3s30 3 44 1 20 1 28 0' fill='none' stroke='%234a2424' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
* {
  box-sizing: border-box;
}
html {
  background: var(--page);
}
body {
  margin: 0;
  padding: 14px 10px 34px;
  font: 15px/1.55 var(--serif);
  color: var(--ink);
}
a {
  color: var(--link);
}
a:visited {
  color: var(--seen);
}
a:hover {
  background: var(--butter);
}
a.want,
a.want:visited {
  color: var(--want);
  text-decoration-style: dotted;
}
img {
  vertical-align: middle;
}
small,
.tiny {
  font: 11px/1.45 var(--tiny);
}
hr {
  border: 0;
  height: 7px;
  background: var(--wavy) left center / var(--wavy-size) repeat-x;
  margin: 12px 0;
}
.ico {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  filter: url(#ink);
}
.wob {
  filter: url(#ink);
}

#sheet {
  max-width: 980px;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 5px 6px 0 var(--shade);
  overflow: clip;
}
#topnav {
  background: var(--deep);
  color: var(--deep-ink);
  font: 12px/1.5 var(--tiny);
  padding: 6px 14px 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  justify-content: space-between;
}
#topnav a {
  color: var(--deep-ink);
}
#topnav a:hover {
  background: var(--hot);
}
#mast {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
}
#logo {
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
#logo:hover {
  background: none;
}
#logo .hand {
  width: 64px;
  height: 64px;
}
#logo .word {
  display: block;
  height: 68px;
  width: 160px;
  margin-left: -2px;
  background: var(--word);
  -webkit-mask: url("art/title.svg") left center / contain no-repeat;
  mask: url("art/title.svg") left center / contain no-repeat;
}
.hand {
  position: relative;
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.hand img,
.hand i {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hand .hb {
  background: var(--hand-line);
  -webkit-mask: url("art/hand-border.svg") center/contain no-repeat;
  mask: url("art/hand-border.svg") center/contain no-repeat;
}
.hand .hl {
  background: var(--hot);
  -webkit-mask: url("art/hand-light.svg") center/contain no-repeat;
  mask: url("art/hand-light.svg") center/contain no-repeat;
}
#logo b {
  display: block;
  align-self: flex-end;
  margin: 0 0 5px -2px;
  font: 700 38px/0.9 var(--head);
  letter-spacing: 0.2px;
}
#logo b i {
  font-style: normal;
  color: var(--hot);
  -webkit-text-stroke: 1.2px var(--hand-line);
}
#logo span {
  font: italic 12px var(--serif);
}
#ticker {
  background: var(--butter);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  font: 11px/1.5 var(--tiny);
  padding: 3px 12px;
}
.new {
  display: inline-block;
  font: 700 9px var(--ui);
  background: var(--hot);
  color: var(--hot-ink);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0 4px;
  transform: rotate(-4deg);
  margin: 0 3px;
}

#cols {
  display: grid;
  grid-template-columns: 182px minmax(0, 1fr);
}
#side {
  border-right: 2px solid var(--line);
  background: var(--vanilla);
  padding: 10px;
  font: 12px/1.5 var(--tiny);
}
#side h4,
.bar {
  font: 700 11px var(--ui);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--straw);
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  margin: 12px 0 4px;
}
#side ul {
  list-style: square;
  padding-left: 18px;
  margin: 4px 0;
}
#side summary {
  cursor: pointer;
  font: 700 12px var(--ui);
  display: none;
}
main {
  padding: 12px 18px 22px;
  min-width: 0;
}
.view {
  display: none;
}
.view.on {
  display: block;
}

input,
select,
textarea {
  font: 14px var(--ui);
  color: var(--field-ink);
  background: var(--field);
  border: 2px solid var(--line);
  border-radius: 0;
  padding: 5px 7px;
  max-width: 100%;
}
textarea {
  width: 100%;
  font: 14px/1.45 var(--serif);
}
.btn {
  font: 700 13px var(--ui);
  color: var(--bright-ink);
  background: var(--mint);
  border: 2.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 5px 12px;
  box-shadow: 2px 3px 0 var(--shade);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn:hover {
  background: var(--mint-hi);
}
.btn:active {
  transform: translate(2px, 3px);
  box-shadow: none;
}
.btn.pink {
  background: var(--straw2);
}
.btn.pink:hover {
  background: var(--straw-hi);
}
.btn.plain {
  background: var(--paper);
  color: var(--ink);
}
.btn.sm {
  font-size: 11px;
  padding: 2px 8px;
  box-shadow: 1px 2px 0 var(--shade);
}
.find {
  position: relative;
}
.find input {
  width: 100%;
}
.hits {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  margin: 2px 0 0;
  padding: 4px 8px 4px 24px;
  background: var(--paper);
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 var(--shade);
  font: 13px/1.6 var(--serif);
}
.hits small {
  color: var(--muted);
}

h1.t {
  font: 700 36px/1 var(--head);
  margin: 2px 0 0;
}
h2 {
  font: 700 25px/1.05 var(--head);
  margin: 22px 0 6px;
  padding-bottom: 8px;
  background: var(--wavy) left bottom / var(--wavy-size) repeat-x;
}
h2 small,
h1 small {
  font: 11px var(--tiny);
  font-weight: 400;
}
.crumb {
  font: 11px var(--tiny);
  margin-bottom: 6px;
}
.tabs {
  font: 700 12px var(--ui);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0 0;
  border-bottom: 2px solid var(--line);
  padding: 0 4px;
}
.tabs a {
  border: 2px solid var(--line);
  border-bottom: 0;
  border-radius: 60px 4px 0 0 / 4px 60px 0 0;
  padding: 2px 9px;
  background: var(--vanilla);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  top: 0;
}
.tabs a.on {
  background: var(--paper);
  top: 2px;
  padding-bottom: 4px;
}
.sub {
  font: 11px/1.5 var(--tiny);
  margin: 6px 0 10px;
}

.box {
  border: 2px solid var(--line);
  background: var(--paper);
  margin: 0 0 14px;
  box-shadow: 3px 3px 0 var(--shade);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.box > h3 {
  margin: 0;
  font: 700 13px var(--ui);
  background: var(--straw);
  border-bottom: 2px solid var(--line);
  padding: 4px 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.box > h3 img {
  width: 22px;
  height: 22px;
}
.box > .in {
  padding: 8px 11px;
}
.box.mint > h3 {
  background: var(--mintpale);
}
.box.butter > h3 {
  background: var(--butter);
}
.box.peri > h3 {
  background: var(--peripale);
}
.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home #side {
  display: none;
}
.home #cols {
  display: block;
}
.home main {
  padding: 16px 24px 24px;
}
.hero {
  position: relative;
  background: var(--hero);
  border: 2.5px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 4px 5px 0 var(--shade);
  padding: 22px 26px;
  margin: 6px 0 24px;
}
.hero form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.hero .q {
  flex: 1 1 230px;
  position: relative;
}
.hero input {
  width: 100%;
  font: 19px var(--serif);
  padding: 9px 12px;
  border-width: 2.5px;
}
.hero .btn {
  font-size: 15px;
  padding: 8px 18px;
}
.dir {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 0 2px;
}
.cat {
  font: 12px/1.55 var(--tiny);
  min-height: 60px;
  position: relative;
  padding-left: 68px;
}
.cat img {
  position: absolute;
  left: 0;
  top: 0;
  width: 58px;
  height: 58px;
}
.cat b {
  font: 700 25px/1 var(--head);
  display: block;
  margin-bottom: 2px;
}
.cat b small {
  font-weight: 400;
}
ul.plain {
  margin: 4px 0;
  padding-left: 20px;
  list-style: square;
}
ol.plain {
  margin: 4px 0;
  padding-left: 24px;
}
.plain .plain {
  margin: 2px 0;
}
.fig {
  display: flow-root;
  box-sizing: border-box;
  max-width: 100%;
  margin: 10px 0 14px;
  padding: 4px;
  background: var(--paper);
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 var(--shade);
}
.fig a,
.shot a {
  display: block;
  line-height: 0;
  cursor: zoom-in;
}
.fig img,
.shot img {
  display: block;
  max-width: 100%;
  height: auto;
}
.fig figcaption,
.shot figcaption,
p.cap {
  font: 11px/1.4 var(--tiny);
  padding: 4px 2px 1px;
}
.fig.side {
  float: right;
  clear: right;
  margin: 4px 0 12px 16px;
}
.fig.auto {
  width: fit-content;
}
.fig.auto img {
  width: auto;
  max-width: min(100%, 440px);
  max-height: 300px;
}
.pics {
  clear: right;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}
.shot {
  margin: 0;
  padding: 3px;
  background: var(--paper);
  border: 2px solid var(--line);
  max-width: 100%;
}
.shot img {
  height: 170px;
  width: auto;
}
.shot figcaption {
  max-width: 160px;
}
p.cap {
  margin: 0 0 12px;
}
a.inl {
  cursor: zoom-in;
}
a.inl img {
  max-width: min(100%, 320px);
  max-height: 220px;
  width: auto;
  height: auto;
  border: 2px solid var(--line);
  margin: 2px 0;
}
td a.inl img,
li a.inl img {
  max-width: 160px;
  max-height: 120px;
}
article h2 {
  overflow: hidden;
}
#view {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--scrim);
  cursor: zoom-out;
}
#view img {
  max-width: min(96vw, 1400px);
  max-height: calc(100vh - 90px);
  width: auto;
  height: auto;
  background: var(--paper);
  border: 3px solid var(--line);
  box-shadow: 5px 6px 0 #000;
}
#view .bar {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 96vw;
  color: var(--paper);
  font: 12px/1.4 var(--tiny);
  cursor: default;
}
#view .bar span {
  flex: 1;
}
#view button {
  font: 700 12px var(--ui);
  color: var(--bright-ink);
  background: var(--butter);
  border: 2px solid var(--line);
  padding: 3px 9px;
  cursor: pointer;
}
#view button:hover {
  background: var(--straw);
}
@media (max-width: 640px) {
  .fig.side {
    float: none;
    margin: 10px 0 14px;
  }
  .shot img {
    height: 120px;
  }
}

.info {
  float: right;
  width: 236px;
  margin: 0 0 12px 18px;
  font: 12px/1.45 var(--tiny);
}
.info table {
  width: 100%;
  border-collapse: collapse;
}
.info th {
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  padding: 3px 6px 3px 8px;
  border-top: 1.5px solid var(--line);
}
.info td {
  padding: 3px 8px 3px 2px;
  border-top: 1.5px solid var(--line);
}
.info .pic {
  text-align: center;
  padding: 6px;
  background: var(--vanilla);
}
.info .pic img {
  width: 104px;
  height: 104px;
}
.src {
  font: 10px/1.4 var(--tiny);
  opacity: 0.85;
}
.info table {
  table-layout: fixed;
}
.info th {
  width: 92px;
  white-space: normal;
}
.flag {
  display: flex;
  gap: 10px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--flagbg);
  margin: 10px 0;
  box-shadow: 3px 3px 0 var(--shade);
}
.flag:before {
  content: "";
  flex: 0 0 16px;
  background: repeating-linear-gradient(
    -45deg,
    var(--deep) 0 7px,
    var(--butter) 7px 14px
  );
}
.flag p {
  margin: 7px 8px 7px 0;
  font: 12px/1.5 var(--tiny);
}
.stamp {
  display: inline-block;
  font: 700 10px var(--ui);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 2.5px solid currentColor;
  border-radius: var(--r-sm);
  padding: 1px 6px;
  transform: rotate(-2deg);
  color: var(--mint2);
  background: var(--stampbg);
  filter: url(#ink);
  white-space: nowrap;
}
.stamp.hot {
  color: var(--want);
}
.stamp.ink {
  color: var(--ink);
}
.stamp.peri {
  color: var(--peri-ink);
}
.toc {
  display: inline-block;
  border: 2px solid var(--line);
  background: var(--vanilla);
  padding: 6px 14px 6px 8px;
  font: 12px/1.6 var(--tiny);
  margin: 4px 0 6px;
}
.toc ol {
  margin: 2px 0;
  padding-left: 22px;
}
.scroll {
  overflow-x: auto;
}
table.data {
  border-collapse: collapse;
  font: 13px/1.45 var(--serif);
  margin: 6px 0;
  min-width: 60%;
}
table.data th {
  background: var(--straw);
  font: 700 12px var(--ui);
  text-align: left;
}
table.data th,
table.data td {
  border: 1.5px solid var(--line);
  padding: 4px 8px;
  vertical-align: top;
}
table.data.kv {
  width: 100%;
}
table.data.kv th {
  width: 1%;
  white-space: nowrap;
  vertical-align: top;
}
.abox {
  clear: both;
  margin: 12px 0 16px;
}
.abox > .in > :first-child {
  margin-top: 0;
}
.abox > .in > :last-child {
  margin-bottom: 0;
}
.abox table.data {
  margin: 0;
}
table.data tr:nth-child(even) td {
  background: var(--stripe);
}
details.spoiler {
  border: 2px dashed var(--line);
  background: var(--vanilla);
  padding: 5px 10px;
  margin: 8px 0;
  border-radius: var(--r-sm);
}
details.spoiler summary {
  font: 700 13px var(--ui);
  cursor: pointer;
}
.foot {
  clear: both;
  margin-top: 22px;
  padding-top: 12px;
  background: var(--wavy) left top / var(--wavy-size) repeat-x;
  font: 11px/1.7 var(--tiny);
}
.cells {
  vertical-align: middle;
  margin: 0 4px;
}
pre.md {
  font:
    12.5px/1.55 "Courier New",
    monospace;
  background: var(--code) linear-gradient(var(--rule) 1px, transparent 1px) 0
    0/100% 19.4px;
  border: 2px solid var(--line);
  padding: 10px 12px;
  overflow-x: auto;
  white-space: pre-wrap;
  box-shadow: 3px 3px 0 var(--shade);
}
fieldset {
  border: 2px solid var(--line);
  margin: 0 0 12px;
  padding: 8px 12px 10px;
  border-radius: var(--r-sm);
}
legend {
  font: 700 12px var(--ui);
  padding: 0 5px;
}
label.r {
  display: inline-block;
  margin: 2px 14px 2px 0;
  font: 13px var(--ui);
}
blockquote {
  margin: 6px 0;
  padding: 5px 10px;
  border-left: 5px solid var(--straw2);
  background: var(--vanilla);
  font-style: italic;
}
.rc {
  list-style: none;
  padding: 0;
  margin: 4px 0 14px;
  font: 12.5px/1.75 var(--tiny);
}
.rc i {
  color: var(--muted);
}
.plus {
  color: var(--mint2);
  font-weight: 700;
}
.minus {
  color: var(--want);
  font-weight: 700;
}
.wonly,
.sonly {
  display: none;
}
.writer .wonly,
.signed span.sonly {
  display: inline;
}
.signed div.sonly {
  display: block;
}
.writer .wblock {
  display: block;
}
.writer .vonly {
  display: none;
}

.ad {
  position: relative;
  border: 2px dashed var(--line);
  background: var(--vanilla);
  font: 700 13px/1.2 var(--ui);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
}
.ad,
.ad:visited,
.ad.want {
  color: var(--ink);
  text-decoration: none;
}
.ad:hover {
  background: var(--butter);
  color: var(--bright-ink);
}
.ad:after {
  content: "ad";
  position: absolute;
  right: 3px;
  bottom: 1px;
  font: 9px var(--tiny);
  opacity: 0.6;
}
.ad img {
  flex: none;
}
.ad em {
  font: italic 11px var(--serif);
  display: block;
  font-weight: 400;
}
.ad b {
  font: 700 21px/1 var(--head);
  display: block;
}
#banner {
  width: 468px;
  max-width: 100%;
  height: 62px;
  padding: 0 10px 0 4px;
  flex: 0 1 468px;
}
#banner img {
  width: 52px;
  height: 52px;
}
#sky {
  flex-direction: column;
  text-align: center;
  padding: 10px 6px 14px;
  margin-top: 6px;
}
#sky img {
  width: 84px;
  height: 84px;
}
.adnote {
  font: 9px var(--tiny);
  text-align: center;
  opacity: 0.75;
  margin-top: 3px;
}
.ad.catch {
  background: var(--peripale);
  color: var(--bright-ink);
}
.catch img {
  width: 50px;
  height: 50px;
  flex: none;
  animation: slide 2.6s ease-in-out infinite alternate;
}
@keyframes slide {
  to {
    transform: translateX(250px) rotate(25deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .catch img {
    animation: none;
  }
}

#foot {
  border-top: 2px solid var(--line);
  background: var(--vanilla);
  padding: 10px 14px 12px;
  font: 11px/1.7 var(--tiny);
  text-align: center;
}
.b88 {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 31px;
  border: 2px solid var(--line);
  box-shadow: 1px 2px 0 var(--shade);
  font: 700 9px/1.05 var(--ui);
  text-decoration: none;
  color: var(--bright-ink);
  background: var(--straw);
  margin: 3px;
  vertical-align: middle;
  text-transform: uppercase;
  border-radius: 0;
}
.b88:nth-child(2) {
  background: var(--mint);
}
.b88:nth-child(3) {
  background: var(--butter);
}
.b88:nth-child(4) {
  background: var(--peripale);
}
.b88:nth-child(5) {
  background: var(--paper);
  color: var(--ink);
}
.b88:nth-child(6) {
  background: var(--deep);
  color: var(--deep-ink);
}
.b88:visited,
.btn:visited {
  color: var(--bright-ink);
}
.b88:nth-child(5):visited,
.btn.plain:visited {
  color: var(--ink);
}
.b88:nth-child(6):visited {
  color: var(--deep-ink);
}
.ctr span {
  display: inline-block;
  background: var(--deep);
  color: var(--butter);
  font:
    700 13px "Courier New",
    monospace;
  padding: 1px 3px;
  margin: 0 1px;
  border-radius: 0;
}
kbd {
  font: 700 10px var(--ui);
  border: 1.5px solid var(--line);
  border-bottom-width: 3px;
  border-radius: var(--r-sm);
  padding: 0 4px;
  background: var(--paper);
}
#wbar {
  display: none;
}

@media (max-width: 720px) {
  body {
    padding: 0;
    font-size: 15px;
  }
  #sheet {
    border-width: 0 0 3px;
    border-radius: 0;
    box-shadow: none;
  }
  #mast {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  #logo b {
    font-size: 30px;
  }
  #logo .word {
    height: 54px;
    width: 127px;
  }
  #logo .hand {
    width: 52px;
    height: 52px;
  }
  #banner {
    flex: none;
    width: 100%;
  }
  #cols {
    display: block;
  }
  #side {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }
  #side summary {
    display: block;
    margin-top: 8px;
  }
  #side h4 {
    display: none;
  }
  #sky,
  .ctrbox {
    display: none;
  }
  main {
    padding: 10px 12px 18px;
  }
  .three {
    grid-template-columns: 1fr;
  }
  .dir {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .home main {
    padding: 10px 12px 18px;
  }
  .hero {
    padding: 14px;
    margin-top: 4px;
  }
  .cat {
    padding-left: 54px;
  }
  .cat img {
    width: 46px;
    height: 46px;
  }
  .cat b {
    font-size: 22px;
  }
  .info {
    float: none;
    width: auto;
    margin: 10px 0;
  }
  h1.t {
    font-size: 31px;
  }
}
@media (max-width: 420px) {
  .dir {
    grid-template-columns: 1fr;
  }
  .tabs a {
    padding: 2px 6px;
  }
}

.widget,
.widget body {
  background: var(--paper);
}
.widget body {
  padding: 0;
  font-size: 14px;
}
.widget #sheet {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  max-width: none;
}
.widget #topnav,
.widget #mast,
.widget #ticker,
.widget #side,
.widget #sponsors,
.widget #foot,
.widget .tabs,
.widget .crumb,
.widget .toc,
.widget .foot .long {
  display: none;
}
.widget #cols {
  display: block;
}
.widget main {
  padding: 8px 11px 14px;
}
.widget #wbar {
  display: flex;
  gap: 7px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--straw);
  border-bottom: 2px solid var(--line);
  padding: 5px 8px;
  font: 700 13px var(--ui);
}
.widget #wbar .hand {
  width: 30px;
  height: 30px;
  margin: -4px 0;
}
.widget #wbar .find {
  flex: 1;
}
.widget #wbar input {
  padding: 3px 6px;
  font-size: 13px;
}
.widget h1.t {
  font-size: 27px;
}
.widget h2 {
  font-size: 21px;
  margin-top: 14px;
}
.widget .info {
  float: none;
  width: auto;
  margin: 8px 0;
}
.widget .info .pic img {
  width: 68px;
  height: 68px;
}
.widget .flag p {
  font-size: 11px;
}
#who a {
  color: var(--deep-ink);
}
.noads #banner,
.noads #sky,
.noads #sponsors,
.noads xcl-ad,
.noads xcl-pill-ad {
  display: none !important;
}
#sponsors {
  border-top: 2px solid var(--line);
  background: var(--paper);
  padding: 12px 10px 7px;
  text-align: center;
}
#sponsors .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}
#sponsors .adnote {
  margin-top: 6px;
}
#side xcl-ad[data-slot="sky"] {
  position: sticky;
  top: 10px;
}
@media (max-width: 720px) {
  #side xcl-ad[data-slot="sky"] {
    display: none;
  }
}
#foot .ctr {
  margin-left: 10px;
  vertical-align: middle;
}
hr.wide {
  margin: 20px 0 16px;
}
h1.t.want {
  color: var(--want);
}
span.want {
  color: var(--want);
}
.hint {
  margin-top: 6px;
  background: var(--butter);
  border: 1.5px solid var(--line);
  padding: 4px 8px;
}
.pot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.err {
  color: var(--want);
  font: 700 13px var(--ui);
}
.row {
  margin: 8px 0 0;
}
table.data.wide {
  width: 100%;
  font-size: 12.5px;
}
.h2tile {
  width: 34px;
  height: 34px;
}
.cols2 {
  columns: 2;
}
.sprout {
  width: 48px;
  height: 48px;
  margin-right: 8px;
}
.note {
  border: 2px solid var(--line);
  background: var(--butter);
  padding: 2px 10px;
  margin: 8px 0;
  border-radius: var(--r-sm);
}
pre.code {
  font:
    12.5px/1.5 "Courier New",
    monospace;
  background: var(--code);
  border: 2px solid var(--line);
  padding: 8px 10px;
  overflow-x: auto;
}
article img,
article video,
#eprev img,
#eprev video {
  max-width: 100%;
  height: auto;
}
article p > img,
article p > video {
  border: 2px solid var(--line);
  margin: 4px 0;
}
article video,
#eprev video {
  max-width: min(100%, 440px);
  max-height: 360px;
}
.src-edit {
  font:
    13px/1.5 "Courier New",
    monospace;
  background: var(--code) linear-gradient(var(--rule) 1px, transparent 1px) 0
    0/100% 19.5px;
  line-height: 19.5px;
  box-shadow: 3px 3px 0 var(--shade);
  min-height: 320px;
}
.src-edit[readonly] {
  background-color: var(--code-ro);
}
#ebar {
  background: var(--mintpale);
  border: 2px solid var(--line);
  padding: 6px 10px;
  margin: 0 0 8px;
}
#eprev {
  border: 2px dashed var(--line);
  padding: 4px 12px;
  margin-top: 6px;
  background: var(--paper);
}
.rc li[hidden] {
  display: none;
}
.tk-text {
  white-space: pre-wrap;
}
@media (max-width: 720px) {
  .cols2 {
    columns: 1;
  }
}
#ticker,
#side h4,
.bar,
.box > h3,
table.data th,
.flag,
.hint,
.note,
#ebar,
.widget #wbar {
  color: var(--bright-ink);
}
#ticker a,
.flag a,
.hint a,
.note a,
#ebar a,
.widget #wbar a {
  color: var(--bright-link);
}
.cells .c-edge {
  fill: var(--line);
}
.cells .c-on {
  fill: var(--mint2);
}
.cells .c-lit {
  fill: var(--mint);
}
.cells .c-shine {
  fill: var(--cell-shine);
}
.cells .c-off {
  fill: var(--cell-off);
}
#lay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--scrim);
}
#lay .win {
  width: min(540px, 100%);
  max-height: 100%;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--line);
  box-shadow: 6px 7px 0 var(--shade);
}
#lay .tb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--deep);
  color: var(--deep-ink);
  font: 700 13px var(--ui);
  padding: 4px 5px 4px 10px;
}
#lay .tb button {
  width: 24px;
  height: 20px;
  padding: 0;
  font: 700 11px var(--ui);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--deep-ink);
  cursor: pointer;
}
#lay .in {
  padding: 10px 12px 12px;
}
#lay .opt {
  display: grid;
  grid-template-columns: auto 104px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px;
  border: 2px solid transparent;
  cursor: pointer;
}
#lay .opt:has(input:checked) {
  border-color: var(--line);
  background: var(--vanilla);
}
#lay .opt input {
  margin: 0;
}
#lay .opt b {
  display: block;
  font: 700 21px/1 var(--head);
}
.thumb {
  position: relative;
  display: block;
  width: 104px;
  height: 68px;
  overflow: hidden;
  background: var(--thumb);
  border: 2px solid var(--line);
}
.thumb i {
  position: absolute;
  display: block;
}
.thumb .s {
  left: 11px;
  right: 11px;
  top: 7px;
  bottom: -4px;
  background: var(--paper);
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 var(--shade);
}
.thumb .t {
  left: 13px;
  right: 13px;
  top: 9px;
  height: 7px;
  background: var(--thumb-top);
}
.thumb .y {
  left: 13px;
  right: 13px;
  top: 16px;
  height: 4px;
  background: var(--butter);
}
.thumb .h {
  left: 19px;
  top: 26px;
  width: 30px;
  height: 7px;
  background: var(--hot);
}
.thumb .l {
  left: 19px;
  right: 40px;
  height: 3px;
  background: var(--ink);
  opacity: 0.75;
}
.thumb .l.a {
  top: 39px;
}
.thumb .l.b {
  top: 46px;
  right: 52px;
}
.thumb .l.c {
  top: 53px;
  background: var(--link);
}
.thumb .k {
  right: 18px;
  top: 26px;
  width: 17px;
  height: 11px;
  background: var(--mint);
  border: 1.5px solid var(--line);
}
.thumb .p {
  right: 18px;
  top: 42px;
  width: 17px;
  height: 14px;
  background: var(--straw);
  border: 1.5px solid var(--line);
}
#lay h4 {
  margin: 12px 0 2px;
  font: 700 12px var(--ui);
}
#lay textarea {
  height: 128px;
  font:
    12px/1.45 "Courier New",
    monospace;
  background: var(--code);
  color: var(--field-ink);
}
#lay .go {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
#lay .prog {
  flex: 1;
  min-width: 120px;
  height: 20px;
  display: flex;
  gap: 2px;
  padding: 2px;
  background: var(--field);
  border: 2px solid var(--line);
}
#lay .prog i {
  flex: 1;
}
#lay .prog i.on {
  background: var(--hot);
}
#lay .say {
  min-width: 64px;
  font: 11px var(--tiny);
}

[data-theme="dusk"] {
  --ink: #f1e4cf;
  --line: #4b4a96;
  --shade: #090822;
  --deep: #0d0c27;
  --deep-ink: #8fd6d8;
  --bright-ink: #1a1333;
  --bright-link: #1a1333;
  --paper: #17173d;
  --vanilla: #1f1f4e;
  --straw: #e8607f;
  --straw2: #2fa9ab;
  --straw-hi: #4cc2c3;
  --hot: #ff6b93;
  --hot-ink: #1a1333;
  --mint: #ffb84d;
  --mint-hi: #ffcf80;
  --mint2: #6fd6a8;
  --mintpale: #2fa9ab;
  --peri: #9a9af0;
  --peripale: #7c7cdc;
  --peri-ink: #b6b6ff;
  --butter: #ffcf66;
  --flagbg: #f6c453;
  --link: #6fd8dc;
  --seen: #c8a6ff;
  --want: #ff9482;
  --muted: #9d99c4;
  --field: #0e0e2b;
  --field-ink: #f1e4cf;
  --stripe: #1c1c47;
  --code: #101030;
  --code-ro: #13133a;
  --rule: #22225a;
  --stampbg: rgba(0, 0, 0, 0.3);
  --scrim: rgba(8, 7, 30, 0.88);
  --cell-off: #2c2c68;
  --cell-shine: #fff3d0;
  --word: linear-gradient(180deg, #ffe7a6 0%, #ffb347 55%, #ff7a59 100%);
  --wavy: linear-gradient(90deg, #ff6b93, #ffb347);
  --wavy-size: 100% 2px;
  --hand-line: #2a1436;
  --thumb: linear-gradient(180deg, #0f6f80, #30307e 60%, #6a3678);
  --thumb-top: #0d0c27;
  --page:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E")
      left top / 180px 180px repeat fixed,
    linear-gradient(
        180deg,
        #0f6f80 0%,
        #1e4f8a 28%,
        #30307e 58%,
        #4a2f7f 82%,
        #7a3a78 100%
      )
      fixed;
  --hero: linear-gradient(90deg, #126a7c 0%, #2b2a78 60%, #5a2f86 100%);
  color-scheme: dark;
}
[data-theme="dusk"] #mast {
  background: linear-gradient(180deg, #126a7c 0%, #23357f 62%, #2c2a74 100%);
}
[data-theme="dusk"] #ticker {
  background: linear-gradient(90deg, #ffcf66 0%, #ff9a4d 55%, #e8607f 100%);
}
[data-theme="dusk"] a:hover,
[data-theme="dusk"] #topnav a:hover {
  color: #1a1333;
}
[data-theme="dusk"] h1.t {
  color: #ffe2a8;
}
[data-theme="dusk"] .cat img,
[data-theme="dusk"] .ad img,
[data-theme="dusk"] .h2tile,
[data-theme="dusk"] .sprout,
[data-theme="dusk"] .info .pic img {
  filter: brightness(0.95);
}
[data-theme="dusk"] ::selection {
  background: #ff6b93;
  color: #1a1333;
}
[data-theme="dusk"] #logo b i {
  color: #ffa9c0;
}

[data-theme="dark"] {
  --ink: #c9c9c9;
  --line: #474747;
  --shade: #000000;
  --deep: #000000;
  --deep-ink: #b9b9b9;
  --bright-ink: #efefef;
  --bright-link: #ffffff;
  --paper: #141414;
  --vanilla: #1d1d1d;
  --straw: #5c0f15;
  --straw2: #2b3d55;
  --straw-hi: #38506f;
  --hot: #d8232d;
  --hot-ink: #ffffff;
  --mint: #3b3b3b;
  --mint-hi: #505050;
  --mint2: #86c268;
  --mintpale: #20351f;
  --peri: #7db1e8;
  --peripale: #22364d;
  --peri-ink: #7db1e8;
  --butter: #3a1114;
  --flagbg: #2c2616;
  --link: #7db1e8;
  --seen: #a994d6;
  --want: #ff6464;
  --muted: #8b8b8b;
  --field: #0a0a0a;
  --field-ink: #dddddd;
  --stripe: #1a1a1a;
  --code: #0c0c0c;
  --code-ro: #101010;
  --rule: #1c1c1c;
  --stampbg: rgba(0, 0, 0, 0.35);
  --scrim: rgba(0, 0, 0, 0.88);
  --cell-off: #2b2b2b;
  --cell-shine: #d8f0c8;
  --word: linear-gradient(180deg, #ffffff 0%, #d0d0d0 50%, #8e8e8e 100%);
  --wavy: linear-gradient(#3d3d3d, #3d3d3d);
  --wavy-size: 100% 1px;
  --hand-line: #1c0f0f;
  --thumb: #000000;
  --thumb-top: #000000;
  --page: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Ccircle cx='71.9' cy='136.1' r='0.5' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='2.5' cy='29.8' r='0.5' fill='%23ffffff' opacity='0.2'/%3E%3Ccircle cx='74.8' cy='105.4' r='0.5' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='40.8' cy='241.9' r='0.5' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='41.7' cy='231.2' r='0.8' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='109.5' cy='120.6' r='0.8' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='171.8' cy='26.5' r='0.8' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='87.5' cy='258.9' r='0.8' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='132' cy='3.4' r='0.5' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='55' cy='17.4' r='0.8' fill='%23ffffff' opacity='0.2'/%3E%3Ccircle cx='216.5' cy='5.3' r='0.5' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='174' cy='177.3' r='0.8' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='121.1' cy='0.3' r='0.8' fill='%23ffffff' opacity='0.2'/%3E%3Ccircle cx='134.1' cy='31.1' r='0.8' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='63.6' cy='63.8' r='0.5' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='224.3' cy='46.8' r='0.5' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='153.9' cy='105.8' r='0.5' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='106.1' cy='93.2' r='0.5' fill='%23ffffff' opacity='0.6'/%3E%3Ccircle cx='62.1' cy='249.8' r='0.5' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='168.4' cy='232.6' r='0.8' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='200.3' cy='194.5' r='0.5' fill='%23ffffff' opacity='0.2'/%3E%3Ccircle cx='77.1' cy='197.6' r='0.8' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='241.1' cy='3' r='0.5' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='223.8' cy='238' r='0.8' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='94.4' cy='181.8' r='1.2' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='20.7' cy='78.9' r='0.8' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='3.2' cy='103.2' r='0.5' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='13.6' cy='115.2' r='0.5' fill='%23ffffff' opacity='0.2'/%3E%3Ccircle cx='30.4' cy='105.1' r='1.2' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='172.7' cy='48.3' r='0.5' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='41.2' cy='109.5' r='0.8' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='80.2' cy='101.5' r='0.8' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='161.9' cy='170.4' r='1.2' fill='%23ffffff' opacity='0.6'/%3E%3Ccircle cx='22.5' cy='28.1' r='0.5' fill='%23ffffff' opacity='0.5'/%3E%3C/svg%3E")
    #000000;
  --hero: linear-gradient(180deg, #262626, #181818);
  color-scheme: dark;
}
[data-theme="dark"] #topnav {
  border-bottom: 1px solid #474747;
}
[data-theme="dark"] #mast {
  background: linear-gradient(180deg, #1f1f1f, #141414);
}
[data-theme="dark"] a:hover,
[data-theme="dark"] #topnav a:hover {
  color: #ffffff;
}
[data-theme="dark"] h1.t {
  color: #f2f2f2;
}
[data-theme="dark"] h2,
[data-theme="dark"] .cat b,
[data-theme="dark"] #lay .opt b {
  color: #e9e9e9;
}
[data-theme="dark"] #side h4,
[data-theme="dark"] .bar,
[data-theme="dark"] .box > h3,
[data-theme="dark"] table.data th {
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
}
[data-theme="dark"] .btn {
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0)
  );
}
[data-theme="dark"] .ctr span {
  color: #ff3b3b;
}
[data-theme="dark"] .cat img,
[data-theme="dark"] .ad img,
[data-theme="dark"] .h2tile,
[data-theme="dark"] .sprout,
[data-theme="dark"] .info .pic img {
  filter: saturate(0.75) brightness(0.88);
}
[data-theme="dark"] .fig img,
[data-theme="dark"] .shot img {
  filter: brightness(0.94);
}
[data-theme="dark"] ::selection {
  background: #8f1820;
  color: #ffffff;
}
[data-theme="dark"] #logo b i {
  -webkit-text-stroke-color: #dcdcdc;
}
