/* zph.cc — shared QR modal (public profile + dashboard) */

.ngqr-lock { overflow: hidden; }

.ngqr-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 13, 18, 0.55);
}

.ngqr-backdrop[hidden] { display: none; }

.ngqr {
  position: relative;
  width: min(380px, 100%);
  padding: 22px 22px 20px;
  border-radius: 22px;
  background: #fff;
  color: var(--ngqr-ink, #17181c);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ngqr-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ngqr-ink, #17181c);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.ngqr-close:hover { opacity: 1; background: rgba(0, 0, 0, 0.06); }
.ngqr-close svg { width: 17px; height: 17px; }

.ngqr-kicker {
  margin: 2px 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ngqr-ink, #17181c);
  opacity: 0.5;
}

.ngqr-box {
  display: inline-block;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(13, 14, 18, 0.06), 0 12px 30px rgba(13, 14, 18, 0.12);
}

.ngqr-stage {
  display: grid;
  place-items: center;
  width: 252px;
  height: 252px;
  color: #9a9aa3;
  font-size: 13px;
}

.ngqr-stage svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ngqr-url {
  display: block;
  margin: 14px auto 0;
  max-width: 320px;
  color: #7b7c86;
  font-size: 12.5px;
  font-weight: 600;
  word-break: break-all;
  text-decoration: none;
}

.ngqr-url:hover { color: var(--ngqr-ink, #17181c); }

.ngqr-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.ngqr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(13, 14, 18, 0.12);
  background: #fff;
  color: var(--ngqr-ink, #17181c);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ngqr-btn svg { width: 15px; height: 15px; }

.ngqr-btn:hover {
  border-color: rgba(13, 14, 18, 0.3);
  box-shadow: 0 6px 16px rgba(13, 14, 18, 0.1);
  transform: translateY(-1px);
}

.ngqr-btn:active { transform: none; }
