.lobby-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lobby-modal-overlay.is-open {
  display: flex;
}

.lobby-modal {
  width: min(560px, 100%);
  background: #1b1b1b;
  color: #eee;
  border: 2px solid #2ecc71;
  border-radius: 8px;
  padding: 1.5rem 1.4rem 1.3rem;
  position: relative;
  text-align: center;
}

.lobby-modal.invite {
  background: #14351a;
  background-image: linear-gradient(rgba(12, 40, 18, 0.88), rgba(12, 40, 18, 0.92));
  border-color: #39ff14;
}

.lobby-modal h2 {
  margin: 0 0 0.6rem;
  color: #2ecc71;
  font-size: 1.45rem;
}

.lobby-modal.invite h2 {
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lobby-modal p { margin: 0.4rem 0 0.8rem; line-height: 1.45; }

.lobby-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  background: transparent;
  border: 0;
  color: #ccc;
  font-size: 1.4rem;
  cursor: pointer;
}

.lobby-modal input,
.lobby-modal select {
  padding: 0.45rem 0.5rem;
  margin: 0.25rem;
  background: #fff;
  color: #111;
  border: 1px solid #999;
}

.phone-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.8rem 0;
}

.captcha-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0.7rem 0;
}

.captcha-box {
  width: 70px;
  height: 42px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.btn-verify {
  background: #2ecc71;
  color: #fff;
  border: 0;
  padding: 0.65rem 1.2rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 0.6rem;
}

.invite-url {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin: 0.8rem 0;
}

.invite-url input {
  flex: 1;
  max-width: 320px;
  background: #0b0b0b;
  color: #fff;
  border: 1px solid #39ff14;
}

.share-row { display: flex; justify-content: center; gap: 1rem; margin: 1rem 0; }

.share-row a, .share-row button {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.invite-banner {
  background: #1f7a2e;
  color: #fff;
  padding: 0.7rem;
  font-weight: 700;
}

.fine-print { font-size: 0.78rem; color: #aaa; }
