.intl-tel-input .country-list {
  background-color: var(--esa26c-surface);
  border: 1px solid var(--esa26c-line);
}

.intl-tel-input .country-list .divider {
  border-color: var(--esa26c-line);
}

.gameSelector_modal {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  min-height: 100vh;
  max-height: 100vh;
  z-index: 99999999999;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .2s ease-out, visibility .2s ease-out;
  transition: opacity .2s ease-out, visibility .2s ease-out;
}

.gameSelector_modal.active {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity .2s ease-out, visibility .2s ease-out;
  transition: opacity .2s ease-out, visibility .2s ease-out;
}

.gameSelector_modal .gameSelector_overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--esa26c-bg);
  opacity: 0.9;
}

.gameSelector_modal .gameSelector_content {
  z-index: 10;
}

.gameSelector_modal .gameSelector_title {
  text-align: center;
}

.gameSelector_modal .gameSelector_title h1,
.gameSelector_modal .gameSelector_title h2 {
  color: var(--esa-ink);
  font-weight: 900;
  font-size: 50px;
  margin: unset;
}

.gameSelector_modal .gameSelector_title p {
  font-size: 18px;
  letter-spacing: 1px;
}

.gameSelector_modal .gameSelector_title p b {
  color: var(--brand-text);
}

.gameSelector_modal .gameSelector_locations {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.gameSelector_modal .gameSelector_locations .gameRow {
  background: var(--esa26c-surface);
  padding: 15px;
  border-radius: 5px;
  border: 1px solid var(--esa26c-line);
}

.gameSelector_modal .gameSelector_locations .gameRow:nth-child(1n):not(:last-of-type) {
  margin-right: 30px;
}

.gameSelector_modal .gameSelector_locations .gameRow .gamePrice {
  border-bottom: 1px solid var(--esa26c-line);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.gameSelector_modal .gameSelector_locations .gameRow .gamePrice span {
  margin: unset;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--esa-ink-mute);
}

.gameSelector_modal .gameSelector_locations .gameRow .gamePrice span b {
  color: var(--brand-text);
}

.gameSelector_modal .gameSelector_locations .gameLocation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.gameSelector_modal .gameSelector_locations .gameLocation img {
  width: 20px;
}

.gameSelector_modal .gameSelector_locations .gameLocation span {
  color: var(--esa-ink);
  font-weight: 600;
  font-size: 16px;
  margin-left: 10px;
  letter-spacing: 0.5px;
}

.gameSelector_modal .gameSelector_closer {
  position: absolute;
  right: 150px;
  top: 125px;
  font-size: 30px;
  width: 50px;
  height: 50px;
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
}

/* ---- Light theme overrides ---- */
/* V2 — colours come from the esa26c tokens in both themes; only the scrim differs */
:root[data-theme="light"] .gameSelector_modal .gameSelector_overlay {
  background-color: #000000;
  opacity: 0.4;
}

/* ---- Mobile: stack location cards, contain the closer, scale title (deterministic-safe) ---- */
@media screen and (max-width: 767px) {
  .gameSelector_modal {
    overflow-y: auto;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 24px 16px;
  }

  .gameSelector_modal .gameSelector_content {
    width: 100%;
  }

  .gameSelector_modal .gameSelector_title h1,
  .gameSelector_modal .gameSelector_title h2 {
    font-size: 32px;
  }

  .gameSelector_modal .gameSelector_locations {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
  }

  .gameSelector_modal .gameSelector_locations .gameRow {
    width: 100%;
    max-width: 320px;
  }

  .gameSelector_modal .gameSelector_locations .gameRow:nth-child(1n):not(:last-of-type) {
    margin-right: 0;
  }

  .gameSelector_modal .gameSelector_closer {
    right: 16px;
    top: 16px;
  }
}
