/* 19220 */
@font-face {
  font-family: "retro";
  src: url("../fonts/retro.ttf") format("truetype");
  font-weight: normal;
  font-style: normal; }

.pixelated {
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated; }

.text-align-left {
  text-align: left; }

.text-align-right {
  text-align: right; }

.text-align-center {
  text-align: center; }

.position-absolute {
  position: absolute;
  z-index: 1; }

.position-absolute.center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); }

.position-absolute.center-top {
  left: 50%;
  top: 0%;
  transform: translate(-50%, 0%); }

.position-absolute.right-top {
  right: 0%;
  top: 0%; }

.justify-content-center {
  justify-content: center; }

.IngameScoreboard {
  color: #fff;
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  font-family: ingame;
  font-size: 1.0em;
  display: flex;
  justify-content: center;
  width: 25vw;
  flex-direction: column; }
  .IngameScoreboard .team-name {
    flex-basis: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    text-overflow: ellipsis;
    text-align: center;
    white-space: nowrap;
    overflow: hidden; }
  .IngameScoreboard .team-name.n0 {
    background: #005a9e;
    border-radius: 4px 0 0 4px; }
  .IngameScoreboard .team-name.n1 {
    background: #c7331c;
    border-radius: 0 4px 4px 0; }
  .IngameScoreboard .team-score {
    background: #000;
    font-weight: bold;
    font-size: 1.5em;
    width: 5vh;
    display: flex;
    align-items: center;
    justify-content: center; }
  .IngameScoreboard .team-score.n0 {
    margin-right: 1vh;
    border-radius: 0 4px 4px 0; }
  .IngameScoreboard .team-score.n1 {
    margin-right: 0px;
    border-radius: 4px 0 0 4px; }
  .IngameScoreboard .time {
    width: 11vh;
    text-align: center;
    background: #000;
    border-radius: 4px;
    margin-bottom: 1vh;
    padding: 2px 0; }

.DriverInfo {
  color: #fff;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  bottom: 0px;
  z-index: 101;
  font-family: ingame;
  align-items: center;
  padding: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 1vw 1vw 0 0;
  transition: 1.0s all; }
  .DriverInfo > * {
    display: flex;
    align-items: center; }
  .DriverInfo.folded {
    bottom: -100px; }

.UserBelt {
  color: #ccc;
  font-weight: bold;
  padding: 4px 4px;
  padding-left: 8px;
  align-self: center;
  margin-right: 8px; }

.PlayPanel .timer {
  color: #360;
  box-shadow: inset 0 0 10vw #e4e4e4;
  background: linear-gradient(#cf0, transparent);
  align-items: center;
  justify-content: center;
  text-align: center; }

.LeaguePanel .members span {
  flex-grow: 4; }

.LeaguePanel .members .button {
  width: 0;
  flex-grow: 1; }

.LeaguePanel .seat {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  user-select: all;
  background: #fafafa; }

.LeaguePanel .seat.operator {
  background: linear-gradient(to right, #fe8, #fafafa); }

.LeaguePanel .seat.empty {
  background: #bbb;
  color: #fff; }

ui-cube {
  height: 100%;
  width: 100%; }

.Chat {
  border-radius: 1vh 1vh 0 0;
  overflow-y: hidden !important;
  position: absolute;
  bottom: 0px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 50vw;
  font-size: 1em;
  display: grid;
  grid-template-rows: auto 1fr auto; }
  .Chat.sidebar {
    width: auto;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%; }
    .Chat.sidebar .middle {
      flex-grow: 1; }
  .Chat.static {
    border-radius: 0;
    padding: 0;
    width: auto;
    position: relative;
    height: 100%; }
    .Chat.static .middle {
      flex-grow: 1; }
  .Chat.center {
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100; }
    .Chat.center .middle {
      height: 25vh; }
  .Chat.left {
    z-index: 100;
    min-width: 640px;
    font-size: 0.8em;
    left: 0%;
    transform: translate(0, 0);
    pointer-events: none; }
    .Chat.left .middle {
      height: 25vh; }
  .Chat.left.fold .messages {
    background: none;
    overflow-y: hidden; }
  .Chat.fold {
    background: none; }
  .Chat.fold .people {
    overflow-y: hidden;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    padding: 0;
    width: 0px;
    flex-grow: 0; }
  .Chat.left .people {
    display: none; }
  .Chat.left .top {
    display: none; }
  .Chat .top {
    overflow: hidden;
    justify-content: space-between;
    background: linear-gradient(#ccc, #eee); }
    .Chat .top .open {
      font-size: inherit; }
    .Chat .top .open:hover {
      background: #fff;
      color: #000; }
  .Chat.fold .top {
    height: 0px;
    border: none; }
  .Chat.fold .middle {
    height: 10vh; }
  .Chat.fold .messages {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    overflow-y: hidden; }
  .Chat .middle {
    overflow: hidden; }
  .Chat .messages {
    padding: 0.5vw;
    overflow-y: auto; }
  .Chat .people {
    padding: 1vw;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    flex-direction: column; }
    .Chat .people > * {
      display: inline; }
  .Chat .main-text-input {
    border: 0;
    padding: 4px;
    background: #111;
    color: #ccc; }
  .Chat .messages > div {
    display: flex;
    flex-direction: column-reverse; }
    .Chat .messages > div > p {
      word-break: break-all; }
    .Chat .messages > div .error {
      color: #ff5050;
      background: linear-gradient(to right, rgba(255, 0, 0, 0.16), transparent); }
    .Chat .messages > div .you {
      color: #fff;
      background: linear-gradient(to right, rgba(255, 255, 255, 0.16), transparent); }
    .Chat .messages > div .room {
      color: #af0; }
    .Chat .messages > div .room-negative {
      color: #fa0; }
    .Chat .messages > div .room-subtle {
      color: #ccb; }
    .Chat .messages > div .room-important {
      background: #af0;
      color: #000; }
  .Chat .tabs > * {
    padding: 0.5vh 0.5vw; }
  .Chat .tabs .selected {
    background: #fff;
    color: #000; }

/* 

* {
    box-sizing: border-box;

    ::-webkit-scrollbar {
        width: 1vw;
        height: 1vw;
    }

    ::-webkit-scrollbar-button {
        width: 0px;
        height: 0px;
    }

    ::-webkit-scrollbar-thumb {
        background: #8a0;
        border: 0px none #ffffff;
        border-radius: 0px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #eee;
    }

    ::-webkit-scrollbar-thumb:active {
        background: #fff;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
        border: 0px none #ffffff;
        border-radius: 0px;
    }

    ::-webkit-scrollbar-track:hover {
    }



    ::-webkit-scrollbar-corner {
        background: transparent;
    }
}

*/
[tooltip] {
  position: relative; }

[tooltip]:active:before,
[tooltip]:hover:before {
  content: attr(tooltip);
  left: 50%;
  top: 0;
  background: #222;
  color: #fff;
  max-width: 30vw;
  position: absolute;
  transform: translate(-50%, -100%);
  padding: 4px;
  border-radius: 3px;
  display: block;
  pointer-events: none;
  z-index: 999;
  min-width: 10vw;
  margin-top: -16px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  font-weight: bold; }

[tooltip].negative:before {
  background: #d75353; }

[tooltip].tooltip-bottom-right:hover:before {
  left: auto;
  top: auto;
  bottom: 0;
  right: 0;
  transform: translate(0, calc(8px + 100%)); }

[tooltip].tooltip-bottom:hover:before {
  top: auto;
  bottom: 0;
  transform: translate(-50%, calc(8px + 100%)); }

@font-face {
  font-family: "display";
  src: url("../fonts/armata.ttf") format("truetype"); }

@font-face {
  font-family: "ingame";
  src: url("../fonts/noto_sans_bold.ttf") format("truetype"); }

@keyframes button-loading-animation {
  0% {
    background-position: 0%; }
  100% {
    background-position: 32px; } }

* {
  box-sizing: border-box;
  user-select: none; }

canvas,
img {
  image-rendering: pixelated; }

body {
  font-family: "display";
  color: #000;
  background: url("images/bg-grass.png");
  font-size: calc(10px + 0.5vh);
  margin: 0;
  overflow: hidden; }

canvas.main {
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  position: absolute;
  left: 0;
  top: 0; }

.em1 {
  height: 1em; }

.em15 {
  height: 1.5em; }

.em2 {
  height: 2em; }

.pixelated {
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated; }

h1 {
  font-size: 2em; }

h1,
h2,
h3 {
  margin: 0; }

.hidden {
  display: none !important; }

.text-align-center {
  text-align: center; }

.justify-content-center {
  justify-content: center; }

.justify-content-flex-end {
  justify-content: flex-end; }

.justify-content-space-between {
  justify-content: space-between; }

.align-items-center {
  align-items: center; }

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 1em; }
  .flex-row.gapless {
    gap: 0; }

.flex-row > * {
  flex-shrink: 0; }

.flex-grow-equal > * {
  flex-basis: 0;
  flex-grow: 1; }

.flex-grow-zero > * {
  flex-grow: 0;
  flex-basis: auto; }

.flex-grow {
  flex-basis: 0;
  flex-grow: 1; }

.flex-grow-0 {
  flex-grow: 0;
  flex-basis: 0; }

.flex-grow-1 {
  flex-grow: 1;
  flex-basis: auto; }

.flex-grow-2 {
  flex-grow: 2;
  flex-basis: 0; }

.flex-grow-3 {
  flex-grow: 3;
  flex-basis: 0; }

.flex-grow-4 {
  flex-grow: 4;
  flex-basis: 0; }

.flex-grow-5 {
  flex-grow: 5;
  flex-basis: 0; }

.flex-grow-6 {
  flex-grow: 6;
  flex-basis: 0; }

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 1em; }
  .flex-column.gapless {
    gap: 0; }
  .flex-column.margin-zero {
    gap: 0; }

.flex-column > * {
  flex-shrink: 0; }

.button {
  color: #000;
  background: #ddd url("images/button_gradient.png") 0 center no-repeat;
  padding: 0.5em;
  border-radius: 2px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  transition: all 0.2s, transform .01s;
  background-size: 300% 100%;
  text-align: center;
  font-size: 1.25em;
  box-shadow: 0 2px 2px 0px #888, 0 -16px 0px inset rgba(0, 0, 0, 0), inset 0 -4px 0 0 rgba(255, 255, 255, 0.5), inset 0 -6px 0 0 rgba(0, 0, 0, 0.2); }

.button.outlined {
  background-color: transparent !important;
  border: 4px solid;
  border-color: inherit;
  color: inherit;
  box-shadow: none;
  border-radius: 0.25em; }

.button.simple {
  color: #000;
  background: #ddd url("images/button_gradient.png") 0 center no-repeat;
  padding: 0.5em;
  border-radius: 2px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  transition: all 0.2s, transform .01s;
  background-size: 300% 100%;
  text-align: center;
  font-size: 1.25em;
  box-shadow: 0 2px 2px 0px #888, 0 -16px 0px inset rgba(0, 0, 0, 0), inset 0 -2px 0 0 rgba(0, 0, 0, 0.25); }

.loading-background {
  background: #aaa url("images/reload.svg") center center no-repeat;
  background-size: contain;
  opacity: 0.25; }

.loading-block {
  background: #aaa url("images/reload.svg") center center no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 2em;
  padding: 1em;
  boreder-radius: 8px; }

.button.loading {
  color: #888 !important;
  background-color: #888;
  background: #aaa url("images/button_loading.png") 0 center repeat !important;
  animation: button-loading-animation 1s infinite;
  animation-timing-function: linear; }

input.loading {
  color: #888 !important;
  background-color: #888;
  background: #aaa url("images/button_loading.png") 0 center repeat !important;
  animation: button-loading-animation 1s infinite;
  animation-timing-function: linear; }

.button.loading:hover {
  color: auto !important;
  background-position: inherit;
  background-size: auto; }

.button.small {
  padding: 6px; }

.button.micro:hover {
  background: #fff; }

.button.micro {
  font-size: 1em;
  border: none;
  padding: 6px;
  box-shadow: none; }

.button.disabled {
  background: #bbb !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: default !important; }

.button.primary {
  color: #fff;
  background-color: #8a0; }
  .button.primary.micro {
    box-shadow: none; }
  .button.primary.outlined {
    color: #8a0; }

.button.secondary {
  color: #fff;
  background-color: #7f60d6;
  background-color: #bf5959; }
  .button.secondary.outlined {
    color: #7f60d6; }

.button.bad {
  color: #fff;
  background-color: #c44; }
  .button.bad.micro {
    box-shadow: none; }

.button.warning {
  color: #fff;
  background-color: #e2ab07; }
  .button.warning.micro {
    box-shadow: none; }

.button:hover,
.hover {
  background-position: right center;
  background-size: 200% 100%;
  transform: scale(1);
  cursor: pointer; }
  .button:hover.primary, .button:hover.warning, .button:hover.bad,
  .hover.primary,
  .hover.warning,
  .hover.bad {
    color: #000; }

.panel {
  padding: 0.5vh 0.5vw; }

.table-list {
  border: 2px solid #fff;
  padding: 8px; }

.invite-code {
  border-radius: 4px;
  color: #c66410;
  font-size: 150%;
  border: 1px solid #c66410;
  position: relative;
  padding: 2px 4px;
  cursor: pointer;
  transition: all 0.1s; }
  .invite-code:hover {
    background: #c66410;
    color: #fff; }

.invite-code:hover:before {
  display: inline-block;
  z-index: 2; }

.invite-code:before {
  display: none;
  pointer-events: none;
  content: "click to copy";
  position: absolute;
  font-size: 0.75em;
  transform: translate(0, -100%);
  text-align: center;
  width: 100%;
  margin-top: -1vh;
  color: #fff;
  background: #000;
  border-radius: 0.5vmax; }

.tabs.main {
  overflow: hidden;
  background: #395f81;
  height: 3.5em; }
  .tabs.main .logo {
    flex-grow: 1;
    height: 100%;
    text-align: right; }
    .tabs.main .logo img {
      height: 110%;
      padding: 8px; }

.tabs {
  display: flex;
  flex-direction: row;
  align-items: flex-end; }
  .tabs > span {
    margin: 0 2px;
    background: #bbb;
    border-top: 2px solid #bbb;
    border-bottom: 2px solid #aaa;
    padding: 0.5vmax;
    border-radius: 2px 2px 0 0;
    display: inline-block;
    padding-bottom: 1.0vh;
    font-weight: bold;
    text-align: center;
    transition: all 0.1s, transform .01s;
    cursor: pointer;
    padding-top: 1.0vh;
    color: #fff;
    white-space: nowrap; }
  .tabs > span:nth-child(1) {
    margin-left: 0px; }
  .tabs > span:hover {
    background: #fff;
    color: #000;
    box-shadow: none;
    border-color: #fff; }
  .tabs > .selected {
    color: #000;
    box-shadow: 2px 0px 0px 0px #ccc;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid #aaa;
    background: #eee;
    border-bottom: 2px solid #ddd;
    border: none; }
  .tabs > .attention {
    box-shadow: inset 0px -4px 0 #fa0; }

templatedescription {
  padding: 16px 0;
  display: block; }

.template-root > .panel {
  background: linear-gradient(#ddd, #eee); }

.window {
  padding: 8px;
  padding-bottom: 1vmax;
  background: linear-gradient(#ddd, #eee);
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.25), 0 -16px 0px inset rgba(0, 0, 0, 0), inset 0 -6px 0 0 rgba(255, 255, 255, 0.5), inset 0 -8px 0 0 rgba(0, 0, 0, 0.5);
  border-radius: 1px; }

.prompt {
  padding: 8px;
  padding-bottom: 1vmax;
  background: linear-gradient(#ddd, #eee);
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.25), 0 -16px 0px inset rgba(0, 0, 0, 0), inset 0 -6px 0 0 rgba(255, 255, 255, 0.5), inset 0 -8px 0 0 rgba(0, 0, 0, 0.5);
  border-radius: 1px; }

#logo {
  align-self: center; }

#logo-wrapper {
  border-radius: 1vh 1vh 0 0;
  padding: 1vh 1vw;
  background: linear-gradient(to bottom, #111, #333);
  display: flex;
  flex-direction: row;
  justify-content: center; }
  #logo-wrapper img {
    height: 2em; }

.menu-logo {
  position: absolute;
  transform: translate(-50%, -100%);
  left: 50%;
  top: -16px; }

.title-screen {
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  background: #e4e4e4;
  width: 100vw;
  max-width: 996px;
  height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr; }
  .title-screen > .panel {
    flex-grow: 1; }

input {
  font: inherit; }

.text-input {
  padding: 1vh;
  font-size: 1em;
  background: linear-gradient(#cecece, transparent);
  border: 2px solid #a5a5a5;
  border-bottom: none;
  border-right: none;
  border-radius: 4px;
  font-weight: bold;
  color: #444;
  box-shadow: 2px 2px 0 0px #eee;
  text-align: center;
  height: 6vh;
  width: 100%;
  flex: 1 1 auto; }

.text-input:placeholder-shown {
  text-align: center; }

.prematch-group {
  justify-content: center; }
  .prematch-group .info-box {
    height: 5em; }
  .prematch-group .seatsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px; }
  .prematch-group .seats {
    width: 100%;
    flex-grow: 1; }
    .prematch-group .seats .left {
      background: linear-gradient(to right, #ddd, #eee);
      z-index: 1; }
    .prematch-group .seats .vs {
      height: 100%;
      color: #888;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      text-transform: uppercase;
      background: linear-gradient(#ccc, transparent); }
    .prematch-group .seats .seat {
      position: relative;
      text-align: center;
      background: linear-gradient(#eee, #fff);
      border: 1px solid #fff;
      font-size: 1.25em;
      transition: all 0.15s;
      height: 2.5em;
      align-items: center;
      display: flex;
      justify-content: center;
      z-index: 1; }
      .prematch-group .seats .seat .Flag {
        float: left; }
      .prematch-group .seats .seat .name {
        flex-grow: 1; }
    .prematch-group .seats .seat:hover {
      filter: brightness(120%); }
    .prematch-group .seats .seat.you {
      background: linear-gradient(#ffe79e, #fffde5); }
    .prematch-group .seats .left .seat.operator:after {
      content: "OP";
      position: absolute;
      right: 0%;
      height: 100%;
      border-left: 1px solid #fff;
      display: flex;
      align-items: center;
      background: #eee;
      padding: 0 0.5vw;
      box-shadow: -1px 0 0 #ccc; }
    .prematch-group .seats .right .seat.operator:before {
      content: "OP";
      position: absolute;
      left: 0%;
      height: 100%;
      border-right: 1px solid #fff;
      display: flex;
      align-items: center;
      background: #eee;
      padding: 0 0.5vw;
      box-shadow: 1px 0 0 #ccc; }
    .prematch-group .seats .seat.dragover {
      transform: scale(1.25);
      filter: brightness(125%); }

.ShadeSpacer {
  height: 16px;
  background: linear-gradient(#aaa, transparent);
  margin-top: 0px;
  margin-bottom: 0px; }

.ShadeSpacer + * {
  margin-top: 0px; }

.ModalWindow {
  backface-visibility: hidden;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  z-index: 10;
  background: #eee;
  box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.25);
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  padding: 4px;
  max-height: 90vh;
  display: flex;
  flex-direction: column; }
  .ModalWindow .content {
    padding: 1vh;
    overflow-y: auto;
    height: 100%; }
  .ModalWindow .content > * {
    margin-bottom: 1vh; }
  .ModalWindow .content > *:last-child {
    margin-bottom: 0px; }

.MessageBelt {
  transition: all 0.2s;
  font-weight: bold; }
  .MessageBelt > * {
    padding: 10px;
    transition: all 0.2s; }
  .MessageBelt .error {
    background: #a00;
    color: #fff; }
  .MessageBelt .success {
    background: #8a0;
    color: #fff; }

.overlay {
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  width: 100%;
  height: 100%; }

p {
  margin: 0; }

.scale-zero {
  transform: scale(0); }

.scale-zero-instant {
  transform: scale(1.25);
  transition: 0.1s all !important; }

.appear-from-outside {
  transform: scale(1.5);
  opacity: 0.0;
  transition: 0.0s all !important; }

.appear-from-inside {
  transform: scale(0.5);
  opacity: 0.0;
  transition: 0.0s all !important; }

.appear-subtle-in {
  transform: scale(1.1);
  transition: 0.0s all !important; }

.appear-subtle-out {
  transform: scale(0.9);
  transition: 0.0s all !important; }

.disappear-up {
  transform: scale(1, 0);
  transform-origin: 0% 0%; }

.padding {
  padding: 0.5vmax;
  line-height: 1.5em; }

.TitleBar {
  background: linear-gradient(#eee, #ddd);
  padding: 0.2vmax;
  font-size: 1em; }
  .TitleBar .button {
    padding: 4px;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    width: 2vmax;
    height: 2vmax;
    font-size: 1em; }
  .TitleBar .button:hover {
    background: #fff;
    color: #000; }
  .TitleBar .close {
    background: linear-gradient(#f00, #c00);
    color: #fff; }

.box {
  padding: 1.0vmin;
  padding: 1.0vmin;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 1vh rgba(0, 0, 0, 0.1);
  border-radius: 0.5vh; }

.box.tight {
  padding: 0.25vmax; }

.ScreenMessage {
  pointer-events: none;
  z-index: 1000;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  padding: 100px;
  transition: 0.25s all;
  max-width: 50vw; }
  .ScreenMessage p {
    padding: 1.5vmax;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.5s all;
    color: #fc0;
    font-size: 1em;
    font-weight: bold; }
  .ScreenMessage p.disappear {
    transform: scale(0); }

.ColorPicker canvas {
  border: 2px solid #fff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5); }

.PlayerColorPicker {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex: 1 1 auto; }
  .PlayerColorPicker .colors {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row; }
  .PlayerColorPicker .color {
    flex-grow: 1;
    cursor: pointer;
    font-size: 10px;
    margin: 0.5vh;
    border-left: none;
    border-top: none;
    box-shadow: 0 2px 0 #aaa;
    border-radius: 6px;
    transition: 0.1s all;
    width: 6vh;
    height: 6vh;
    flex-basis: 0; }
    .PlayerColorPicker .color img {
      width: 100%;
      height: 100%;
      padding: 4px;
      pointer-events: none;
      opacity: 0.75;
      object-fit: contain; }
    .PlayerColorPicker .color img.invert {
      filter: invert(100%); }
  .PlayerColorPicker .color:hover {
    transform: scale(1.25);
    z-index: 2; }
  .PlayerColorPicker .preview {
    background: #558821;
    border-radius: 8px;
    flex-grow: 1;
    object-fit: contain;
    image-rendering: pixelated; }

input[type="checkbox"] {
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 1px solid #a5a5a5;
  background: #ddd;
  width: 3vh;
  height: 3vh;
  border-radius: 0.5vh;
  transition: 0.1s all; }

input[type="checkbox"]:checked {
  content: "X";
  background: #87aa00;
  border: 1px solid #87aa00;
  transform: scale(0.85); }

input[type="checkbox"]:focus {
  outline: 0; }

hr {
  padding: 0;
  border: none;
  height: 2vh;
  background: linear-gradient(#bdbdbd, transparent);
  width: 100%;
  margin: 0; }

hr.in {
  background: linear-gradient(#fff, transparent); }

label[for] {
  cursor: pointer; }

.white-box {
  background: linear-gradient(transparent, #fff);
  padding: 1vmax; }

.white-box.tight {
  padding: 0.25vmax; }

.progress-bar {
  height: 3vh;
  border-radius: 3px;
  background: linear-gradient(#bbb, #eee);
  padding: 4px; }
  .progress-bar .progress {
    border-radius: 3px;
    height: 100%;
    background: linear-gradient(#fd0, #ca0); }

.GameDisconnectWindow {
  border-radius: 4px;
  padding: 8px;
  background: linear-gradient(#ddddddcc, #eeeeeecc);
  position: absolute;
  left: 50%;
  top: 8px;
  width: 25vw;
  min-width: 300px;
  z-index: 100000;
  transition: 0.5s all;
  transform: translate(-50%, 0%); }

.GameDisconnectWindow.minimized {
  transform: translate(-50%, -150%); }

.coming-soon {
  opacity: 0.6;
  position: relative; }

.coming-soon:hover:before {
  color: #000;
  font-size: 2em; }

.coming-soon:before {
  border: 2px solid #aaa;
  transition: 0.25s all;
  color: #aaa;
  margin: -1.0vmax;
  content: "COMING SOON";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(#ccccccaa, #cccccc88);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold; }

.login-locked {
  opacity: 0.6;
  position: relative; }

.login-locked:hover:before {
  color: #000;
  font-size: 2em; }

.login-locked:before {
  border: 2px solid #aaa;
  transition: 0.25s all;
  color: #aaa;
  margin: -0.25vmax;
  content: "LOGIN TO UNLOCK";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(#ccccccaa, #cccccc88);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold; }

.Flag {
  height: 1em;
  display: inline-block; }
  .Flag img {
    object-fit: contain;
    height: 100%; }

.Rank {
  transition: 0.25s all;
  height: 1em;
  display: inline-block; }
  .Rank:hover {
    transform: scale(2); }
  .Rank img {
    object-fit: contain;
    height: 100%; }

.tabs-separator {
  font-size: 0.75em;
  padding: 0.5vw;
  font-weight: bold;
  color: #6f6f6f;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #fff, transparent);
  border-radius: 3px 3px 0 0;
  margin: 0.5vw;
  margin-bottom: 0px; }

.small-heading {
  font-size: 0.75em;
  padding: 1vh;
  font-weight: bold;
  color: #6f6f6f;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #fff, transparent);
  border-radius: 3px 3px 0 0;
  margin-bottom: 0px; }

.scroll {
  overflow-y: scroll; }

th {
  text-align: left; }

table.results tr:nth-child(2n) {
  background: #ddd; }

table.results tr {
  background: #eee;
  transition: 0.25s all; }

table.results tr:hover {
  filter: brightness(120%); }

table.results td {
  padding: 0.5vw 1vh; }

table.results tr.me {
  background: linear-gradient(to bottom, #dba2e3, #cef7f1); }

table.results .Rank {
  height: 3vh; }

.CountryPickerDialog {
  position: absolute;
  z-index: 100;
  top: 100%;
  margin-top: 8px;
  width: 25vw;
  background: linear-gradient(to left, #dedede, #fff);
  padding: 12px;
  box-shadow: 2px 4px 4px #aaa; }
  .CountryPickerDialog .results {
    height: 40vh;
    overflow-y: auto; }
  .CountryPickerDialog .results > div {
    font-size: 1.5em;
    padding: 4px 0; }
    .CountryPickerDialog .results > div .flag {
      height: 100%;
      margn-right: 8px; }
    .CountryPickerDialog .results > div:hover {
      background: #8da2e3;
      color: #fff; }
    .CountryPickerDialog .results > div.preselected {
      background: #5d72b3;
      color: #fff; }

.forum-iframe {
  width: 100%;
  height: 100%;
  border: 0; }

.iog-userbar-widget {
  min-width: 100px;
  margin-right: 1vw; }

help-mouse,
help-key {
  background: linear-gradient(#ccc, #fff);
  color: #000;
  display: inline-block;
  padding: 1vh 1.5vh;
  border-radius: 0.5vmin;
  border: outset 0.5vmin #eee; }

help-label {
  display: flex;
  align-items: center; }

.help-overlay {
  font-size: 1.25em;
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center; }
  .help-overlay .content {
    display: grid;
    grid-template-columns: auto auto; }
    .help-overlay .content > * {
      margin: 1vh 0; }
    .help-overlay .content h2,
    .help-overlay .content p {
      grid-column-end: span 2; }

.PlayersOnline {
  height: 100%;
  display: flex;
  align-items: center;
  color: #ab9fff;
  font-size: 1.5em;
  padding: 0 1vw; }

.title-screen .tabs.main [data-key=forum] {
  display: none; }

.PlayPanel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 8px;
  overflow: hidden; }
  .PlayPanel .logo {
    background: linear-gradient(to bottom, #111, #333);
    text-align: center;
    padding: 1em;
    border-radius: 8px; }
    .PlayPanel .logo img {
      width: 100%; }
  .PlayPanel > [data-id="left"] {
    overflow-y: auto; }
  .PlayPanel > [data-id="right"] {
    overflow: hidden;
    overflow-y: auto;
    height: 100%;
    gap: 8px;
    display: flex;
    flex-direction: column; }
  .PlayPanel .daPlaceholder {
    grid-column: span 2;
    margin: 10px; }
  .PlayPanel .tutorial {
    flex-grow: 1; }
  .PlayPanel .game-description {
    padding: 8px;
    background: linear-gradient(0deg, white, transparent);
    border-radius: 8px; }

@media screen and (max-height: 600px) {
  .game-description {
    display: none; }
  .Tutorial {
    display: none !important; } }

@media screen and (max-width: 640px) {
  #logo {
    display: none; }
  .title-screen .tabs.main [data-key=forum] {
    display: block; }
  .PlayPanel {
    grid-template-columns: 1fr; }
  .PlayPanel > .right {
    display: none; } }

.InputSettings {
  display: grid;
  grow: 1;
  grid-template-columns: auto auto;
  grid-row-gap: 1vh;
  grid-column-gap: 1vw; }
  .InputSettings .label {
    display: flex;
    align-items: center;
    justify-content: flex-end; }

.outer-margin {
  margin: 0.5vmax; }

.predefined-input {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  user-select: all;
  border: 2px dashed #88f; }

.heading-label {
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold; }

.SimpleTitleScreen {
  overflow: hidden;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #e4e4e4;
  width: 100vw;
  max-width: 600px;
  padding-bottom: 2vh; }
  .SimpleTitleScreen .logo-wrapper {
    background: linear-gradient(#000, #444);
    display: flex;
    justify-content: center;
    padding: 1vw 1vh; }

.banner-ad {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; }
  .banner-ad h2 {
    margin-top: 2vh;
    margin-bottom: 2vh;
    text-align: center;
    font-size: 1.25em; }

.button .players-count {
  font-size: 0.75em;
  color: #aaa;
  margin-left: 1vw;
  min-width: 4em; }

.button.tall {
  padding: 2vh 0; }

.PlayerSetupPanel .Flag {
  height: auto; }

.PlayerSetupPanel .Flag img {
  height: 6vh; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr; }

.PlayerBodyPicker {
  height: 6vh;
  width: 6vh;
  justify-content: center;
  align-items: center;
  display: flex;
  border-radius: 8px; }
  .PlayerBodyPicker[data-value="male"] {
    background: linear-gradient(180deg, #3787ff, #a4e2ff); }
  .PlayerBodyPicker[data-value="female"] {
    background: linear-gradient(180deg, #b7cde3, #ffa4ce); }

#crossPromotion {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 170px;
  height: 120px;
  padding-bottom: 16px; }
  #crossPromotion #alsoTryImg {
    width: 170px;
    height: 110px;
    border: solid 5px #3d5e22; }

#footix-io_970x250-wrapper {
  position: absolute;
  transform-origin: left top;
  box-sizing: content-box;
  display: flex;
  align-items: flex-end;
  z-index: 3; }

#footix-io_970x250 {
  width: 970px;
  height: 250px;
  border: 1px solid #000; }

body.loading #crossPromotion {
  display: none; }

body.loading #footix-io_970x250-wrapper {
  top: 9999px !important; }

@media screen and (max-width: 1312px) {
  #crossPromotion {
    display: none; } }

.LoadingScreen {
  background: #000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999; }
  .LoadingScreen h1 {
    font-size: 20vh; }
  .LoadingScreen .bar {
    width: 80%;
    height: 10%;
    border: 4px #fff solid; }
  .LoadingScreen .progress {
    background: #fff;
    height: 100%;
    display: inline-block; }

.Tutorial {
  display: grid;
  gap: 8px;
  height: 100%;
  grid-template-rows: auto 1fr; }
  .Tutorial .description {
    font-size: 0.8em;
    background: linear-gradient(180deg, transparent, #fff);
    padding: 0.5em; }
  .Tutorial .slot {
    display: grid;
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px; }
    .Tutorial .slot h2 {
      text-align: center; }
    .Tutorial .slot img {
      width: 100%;
      object-fit: cover;
      border-radius: 6px;
      height: 25vh; }
    .Tutorial .slot .buttons {
      display: grid;
      gap: 8px;
      grid-template-columns: 1fr 1fr; }
  .Tutorial h2 {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center; }
  .Tutorial .next, .Tutorial .prev {
    display: flex;
    align-items: center;
    background: #88aa00;
    box-shadow: 4px 4px 4px #888;
    display: block;
    width: 100%;
    padding: 0.5em;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; }

kbd {
  background: #fafafa;
  padding: 2px 6px;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid #ccc;
  border-bottom: 2px solid #888;
  border-radius: 3px; }

#about {
  color: #ccc;
  text-align: right;
  position: fixed;
  bottom: 2px;
  right: 2px;
  padding: 8px; }
  #about a {
    color: #fff;
    text-decoration: underline;
    display: block;
    cursor: pointer; }

@media screen and (max-width: 1320px) {
  #about {
    display: none; } }

#policy {
  display: none; }

#partners {
  display: none; }

.GlobalChatPanel {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  gap: 32px; }
  .GlobalChatPanel .daPlaceholder {
    margin: 10px; }

.ModalWindow #partners {
  display: grid;
  gap: 1vh; }
