.game-hub {
  color: #18202a;
  margin: 0 auto;
  max-width: 980px;
}

.game-hero {
  border-bottom: 1px solid rgba(24, 32, 42, 0.12);
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.game-kicker {
  color: #a31f34;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.game-hero h1,
.game-stage h2,
.game-card h2 {
  letter-spacing: 0;
  margin: 0;
}

.game-hero h1 {
  font-size: 2rem;
}

.game-hero p:last-child {
  color: #52606d;
  margin: 10px 0 0;
}

.game-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(24, 32, 42, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 56px 1fr auto;
  min-height: 132px;
  padding: 18px;
}

.game-card__icon {
  align-items: center;
  background: #18202a;
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 1.4rem;
  font-weight: 800;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.game-card p {
  color: #52606d;
  margin: 8px 0 0;
}

.game-start,
.game-toolbar button,
.touch-controls button {
  background: #a31f34;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  min-height: 40px;
  padding: 0 16px;
}

.game-start:hover,
.game-toolbar button:hover,
.touch-controls button:hover {
  background: #84182a;
}

.game-stage {
  background: #f7f9fc;
  border: 1px solid rgba(24, 32, 42, 0.12);
  border-radius: 8px;
  margin-top: 18px;
  padding: 18px;
}

.game-stage__top {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.game-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-stats span {
  background: #fff;
  border: 1px solid rgba(24, 32, 42, 0.12);
  border-radius: 8px;
  display: inline-flex;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
}

#gameCanvas {
  aspect-ratio: 1;
  background: #111820;
  border-radius: 8px;
  display: block;
  height: auto;
  max-width: 100%;
  width: min(100%, 520px);
}

.game-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.game-speed {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(24, 32, 42, 0.12);
  border-radius: 8px;
  color: #2f3c4a;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
}

.game-speed input {
  accent-color: #a31f34;
  width: 130px;
}

.game-toolbar button:nth-child(3) {
  background: #2f3c4a;
}

.game-help {
  color: #52606d;
  margin-top: 12px;
}

.touch-controls {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 14px;
  max-width: 320px;
}

.touch-controls div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.touch-controls button {
  min-width: 76px;
}

@media (max-width: 760px) {
  .game-cards {
    grid-template-columns: 1fr;
  }

  .game-card {
    grid-template-columns: 48px 1fr;
  }

  .game-start {
    grid-column: 1 / -1;
    width: 100%;
  }

  .game-stage__top {
    align-items: flex-start;
    flex-direction: column;
  }
}
