@import url("https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap&subset=cyrillic,cyrillic-ext,latin-ext");
.back-btn {
  display: block;
  width: 30px;
  height: 30px;
  background: url("../images/close-btn.png") no-repeat 50% / contain;
}
.left-top-content {
  position: absolute;
  /* top: 20px; */
  top: 0px;
  right: 0px;
}
.content {
  background-color: rgba(0, 0, 0, 0.9);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  display: none;
}
.share-form {
  width: calc(100% - var(--divider) * 2);
  height: auto;
  background: #0d163f;
  border: 3px solid #000;
  border-radius: 8px;
  /* url("../images/border-form.png") no-repeat 50% / contain; */
  padding: var(--divider);
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 400px;
}
.share-form__score {
  background-color: #162462;
  border-radius: 3px;
  padding: 10px;
  height: auto;
  margin-bottom: 10px;
  margin-top: 0;
}
.share-form__score-title {
  color: #fff;
  font-size: 0.875rem;
  text-align: center;
}
.share-form__score-value {
  color: #fff;
  font-size: var(--heading-h1);
  line-height: 1;
  text-align: center;
  font-weight: bold;
}
.share-form .input-wrap {
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  margin-bottom: 10px;
  padding: 0.875rem;
}
.share-form .input-wrap span {
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  font-size: 0.875rem;
  padding: 0 10px 0 0;
}
.share-form .input-wrap input {
  font-family: "Roboto";
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 0 0 10px;
  outline: none;
  box-sizing: border-box;
}
.share-form .input-wrap.error {
  background-color: #fff;
}
.share-form .input-wrap.error * {
  color: #f46;
}
.share-form .form button {
  /*font-family: 'Roboto';*/
  width: 100%;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 3px;
  font-size: 0.875rem;
  height: auto;
  color: #000;
  outline: none;
  border: none;
  font-size: 0.875rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 0;
  margin-top: 10px;
}
.share-form .back-btn {
  display: block;
  width: 30px;
  height: 30px;
  background: url("../images/close-btn.png") no-repeat 50% / contain;
}
.share-form .left-top-content {
  position: absolute;
  top: -15px;
  right: -15px;
}
.share-form .select {
  display: block;
  position: relative;
  height: 20px;
  width: 40px;
}
.share-form .select::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 6px;
  margin-top: -2.6px;
  background: url("../images/down-arrow.svg") no-repeat 50% / contain;
  transition: transform 0.2s;
  transform-origin: center center;
}
.share-form .select.open::before {
  transform: rotate(-180deg);
}
.share-form .select__input {
  display: flex;
  padding: 0 10px;
  height: 100%;
  width: 100% !important;
  align-items: center;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  outline: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.share-form .select__list {
  list-style: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  display: none;
  margin: 0;
}
.share-form .select.open .select__list {
  display: block;
}
.share-form .select__list li {
  margin-bottom: 5px;
  text-align: right;
  font-size: 8px;
  color: #000;
}
.share-form form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.leaderboard {
  width: calc(100% - var(--divider) * 2);
    height: auto;
    background: #fff;
    border: 3px solid #000;
    border-radius: 8px;
    padding: var(--divider);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 400px;
	max-height: calc(100% - var(--divider) * 2);
  opacity: 0;
  display: none;
}
.leaderboard-actions {
  position: absolute;
  top: -15px;
  right: -15px;
}
.leaderboard-btn {
  width: 30px;
  height: 30px;
  display: block;
}
.leaderboard-btn--close {
  background: url("../images/close-btn.png") no-repeat 50% / contain;
}
.leaderboard-btn--apply {
  background: url("../images/appy-btn.png") no-repeat 50% / contain;
}
.leaderboard-btn + .leaderboard-btn {
  margin-left: 20px;
}
.leaderboard-inner {
  width: 100%;
	overflow: hidden;
  position: relative;
	display: flex;
    flex-direction: column;
}
.leaderboard .statistic {
  background-color: #0d163f;
  border-radius: 3px;
  display: flex;
  flex-wrap: wrap;
}
.leaderboard .statistic-col#leaderboard-name {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-right: none;
  padding: 10px;
}
.leaderboard .statistic-col {
  width: 50%;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px;
}
.leaderboard .statistic-col:last-child {
  border-right: none;
}
.leaderboard .statistic-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  text-align: center;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 3px;
}
.leaderboard .statistic-value {
  color: #fffaff;
  font-size: var(--heading-h4);
  text-align: center;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  height: 25px;
  line-height: 1;
}
.leaderboard .table {
  width: 100%;
  max-height: 100%;
  padding: 10px 0;
  border: none;
  border-collapse: collapse;
}
.leaderboard .table-wrap {
  flex-grow: 1;
  overflow-y: auto;
  margin: 10px 0 0 0;
}
.leaderboard .table td {
  font-size: 0.875rem;
  line-height: 1;
  padding: 0.5em;
  height: 100%;
  /* border-bottom: 3px solid #fff; */
  background-color: #fafafa;
  font-weight: 900;
  cursor: pointer;
	text-align: center;
}
.leaderboard .table tr td:first-child {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
	text-align: left;
}
.leaderboard .table tr td:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
	text-align: right;
}
.leaderboard .table td:nth-child(1) {
  color: #0d163f;
}
.leaderboard .table td:nth-child(2) {
  color: #000;
}
.leaderboard .table td:nth-child(3) {
  text-align: right;
}
.leaderboard .table tr.active {
  background: #0d163f;
}
.leaderboard .table tr.active td {
  color: #ffffff;
  background: none;
}
.leaderboard .table tr:hover {
  background: #0d163f;
}
.leaderboard .table tr:hover td {
  color: #ffffff;
  background: none;
}
.game-wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.game-over {
  box-sizing: border-box;
  display: none;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  height: 100%;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  display: none;
}
.game-over * {
  box-sizing: border-box;
}
.game-over-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 320px;
  display: flex;
  flex-direction: column;
}
.game-over-top {
  width: 100%;
  margin-bottom: 30px;
}
.game-over-top img {
  width: 100%;
  display: block;
}
@media only screen and (max-width: 39.99em) {
	.game-over-top {
	  max-width: 100px;
		margin: 10px auto;
	}
}

.game-over-scorebord {
  margin: 0 -10px;
  position: relative;
}
.game-over-score, .game-over-score-best {
  position: absolute;
  font-size: 34px;
  text-align: center;
  font-weight: 600;
  color: #0d163f;
  font-family: "Roboto", sans-serif;
  line-height: 1;
}
.game-over-score {
  top: 46px;
  left: 10px;
  right: 10px;
  letter-spacing: -3px;
}
.game-over-score-best {
  top: 124px;
  left: 10px;
  right: 10px;
  letter-spacing: -3px;
}
.game-over-scorebord img {
  width: 100%;
  display: block;
}
.game-over-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -25px;
  z-index: 1;
}
.game-over-actions button {
  width: 49.5%;
  height: 40px;
  padding: 0;
  outline: none;
  cursor: pointer;
  border: 0;
}
.game-over-actions .game-over-replay {
  background: url("../images/restart.png") no-repeat 50% / contain;
}
.game-over-actions .game-over-share {
  background: url("../images/share.png") no-repeat 50% / contain;
}
.game-preview {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
}
.game-preview * {
  box-sizing: border-box;
}
.game-preview-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 550px;
  padding: 0px 20px;
}
.game-preview-image {
  width: 100%;
  margin-bottom: 70px;
}
.game-preview-image img {
  width: 100%;
  display: block;
}
.game-preview-row {
  width: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 30px;
}
.game-preview-row:last-of-type {
  padding-bottom: 0;
}
.game-preview-col p {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #ffffff;
  margin: 0;
}
.game-preview-col {
  width: 50%;
}
/* .pacman-preview-col:last-child {
  width: 60%;
} */
.key-image {
  width: 100%;
  display: flex;
  justify-content: center;
}
.key-image img {
  width: 80%;
}
.key-image.key-image--middle img {
  width: 55%;
}
.key-image.key-image--small img {
  width: 23%;
}
@media (max-width: 767px) {
  .game-preview-image {
    width: 60%;
    margin: 0 auto 20px;
  }
}
@media (max-width: 480px) {
  .game-preview-col p {
    font-size: 20px;
  }
}
@media (max-width: 375px) {
  .game-preview-col p {
    font-size: 16px;
  }
}