:root {
  color-scheme: dark;
  --wine: #261321;
  --panel: #321c2b;
  --line: #654253;
  --text: #ffe4d7;
  --muted: #c8a9b8;
  --coral: #ff5c6d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 10% 5%, #522136 0, transparent 60%), #1d101b;
  color: var(--text);
  font:
    16px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 100vh;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.42;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
.a-swipe:focus-visible {
  outline: 3px solid #fcaeb7;
  outline-offset: 4px;
}
.a-shell {
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: 24px 22px 34px;
  min-height: 100vh;
}
.a-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-bottom: 35px;
}
.a-brand {
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 15px;
  font-weight: 800;
}
.a-brand b {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffe0d2;
  color: #381627;
  width: 34px;
  height: 34px;
  box-shadow: 3px 3px #a63e63;
}
.a-brand small {
  color: #ba8b9f;
  font-size: 9px;
  margin-left: 3px;
}
.a-back {
  font-size: 30px;
  text-decoration: none;
  margin-right: 14px;
}
.a-header .language-picker {
  margin-left: auto;
}
.a-header .language-picker select {
  max-width: 140px;
  min-height: 36px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 20px;
  padding: 6px 10px;
}
.a-header .language-picker select option {
  background: var(--wine);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(29px, 7vw, 39px);
  line-height: 1.14;
  letter-spacing: -1.2px;
  margin-bottom: 15px;
  font-weight: 650;
}
h2 {
  font-size: 18px;
  line-height: 1.35;
}
h3 {
  font-size: 14px;
}
.a-muted,
.a-footnote {
  color: var(--muted);
}
.a-eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #e6b4be;
  font-size: 12px;
  margin-bottom: 14px;
}
.a-intro {
  margin-bottom: 27px;
}
.a-intro .a-muted {
  font-size: 14px;
  max-width: 360px;
}
.a-filter h2 {
  font-size: 13px;
  margin: 24px 0 10px;
}
.a-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.a-choices button {
  border: 1px solid var(--line);
  background: #ffffff04;
  color: var(--text);
  border-radius: 14px;
  min-height: 48px;
  padding: 9px;
  font-size: 14px;
}
.a-choices button.selected {
  background: var(--coral);
  border-color: var(--coral);
  color: white;
  font-weight: 700;
}
.a-regions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.a-regions button {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.a-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(110deg, #ff5065, #ef7f76);
  color: #fff;
  min-height: 54px;
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
}
.a-primary span {
  font-size: 21px;
}
.a-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #ffffff05;
  color: var(--text);
  min-height: 48px;
  border-radius: 14px;
  text-decoration: none;
  padding: 10px 18px;
}
.a-text {
  display: block;
  text-align: center;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  padding: 12px;
  min-height: 44px;
  margin: auto;
}
.a-footnote {
  font-size: 11px;
  text-align: center;
  margin: 4px 0 0;
}
.empty-strip {
  display: flex;
  gap: 10px;
  margin: 25px 0 22px;
}
.empty-strip .empty-photo {
  width: 33.333%;
  aspect-ratio: 1/1.1;
  min-height: 0;
  border-radius: 13px;
}
.empty-strip svg {
  width: 30px;
}
.empty-strip .empty-photo span {
  display: none;
}
.empty-photo {
  aspect-ratio: 4/5;
  min-height: 280px;
  border: 1px dashed #9e738477;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(140deg, #50324333, #1b121c66);
  color: #c598ab60;
}
.empty-photo svg {
  width: 64px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.empty-photo span {
  font-size: 18px;
  color: #bb93a3;
}
.empty-profile {
  border: 1px solid #6c405357;
  border-radius: 21px;
  overflow: hidden;
  background: #35202d66;
}
.profile-content {
  padding: 21px;
}
.blank-name {
  font-size: 34px;
  line-height: 1.15;
  margin: 10px 0 17px;
  color: #cfacba;
}
.blank-tags {
  display: flex;
  gap: 9px;
  margin: 14px 0;
}
.blank-tags .blank-line {
  height: 25px;
  border: 1px dashed #765467;
  background: none;
  border-radius: 99px;
}
.blank-line {
  height: 7px;
  background: #79526633;
  display: block;
  border-radius: 3px;
  margin: 10px 0;
  max-width: 100%;
}
.blank-about {
  border-top: 1px solid #6b42584d;
  padding-top: 22px;
  margin-top: 24px;
}
.blank-about h2 {
  font-size: 21px;
  margin-bottom: 10px;
}
.blank-about h3 {
  margin-top: 24px;
}
.blank-value {
  color: var(--muted);
}
.blank-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}
.blank-facts div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
}
.blank-facts small {
  font-size: 10px;
  color: var(--muted);
}
.blank-facts p {
  margin: 7px 0 0;
}
.a-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}
.a-progress i {
  height: 3px;
  border-radius: 3px;
  background: #634051;
  flex: 1;
}
.a-progress i.active {
  background: #eb8e9c;
}
.a-action-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.a-action-row .a-secondary {
  min-width: 48px;
  font-size: 24px;
}
.a-action-row .a-primary {
  flex: 1;
}
.a-swipe {
  touch-action: pan-y;
  outline: none;
}
.a-full .empty-photo {
  aspect-ratio: 4/4.1;
}
.a-full .a-header {
  margin-bottom: 24px;
}
.a-bottom {
  position: sticky;
  bottom: 0;
  background: linear-gradient(0deg, #281522 82%, #281522ee);
  padding: 15px 0 max(8px, env(safe-area-inset-bottom));
  margin-top: 16px;
  border-radius: 16px 16px 0 0;
  z-index: 5;
}
.a-bottom-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}
.a-bottom-links button {
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--text);
  min-height: 44px;
  min-width: 44px;
}
.a-guide h1 {
  font-size: 30px;
}
.a-guide .gm-tutorial {
  margin: 18px 0;
  padding: 0;
  border: 0;
  background: none;
}
.a-guide .gm-tutorial-heading {
  display: none;
}
.a-guide .gm-demo {
  height: 285px;
  min-height: 285px;
}
.a-guide .gm-demo-webpage {
  padding-top: 16px;
}
.a-guide .gm-demo-webpage p {
  font-size: 16px;
}
.a-guide .gm-menu-title {
  padding: 10px;
}
.a-guide .gm-menu-item {
  min-height: 35px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 12px;
}
.a-guide .gm-menu-item svg {
  width: 17px;
  height: 17px;
}
.a-guide .gm-mini-card {
  display: none;
}
.a-guide .gm-step-label {
  margin-bottom: 14px;
}
.a-guide .gm-timeline {
  margin: 14px 0;
}
.a-guide .gm-demo-actions {
  margin: 8px 0;
}
.a-guide .gm-actual-hint {
  font-size: 10px;
  padding-top: 12px;
  margin-bottom: 13px;
}
.a-continue {
  margin-top: 11px;
  font-size: 14px;
}
.a-guide .a-footnote {
  margin-top: 18px;
}
.a-modal-open {
  overflow: hidden;
}
.a-modal-layer {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: #0d0712b8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}
.a-sheet {
  background: #321d2c;
  border: 1px solid #765368;
  border-radius: 25px 25px 16px 16px;
  position: relative;
  max-width: 490px;
  width: 100%;
  padding: 25px;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 -10px 80px #0006;
}
.a-sheet h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 20px 34px 16px 0;
}
.a-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--text);
  font-size: 24px;
}
.a-demo-note {
  border-left: 2px solid #e790a5;
  padding-left: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}
.a-sheet label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0 7px;
}
.a-sheet input:not([type="checkbox"]),
.a-sheet select {
  border: 1px solid var(--line);
  background: #23121f;
  color: var(--text);
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border-radius: 11px;
  font-size: 16px;
}
.a-sheet .a-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}
.a-consent input {
  accent-color: var(--coral);
  margin-top: 4px;
  min-width: 17px;
  min-height: 17px;
}
.a-sheet .a-text {
  padding: 6px 0;
  text-align: left;
  margin: 0 0 8px;
}
.a-form-status {
  font-size: 13px;
  color: #f3d8e2;
  line-height: 1.7;
  margin: 12px 0 0;
}
.a-form-status.shown {
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 12px;
}
.boot-mark {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: #ffe0d2;
  color: #381627;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 800;
  position: absolute;
  top: 40%;
  left: calc(50% - 30px);
}
[dir="rtl"] .a-header .language-picker {
  margin-left: 0;
  margin-right: auto;
}
[dir="rtl"] .a-back {
  margin-right: 0;
  margin-left: 14px;
}
[dir="rtl"] .a-close {
  right: auto;
  left: 14px;
}
.quiz-consent {
  margin: 22px 0 0;
}
.vcf-overlay {
  z-index: 300;
}
.vp-overlay,
dialog {
  z-index: 400;
}
@supports not (aspect-ratio: 4/5) {
  .empty-photo {
    height: 430px;
  }
  .empty-strip .empty-photo {
    height: 110px;
  }
  .a-full .empty-photo {
    height: 400px;
  }
}
@media (min-width: 720px) {
  .a-shell {
    padding-top: 38px;
  }
  .a-shell:before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #80546733;
    margin-left: -24px;
  }
  .a-shell:after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #80546733;
    margin-left: calc(520px - 20px);
  }
}
@media (max-width: 360px) {
  .a-shell {
    padding: 18px 15px 25px;
  }
  .a-header {
    margin-bottom: 25px;
  }
  .a-header .language-picker select {
    max-width: 115px;
  }
  h1 {
    font-size: 29px;
  }
  .a-regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .a-sheet {
    padding: 20px;
  }
  .a-guide .gm-demo {
    height: 275px;
    min-height: 275px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --bottom-safe: 0px;
  --bottom-safe: env(safe-area-inset-bottom, 0px);
}
.a-gate {
  height: var(--app-height, 100vh);
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: 18px;
  padding-bottom: calc(var(--bottom-safe) + 10px);
}
.a-gate .a-header {
  flex-shrink: 0;
  margin-bottom: 14px;
  min-height: 36px;
}
.gate-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  margin-bottom: 11px;
}
.gate-title h1 {
  font-size: 22px;
  margin: 0;
  letter-spacing: 0;
}
.gate-title > span {
  font-size: 11px;
  color: var(--muted);
}
.a-gate .a-progress {
  margin-bottom: 12px;
  flex-shrink: 0;
}
.a-gate .a-swipe {
  flex: 1;
  min-height: 160px;
  display: flex;
}
.a-gate .empty-profile {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}
.a-gate .empty-photo {
  flex: 1;
  height: auto;
  min-height: 90px;
  aspect-ratio: auto;
}
.a-gate .profile-content {
  flex-shrink: 0;
  padding: 12px 16px;
}
.a-gate .profile-content .a-eyebrow {
  font-size: 10px;
  margin-bottom: 3px;
}
.a-gate .blank-name {
  font-size: 25px;
  margin: 3px 0 7px;
}
.a-gate .blank-tags {
  margin: 0;
}
.a-gate .blank-tags .blank-line {
  height: 20px;
  margin: 3px 0;
}
.gate-controls {
  flex-shrink: 0;
}
.a-gate .a-action-row {
  margin-top: 10px;
}
.a-gate .a-primary {
  min-height: 48px;
  font-size: 14px;
  padding: 10px 16px;
}
.gate-support {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.gate-support .a-text {
  padding: 8px 0;
  margin: 0;
  min-height: 36px;
  font-size: 10px;
}
.a-full {
  padding-bottom: calc(var(--bottom-safe) + 20px);
}
.a-full .a-bottom {
  bottom: 0;
  padding-bottom: calc(5px + var(--bottom-safe));
}
.a-sheet {
  max-height: calc(var(--app-height, 100vh) - 24px);
}
.a-header .language-picker select {
  max-width: 155px;
}

@media (max-height: 620px) and (orientation: portrait) {
  .a-gate {
    padding-top: 10px;
  }
  .a-gate .a-header {
    margin-bottom: 9px;
  }
  .gate-title {
    margin-bottom: 8px;
  }
  .a-gate .profile-content {
    padding: 8px 12px;
  }
  .a-gate .empty-photo svg {
    width: 46px;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .a-gate {
    height: auto;
    min-height: var(--app-height, 100vh);
  }
  .a-gate .a-swipe {
    flex: none;
    height: 290px;
  }
}

/* iPhone safe areas and long translated labels, including pre-flex-gap Safari. */
h1 { font-size: 32px; }
.a-shell { padding-left: 22px; padding-right: 22px; padding-left: max(22px, env(safe-area-inset-left)); padding-right: max(22px, env(safe-area-inset-right)); }
.a-gate { padding-top: max(18px, env(safe-area-inset-top)); }
.a-primary,.a-secondary,.language-picker { min-width: 0; }
.a-primary { overflow-wrap: break-word; }
.a-primary > span { flex-shrink: 0; }
.a-header .language-picker select { min-height: 44px; max-width: 145px; }
.a-header .language-picker { max-width: 48%; }
.a-header .language-picker select { width: 100%; }
.a-guide .gm-demo { height: 345px; min-height: 345px; }
.a-guide .gm-menu-item { height: auto; min-height: 38px; }
.a-guide .gm-open-row { min-height: 50px; }
.gm-menu-item > span { overflow-wrap: break-word; }
.a-modal-layer { height: var(--app-height, 100vh); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.a-sheet { -webkit-overflow-scrolling: touch; }
[dir=rtl] .contact-phone-row #dial { margin-right: 0; margin-left: 8px; }
[dir=rtl] .profile-photo-pair .secondary-photo + .secondary-photo { margin-left: 0; margin-right: 10px; }
[dir=rtl] .profile-photo-pair.pair-stack .secondary-photo + .secondary-photo { margin-right: 0; }
#phone,#email { direction: ltr; text-align: left; }
@supports not (inset: 0) {
 .a-brand b { margin-right: 8px; }
 .a-progress > i + i { margin-left: 5px; }
 .a-action-row .a-primary { margin-left: 10px; }
 .a-consent input { margin-right: 10px; }
 [dir=rtl] .a-brand b { margin-right: 0; margin-left: 8px; }
 [dir=rtl] .a-progress > i + i { margin-left: 0; margin-right: 5px; }
 [dir=rtl] .a-action-row .a-primary { margin-left: 0; margin-right: 10px; }
 [dir=rtl] .a-consent input { margin-right: 0; margin-left: 10px; }
}
@media (max-width:360px) {
 .a-shell { padding-left:15px; padding-right:15px; }
 .a-header .language-picker select { max-width:130px; }
 .a-guide .gm-demo { height:360px; min-height:360px; }
}
