.clicker {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.clicker-game {
  background-color: #282d3b;
  border: 1px solid #363b4c;
  background-image: url(/img/coins.png);
  background-size: 100%;
  background-position: top;
  background-repeat: no-repeat;
  border-radius: 16px;
}

.clicker-game-header {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #363b4c;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-color: #282d3b;
}

.clicker-game-area {
  display: flex;
  justify-content: center;
  padding: 100px 16px;
}

.clicker-game-coin {
  background: linear-gradient(180deg, #ffce79, #ffa812);
  width: 256px;
  height: 248px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 -8px 0 0 rgba(255, 255, 255, .9), 0 8px 0 0 rgba(0, 0, 0, .5);
  color: #5e3f09;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-family: 'Dela Gothic One';
  line-height: 1;
  transform: scale(1);
  transition: all 50ms ease-in-out;
  -webkit-user-select: none;
  user-select: none;
}

.clicker-game-coin:active {
  transform: scale(.98);
}

.clicker-game-coin img {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .5));
  pointer-events: none;
}

.clicker-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clicker-exchange {
  overflow: hidden;
}

.clicker-exchange .layout-tabs {
  margin: -16px -16px 16px -16px;
  background-color: rgba(0, 0, 0, .12);
  border-bottom: 1px solid #363b4c;
}

.clicker-exchange .layout-tabs .layout-tabs__item {
  flex: 0 0 50%;
}

.clicker-exchange__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.clicker-exchange__label {
  color: #96a0af;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.clicker-exchange__field {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: text;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  line-height: 1;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.clicker-exchange__field span {
  font-size: 18px;
  font-weight: 700;
}

.clicker-exchange__input {
  background: none;
  border: none;
  outline: none;
  color: #ffce79;
  text-align: center;
  font-size: 48px;
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 700;
}

[contenteditable=true]:empty::before {
  content: attr(placeholder);
  pointer-events: none;
  display: block;
}

.clicker-exchange__current {
  margin-top: 8px;
}

.clicker-exchange__current span {
  color: #96a0af;
}

.clicker-referrals + .wager {
  margin-top: 16px;
}

.clicker-rate canvas {
  width: 100% !important;
}

.clicker-referrals {
  display: grid;
  grid-template-columns: 1fr 150px;
  margin-top: 16px;
}

.clicker-referrals__left .bonus-main__title {
  margin-bottom: 0;
}

.clicker-referrals__text {
  font-weight: bold;
}

.clicker-referrals__text span {
  color: #00db6e;
  border-bottom: 1px solid #00db6e;
}

.clicker-referrals__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
}

@media (max-width: 768px) {
  .clicker {
    grid-template-columns: 1fr;
  }

  .clicker-right .clicker-exchange {
    order: -1;
  }

  .clicker-game-area {
    padding: 32px 16px;
  }

  .clicker-game-coin {
    width: 150px;
    height: 142px;
  }

  .clicker-game-coin img {
    width: 140px;
    height: 140px;
  }

  .clicker-game-header {
    justify-content: flex-start;
    flex-direction: column;
  }
}