.game-page {
  padding: clamp(18px, 4vw, 48px) 16px;
}

.game-toolbar {
  width: min(1180px, 100%);
  margin: 0 auto 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.game-back-link,
.game-fullscreen-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 2px solid #173ed1;
  border-radius: 999px;
  color: #173ed1;
  background: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.game-back-link:hover,
.game-fullscreen-link:hover {
  color: #ffffff;
  background: #173ed1;
}

.game-fullscreen-link[hidden] {
  display: none;
}

.lumi-embed {
  width: min(1180px, 100%);
  min-height: 720px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(20, 41, 118, 0.12);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(20, 41, 118, 0.12);
}

.lumi-embed iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: #ffffff;
}

.lumi-embed--placeholder {
  display: grid;
  min-height: 420px;
  place-items: center;
}

.game-placeholder {
  max-width: 620px;
  padding: 36px 24px;
  text-align: center;
}

.game-placeholder strong {
  display: block;
  color: #142976;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.game-placeholder p {
  margin: 12px 0 0;
  color: #526078;
}

.embed-help {
  width: min(1180px, 100%);
  margin: 14px auto 0;
  color: #526078;
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 640px) {
  .game-page {
    padding: 10px 8px 28px;
  }

  .game-toolbar {
    margin-bottom: 10px;
  }

  .game-back-link,
  .game-fullscreen-link {
    flex: 1 1 auto;
  }

  .lumi-embed,
  .lumi-embed iframe {
    min-height: 80vh;
  }

  .lumi-embed--placeholder {
    min-height: 55vh;
  }

  .lumi-embed {
    border-radius: 12px;
  }
}
