/* Common imports for all CSS modules */
/*
 * This source is generated by bin/gen/licon.py. Run licon.py after changing public/font/lichess.sfd
 *
 * Constant names and values are pulled from private use characters defined in the sfd file.
 *
 * Character names can be edited in fontforge's "glyph info" dialog, or by editing the StartChar: line that
 * begins each character chunk in lichess.sfd
 *
 * To make these characters visible in your editor, install the lichess.ttf font (which is also generated by
 * licon.py) and then add it to your editor's font list.
 */
/* Uniboard: keep the same page layout across pages */
.slist thead {
  font-family: Roboto, sans-serif;
  font-weight: 300;
}

/* text printed directly on the page background deserves special treatment (transp theme) */
.slist thead {
  box-shadow: inset 0 2px 3px -2px hsl(0, 0%, 45%), inset 0 -4px 6px -3px var(--m-body-gradient--lighten-3);
}
html.light .slist thead, .slist html.light thead {
  box-shadow: inset 0 3px 3px -2px #fff, inset 0 -4px 6px -3px var(--m-body-gradient--lighten-5);
}
.slist thead {
  background-image: linear-gradient(to bottom, var(--c-metal-top), var(--c-metal-bottom));
}

.copy-me__target {
  white-space: nowrap;
}

.page .body {
  overflow-wrap: break-word;
  word-break: normal;
}

.copy-me__target {
  overflow: hidden;
  text-overflow: ellipsis;
}

.page .body .embed {
  position: relative;
  display: block;
  height: 0;
  padding-bottom: 56.25%;
  /* 16/9 */
  width: 100%;
}
.page .body .embed > * {
  border: none;
}

.page .body .embed > * {
  position: absolute;
  width: 100%;
  height: 100%;
}

.copy-me {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.page .body code, .copy-me, .page .body img, .page .body pre {
  border-radius: 7px;
}

/* helps with clipping background into border-radius */
.copy-me__target:is(a):focus-visible, .copy-me__target {
  border-radius: 7px 0 0 7px;
}

.copy-me__button {
  border-radius: 0 7px 7px 0;
}

.page .body img, .page .body pre {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.08), 0 3px 1px -2px rgba(0, 0, 0, 0.18), 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

html.transp .page .body img, .page .body html.transp img, html.transp .page .body pre, .page .body html.transp pre {
  backdrop-filter: blur(6px);
}

.slist {
  width: 100%;
  border-bottom: 1px solid var(--c-border);
}
.slist thead th {
  border-bottom: 1px solid var(--c-border);
  padding: 0.5rem 0.8rem;
}
html.light .slist thead th {
  border-top: 1px solid var(--c-border);
}
.slist thead th.large {
  font-size: 1.2rem;
}
.slist td {
  padding: 1rem;
}
.slist td .label {
  font-family: monospace;
  font-size: 0.8rem;
}
.slist tbody tr:nth-child(even) {
  background: var(--c-bg-zebra);
}
.slist td:first-child,
.slist th:first-child {
  padding-inline-start: 1.5rem;
}
.slist-pad td:first-child,
.slist-pad th:first-child {
  padding-inline-start: var(---box-padding);
}
.slist-pad td:last-child,
.slist-pad th:last-child {
  padding-inline-end: var(---box-padding);
}
.slist-invert tbody tr:nth-child(odd) {
  background: var(--c-bg-zebra);
}
.slist-invert tbody tr:nth-child(even) {
  background: none;
}

.slist-wrapper {
  overflow-x: auto;
  max-width: calc(100vw - var(---box-padding) * 2);
}
@media (max-width: 649.29px) {
  .slist-wrapper .slist {
    min-width: calc(650px - var(---box-padding) * 2);
  }
}

/* requires each td to have a data-label attribute */
@media (max-width: 649.29px) {
  .slist.slist-resp {
    border-collapse: collapse;
    table-layout: fixed;
  }
  .slist.slist-resp thead {
    border: none;
    clip-path: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .slist.slist-resp tr {
    display: block;
    border-top: 1px solid var(--c-border);
  }
  .slist.slist-resp td {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem var(---box-padding);
    border-top: 1px solid var(--c-border);
  }
  .slist.slist-resp td::before {
    /* aria-label has no advantage, it won't be read inside a table
       content: attr(aria-label); */
    content: attr(data-label);
  }
}

@media (max-width: 499.29px) {
  .stack-row {
    display: flex;
    flex-direction: column;
  }
  .stack-row td {
    width: 100%;
    padding-inline-start: var(---box-padding);
    padding-inline-end: var(---box-padding);
  }
}
html.transp .copy-me {
  backdrop-filter: blur(6px);
}
.copy-me__target {
  flex: 1 1 auto;
  padding: 0 1em;
  outline: 0;
  background: none;
  border: 1px solid var(--c-border);
  border-right: 0;
  min-height: 44px;
}
.copy-me__target:is(a) {
  line-height: 40px;
}
.copy-me__target:is(a):focus-visible {
  outline-offset: -2px;
}
.copy-me__button {
  flex: 0 0 auto;
  border: 1px solid var(--c-border);
  border-left: 0;
  min-height: 44px;
}

.page .body strong {
  font-weight: bold;
}
.page .body em {
  font-style: italic;
}
.page .body p,
.page .body pre {
  margin: 2em 0;
}
.page .body ol,
.page .body ul {
  margin: 2em 0;
  padding-inline-start: 2em;
}
.page .body li ol,
.page .body li ul {
  margin: 0;
}
.page .body ol > li {
  list-style: decimal;
}
.page .body ul > li {
  list-style: disc;
}
.page .body li p {
  display: inline-block;
  vertical-align: top;
  margin-top: 0;
}
.page .body {
  /* should not be used */
}
.page .body h1 {
  font-size: 1em;
  margin: 0;
}
.page .body h2:not(:first-child) {
  margin-top: calc(0.9 * 2em);
}
.page .body h2 {
  border-bottom: 1px solid var(--c-brag);
  line-height: 1.5em;
  padding-bottom: calc(0.25 * 2em);
}
.page .body h3 {
  font-size: 18px;
}
@media (min-width: 300px) {
  .page .body h3 {
    font-size: calc(18px + 9 * (100vw - 300px) / 900);
  }
}
@media (min-width: 1200px) {
  .page .body h3 {
    font-size: 27px;
  }
}
.page .body h3 {
  font-weight: bold;
  margin: calc(0.8 * 2em) 0 calc(0.5 * 2em) 0;
}
.page .body h3:first-child {
  margin-top: 0;
}
.page .body h4 {
  font-size: 17px;
}
@media (min-width: 300px) {
  .page .body h4 {
    font-size: calc(17px + 6 * (100vw - 300px) / 900);
  }
}
@media (min-width: 1200px) {
  .page .body h4 {
    font-size: 23px;
  }
}
.page .body h2 a[id],
.page .body h3 a[id],
.page .body h4 a[id] {
  opacity: 0;
}
.page .body h2 a[id]::before,
.page .body h3 a[id]::before,
.page .body h4 a[id]::before {
  color: var(--c-font-dimmer);
  content: "\e001";
  font-family: lichess;
  margin-left: -3rem;
  width: 3rem;
  position: absolute;
}
.page .body h2:hover a[id],
.page .body h3:hover a[id],
.page .body h4:hover a[id] {
  opacity: 1;
}
.page .body img {
  display: block;
  max-width: 100%;
  max-height: 450vh;
  margin: auto;
}
.page .body table {
  margin: 2em 0;
}
.page .body th[align=left],
.page .body td[align=left] {
  text-align: left;
}
.page .body th[align=center],
.page .body td[align=center] {
  text-align: center;
}
.page .body th[align=right],
.page .body td[align=right] {
  text-align: right;
}
.page .body p time {
  border-bottom: 1px dashed var(--c-font-dim);
  cursor: help;
  font-size: 100%;
}
.page .body p a > time {
  border-color: var(--c-link);
}
.page .body p a:hover > time {
  border-color: var(--c-link-hover);
}
.page .body code {
  font-family: monospace;
  padding: 0.2em 0.5em;
  background: var(--c-bg-zebra);
  color: var(--c-font-clear);
  font-size: 0.9em;
  white-space: pre-wrap;
}
.page .body pre {
  background: var(--c-bg-zebra);
  padding: 1em 1.5em;
  line-height: 1.4em;
}
.page .body pre code {
  background: none;
  padding: 0;
}
.page .body img {
  max-width: 100%;
}
.page .body {
  /* image caption */
}
.page .body img + br:has(+ em) {
  display: none;
}
.page .body img + em,
.page .body img + br + em {
  color: var(--c-font-dim);
  margin-top: 10px;
  display: block;
  font-size: 0.8em;
  text-align: center;
}
.page .body .embed {
  margin: var(---block-gap) auto;
}
.page .body .embed > iframe {
  left: 0;
}
.page .body .twitter-tweet {
  color-scheme: normal;
  margin: auto;
}
.page .body .private-study {
  color: var(--c-brag);
  font-size: 1.2em;
}
.page .body {
  font-size: 1.1em;
  overflow-wrap: anywhere;
}
.page .body .center {
  text-align: center;
}

/*# sourceMappingURL=bits.page.css.map */
