.iflex {
  display: -webkit-inline-flex;
  display: -webkit-inline-box;
  display: -moz-inline-flex;
  display: -ms-inline-flex;
  display: -o-inline-flex;
  display: inline-flex;
}
.flex {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
.flex.horz {
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
}
.flex.vert {
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}
.flex.rev-vert {
  -webkit-flex-direction: column-reverse;
  -webkit-box-orient: vertical-reverse;
  -moz-flex-direction: column-reverse;
  -ms-flex-direction: column-reverse;
  -o-flex-direction: column-reverse;
  flex-direction: column-reverse;
}
.flex.horz-rev {
  -webkit-flex-direction: row-reverse;
  -webkit-box-orient: horizontal-reverse;
  -moz-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
  -o-flex-direction: row-reverse;
  flex-direction: row-reverse;
}
/* main axis */
.flex.center {
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
}
.flex.right {
  -webkit-justify-content: flex-end;
  -moz-justify-content: flex-end;
  -ms-justify-content: flex-end;
  -o-justify-content: flex-end;
  justify-content: flex-end;
}
.flex.space {
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  -o-justify-content: space-between;
  justify-content: space-between;
}
.flex.evenly {
  -webkit-justify-content: space-evenly;
  -moz-justify-content: space-evenly;
  -ms-justify-content: space-evenly;
  -o-justify-content: space-evenly;
  justify-content: space-evenly;
}
.flex.around {
  -webkit-justify-content: space-around;
  -moz-justify-content: space-around;
  -ms-justify-content: space-around;
  -o-justify-content: space-around;
  justify-content: space-around;
}
/* cross-axis */
.flex.top {
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  -ms-align-items: flex-start;
  -o-align-items: flex-start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
}
.flex.middle {
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}
.flex.bottom {
  -webkit-align-items: flex-end;
  -moz-align-items: flex-end;
  -ms-align-items: flex-end;
  -o-align-items: flex-end;
  align-items: flex-end;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
}
.flex.stretch {
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  -o-align-items: stretch;
  align-items: stretch;
  -webkit-box-pack: stretch;
  -ms-flex-pack: stretch;
}
/* content */
.flex.content.top {
  -webkit-align-content: flex-start;
  -moz-align-content: flex-start;
  -ms-align-content: flex-start;
  -o-align-content: flex-start;
  align-content: flex-start;
}
.flex1 {
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
}
.flex.shrink {
  flex-shrink: 1;
  -webkit-flex-shrink: 1;
  -moz-flex-shrink: 1;
  -o-flex-shrink: 1;
  -ms-flex-shrink: 1;
}
.flex.wrap {
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.flex.nowrap {
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.fullscreen {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
.noselect {
  touch-action: none;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                          supported by Chrome and Opera */
}
.safe {
  position: absolute;
  left: constant(safe-area-inset-left);
  left: env(safe-area-inset-left);
  top: constant(safe-area-inset-top);
  top: env(safe-area-inset-top);
  right: constant(safe-area-inset-right);
  right: env(safe-area-inset-right);
  bottom: constant(safe-area-inset-bottom);
  bottom: env(safe-area-inset-bottom);
}
/*****************************************************************************
    scrollbar
*****************************************************************************/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}
.underlineFocus {
  position: absolute;
  bottom: -5px;
  left: 0px;
  right: 0px;
  content: "";
  border-bottom: 3px double #fa293d;
  outline: 0;
}
.textinput {
  border: 1px solid #efefef;
  border-radius: 0.25rem;
}
.textinput input {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0.25rem;
  outline: 0;
  margin: 0;
  border: 0;
  font-size: 1rem;
  border-radius: 0.25rem;
}
.textinput.error {
  border: 1px solid #fa293d;
}
.textbutton {
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  outline: none;
  background-color: #efefef;
  color: #888888;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  padding: 0.5rem;
  position: relative;
}
.textbutton.active {
  border: 1px solid #888888;
  background-color: #fafafa;
}
#busy {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
}
.dialog_backdrop {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  transition: opacity 0.25s, background-color 0.25s;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
}
.dialog_backdrop.bury {
  background-color: rgba(0, 0, 0, 0);
}
.dialog {
  max-height: 100%;
  box-sizing: border-box;
  position: relative;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  background-color: white;
  color: #252525;
  border-radius: 0.5rem;
  border: 1px solid #efefef;
  padding: 1.5rem 1rem 1rem;
  transform: scale(0, 0);
}
.dialog .content {
  max-height: 100%;
  overflow-y: auto;
}
.dialog a {
  color: #fa293d;
  text-decoration: none;
}
.dialog a:active,
.dialog a:focus {
  text-decoration: underline;
  outline: 0;
}
.dialog p {
  font-size: 0.9em;
  text-align: center;
}
.dialog p.error {
  color: #fa293d;
}
.dialog div.input {
  border: 1px solid #efefef;
  border-radius: 0.25rem;
}
.dialog div.input input {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0.25rem;
  outline: 0;
  margin: 0;
  border: 0;
  font-size: 1rem;
  border-radius: 0.25rem;
}
.dialog div.input.error {
  border: 1px solid #fa293d;
}
.dialog div.input:focus-within,
.dialog div.input.error:focus-within {
  border: 1px solid #888888;
}
.dialog button[disabled],
.dialog button.facebook[disabled],
.dialog button.text[disabled] {
  background-color: #888888;
  border: 1px solid #888888;
  color: #fafafa;
}
.dialog button[disabled]:active {
  background-color: #888888 !important;
  border: 1px solid #888888 !important;
  color: #fafafa !important;
}
.dialog button.text {
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  outline: none;
  background-color: #efefef;
  color: #888888;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  padding: 0.5rem;
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 100%;
}
.dialog button.text:active {
  border: 1px solid #888888;
  background-color: #fafafa;
}
.dialog button.text.red {
  background-color: #fa293d;
  color: white;
}
.dialog button > * {
  vertical-align: middle;
  margin: 0 0.25rem;
}
.dialog button .icon {
  width: auto;
  height: 1.2rem;
}
.dialog button.facebook {
  background-color: #3897f0;
  border: 1px solid #3897f0;
  color: white;
  width: 100%;
}
.dialog button.facebook:active {
  background-color: #4CA9FF;
}
.dialog button.airgames {
  background-color: #32d3f0;
  border: 1px solid #32d3f0;
  color: #333333;
}
.dialog button.airgames:active {
  background-color: #4cdef8;
}
.dialog div.divider {
  margin: 0.5rem 0;
  border-bottom: 1px solid #efefef;
}
.dialog #close {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0.125rem;
  display: inline-block;
  background-color: transparent;
  border: none;
  position: absolute;
  right: -0.125rem;
  top: -0.125rem;
}
.dialog #close img {
  width: 100%;
  height: 100%;
}
.dialog #close:focus {
  outline: 2px solid #fa293d;
}
.dialog.open {
  animation: dialog-open 0.25s;
  -webkit-animation: dialog-open 0.25s;
  -moz-animation: dialog-open 0.25s;
  -o-animation: dialog-open 0.25s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: fowrads;
  -moz-animation-fill-mode: fowrads;
  -o-animation-fill-mode: fowrads;
}
#billing .dialog {
  font-size: 1.1em;
  width: 20rem;
  width: 80%;
  max-width: 600px;
  text-align: center;
  overflow: hidden;
}
#billing .dialog .logo {
  background-color: #32d3f0;
  color: #016d8c;
  margin: -1.5rem -1rem 0;
  padding: 0.25rem;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
}
#billing .dialog .logo img {
  height: 2em;
  width: auto;
}
#billing .dialog .error {
  color: #fa293d;
}
#billing .dialog a {
  font-size: 1.2rem;
  outline: none;
}
#login .dialog {
  width: 15rem;
  max-width: 60%;
}
#login .dialog .section {
  text-align: center;
}
#login .dialog .section > * {
  margin-bottom: 0.25rem;
}
#login .dialog .logo {
  width: 100%;
}
#login .dialog .or {
  margin: 0.25rem 0;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}
#login .dialog .or div:nth-child(2n+1) {
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  height: 1px;
  border-bottom: 1px solid #efefef;
}
#login .dialog .or div:nth-child(2) {
  margin: 0 1rem;
}
#pinlogin .dialog {
  width: 25rem;
  max-width: 80%;
}
#pinlogin .dialog #pin_list {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
}
#pinlogin .dialog #pin_list > * {
  min-width: 2rem;
  min-height: 2rem;
  max-width: 2rem;
  max-height: 2rem;
  margin: 0.5rem 0.25rem 1rem;
}
#pinlogin .dialog #pin_list input {
  text-align: center;
}
#newsletter .dialog {
  width: 15rem;
  max-width: 60%;
}
#newsletter .dialog .logo {
  width: 100%;
}
#newpass .dialog {
  width: 15rem;
  max-width: 60%;
}
#info .dialog {
  width: 10rem;
  max-width: 50%;
  font-size: 1.1em;
}
@keyframes dialog-open {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.97);
  }
  90% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes dialog-open {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.97);
  }
  90% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@-moz-keyframes dialog-open {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.97);
  }
  90% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@-o-keyframes dialog-open {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.97);
  }
  90% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@font-face {
  font-family: yanone;
  src: url(../fonts/Yanone.woff) format("woff"), url(../fonts/Yanone.ttf) format("truetype");
}
@font-face {
  font-family: gotham;
  src: url(../fonts/gotham.woff) format("woff"), url(../fonts/gotham.ttf) format("truetype");
}
@font-face {
  font-family: troika;
  src: url("../fonts/troika.woff") format("woff"), url("../fonts/troika.ttf") format("truetype");
}
@font-face {
  font-family: gotham_n;
  src: url("../fonts/gotham_n.woff") format("woff"), url("../fonts/gotham_n.ttf") format("truetype");
}
body {
  margin: 0;
  font-family: yanone, arial;
  background-color: #75eaff;
  overflow: hidden;
  padding-top: constant(safe-area-inset-top);
  /* iOS 11.0 */
  padding-top: env(safe-area-inset-top);
  /* iOS 11.2 */
}
canvas {
  touch-action: none;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                          supported by Chrome and Opera */
}
#login .dialog .logo {
  width: 50% ! important;
}
#main {
  position: absolute;
  background-image: radial-gradient(at center 25%, #2CB3B4, #007b7f);
  background-size: cover;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
#main canvas {
  width: 100%;
  height: 100%;
}
#splash {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  color: white;
  background-color: #75eaff;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}
#splash > * {
  display: block;
  margin: auto;
  margin-top: 0;
  margin-bottom: 0.5vh;
}
#splash #logo {
  height: 15vh;
  max-height: 15vmin;
  margin-bottom: 2vh;
  transition: opacity 0.5s linear;
}
#splash #logo img {
  display: block;
  margin: auto;
  max-height: 100%;
  height: 100%;
  width: auto;
}
#splash #loader {
  max-height: 7vh;
  width: auto;
}
#splash #progress {
  width: 50%;
  max-width: 400px;
  height: 2vh;
  padding: 0.2vh;
  overflow: hidden;
  box-sizing: border-box;
  border: 0.2vh solid white;
  border-radius: 1vh;
  margin-bottom: 2vh;
}
#splash #progress .bar {
  height: 100%;
  box-sizing: border-box;
  width: 0%;
  border-radius: 0.6vh;
  background-color: white;
  transition: width 0.25s;
}
#splash #labelLoading {
  font-size: 1rem;
  text-align: center;
  animation: flash linear 5s infinite;
}
#splash #labelLoading.start {
  font-size: 1.5rem;
  font-weight: 800;
}
div.dialog_backdrop .dialog p {
  font-family: arial;
  font-size: 1em ! important;
}
#home {
  visibility: hidden;
}
a:active #home {
  opacity: 1;
  transform: scale(0.95, 0.95);
}
#alert .dialog {
  max-width: 80%;
}
#switch .dialog {
  width: 15rem;
  max-width: 60%;
  max-height: 80vh;
}
#switch .dialog .section {
  text-align: center;
}
#switch .dialog .logo {
  height: 3rem;
}
#switch .dialog .or {
  margin: 0.25rem 0;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}
#switch .dialog .or div:nth-child(2n+1) {
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  height: 1px;
  border-bottom: 1px solid #efefef;
}
#switch .dialog .or div:nth-child(2) {
  margin: 0 1rem;
}
#switch .dialog #users {
  max-height: 50vh;
  overflow-y: auto;
}
#switch .dialog #users > * {
  margin-bottom: 0.25rem;
}
#switch .dialog #users > *:last-child {
  margin-bottom: 0;
}
#switch .dialog #users::-webkit-scrollbar {
  width: 8px;
  padding: 2px;
}
#switch .dialog #users::-webkit-scrollbar-track {
  box-shadow: none;
}
#switch .dialog #users::-webkit-scrollbar-thumb {
  background-color: rgba(71, 9, 33, 0.3);
  border-radius: 4px;
  border: 2px solid white;
}
#avatar .dialog {
  padding: 0.5em;
  background-color: #75eaff;
}
#avatar .dialog .tabs {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  height: 2em;
  color: white;
}
#avatar .dialog .tabs .tab {
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  transition: none;
  padding: 0.25em;
  border-top-left-radius: 0.5em;
  border-top-right-radius: 0.5em;
  text-align: center;
  cursor: pointer;
}
#avatar .dialog .tabs .tab:active {
  text-decoration: underline;
  transform: none;
  background-color: #a4f1ff;
}
#avatar .dialog .tabs .tab:focus {
  outline: none;
  background-color: #a4f1ff;
}
#avatar .dialog .tabs .tab.selected {
  background-color: white;
  color: #0d7b98;
}
#avatar .dialog .select {
  background-color: white;
  border-radius: 0.5em;
  display: grid;
  padding: 1em;
}
#avatar .dialog .select .button {
  padding: 0.5em;
  border: 1px solid #75eaff;
  border-radius: 0.5em;
  margin: 0.25em;
}
#avatar .dialog .select .button img {
  width: 3em;
  height: 3em;
}
#avatar .dialog .select.sex {
  grid-template-columns: 1fr 1fr;
  border-top-left-radius: 0;
}
#avatar .dialog .select.type {
  grid-template-columns: 1fr 1fr 1fr;
}
#avatar .dialog .select.num {
  grid-template-columns: 1fr 1fr 1fr;
  border-top-right-radius: 0;
}
#avatar .dialog .button:focus {
  outline: 2px solid #fa293d;
}
@media (max-height: 480px) {
  #switch .dialog {
    width: 25rem;
    max-width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 0.125rem;
  }
  #switch .dialog > * {
    place-self: center stretch;
  }
}
#home {
  position: absolute;
  left: 1em;
  bottom: 1em;
  width: 2em;
  height: 2em;
  overflow: hidden;
  background-color: white;
  transition: all 0.5s;
  border-radius: 50%;
  opacity: 0.5;
}
#home img {
  width: 1.5em;
  height: 1.5em;
  margin: 0.25em;
}
a:active #home {
  opacity: 1;
  transform: scale(0.95, 0.95);
}
iframe {
  position: absolute;
  border: none;
  border-radius: 1rem;
}
body {
  overflow-y: auto;
  margin: 0;
  background-color: #2e2e33;
  background-image: url(../images/kids/bghome.png);
  font-family: Helvetica;
}
@font-face {
  font-family: "Sanchez";
  src: url("../fonts/sanchez.woff");
}
#header {
  background-color: #333;
  background-image: url(../images/kids/header_bg.png);
  background-size: 55px;
}
#header .content {
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  background-color: #32d3f0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-top: 2px solid #67e8ff;
  padding: 0.25em 0.5em;
  font-family: "Sanchez";
  color: #016d8c;
}
#header .content > * {
  display: block;
}
#header .content h1 {
  font-size: 1em;
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
}
#header .content .hidden {
  color: transparent;
  position: absolute;
}
#header .content .logo img {
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
}
#header .content button.profile {
  border-radius: 50%;
  -webkit-appearance: none;
  border: none;
  width: 2rem;
  height: 2rem;
  background: url(../images/kids/profile.png) no-repeat;
  background-size: 1.5rem 1.5rem;
  background-position: center;
  transition: background-color 0.25s linear;
}
#header .content button.profile:active {
  background-color: rgba(255, 255, 255, 0.5);
}
#root {
  background-color: white;
  max-width: 600px;
  min-height: 100vh;
  margin: auto;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
#page {
  border-top: 1px solid #dfdfdf;
  padding: 0.5em;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
#page .page {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.8em;
  margin: 0.25rem;
  padding: 0.25rem;
  color: #0d7b98;
  border: 1px solid #0d7b98;
  border-radius: 0.125rem;
  cursor: pointer;
}
#page .page:hover {
  background-color: #c5f6ff;
}
#page .page:active,
#page .page:focus {
  outline: none;
  background-color: #c5f6ff;
}
#page .page.selected {
  background-color: #0d7b98;
  color: white;
}
#footer {
  border-top: 1px solid #dfdfdf;
  padding: 1em 1em 2em;
  text-align: center;
  font-size: 0.9em;
}
#footer > * {
  margin-bottom: 0.5em;
}
#footer h1 {
  font-size: 0.9em;
}
#footer img {
  height: 3em;
}
#footer a:focus,
#footer a:hover {
  color: #fa293d;
  text-decoration: underline;
}
#footer #share > * {
  margin: 0 0.5em;
}
#footer #share a:focus {
  outline: 1px solid gray;
}
a {
  color: #3a3a3a;
  text-decoration: none;
}
a .game {
  color: #888;
}
a .game .h3 {
  color: #333;
}
.gameName {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}
.gameName > * {
  display: block;
  margin-right: 0.5em;
}
.gameName .gicon {
  width: 1.5em;
  height: 1.5em;
  background: url(../images/kids/group.png) no-repeat;
  background-size: cover;
}
.gameName .cpu {
  width: 1.5em;
  height: 1.5em;
  background: url(../images/cards/icon_cpu.png) no-repeat;
  background-size: cover;
}
.gameName .count {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url("../images/kids/iconPlay.png") no-repeat;
  background-size: 100%;
}
.gameName h3 {
  text-shadow: 0 1px 1px white;
  color: #3a3a3a;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0;
  margin-block-start: 0;
}
.game {
  border-top: 1px solid #dfdfdf;
  background-color: white;
  padding: 0.25em;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  -ms-align-items: flex-start;
  -o-align-items: flex-start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
}
.game .icon {
  border-radius: 2px;
  margin: 0.5em;
  width: 2.5em;
  height: 2.5em;
  overflow: hidden;
  min-width: 2.5em;
  min-height: 2.5em;
}
.game .icon > * {
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
}
.game .content {
  padding: 0.5em;
}
.game .content div {
  text-shadow: 0 1px 1px white;
  color: #888;
  font-size: 0.8em;
}
.game.preload {
  display: none;
}
.game:hover {
  background-color: #c5f6ff;
}
a:focus,
a:active {
  outline: none;
}
a:focus .game,
a:active .game {
  background-color: #e2fafe;
}
a:active img {
  transform: scale(0.98, 0.98);
}
.search {
  background-color: white;
  padding: 0.5em 1em;
}
#empty {
  border-top: 1px solid #dfdfdf;
  background-color: white;
  padding: 1em;
  text-align: center;
}
#profile .title {
  background-color: #0d7b98;
  color: white;
  font-family: Sanchez;
  font-weight: bold;
  text-align: center;
  padding: 0.25em;
  font-size: 1.1em;
  margin: -1.5em -1em 1em;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
#profile .content {
  width: 12em;
  max-width: 70vw;
}
#profile .content > * {
  margin-bottom: 0.5em;
}
#profile .content > *:last-child {
  margin-bottom: 0;
}
#profile .content .avatar {
  aspect-ratio: 1;
  width: 5em;
  background-size: 100%;
  background-position: center;
  margin: 0 auto 0.5em;
}
#profile .content .userName {
  text-align: center;
  font-family: Sanchez;
  color: #0d7b98;
}
#profile .content .gameNameInput {
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  -o-align-items: stretch;
  align-items: stretch;
  -webkit-box-pack: stretch;
  -ms-flex-pack: stretch;
}
#profile .content .gameNameInput > * {
  height: 2em;
  box-sizing: border-box;
}
#profile .content .gameNameInput button {
  width: initial;
}
#profile .content .userName.empty {
  color: #fa293d;
  text-decoration: underline;
}
#alert .dialog {
  background-color: #fa293d;
  color: white;
}
#featured {
  position: relative;
  overflow-x: hidden;
}
#featured .scroller {
  --contentCount: 3;
  --contentWidth: calc(-100% / var(--contentCount));
  transform: translate(var(--contentWidth), 0);
  width: calc(100% * var(--contentCount));
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  -ms-align-items: flex-start;
  -o-align-items: flex-start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
}
#featured .scroller .featuredGame {
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  width: var(--contentWidth);
}
#featured .scroller .featuredGame .video {
  display: block;
  aspect-ratio: 1.7721519;
  width: 100%;
  overflow: hidden;
}
#featured .scroller .featuredGame .screenshot {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#featured .scroller .featuredGame .slides {
  position: relative;
  overflow: hidden;
}
#featured .scroller .featuredGame .slides > .screenshot:nth-child(2) {
  position: absolute;
  top: 0;
}
#featured .scroller .featuredGame .slides > .screenshot.out:nth-child(2) {
  opacity: 0;
  transition: opacity 1s linear;
}
#featured .scroller .featuredGame .content {
  padding: 1em;
  background: linear-gradient(to bottom, white 0%, #a4f1ff 95%);
  color: #0d7b98;
  font-family: yanone;
}
#featured .scroller .featuredGame .content h3 {
  font-size: 1.1em;
}
#featured .scroller .featuredGame .content p {
  height: 3.5em;
  overflow: hidden;
}
#featured .scroller .featuredGame a img {
  display: block;
  margin: auto;
  height: 2.5em;
}
#featured .scroller.scroll {
  transition: transform 1s ease-in-out;
  transform: translate(calc(-200% / var(--contentCount)), 0);
}
#featured .scroller.reverse.scroll {
  transition: transform 1s ease-in-out;
  transform: translate(0, 0);
}
#featured .scroller.two {
  --contentCount: 2;
  transform: translate(0, 0);
}
#featured .scroller.two.scroll {
  transform: translate(-50%, 0);
}
#featured .scroller.two.reverse {
  transform: translate(-50%, 0);
}
#featured .scroller.two.reverse.scroll {
  transform: translate(0, 0);
}
#featured .dots {
  position: absolute;
  right: 1em;
  bottom: 1em;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
}
#featured .dots .dot {
  border-radius: 50%;
  width: 0.5em;
  height: 0.5em;
  margin: 0 0.125em;
  border-radius: 1px solid #0d7b98;
  background-color: white;
}
#featured .dots .dot.active {
  background-color: #0d7b98;
}
#featured .nav {
  position: absolute;
}
#featured .nav img {
  width: 1em;
  height: 2em;
}
#featured .nav.leftNav {
  left: 1em;
  top: 25%;
}
#featured .nav.rightNav {
  right: 1em;
  top: 25%;
}

