@import url("./mbti.css");

.city-pay-gate {
  margin-top: 16px;
  max-width: 420px;
  display: grid;
  gap: 8px;
}

.city-pay-gate[hidden] {
  display: none !important;
}

.city-pay-gate input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.city-pay-gate .mbti-note {
  margin: 0;
}

.city-mark {
  width: 72px;
  height: 96px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Sticker avatars: keep source aspect, cap display size.
   No radius/overflow clip — long names (e.g. WASHINGTON) sit at the edge. */
.city-mark.city-mark--avatar,
.mbti-avatar.city-mark--avatar {
  width: auto !important;
  height: auto !important;
  max-width: 136px;
  max-height: 168px;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  color: transparent;
  place-items: center;
  border: 0;
  padding: 0;
}

.city-mark.city-mark--avatar img {
  width: auto;
  height: auto;
  max-width: 136px;
  max-height: 168px;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.mbti-page .mbti-result-hero {
  grid-template-columns: minmax(96px, 140px) 1fr;
  gap: 16px;
  align-items: start;
}

.mbti-page .mbti-result-visual {
  width: auto;
  max-width: 140px;
}

.mbti-page .mbti-result-copy {
  margin-top: calc(0.68rem * 1.3 + 4px);
  min-height: 120px;
  padding-top: 8px;
}

.city-alts,
.city-surprise,
.city-wallpaper-cta {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.city-alts h3,
.city-surprise h3,
.city-dims-title,
.city-wallpaper-kicker {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.city-alt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(16, 24, 32, 0.06);
}

.city-alt:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.city-alt p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.city-surprise p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.5;
}

.city-wallpaper-cta p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

.city-wallpaper-kicker {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--sea);
}

#q-choices {
  display: grid;
  gap: 12px;
}
