/* Onboarding screens (gender, consent, camera placeholder), /privacy and the open-in-browser screen.
   Phone first: one column, 56 px tall tap targets, the primary button pinned above the safe area. */
.ob-wrap { max-width: 440px; margin: 0 auto; padding-bottom: env(safe-area-inset-bottom); }
.ob-step { display: flex; flex-direction: column; min-height: calc(100dvh - 140px); }
.ob-step h1 { font-size: 1.6rem; line-height: 1.25; }
.ob-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.ob-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 140px; padding: 16px 8px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--fg);
  font: inherit; font-size: 1.1rem; font-weight: 600; cursor: pointer;
  transition: transform .12s ease, border-color .12s ease;
}
.ob-card:hover, .ob-card:focus-visible { border-color: var(--accent); }
.ob-card:active { transform: scale(.97); border-color: var(--accent); background: var(--bg); }
.ob-why { color: var(--muted); font-size: 14px; margin: 0; text-align: center; }
.ob-consent { align-items: stretch; }
.ob-face { color: var(--accent); margin: 8px 0 20px; }
.ob-consent h1 { font-size: 1.5rem; }
.ob-link { display: inline-block; padding: 12px 0; color: var(--fg); text-decoration: underline; }
.ob-bottom {
  margin-top: auto; padding-top: 24px; padding-bottom: env(safe-area-inset-bottom);
  position: sticky; bottom: 0; background: var(--bg);
}
.ob-caption { color: var(--muted); font-size: 13px; text-align: center; margin: 0 0 8px; }
button.button.ob-primary { width: 100%; min-height: 56px; font-size: 1.05rem; }
.privacy h2 { font-size: 1.15rem; margin: 24px 0 4px; }
.privacy p { margin: 0 0 8px; }

/* Open in Safari / Chrome (join page inside Telegram's in-app browser) */
.inapp-title { font-size: 1.6rem; font-weight: 700; line-height: 1.25; margin: 0 0 12px; }
.inapp-url {
  display: block; width: 100%; margin: 0 0 12px; padding: 12px; font: inherit; font-size: 14px;
  color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  overflow-wrap: anywhere;
}
.inapp .button { width: 100%; min-height: 56px; }
.inapp-hints { list-style: none; margin: 20px 0 0; padding: 0; color: var(--muted); font-size: 15px; }
.inapp-hints li { margin: 0 0 8px; }
@media (prefers-reduced-motion: reduce) { .ob-card { transition: none; } }
.inapp .notice { margin-top: 12px; }

/* Done screen: the three photos in a row, the one real action pinned at the bottom */
.ob-done { align-items: stretch; text-align: center; }
.ob-thumbs { display: flex; justify-content: center; gap: 10px; list-style: none; margin: 8px 0 24px; padding: 0; }
.ob-thumbs li { flex: 0 1 30%; max-width: 120px; }
.ob-thumbs img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px;
  border: 2px solid var(--line); background: var(--surface);
}
a.button.ob-primary {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; font-size: 1.05rem;
  text-decoration: none; box-sizing: border-box;
}
.ob-done .lead { margin: 0 0 8px; }
