@charset "UTF-8";
/*!
 * ress.css • v1.2.2
 * MIT License
 * github.com/filipelinhares/ress
 */
html {
  box-sizing: border-box;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%; }

*, :after, :before {
  background-repeat: no-repeat;
  box-sizing: inherit; }

:after, :before {
  text-decoration: inherit;
  vertical-align: inherit; }

* {
  padding: 0;
  margin: 0; }

audio:not([controls]) {
  display: none;
  height: 0; }

hr {
  overflow: visible; }

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
  display: block; }

summary {
  display: list-item; }

small {
  font-size: 80%; }

[hidden], template {
  display: none; }

abbr[title] {
  border-bottom: 1px dotted;
  text-decoration: none; }

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects; }

a:active, a:hover {
  outline-width: 0; }

code, kbd, pre, samp {
  font-family: monospace,monospace; }

b, strong {
  font-weight: bolder; }

dfn {
  font-style: italic; }

mark {
  background-color: #ff0;
  color: #000; }

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -.25em; }

sup {
  top: -.5em; }

input {
  border-radius: 0; }

[role=button], [type=button], [type=reset], [type=submit], button {
  cursor: pointer; }

[disabled] {
  cursor: default; }

[type=number] {
  width: auto; }

[type=search] {
  -webkit-appearance: textfield; }

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none; }

textarea {
  overflow: auto;
  resize: vertical; }

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

optgroup {
  font-weight: 700; }

button {
  overflow: visible; }

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
  border-style: 0;
  padding: 0; }

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button:-moz-focusring {
  outline: 1px dotted ButtonText; }

[type=reset], [type=submit], button, html [type=button] {
  -webkit-appearance: button; }

button, select {
  text-transform: none; }

button, input, select, textarea {
  background-color: transparent;
  border-style: none;
  color: inherit; }

select {
  -moz-appearance: none;
  -webkit-appearance: none; }

select::-ms-expand {
  display: none; }

select::-ms-value {
  color: currentColor; }

legend {
  border: 0;
  color: inherit;
  display: table;
  max-width: 100%;
  white-space: normal; }

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit; }

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px; }

img {
  border-style: none; }

progress {
  vertical-align: baseline; }

svg:not(:root) {
  overflow: hidden; }

audio, canvas, progress, video {
  display: inline-block; }

@media screen {
  [hidden~=screen] {
    display: inherit; }
  [hidden~=screen]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important; } }

[aria-busy=true] {
  cursor: progress; }

[aria-controls] {
  cursor: pointer; }

[aria-disabled] {
  cursor: default; }

::-moz-selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none; }

::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none; }

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none; }

body {
  width: 100%;
  height: 100%;
  background-color: #000;
  font-family: 'Helvetica Neue', 'Alegreya Sans', 'Hiragino Sans', sans-serif;
  font-weight: 100;
  overscroll-behavior: none; }

canvas {
  width: 100%;
  height: 100%;
  cursor: move;
  overscroll-behavior: none; }

#bgCanvas {
  position: absolute;
  z-index: -1; }

#splash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fafafa;
  z-index: 11;
  animation: fadeOut 2s ease forwards; }

@keyframes fadeOut {
  0% {
    opacity: 1; }
  50% {
    opacity: 1; }
  100% {
    opacity: 0; } }
  #splash .title {
    font-size: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 780px;
    transform: translate(-50%, -50%);
    padding: 20px 0;
    border: 2px solid #333;
    text-align: center;
    letter-spacing: 10px;
    color: #333; }
    @media screen and (max-width: 450px), screen and (max-height: 450px) {
      #splash .title {
        width: 320px;
        font-size: 20px; } }

.button-set-left {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 10; }
  @media screen and (max-width: 450px), screen and (max-height: 450px) {
    .button-set-left {
      bottom: 10px;
      left: 10px; } }

.button-set-right {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10; }
  @media screen and (max-width: 450px), screen and (max-height: 450px) {
    .button-set-right {
      bottom: 10px;
      right: 10px; } }

.ui-btn {
  display: inline-block;
  margin: 10px;
  padding: 10px;
  border: 1px solid #333;
  font-size: 30px;
  color: #333;
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
  opacity: 1;
  visibility: visible;
  transform: visibility .5s ease-out, opacity .5s ease-out; }
  @media screen and (max-width: 450px), screen and (max-height: 450px) {
    .ui-btn {
      padding: 5px 10px;
      top: 20px;
      left: 20px;
      font-size: 20px; } }
  .ui-btn.is-hidden {
    display: none;
    visibility: hidden;
    opacity: 0; }
  .ui-btn.emphasize {
    box-shadow: 0 0 30px rgba(80, 208, 252, 0.9);
    background-color: rgba(255, 255, 255, 0.9); }
  .ui-btn:hover {
    background-color: #fff; }
  .ui-btn:active {
    background-color: #000;
    color: #fff; }

#resToggle {
  width: 140px; }
  @media screen and (max-width: 450px), screen and (max-height: 450px) {
    #resToggle {
      width: 100px; } }

.ui-box,
.ui-box-vertical {
  display: inline-block; }
  .ui-box.is-hidden,
  .ui-box-vertical.is-hidden {
    display: none; }

label {
  font-size: 18px; }

#heightUi {
  position: absolute;
  bottom: 350px;
  left: 50px;
  z-index: 10; }
  @media screen and (max-width: 450px), screen and (max-height: 450px) {
    #heightUi {
      bottom: 220px;
      left: 10px; } }

#height {
  display: block;
  transform-origin: 0 0;
  transform: translate(20px, 210px) rotate(-90deg); }
  @media screen and (max-width: 450px), screen and (max-height: 450px) {
    #height {
      transform: translate(25px, 115px) rotate(-90deg); } }

#speedUi.is-hidden {
  display: none; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #555;
  height: 2px;
  width: 200px; }
  @media screen and (max-width: 450px), screen and (max-height: 450px) {
    input[type="range"] {
      width: 100px; } }
  input[type="range"]:focus, input[type="range"]:active {
    outline: none; }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    border: none;
    width: 30px;
    height: 30px;
    display: block;
    background-color: #555;
    border-radius: 50%;
    -webkit-border-radius: 50%; }
  input[type="range"]:disabled {
    background-color: #ccc; }
    input[type="range"]:disabled::-webkit-slider-thumb {
      background-color: #ccc; }

#toggleTwist {
  display: none;
  visibility: hidden; }
  #toggleTwist.show {
    display: inline-block;
    visibility: visible; }
  #toggleTwist.using {
    background-color: #41e194;
    border: 1px solid #41e194;
    color: #fff; }
  #toggleTwist.is-hidden {
    display: none; }

#dlForm {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  z-index: 11; }
  #dlForm .form-close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    cursor: pointer; }
  #dlForm .form-title {
    margin-bottom: 15px;
    font-size: 18px; }
  #dlForm .form-input {
    width: 250px;
    height: 46px;
    margin-right: 10px;
    padding: 10px;
    border: 1px solid #333;
    box-sizing: border-box;
    font-size: 20px;
    font-weight: 300; }
    #dlForm .form-input:focus {
      outline: 0;
      border-width: 3px; }
  #dlForm .form-ok {
    padding: 10px 15px;
    border: 1px solid #333;
    font-size: 20px; }

#dlError {
  display: none;
  color: red;
  font-weight: 600;
  font-size: 12px; }

#resetBtn {
  position: absolute;
  top: 40px;
  left: 40px;
  padding: 10px 20px;
  border: 1px solid #fff;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  transition: all .3s ease-out;
  z-index: 10; }
  @media screen and (max-width: 450px), screen and (max-height: 450px) {
    #resetBtn {
      padding: 5px 10px;
      top: 20px;
      left: 20px;
      font-size: 20px; } }
  #resetBtn .icon_reset {
    width: 30px;
    height: 30px;
    vertical-align: -4px; }
    @media screen and (max-width: 450px), screen and (max-height: 450px) {
      #resetBtn .icon_reset {
        width: 20px;
        height: 20px; } }
  #resetBtn #icon_reset_path {
    fill: #fff;
    transition: all .3s ease-out; }
  #resetBtn:hover {
    background-color: #fff;
    border: 1px solid #333;
    color: #333; }
    #resetBtn:hover #icon_reset_path {
      fill: #333; }

#moveViewBtn {
  display: none; }
  #moveViewBtn.show {
    display: inline-block; }
  #moveViewBtn .icon_move {
    width: 30px;
    height: 30px;
    vertical-align: -4px; }
    @media screen and (max-width: 450px), screen and (max-height: 450px) {
      #moveViewBtn .icon_move {
        width: 20px;
        height: 20px; } }
  #moveViewBtn #icon_move_path {
    fill: #333;
    transition: all .3s ease-out; }
  #moveViewBtn:hover {
    background-color: #fff;
    border: 1px solid #333;
    color: #333; }
  #moveViewBtn.enabled {
    background-color: #41e194;
    color: #fff;
    border: 1px solid #41e194; }
    #moveViewBtn.enabled #icon_move_path {
      fill: #fff; }

#tutorial {
  display: none;
  opacity: 0;
  transition: all .6s ease; }
  #tutorial.show {
    display: block;
    opacity: 1; }
  #tutorial .skipBtn {
    position: absolute;
    top: 40px;
    right: 40px;
    visibility: hidden;
    padding: 10px 20px;
    border: 1px solid #fff;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    z-index: 10; }
    #tutorial .skipBtn.show {
      visibility: visible; }
    #tutorial .skipBtn .skip-icon {
      display: inline-block;
      width: 35px;
      vertical-align: middle; }
  #tutorial .tutorial-head {
    width: 600px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 780px;
    padding: 20px 0;
    border: 2px solid #fff;
    color: #fff;
    font-size: 80px;
    font-weight: 100;
    text-align: center;
    letter-spacing: 10px;
    pointer-events: none;
    z-index: 10; }
  #tutorial .tutorial-content {
    visibility: hidden;
    opacity: 0;
    transition: all .6s ease;
    width: 80%;
    position: absolute;
    top: 210px;
    left: 50%;
    padding: 50px;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid #fff;
    font-size: 30px;
    line-height: 1.6; }
    #tutorial .tutorial-content.bottom {
      top: auto;
      bottom: 120px; }
    #tutorial .tutorial-content.show {
      visibility: visible;
      opacity: 1; }
  #tutorial .lead {
    text-align: center; }
  #tutorial .text {
    margin-top: 15px; }
  #tutorial .inline-img {
    width: 80px;
    display: inline-block;
    margin: 0 15px;
    vertical-align: middle; }
  #tutorial .image-wrap {
    margin-top: 15px;
    text-align: center; }
    #tutorial .image-wrap img {
      margin: 10px; }
  #tutorial .button-text {
    display: inline-block;
    margin: 0 15px;
    padding: 0 20px;
    background-color: #fff;
    border: 1px solid #333; }

.wire-mode .shadow-frame {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: transparent;
  pointer-events: none; }
  .wire-mode .shadow-frame.top-left {
    box-shadow: inset 75px 75px 100px #000; }
  .wire-mode .shadow-frame.bottom-right {
    box-shadow: inset -75px -75px 100px #000; }

.wire-mode label {
  color: #fff; }

.wire-mode input[type="range"] {
  background-color: #fff; }
  .wire-mode input[type="range"]::-webkit-slider-thumb {
    background-color: #fff; }

.wire-mode .ui-btn {
  background-color: #fff; }
  .wire-mode .ui-btn:hover {
    background-color: #000;
    color: #fff;
    border-color: #fff; }
  .wire-mode .ui-btn:active {
    background-color: #000;
    color: #fff; }

.debug {
  font-family: monospace;
  position: fixed; }

#debugRight {
  top: 0;
  right: 0;
  width: 50%; }

#debugLeft {
  top: 0;
  left: 0;
  width: 50%; }

pre {
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 12px; }

.dg.ac {
  z-index: 1 !important; }
