html.embedded-browser-blocked,
html.embedded-browser-blocked body {
  overflow: hidden;
}

.is-gate-hidden {
  display: none !important;
}

.ebg-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: #0f1419;
  color: #e8eaed;
  font-family: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ebg-card {
  width: 100%;
  max-width: 420px;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.ebg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(62, 207, 142, 0.15);
  color: #3ecf8e;
}

.ebg-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.ebg-lead,
.ebg-hint {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #b8bcc4;
}

.ebg-hint {
  margin-bottom: 1rem;
}

.ebg-url-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #9aa0a8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ebg-url {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #e8eaed;
  font-size: 0.8125rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ebg-copy-btn {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 10px;
  background: #3ecf8e;
  color: #171717;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.ebg-copy-btn:hover {
  background: #24b47e;
}

.ebg-copy-btn:active {
  transform: scale(0.99);
}

.ebg-copy-ok {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #3ecf8e;
  text-align: center;
}

.ebg-steps {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #b8bcc4;
}

.ebg-steps li {
  margin-bottom: 0.35rem;
}

.ebg-alt {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #9aa0a8;
  text-align: center;
}
