.help-choose-game-dialog .ui-dialog-titlebar {
  display: none;
}

.help-choose-game-dialog .ui-dialog-content {
  padding: 0;
  overflow-y: auto;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.help-choose-game-modal-content {
  line-height: 1.6;
  font-family: 'OpenSans', sans-serif;
}

.help-choose-game-modal-content img {
  max-width: 100%;
  height: auto;
}

/* Основной контейнер */
.help-choose-game__lang {
  background: #fff;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Заголовок */
.help-choose-game__header {
  background: linear-gradient(135deg, #900 0%, #b30000 100%);
  padding: 28px 32px;
  margin: 0;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

.help-choose-game__title {
  font-family: 'PTSans', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: -0.5px;
}

/* Контент */
.help-choose-game__content {
  padding: 32px;
  background: #fff;
}

.help-choose-game__text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 18px 0;
  padding: 0;
}

.help-choose-game__text:last-of-type {
  margin-bottom: 0;
}

/* Ссылки */
.help-choose-game__link {
  color: #900;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  display: inline-block;
}

.help-choose-game__link:hover,
.help-choose-game__link:focus {
  color: #b30000;
  border-bottom-color: #b30000;
  text-decoration: none;
}

.help-choose-game__link:active {
  color: #700;
}

/* Примечание */
.help-choose-game__note {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 24px 0 0 0;
  padding: 20px;
  background: #f8f9fa;
  border-left: 4px solid #900;
  border-radius: 4px;
  font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
  .help-choose-game-dialog .ui-dialog-content {
    max-height: 90vh;
  }

  .help-choose-game__header {
    padding: 24px 20px;
  }

  .help-choose-game__title {
    font-size: 20px;
  }

  .help-choose-game__content {
    padding: 24px 20px;
  }

  .help-choose-game__text {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .help-choose-game__note {
    font-size: 15px;
    padding: 16px;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .help-choose-game__header {
    padding: 20px 16px;
  }

  .help-choose-game__title {
    font-size: 18px;
  }

  .help-choose-game__content {
    padding: 20px 16px;
  }

  .help-choose-game__text {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .help-choose-game__note {
    font-size: 14px;
    padding: 14px;
  }
}

/* Overlay */
.ui-widget-overlay {
  background: #000 !important;
  opacity: 0.8 !important;
}

/* Анимация появления */
.help-choose-game-dialog {
  animation: helpChooseGameFadeIn 0.3s ease-out;
}

@keyframes helpChooseGameFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.ui-widget.ui-widget-content {
	width: 90% !important;
  max-width: 650px !important;
}

.ui-widget.ui-widget-content,
.help-choose-game-modal-content.ui-dialog-content {
  padding: 0 !important;
}

.ui-dialog .ui-dialog-titlebar {
  position: absolute !important;
  padding: 0 !important;
  margin: 0 !important;
  right: 10px;
  top: 20px;
  z-index: 99;
  font-size: 0!important;
}