body.game-start-open { overflow: hidden; }

.game-start {
  position: fixed;
  inset: 0;
  z-index: 3100;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(15, 23, 42, .9);
  backdrop-filter: blur(4px);
  color: #16263d;
  font: 500 16px/1.35 system-ui, sans-serif;
}

.game-start[hidden], .game-start-ad[hidden] { display: none; }

.game-start-panel {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 410px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 23px clamp(14px, 5vw, 26px);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
  text-align: center;
  overscroll-behavior: contain;
}

.game-start-logo {
  display: block;
  margin: 0 auto 8px;
  border-radius: 12px;
  object-fit: contain;
}

.game-start-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
}

.game-start-notice {
  max-width: 34ch;
  margin: 0 auto 15px;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.game-start button { font: inherit; cursor: pointer; }

.game-start .game-start-play {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(#158447, #07633c);
  color: #fff;
  box-shadow: 0 4px 12px rgba(12, 117, 64, .23);
  font-weight: 800;
}

.game-start-play span { margin-right: 5px; }
.game-start-play:hover:not(:disabled) { background: #075e36; }
.game-start button:disabled { cursor: wait; opacity: .75; }
.game-start :is(a, button):focus-visible { outline: 2px solid #0e6380; outline-offset: 3px; }

.game-start-more {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 19px 0 10px;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
}

.game-start-more::before, .game-start-more::after {
  content: "";
  flex: 1;
  border-top: 1px solid #dce4e9;
}

.game-start-games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.game-start-games a {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  padding: 8px 4px;
  border: 1px solid #e1e9ee;
  border-radius: 12px;
  background: #f7fafb;
  color: #26394e;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.game-start-games a:hover { background: #eaf5ee; border-color: #a5cdb5; }

.game-start-games img {
  width: min(100%, 64px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
}

.game-start-ad {
  margin-top: 28px;
  padding-top: 10px;
  border-top: 1px solid #dce4e9;
}

.game-start-ad p { margin: 0 0 5px; color: #475569; font-size: 11px; }

.game-side-ad { display: none; }

@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  #travle-app .tg-panel { position: relative; }

  .game-side-ad {
    position: absolute;
    bottom: 6px;
    left: 14px;
    width: 200px;
    margin: 0;
    text-align: center;
  }

  .tg:not(.is-over) .game-side-ad:not([hidden]) { display: block; }
  .game-side-ad-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
}
