.newlobby {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.lobby .newlobby {
  min-width: calc(min(200px, 80vw));
  min-height: calc(min(300px, 80vh));
}

.newgame {
  width: calc(min(250px, 80vw));
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

#game-container {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: game;
  position: relative;
}

#game-host {
  display: -ms-grid;
  display: grid;
  grid-auto-rows: auto;
  place-items: center;
}

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

.overlay > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

button.wide {
  width: 250px;
}

#gameend {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 auto;
}

.game-row {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.game-card {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  margin: 5px;
  max-width: 150px;
  max-height: 150px;
  -webkit-perspective: 1000px;
          perspective: 1000px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  -webkit-transform-origin: center;
          transform-origin: center;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.game-card-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-shadow: 1px 1px 3px 0 #535353;
          box-shadow: 1px 1px 3px 0 #535353;
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  -webkit-transition: outline 0.1s, -webkit-transform 0.8s;
  transition: outline 0.1s, -webkit-transform 0.8s;
  transition: transform 0.8s, outline 0.1s;
  transition: transform 0.8s, outline 0.1s, -webkit-transform 0.8s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.game-card.flipped .game-card-inner {
  -webkit-box-shadow: -1px 1px 3px 0 #535353;
          box-shadow: -1px 1px 3px 0 #535353;
}

.game-card-inner:hover {
  outline: solid 2px #555555;
}

.game-card.flipped .game-card-inner {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.game-card-front,
.game-card-back {
  position: absolute;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
      align-self: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.game-card-front {
  cursor: pointer;
  background-color: #252525;
  color: #b8b8b8;
}

.game-card-back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  background: #b65555;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#main {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto 1fr;
      grid-template-rows: auto 1fr;
  -ms-grid-columns: 1fr auto;
      grid-template-columns: 1fr auto;
      grid-template-areas: "topbar topbar" "game sidebar";
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  width: 100%;
  height: 100%;
}

.toasthost {
  position: absolute;
  z-index: 20;
  bottom: 10px;
  right: 10px;
  top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  pointer-events: none;
}

.toast {
  background: #212130;
  color: #e7e7e7;
  padding: 15px 20px;
  margin-bottom: 7px;
  width: 300px;
}

#sidebar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: whitesmoke;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  max-width: 300px;
  padding: 20px 7px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-left: 5px;
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  grid-area: sidebar;
}

#settings {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#sidebar > *,
#settings > * {
  margin-bottom: 10px;
}

.value-label {
  margin-right: 5px;
}

.name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#name-label {
  cursor: pointer;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.svgicon {
  display: inline;
  height: 1em;
}

.spacer {
  margin-top: 10px;
  margin-bottom: 10px;
}

.hsep {
  height: 3px;
  background-color: #9c9c9c;
}

body {
  height: 100vh;
}

.hidden {
  visibility: hidden;
}

.indicator {
  margin-left: 5px;
  font-size: 80%;
  font-style: italic;
}

h4 {
  margin: 0;
}

.offline {
  color: #646464;
}

.volume-control {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.volume-control .slider {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  min-width: 1px;
}

#name-text {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  min-width: 1px;
}

.vcontrol {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.turn {
  background-color: #f09191;
}

.inventory {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
}

.inventory-card {
  width: 20px;
  height: 20px;
  margin: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 1px 1px 3px 0 black;
          box-shadow: 1px 1px 3px 0 black;
  background-color: #772222;
  position: relative;
}

.inventory-tooltip {
  position: absolute;
  background-color: #2b2b2b;
  color: #f0f0f0;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  z-index: 7;
  pointer-events: none;
}

.inventory-tooltip.shown {
  opacity: 1;
  pointer-events: unset;
}

#player-host {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: fit-content(40%) fit-content(20%) 1fr;
      grid-template-columns: fit-content(40%) fit-content(20%) 1fr;
  -ms-grid-rows: unset;
      grid-template-rows: unset;
  grid-auto-flow: row;
}

#player-host > div {
  line-height: 24px;
  padding: 3px;
}

.pname {
  word-break: break-all;
}

.player-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
}

#topbar {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: topbar;
  background-color: #646464;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  color: white;
  z-index: 4;
  padding: 0 10px;
  -webkit-box-shadow: 1px 1px 3px;
          box-shadow: 1px 1px 3px;
  overflow: hidden;
  display: -ms-grid;
  display: grid;
  grid-auto-columns: auto;
  place-items: center;
  grid-auto-flow: column;
}

#topbar .critical {
  color: #ff3636;
  font-weight: bold;
}

body.tall #main {
  -ms-grid-columns: 1fr;
      grid-template-columns: 1fr;
  -ms-grid-rows: auto 1fr auto;
      grid-template-rows: auto 1fr auto;
      grid-template-areas: "topbar" "game" "sidebar";
}

body.tall #sidebar {
  -webkit-box-flex: unset;
      -ms-flex: unset;
          flex: unset;
  max-width: unset;
  width: 100%;
  margin-left: 0;
  margin-top: 5px;
}

body.tall #sidebar #settings {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

body.tall #sidebar #settings > * {
  margin-bottom: 0;
}

body.tall .player-section {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
}

body.tall #player-host {
  -ms-grid-columns: unset;
      grid-template-columns: unset;
  -ms-grid-rows: auto auto 1fr;
      grid-template-rows: auto auto 1fr;
  grid-auto-flow: column;
}

body.tall #player-host > div {
  text-align: center;
}

.kvgrid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto auto;
      grid-template-columns: auto auto;
  grid-auto-flow: row;
  margin: 5px 0;
  gap: 3px;
  place-items: center;
}

.cgrid {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.game-card .circular .label {
  color: white;
}

.game-card .circular .inner {
  background: #b65555;
}

.game-card .circular .bar {
  background: #ffaaaa;
}

.game-card .circular .progress {
  background: white;
}
/*# sourceMappingURL=memory.css.map */