/* Incognito match moment. Cream page, the existing mark, flat tomato Chat. */

.incognito-match {
  position: fixed;
  inset: 0;
  z-index: 200;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #F7F1E6;
  text-align: center;
  overflow: auto;
}

.incognito-match-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.incognito-match-title {
  margin: 12px 0 0;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 34px;
  color: #1C1917;
}

.incognito-match-copy {
  margin: 6px 0 0;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: var(--rt-muted, #5F5A54);
}

.incognito-match-photo {
  position: relative;
  width: 100%;
  max-width: 358px;
  flex: 1 1 auto;
  min-height: 180px;
  max-height: 300px;
  margin-top: 16px;
  border-radius: 20px;
  overflow: hidden;
  background: #CDC4B6;
}

.incognito-match-photo img,
.incognito-match-photo-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.incognito-match-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1F7A4D;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 700;
  font-size: 28px;
}

.incognito-match-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.incognito-match-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EBE4D8;
}

.incognito-match-dot.is-on {
  background: #fff;
}

.incognito-match-name-row {
  width: 100%;
  max-width: 358px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

/* Name and the same badge pair used everywhere else, centered as one row.
   8px after the age, 6px between the badges. Nowrap holds at 375. */
.incognito-match .gm-badge-line-matches {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: center;
}

.incognito-match .gm-badge-line-matches .gm-name-truncate {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
}

.incognito-match .gm-badge-pair {
  margin-left: 8px;
  gap: 6px;
}

.incognito-match-name {
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: #1C1917;
}

.incognito-match-actions {
  width: 100%;
  max-width: 358px;
  margin-top: auto;
  padding-top: 16px;
}

.incognito-match-chat {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: var(--tomato);
  color: #FFFFFF;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
}

.incognito-match-outline {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  border-radius: 999px;
  border: 1.5px solid #1C1917;
  background: #fff;
  color: #1C1917;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
