.games-dialog {
  box-sizing: border-box;
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 28px;
  overflow-y: auto;
  border: 1px solid #e4e5dc;
  border-radius: 26px;
  background: #fffefa;
  color: #283426;
  box-shadow: 0 26px 90px #28342635;
}
.games-dialog::backdrop { background: #1d2b22a8; backdrop-filter: blur(5px); }
.games-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.games-dialog-kicker { color: #839177; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
#games-dialog-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f0f2ea; color: #42503b; font-size: 28px; line-height: 1; cursor: pointer; }
.games-dialog h2 { margin: 12px 0 5px; font-size: clamp(24px, 5vw, 30px); letter-spacing: -.04em; }
.games-dialog p { margin: 0 0 23px; color: #818779; font-size: 14px; }
.games-list { display: grid; gap: 10px; }
.games-list a { display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 12px 16px; border: 1px solid #e7e9dd; border-radius: 18px; background: #f8f9f3; color: inherit; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.games-list a:hover, .games-list a:focus-visible { transform: translateY(-2px); border-color: #abbc9c; background: #eff3e8; }
.games-list a > span:last-child { margin-left: auto; color: #809073; font-size: 22px; }
.games-icon { display: grid; flex: 0 0 50px; place-items: center; height: 50px; border-radius: 14px; background: #e5ecdb; color: #607b51; font-size: 19px; font-weight: 800; }
.games-list a:nth-child(2) .games-icon { background: #f5e7d3; color: #ad7950; font-size: 15px; }
.games-list a:nth-child(3) .games-icon { background: #ece6df; color: #9d7158; font-size: 27px; }
.games-list a:nth-child(4) .games-icon { background: #f2e1d1; color: #b15e4d; font-family: "Songti SC","STSong",serif; font-size: 27px; }
.games-list a:nth-child(5) .games-icon { background: #e5e8f4; color: #6a6fa5; font-size: 28px; }
.games-list strong, .games-list small { display: block; }
.games-list strong { margin-bottom: 5px; font-size: 17px; }
.games-list small { color: #8a9084; font-size: 12px; line-height: 1.4; }
@media (max-width: 480px) {
  .games-dialog { padding: 22px; border-radius: 23px; }
  .games-list a { min-height: 74px; padding: 10px 12px; }
  .games-icon { flex-basis: 44px; height: 44px; }
}
