/* Profile Prompts, PR 5 (direction A, SPEC.md): the other member's answers on
   the Discover card and the full profile. Brand tokens: ink #1C1917, sage
   #D7E6D4, produce #1F7A4D, and #5F5A54 for small text (also on sage). */

/* Discover card: one prompt above You Both Buy. */
.aisle-card-foot .prompt-one {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 4px;
  min-width: 0;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
}

.aisle-card-foot .prompt-one-q {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: #5F5A54;
}

.aisle-card-foot .prompt-one-a {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
  color: #1C1917;
  white-space: pre-line;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/* Short screens (iPhone SE class, 667pt tall or less): one line, so the
   name and pills on the photo never clip. The full profile keeps it all. */
@media (max-height: 667px) {
  .aisle-card-foot .prompt-one-a {
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
}

/* Full profile: large prompt cards between the photos. */
.discover-profile-screen .discover-section.prompt-card {
  border-radius: 20px;
  padding: 18px;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
}

.discover-profile-screen .prompt-card-q {
  margin: 0 0 6px;
  font-size: var(--aisle-caption-size, 13px);
  font-weight: var(--aisle-caption-weight, 500);
  line-height: 18px;
  color: var(--rt-muted, #5F5A54);
}

.discover-profile-screen .prompt-card-a {
  margin: 0;
  font-size: var(--aisle-title-sm-size, 24px);
  font-weight: var(--aisle-title-sm-weight, 700);
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: #1C1917;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* Your answers that paired with this one, Strong (80+) or Good (60 to 79). */
.discover-profile-screen .prompt-pairs {
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 16px;
  background: #D7E6D4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discover-profile-screen .prompt-pairs-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5F5A54;
}

.discover-profile-screen .prompt-pair {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.discover-profile-screen .prompt-pair-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
}

.discover-profile-screen .prompt-pair-strong {
  background: #1F7A4D;
  color: #FFFFFF;
}

.discover-profile-screen .prompt-pair-good {
  background: #FFFFFF;
  color: #1F7A4D;
}

.discover-profile-screen .prompt-pair-q {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: #5F5A54;
}

.discover-profile-screen .prompt-pair-a {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  color: #1C1917;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* PR 6: the Prompt Match chip, after the match % and the intent pill. Produce
   pill, white 14/600 text, padding 5/12, a 14px four-point sparkle. It wraps
   to the next line with its row when there is no room. */
.prompt-match-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 5px 12px;
  border-radius: 999px;
  background: #1F7A4D;
  color: #FFFFFF;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  vertical-align: middle;
}

.prompt-match-spark {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.aisle-card-pills {
  flex-wrap: wrap;
}

/* On the Discover card: the sparkle and "87%" only. */
.prompt-match-chip-short {
  gap: 4px;
  padding: 5px 10px;
}

/* Each place the chip sits beside the yellow match % pill, it takes that
   pill's exact size, so the two read as a pair (Richard, Nov 16: "the prompt
   match looks slightly bigger"). The sparkle follows the text size, so it
   never makes the chip taller. */

/* Why You Match: like .score-badge.aisle-match-pill in aisle.css, 12/700,
   padding 5/10, the same inherited line height and the same 8px top margin. */
.discover-profile-screen .discover-why .prompt-match-chip {
  gap: 4px;
  margin: 8px 0 0 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: inherit;
}

/* Side by side on one text line, both align by their tops (each has the 8px
   top margin), so the chip's vertical-align: middle can't drop it 1-2px. */
.discover-profile-screen .discover-why .score-badge.aisle-match-pill,
.discover-profile-screen .discover-why .prompt-match-chip {
  vertical-align: top;
}

/* Discover card, photo overlay: like its match % and Love pills in
   aisle-bio-a.css, 26px tall, 13/600, padding 0 10. */
.aisle-card-overlay > .aisle-card-pills > .prompt-match-chip {
  height: 26px;
  margin: 0;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

/* Discover card, photo A panel: like its pills in discover-photo-a.css, 28px
   tall, 13/600, padding 0 12. */
.aisle-panel-head > .aisle-panel-pills > .prompt-match-chip {
  height: 28px;
  margin: 0;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.discover-profile-screen .discover-why .prompt-match-spark,
.aisle-card-overlay > .aisle-card-pills > .prompt-match-chip .prompt-match-spark,
.aisle-panel-head > .aisle-panel-pills > .prompt-match-chip .prompt-match-spark {
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
}
