.input {
  margin-bottom: 8px;
}
.input:last-child {
  margin: 0;
}
.input__label {
  display: block;
  margin-bottom: 2px;
  color: #999;
}
.input > input, .input > textarea, .input > select {
  box-sizing: border-box;
  width: 100%;
  line-height: 1.2rem;
  color: #444;
}
.input > input:disabled, .input > textarea:disabled, .input > select:disabled {
  opacity: 0.4;
}
.input > input, .input > textarea {
  padding: 4px;
}

.input-checkbox__label {
  display: inline;
}
.input-checkbox > input[type=checkbox] {
  display: inline;
  width: unset;
  margin-right: 4px;
}

.input-text__input {
  border: 1px solid #ddd;
  border-radius: 0.25rem;
}

.tag {
  border-radius: 9px;
  display: flex;
  align-items: center;
  padding: 0 7px;
  height: 18px;
  font-size: 0.6rem;
  color: white;
  background: hsl(218, 7%, 35%);
}
.tag__description {
  margin: 0 5px;
}
.tag__description:last-child {
  margin-right: 0;
}
.tag > a {
  color: white;
}
.tag > a:hover {
  color: hsl(211, 15%, 84%);
  text-decoration: none;
}
.tag > a:last-child {
  margin-right: -2px;
}

.icon-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.3rem;
  width: 1.3rem;
  padding: 0;
  border-radius: 0.2rem;
  border: 1px solid transparent;
  color: hsl(211, 15%, 84%);
  background: none;
  cursor: pointer;
}
.icon-button:hover {
  color: hsl(218, 13%, 23%);
  border: 1px solid hsl(216, 5%, 52%);
  background: hsl(214, 22%, 91%);
}
.icon-button:active, .icon-button:focus {
  outline: none;
  color: hsl(218, 13%, 23%);
  border: 1px solid #4299E1;
  background: hsl(214, 22%, 91%);
}
.icon-button:active {
  color: hsl(216, 5%, 52%);
}

.tile-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  flex-grow: 1;
  height: 35px;
  padding: 1px;
}
.tile-grid__item {
  box-sizing: content-box;
  border: 1px solid hsl(216, 5%, 52%);
  margin: 0 2px 2px 0;
}
.tile-grid__item_active {
  border: 2px solid red;
  margin: -1px 1px 1px -1px;
}
.tile-grid__item > * {
  display: block;
}

.scroll-container {
  width: 100%;
  height: 100%;
  overflow: auto;
}
.scroll-container .scroll-content {
  min-width: 100%;
  min-height: 100%;
}

.modal {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
}
.modal__container {
  position: absolute;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 800px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  z-index: 300;
}
.modal__container header, .modal__container form, .modal__container footer {
  width: 100%;
}
.modal__container header {
  display: flex;
  padding: 14px 20px;
  background: hsl(210, 28%, 95%);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom: 2px solid hsl(214, 22%, 91%);
  align-items: center;
}
.modal__container header h2 {
  flex: 1;
  font-size: 1.4rem;
}
.modal__container form {
  background: white;
  overflow-y: auto;
  padding: 14px 20px;
}
.modal__container footer {
  display: flex;
  justify-content: flex-end;
  background: hsl(211, 15%, 84%);
  padding: 14px 20px;
  border-top: 2px solid hsl(214, 10%, 69%);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.modal__close {
  cursor: pointer;
}
.modal__backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 200;
}

.page-header {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px;
  flex-shrink: 0;
}
.page-header h1 {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1.2rem;
}
.page-header__actions {
  display: flex;
  flex-direction: row;
}
.page-header__actions li {
  margin-right: 10px;
}
.page-header__actions li:last-child {
  margin: 0;
}

.dropzone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.dropzone__hover-tile {
  pointer-events: none;
  position: relative;
  background-color: rgba(255, 255, 0, 0.4);
}
.dropzone__hover-tile_disabled {
  background-color: rgba(255, 0, 0, 0.2);
}

.tile-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.tile-select__hover-tile {
  pointer-events: none;
  border: 2px dashed #EBF8FF;
  background: rgba(44, 82, 130, 0.4);
  position: absolute;
}
.tile-select__selected-tile {
  pointer-events: none;
  border: 3px solid #f11c61;
  position: absolute;
}

#inspector {
  width: 300px;
  border-left: 1px solid hsl(216, 5%, 52%);
  background: hsl(210, 28%, 95%);
}
#inspector header {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  background: hsl(210, 28%, 95%);
  border-bottom: 1px solid hsl(211, 15%, 84%);
  padding: 10px;
}
#inspector header .title {
  flex: 1;
  padding-right: 10px;
  font: 1rem/1.2rem Verdana, sans-serif;
}
#inspector .inspector__content {
  overflow-x: hidden;
  overflow-y: auto;
}
#inspector .inspector__actions {
  padding: 5px;
  border-bottom: 1px solid hsl(211, 15%, 84%);
}
#inspector .inspector__actions:last-child {
  border-bottom: 0;
}
#inspector .inspector__actions button {
  margin-bottom: 5px;
}
#inspector .inspector__actions button:last-child {
  margin-bottom: 0;
}

.inspector__property {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-bottom: 1px solid hsl(211, 15%, 84%);
}
.inspector__property_inline {
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
}
.inspector__property__title {
  font-size: 0.7rem;
  color: hsl(216, 5%, 52%);
  padding-bottom: 5px;
}
.inspector__property_inline .inspector__property__title {
  padding-bottom: 0;
}
.inspector__property__payload select {
  font-size: 0.8rem;
}
.inspector__property__payload .new-dialogue {
  font-size: 0.8rem;
  display: block;
  margin-top: -8px;
}

.insprop_dialogue {
  display: flex;
  background: white;
  border-radius: 6px;
  align-items: baseline;
}
.insprop_dialogue__title {
  flex: 1;
  padding: 5px 5px 5px 8px;
}
.insprop_dialogue__remove {
  padding: 5px 5px 5px 0;
}

.insprop_active-sprite {
  display: flex;
  border: 1px solid black;
  border-radius: 10px;
  padding: 20px;
  background: black;
  min-height: 120px;
  justify-content: center;
  align-items: center;
}
.insprop_active-sprite:hover {
  background-color: #000c17;
  box-shadow: inset 0 0 20px #3182CE;
}

.insprop_resize-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 19px;
}
.insprop_resize-container__reference {
  position: relative;
  height: 80px;
  width: 80px;
  border: 1px solid black;
}
.insprop_resize-container .resizer {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insprop_resize-container .resizer a {
  color: #3182CE;
  display: flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}
.insprop_resize-container .resizer a:hover {
  color: #2A4365;
  background-color: hsl(214, 22%, 91%);
  text-decoration: none;
}
.insprop_resize-container .resizer_horizontal {
  width: 100%;
  flex-direction: column;
}
.insprop_resize-container .resizer_horizontal a {
  width: 100%;
}
.insprop_resize-container .resizer_horizontal a:first-child {
  margin-bottom: 1px;
}
.insprop_resize-container .resizer_vertical {
  height: 100%;
  flex-direction: row;
}
.insprop_resize-container .resizer_vertical a {
  height: 100%;
}
.insprop_resize-container .resizer_vertical a:first-child {
  margin-right: 1px;
}
.insprop_resize-container .resizer_left {
  left: -19px;
}
.insprop_resize-container .resizer_right {
  right: -19px;
}
.insprop_resize-container .resizer_top {
  top: -19px;
}
.insprop_resize-container .resizer_bottom {
  bottom: -19px;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ul#menu-bar {
  display: flex;
  user-select: none;
  background-color: hsl(218, 7%, 35%);
  padding: 4px;
}
ul#menu-bar li a, ul#menu-bar li span {
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding: 4px 7px;
  margin: 0 6px;
  color: hsl(211, 15%, 84%);
}
ul#menu-bar li a.disabled, ul#menu-bar li span.disabled {
  color: hsl(216, 5%, 52%);
}
ul#menu-bar li a:active {
  padding: 5px 6px 3px 8px;
}
ul#menu-bar li a:hover {
  text-decoration: none;
  border-radius: 5px;
  background-color: hsl(216, 5%, 52%);
  color: hsl(210, 28%, 95%);
}
ul#menu-bar li i {
  margin-right: 6px;
}

.resource_list {
  overflow-x: hidden;
  overflow-y: auto;
}
.resource_list::-webkit-scrollbar {
  width: 10px;
}
.resource_list::-webkit-scrollbar-track {
  background-color: hsl(210, 28%, 95%);
}
.resource_list::-webkit-scrollbar-thumb {
  border: 2px solid hsl(210, 28%, 95%);
  border-radius: 20px;
  background-color: hsl(214, 10%, 69%);
}

.resource {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 5px 3px;
  border: 1px solid hsl(214, 10%, 69%);
  border-radius: 5px;
  font-size: 0.8rem;
  cursor: pointer;
}
.resource__drag_handle {
  cursor: -moz-grab;
  cursor: -webkit-grab;
  cursor: grab;
  padding: 5px;
  background: hsl(211, 15%, 84%);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(214, 10%, 69%);
}
.resource:hover .resource__drag_handle {
  color: hsl(218, 7%, 35%);
}
.resource__icon {
  box-sizing: content-box;
  padding: 5px;
  padding-right: 0;
}
.resource__label {
  padding: 5px;
  color: hsl(218, 13%, 23%);
  flex: 1;
}
.resource__action {
  padding: 5px;
  padding-left: 0;
}

.drag-ghost {
  position: absolute;
  left: -9999999px;
}

.drag-container {
  position: relative;
  height: 100%;
  width: 100%;
}
.drag-container_is-dragging, .drag-container_is-dragging * {
  cursor: -moz-grabbing !important;
  cursor: -webkit-grabbing !important;
  cursor: grabbing !important;
}

.location {
  margin-left: -5px;
  margin-top: -5px;
  position: absolute;
  z-index: 2;
  flex-direction: column;
  box-sizing: border-box;
  user-select: none;
  background: white;
}
.location:hover {
  z-index: 3;
}
.location_is-dragging {
  z-index: 4;
}
.location_is-dragging > * {
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
}
.location:hover .location__header {
  background-color: #f3f3f3;
}
.location__header {
  color: hsl(218, 7%, 35%);
  text-align: center;
  vertical-align: center;
  padding: 5px;
  cursor: grab;
  position: absolute;
  left: 50%;
  bottom: 100%;
  min-width: 100%;
  transform: translateX(-50%);
}
.location__header__title {
  font-size: 0.8rem;
  padding: 0 2px;
}
.location__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid hsl(216, 5%, 52%);
  background: white;
}
.location__tilemap-wrapper {
  border: 3px solid hsl(216, 5%, 52%);
  padding: 2px;
  user-select: none;
  box-sizing: content-box;
}
.location_is-inspecting > .location__tilemap-wrapper {
  border-color: #3182CE;
}
.location__tilemap {
  position: relative;
}
.location__tilemap > * {
  position: absolute !important;
}
.location__tilemap__character {
  position: absolute;
  pointer-events: none;
}
.location__tilemap__tile_is-inspecting {
  box-sizing: content-box;
  margin: -2px 0 0 -2px;
  border: 2px dashed white;
  pointer-events: none;
}

.location-connections {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 4;
}

.location-connection {
  stroke: rgba(49, 130, 206, 0.5);
  fill: transparent;
  stroke-width: 2;
  stroke-dasharray: 3, 3;
}

.level-wrap {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.level {
  margin: auto;
  position: relative;
  background-color: #000;
  user-select: none;
}
.level__layer {
  position: absolute;
  width: 100%;
  height: 100%;
}
.level__tile {
  user-select: none;
  position: absolute;
}
.level__tile [draggable=true] {
  cursor: grab;
}
.level__tile_highlight {
  box-sizing: border-box;
  border: 2px solid red;
  border-radius: 5px;
}

.interactor {
  position: relative;
  overflow: visible;
  width: 100%;
  height: 100%;
}
.interactor_paint {
  border-radius: 5px;
  border: 2px solid yellow;
}
.interactor_walkable {
  background-color: rgba(0, 255, 0, 0.4);
}
.interactor_not-walkable {
  background-color: rgba(255, 0, 0, 0.4);
}
.interactor_disabled {
  background-color: rgba(255, 0, 0, 0.2);
}
.interactor_focus {
  border: 2px solid yellow;
}

.graph-node {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 70px;
  border: 1px solid hsl(218, 7%, 35%);
  border-radius: 5px;
  background: white;
  user-select: none;
}
.graph-node__connector {
  width: 25px;
  height: 25px;
  right: -25px;
  padding: 5px 2px;
  border-radius: 12.5px;
  border: 1px solid hsl(218, 7%, 35%);
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  position: absolute;
  background: white;
}
.graph-node__header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  border-bottom: 1px solid hsl(214, 22%, 91%);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: hsl(204, 35%, 98%);
  padding: 7px;
}
.graph-node__header__title {
  flex-grow: 1;
  color: hsl(216, 5%, 52%);
  font-size: 0.8rem;
  padding: 0 2px;
  cursor: grab;
}
.graph-node__header__actions {
  justify-content: flex-end;
  align-self: center;
}
.graph-node__content {
  display: flex;
  flex-direction: column;
}
.graph-node__content > * {
  flex-grow: 1;
}

.action-wrapper {
  display: flex;
  flext-direction: row;
}
.action-wrapper__content {
  flex-grow: 1;
}
.action-wrapper__actions {
  opacity: 0.3;
  margin: 7px;
  margin-left: 0;
}
.action-wrapper:hover .action-wrapper__actions {
  opacity: 1;
}

.line__options {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.line__options > li {
  border-bottom: 1px solid hsl(210, 28%, 95%);
}
.line__options > li:last-child {
  border: none;
}
.line__state {
  position: absolute;
  top: -22px;
  left: 0;
}
.line__content-wrapper {
  padding: 7px;
}
.line__text {
  font-size: 0.9rem;
  line-height: 1.3rem;
  min-height: 1.3rem;
  user-select: none;
  -webkit-user-select: none;
}
.line__text textarea {
  display: block;
  width: 100%;
  min-height: 4.68rem;
  resize: none;
  border: 1px solid #eee;
}
.line__text textarea:focus {
  border: 1px solid #fafafa;
}
.line__condition {
  display: flex;
  flex-direction: row;
  background: hsl(210, 28%, 95%);
  border-radius: 5px;
  padding: 4px;
  margin-bottom: 5px;
  font-size: 0.7rem;
  color: hsl(216, 5%, 52%);
  font-size: 0.7rem;
}
.line__condition i {
  box-sizing: border-box;
  width: 20px;
  padding: 3px;
}
.line__condition > div {
  padding-right: 4px;
  text-transform: uppercase;
}
.line__condition > ul {
  flex-grow: 1;
}
.line__condition > ul > li {
  user-select: none;
  margin-bottom: 2px;
}
.line__condition > ul > li:last-child {
  margin: 0;
}
.line__triggers > li {
  padding: 7px;
  border-bottom: 1px solid hsl(214, 22%, 91%);
}
.line__triggers > li:last-child {
  border: none;
}
.line__triggers__switch-name {
  display: block;
  color: hsl(216, 5%, 52%);
  font-size: 0.7rem;
  line-height: 1rem;
  margin-bottom: 2px;
}
.line__triggers__switch-value {
  width: 100%;
  font-size: 0.9rem;
  box-sizing: border-box;
}

html {
  background: #fafaf9;
  font-size: 100%;
  color: hsl(218, 7%, 35%);
}
html * {
  box-sizing: border-box;
  font-family: verdana;
}

body {
  font-size: 0.8125rem;
  line-height: 1.2rem;
}

a {
  color: #4299E1;
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
}

.graph {
  position: relative;
  height: 100%;
  width: 100%;
}
.graph_is-dragging, .graph_is-dragging *, .graph_is-connecting, .graph_is-connecting * {
  cursor: -moz-grabbing !important;
  cursor: -webkit-grabbing !important;
  cursor: grabbing !important;
}
.graph__scroll-content {
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;
  position: relative;
}
.graph__item {
  position: absolute;
  z-index: 2;
}
.graph__item_is-dragging {
  z-index: 3;
}
.graph__item_is-dragging > * {
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
}
.graph_is-connecting .graph__item:hover {
  box-shadow: 0px 0px 20px 5px rgba(255, 255, 0, 0.6);
}
.graph__connection-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.graph__connection {
  stroke: hsl(216, 5%, 52%);
  fill: transparent;
}
.graph__connection_is-connector {
  stroke-dasharray: 3, 3;
}

.actions {
  display: flex;
  flex-direction: row;
}
.actions .action {
  margin: 0;
  margin-right: 4px;
}
.actions .action:last-child {
  margin: 0;
}

.actions_vertical {
  display: flex;
  flex-direction: column;
}
.actions_vertical .action {
  margin: 0;
  margin-bottom: 6px;
}
.actions_vertical .action:last-child {
  margin: 0;
}

.action {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 16px;
  color: hsl(211, 15%, 84%);
}
.action:hover {
  color: hsl(218, 13%, 23%);
  cursor: pointer;
}
.action_connect:hover {
  cursor: -moz-grab;
  cursor: -webkit-grab;
  cursor: grab;
}

#game {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
}
#game__view {
  user-select: none;
  margin: 40px 0 10px;
}
#game__help p {
  margin-top: 10px;
  text-align: center;
}
#game__help span {
  display: inline-block;
  border: 1px solid #dcdcdc;
  padding: 4px 10px 3px;
  box-shadow: inset 0px 1px 0px 0px #ffffff;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
  background: -moz-linear-gradient(center top, #ededed 5%, #dfdfdf 100%);
  border-radius: 4px;
  color: #777777;
  font-family: arial;
  font-size: 0.8rem;
  font-weight: bold;
  font-style: normal;
  line-height: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 1px 1px 0px #ffffff;
}

.color-picker {
  margin: 5px;
  display: grid;
  grid-gap: 5px;
  grid-template-columns: repeat(13, auto);
  justify-content: space-between;
}
.color-picker__color {
  border: 1px solid black;
  width: 20px;
  height: 20px;
}
.color-picker__color_selected {
  border: 2px solid white;
  box-shadow: 0px 0px 0px 3px rgba(0, 0, 0, 0.8);
}

.condition-select {
  display: flex;
  flex-direction: row;
  margin-bottom: 8px;
}
.condition-select__switch, .condition-select__value {
  width: 40%;
}
.condition-select__operator {
  flex-grow: 1;
  margin: 0 8px;
}
.condition-select__delete {
  width: 20px;
  text-align: right;
}

.switch-form__value {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.switch-form__value .input:first-child {
  flex-grow: 1;
}
.switch-form__value a {
  margin-left: 8px;
  margin-bottom: 8px;
}

#default-dnd-ghost {
  position: absolute;
  top: -30px;
  left: -30px;
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: yellow;
  opacity: 1;
}

/*# sourceMappingURL=app-d4146023e20a464a77c36bc4c47a96404564cc2d.css.map */
