.website-games-button {
  position: relative;
  width: 46px;
  height: 46px;
  margin: 0;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  color: #17212B;
  box-shadow: 0 12px 30px rgba(20, 40, 60, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}

.website-games-icon {
  width: 22px;
  height: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.website-games-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

body.view-website .website-header.is-compact .website-games-button {
  width: 34px;
  height: 34px;
  border-radius: 14px;
}

body.mobile-browser-view .website-games-button {
  display: none;
}

.games-page-host {
  width: 100%;
  min-height: calc(100vh - var(--website-header-height, 86px));
  background: #F5F9FC;
}

#screen-mocks.container.games-page-host {
  width: 100%;
  max-width: none !important;
  height: calc(100vh - var(--website-header-height, 86px));
  min-height: 0;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  text-align: left;
}

html.games-page-open,
body.games-page-open {
  overflow: hidden !important;
}

body.games-page-open .app {
  overflow: hidden !important;
}

.games-page {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(20px, 3vw, 34px) clamp(28px, 5vw, 72px);
  box-sizing: border-box;
  overflow: hidden;
  text-align: left;
}

.games-page-shell {
  width: min(1180px, 100%);
  height: 100%;
  margin: 0 auto;
}

.games-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.games-page-head h1 {
  margin: 0;
  color: #17212B;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 950;
  line-height: 1.05;
}

.games-page-head p {
  margin: 8px 0 0;
  color: #607080;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.games-page-back {
  width: auto;
  min-height: 42px;
  margin: 0;
  border: 0;
  border-radius: 15px;
  padding: 0 18px;
  background: #FFFFFF;
  color: #17212B;
  box-shadow: 0 8px 24px rgba(20,40,60,0.08);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
}

.games-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.games-hub-card {
  min-height: 214px;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(20,40,60,0.08);
  padding: 22px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 16px;
  row-gap: 18px;
  cursor: pointer;
}

.games-hub-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(0,186,255,0.08);
  color: #00A6E6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.games-hub-card-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.games-hub-card-copy {
  min-width: 0;
}

.games-hub-card h2 {
  margin: 0;
  color: #17212B;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.18;
}

.games-hub-card p {
  margin: 8px 0 0;
  color: #607080;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.games-hub-play {
  grid-column: 2;
  justify-self: start;
  min-width: 112px;
  height: 44px;
  margin: 0;
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  background: #00BAFF;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(20,40,60,0.08);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.games-hub-play:active,
.games-page-back:active,
.website-games-button:active {
  transform: scale(0.98);
}
