*, *::before, *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

* {
  margin: 0;
}

ul, li {
  padding: 0;
}

li {
  list-style: none;
}

html, body {
  height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

#root, #__next {
  isolation: isolate;
}

html {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-text-size-adjust: 100%;
}

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

:root {
  --c-white: #fafafa;
  --c-black: #222;
  --c-gray: #ccc;
  --c-gray-light: #e0e0e0;
  --c-border: rgba(0,0,0,0.1);
  --c-blue: #3b4af0;
  --c-green: #008000;
  --c-red: #ff0000;
  --c-purple: #800080;
  --side-w: 22em;
  --page-gap: 1.5em;
  --section-gap: 1.5em;
  --border-radius: .5em;
  --spr-height: 1.5rem;
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-md: 13px;
  --fs-base: 14px;
  --fs-lg: 16px;
}

[data-result=false] {
  color: var(--c-red);
}

[data-result=true] {
  color: var(--c-green);
}

html {
  font-size: var(--fs-base);
  background: #ccc;
  color: var(--c-black);
  font-family: "arial", sans-serif;
  letter-spacing: -0.02em;
}

a {
  color: var(--c-black);
  text-decoration: none;
}

.content {
  width: auto;
  max-width: none;
  min-height: 100vh;
  margin: 0 var(--page-gap) 0 calc(var(--side-w) + var(--page-gap));
  padding: var(--page-gap) 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.content-center {
  width: 100%;
  margin: 0 auto;
}

.content-header {
  padding: 0 0 2em;
}

.content-header h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.content-header p {
  font-size: 1.2em;
}

.name {
  font-weight: 400;
  font-size: var(--fs-lg);
  margin-bottom: 0.5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.name .n {
  padding-right: 0.5em;
}

.name .v {
  font-size: var(--fs-xs);
  padding: 0.25em 0.6em;
  color: var(--c-white);
  background: var(--c-blue);
  border-radius: 0.5em;
}

.side {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--side-w);
  overflow: auto;
  padding: var(--page-gap);
  background: var(--c-white);
  font-size: var(--fs-base);
}

h1 {
  font-weight: 500;
  font-size: var(--fs-lg);
}

h2 {
  font-weight: 500;
  font-size: var(--fs-base);
}

h2 a {
  font-size: var(--fs-base);
  display: inline;
}

p {
  font-size: var(--fs-md);
  margin-bottom: 0.5em;
}

p:last-child {
  margin-bottom: 0;
}

p code {
  font-size: var(--fs-sm);
  background: var(--c-gray-light);
  padding: 0.1em 0.2em;
  border-radius: 0.25em;
}

.side a {
  pointer-events: all;
  display: inline-block;
  color: var(--c-black);
  text-decoration: none;
}

.side-section {
  margin-bottom: var(--section-gap);
  padding-bottom: var(--section-gap);
  border-bottom: 1px solid var(--c-border);
}

.side-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.nav a.here {
  padding-left: 1em;
  pointer-events: none;
  text-decoration: line-through;
}

.update {
  position: fixed;
  z-index: 9999;
  bottom: 1em;
  left: 1em;
  font-size: var(--fs-base);
  width: 19em;
  padding: 1em;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: var(--c-gray);
  border-radius: 0.5em;
}

.update strong {
  font-weight: 600;
  line-height: 1;
}

.update:hover ul {
  display: block;
}

.update ul {
  display: none;
  padding-top: 0.5em;
  padding-left: 1.25em;
}

.update ul li {
  list-style-type: disc;
  padding-bottom: 0.5em;
}

.update ul li:last-child {
  padding-bottom: 0;
}

.ui-stats {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-md);
}

.ui-stats th,
.ui-stats td {
  padding: 0.1em 0;
  font-weight: 400;
  text-align: left;
}

.ui-stats th {
  width: 1%;
  padding-right: 0.75em;
  white-space: nowrap;
}

.ui-stats th:after {
  content: ":";
  margin-left: 0.25em;
}

.ui-power .b {
  overflow: hidden;
  width: 100%;
  height: 1em;
  margin-top: 0.25em;
  border: 1px solid var(--c-border);
}

.ui-power .b div {
  background: var(--c-black);
  width: 0%;
  height: 100%;
}

.ui-button {
  margin-bottom: -0.5em;
}

.ui-button > div {
  margin-bottom: 0.5em;
}

.ui-button button {
  display: inline-block;
  font-size: var(--fs-md);
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid var(--c-border);
  border-radius: 3em;
  padding: 0.25em 0.6em;
}

.ui-toggle {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1em;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--c-black);
  cursor: pointer;
}

.ui-toggle:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
}

.ui-toggle-track {
  position: relative;
  width: 3.5em;
  height: 1.8em;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  border: 1px solid var(--c-border);
  border-radius: 1em;
  background: var(--c-gray-light);
  -webkit-transition: background-color 160ms ease, border-color 160ms ease;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.ui-toggle-track i {
  position: absolute;
  top: 50%;
  left: 0.2em;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: var(--c-black);
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: left 160ms ease, background-color 160ms ease;
  transition: left 160ms ease, background-color 160ms ease;
}

.ui-toggle[aria-checked=true] .ui-toggle-track {
  border-color: var(--c-blue);
  background: var(--c-blue);
}

.ui-toggle[aria-checked=true] .ui-toggle-track i {
  left: 1.9em;
  background: var(--c-white);
}

.ui-button .ui-toggle {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0.35em 0;
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .ui-toggle-track,
  .ui-toggle-track i {
    -webkit-transition: none;
    transition: none;
  }
}
.field {
  position: relative;
  border: 1px solid var(--c-border);
}

.field::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background-color: var(--c-border);
  display: block;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.field::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--c-border);
  display: block;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.src ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 0.25em;
}

.src ul li {
  display: block;
}

.ui-link,
.src a {
  display: inline-block;
  padding: 0.25em 0.6em;
  background: var(--c-black);
  color: var(--c-white);
  border-radius: 0.5em;
  text-decoration: none;
  font-size: var(--fs-sm);
}

.src a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 1.75rem;
}

.ui-back {
  position: fixed;
  top: 1em;
  left: 50%;
  z-index: 9999;
  -webkit-transform: translate(-50%, 0%);
          transform: translate(-50%, 0%);
}

html .ui-link.ui-link-b {
  background: var(--c-blue);
}

.content-section {
  margin-bottom: var(--section-gap);
  background-color: var(--c-white);
  border-radius: var(--border-radius);
  padding: var(--section-gap);
  overflow: hidden;
}

.content-section:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.content-section-header {
  margin-left: calc(var(--section-gap) * -1);
  margin-right: calc(var(--section-gap) * -1);
  margin-top: calc(var(--section-gap) * -1);
  padding: var(--section-gap);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--section-gap);
}

.content-section-header p {
  margin-top: 0.5em;
}

.stage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.stage canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grid {
  position: relative;
  z-index: 1;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr var(--section-gap) 1fr var(--section-gap) 1fr var(--section-gap) 1fr var(--section-gap) 1fr;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--section-gap);
  pointer-events: none;
}

.grid .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.4em;
  min-width: 0;
}

.grid .plane {
  width: 100%;
  aspect-ratio: 1;
}

.grid .label {
  color: var(--c-black);
  font-size: var(--fs-md);
  line-height: 1.3;
  text-align: center;
}

.prettyprint {
  width: 100%;
  padding: 1em;
  overflow: auto;
  display: block;
  white-space: pre;
  background: var(--c-white) !important;
  border: none;
  border: 1px solid var(--c-border) !important;
  border-radius: var(--border-radius);
  margin: 0;
}

.content table {
  font-weight: 300;
  text-align: left;
  width: calc(100% + var(--section-gap) * 2);
  font-size: var(--fs-base);
  border-collapse: collapse;
  border-spacing: 0;
  background: var(--c-white);
  overflow: hidden;
  margin-bottom: calc(var(--section-gap) * -1);
  margin-top: calc(var(--section-gap) * -1);
  margin-left: calc(var(--section-gap) * -1);
  margin-right: calc(var(--section-gap) * -1);
}

.content table * {
  font-weight: 300;
}

.content table thead,
.content table tr {
  border-bottom: 1px solid var(--c-border);
}

.content table th, .content table td {
  padding: 0.5em var(--section-gap);
  min-width: 7rem;
}

.content table td:last-child,
.content table tr:last-child {
  border: none;
}

.content table td[data-str=true], .content table td[data-str=false] {
  color: #008;
}

.content table .ui-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 -0.25em;
}

.content table .ui-btns li {
  margin: 0 0.25em;
}

.spr {
  width: 100%;
  height: var(--spr-height);
}

.spr[data-n="2"] {
  height: calc(var(--spr-height) * 2);
}

.spr[data-n="3"] {
  height: calc(var(--spr-height) * 3);
}

.spr[data-n="4"] {
  height: calc(var(--spr-height) * 4);
}

.spr[data-n="5"] {
  height: calc(var(--spr-height) * 5);
}

.spr[data-n="6"] {
  height: calc(var(--spr-height) * 6);
}

.spr[data-n="7"] {
  height: calc(var(--spr-height) * 7);
}

.spr[data-n="8"] {
  height: calc(var(--spr-height) * 8);
}

.spr[data-n="9"] {
  height: calc(var(--spr-height) * 9);
}

.spr[data-n="10"] {
  height: calc(var(--spr-height) * 10);
}

.index-wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: scroll;
}

.index-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 50%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 5em 0;
  text-align: center;
}
.index-body h2 {
  font-weight: 400;
  font-size: var(--fs-base);
}

.logo {
  font-size: var(--fs-base);
  top: 1em;
  left: 1em;
  position: fixed;
  line-height: 1;
}

.logo div {
  font-size: 5vh;
  -webkit-animation: rotate 10s linear infinite forwards;
          animation: rotate 10s linear infinite forwards;
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@media (max-width: 720px) {
  :root {
    --side-w: 100%;
    --page-gap: 1em;
    --section-gap: 1em;
    --spr-height: 1rem;
  }
  .side {
    position: static;
    width: auto;
    bottom: auto;
    overflow: visible;
    margin: var(--page-gap);
    border-radius: var(--border-radius);
  }
  .side-section:not(.side-header):not(.side-description) {
    display: none;
  }
  .side-description {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .content {
    margin: 0 var(--page-gap);
    padding: 0 0 calc(var(--page-gap) * 2);
    min-height: auto;
  }
  .grid {
    -ms-grid-columns: 1fr 0.7em 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9em 0.7em;
  }
}