/* Liked you strip on Matches. Outfit, cream, sage, produce, tomato.
   The Matches tab icon badge is the only badge. No badge art on the cards. */

.liked-you {
  margin: 4px 0 18px;
}

.liked-you-list-title {
  margin: 8px 0 12px;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: var(--aisle-section-size, 12px);
  font-weight: var(--aisle-section-weight, 700);
  letter-spacing: var(--aisle-section-track, 0.06em);
  text-transform: uppercase;
  color: var(--rt-muted, #5F5A54);
}

.liked-you-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.liked-you-title {
  margin: 0;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: var(--aisle-section-size, 12px);
  font-weight: var(--aisle-section-weight, 700);
  letter-spacing: var(--aisle-section-track, 0.06em);
  text-transform: uppercase;
  color: var(--rt-muted, #5F5A54);
}

.liked-you-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--aisle-produce, #1F7A4D);
  color: #fff;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.liked-you-see-all {
  margin-left: auto;
  background: none;
  border: none;
  padding: 8px 0;
  color: #E8493B;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.liked-you-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.liked-you-card {
  position: relative;
  flex: 0 0 136px;
  width: 136px;
  margin: 0;
  padding: 0 0 8px;
  border: none;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  color: inherit;
  box-shadow: 0 4px 16px rgba(28, 25, 23, 0.05);
}

.liked-you-card-hit {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.liked-you-card:has(> .liked-you-card-hit) > :not(.liked-you-card-hit) {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.liked-you-card .gm-badge-pair {
  pointer-events: auto;
}

.liked-you-card-hit:focus-visible {
  outline: 2px solid var(--aisle-produce, #1F7A4D);
  outline-offset: 2px;
}

.liked-you-card:focus-visible {
  outline: 2px solid var(--aisle-produce, #1F7A4D);
  outline-offset: 2px;
}

.liked-you-photo,
.liked-you-blur {
  height: 168px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--aisle-sage, #D7E6D4);
  position: relative;
}

.liked-you-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.liked-you-initials {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aisle-produce-on-sage, #1A6B43);
  font-size: 28px;
  font-weight: 700;
}

/* Placeholder only. Real photos are never sent to free viewers, and this fill is not a photo. */
.liked-you-blur {
  background: #D7E6D4;
}

.liked-you-blur.is-alt {
  background: color-mix(in srgb, #1F7A4D 8%, #D7E6D4);
}

.liked-you-blur-fill {
  position: absolute;
  inset: 0;
  background: url('/brand/placeholder-line-art.svg') center / 168px 168px repeat;
  opacity: 0.1;
  filter: none;
}

.liked-you-name {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 8px 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--aisle-ink, #1C1917);
}

/* Normal rows keep the name on one line. A very long name ellipsizes, but not below 60px. */
.liked-you-card:not(.is-incognito-limited) .liked-you-name,
.liked-you-card:not(.is-incognito-limited) .liked-you-name .gm-badge-line {
  flex-wrap: nowrap;
  min-width: 0;
}

.liked-you-card:not(.is-incognito-limited) .liked-you-name .gm-badge-line {
  justify-content: flex-start;
}

.liked-you-card:not(.is-incognito-limited) .liked-you-name .gm-name-truncate {
  flex: 0 1 auto;
  min-width: min(60px, max-content);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liked-you-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 8px 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--rt-muted, #5F5A54);
}

.liked-you-card:not(.is-incognito-limited) .liked-you-meta {
  align-items: center;
  justify-content: flex-start;
}

.liked-you-meta-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.liked-you-card:not(.is-incognito-limited) .liked-you-age {
  flex: 0 0 auto;
  margin: 0;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: var(--aisle-caption-weight, 500);
  font-size: var(--aisle-caption-size, 13px);
  line-height: 18px;
  color: var(--rt-muted, #5F5A54);
}

.liked-you-card:not(.is-incognito-limited) .liked-you-meta .gm-badge-line {
  width: auto;
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
}

.liked-you-card:not(.is-incognito-limited) .liked-you-meta .gm-badge-pair {
  margin-left: 0;
  align-self: center;
  vertical-align: middle;
}

.liked-you-card:not(.is-incognito-limited) .liked-you-meta > .liked-you-intent {
  margin-left: auto;
}

.liked-you-grid .liked-you-city {
  min-width: 0;
  flex: 1 1 auto;
}

.liked-you-city {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liked-you-intent {
  flex: 0 0 auto;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--aisle-sage, #D7E6D4);
  color: var(--aisle-produce-on-sage, #1A6B43);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.liked-you-meta-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}

.liked-you-meta-row > .score-badge,
.liked-you-meta-row > .aisle-match-pill,
.liked-you-meta-row > .liked-you-intent {
  margin-top: 0;
  margin-left: 0;
}

.liked-you-meta-row > .liked-you-intent {
  box-sizing: border-box;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #D7E6D4;
  color: var(--aisle-produce-on-sage, #1A6B43);
  box-shadow: inset 0 0 0 1px rgba(31, 122, 77, .35);
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 600;
  font-size: 13px;
}

.liked-you-skel {
  display: block;
  height: 10px;
  margin: 8px 8px 0;
  border-radius: 6px;
  background: #e6e1d8;
}

.liked-you-skel.short {
  width: 46%;
  margin-bottom: 8px;
}

.liked-you-upsell {
  margin-top: 12px;
}

.liked-you-upsell-title {
  margin: 0;
  text-align: center;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1C1917;
}

.liked-you-upsell-copy {
  margin: 4px 0 0;
  text-align: center;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: var(--aisle-caption-size, 13px);
  font-weight: var(--aisle-caption-weight, 500);
  line-height: 1.35;
  color: var(--rt-muted, #5F5A54);
}

.liked-you-upgrade {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 32px);
  height: 52px;
  margin: 12px auto 0;
  box-sizing: border-box;
  border-radius: 26px;
  background: var(--tomato);
  box-shadow: none;
  color: #fff;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: var(--aisle-btn-size, 16px);
  font-weight: var(--aisle-btn-weight, 600);
  text-transform: none;
  text-decoration: none;
}

.liked-you-empty {
  background: #fff;
  border-radius: 16px;
  margin-left: -8px;
  margin-right: -8px;
  padding: 28px 6px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(28, 25, 23, 0.05);
}

.liked-you-empty h3 {
  margin: 0;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1C1917;
}

.liked-you-empty p {
  margin: 6px 0 0;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: var(--aisle-caption-size, 13px);
  font-weight: var(--aisle-caption-weight, 500);
  line-height: 1.35;
  white-space: nowrap;
  color: var(--rt-muted, #5F5A54);
}

.liked-you-receipt {
  margin-top: 8px;
  background: none;
  border: none;
  padding: 8px;
  color: var(--tomato);
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: var(--aisle-btn-size, 16px);
  font-weight: var(--aisle-btn-weight, 600);
  white-space: nowrap;
  cursor: pointer;
}

.liked-you-grid-screen {
  padding-bottom: 24px;
}

.liked-you-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.liked-you-grid .liked-you-card {
  width: auto;
  flex: none;
}

.liked-you-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 0;
  background: none;
  border: none;
  color: var(--aisle-ink, #1C1917);
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.discover-profile-hero {
  position: relative;
}

.liked-you-pills {
  position: absolute;
  top: 14px;
  left: 64px;
  right: 14px;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: none;
}

.liked-you-pills > .liked-you-chip,
.liked-you-pills > .aisle-city-pill,
.liked-you-pills > .city-a {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
  max-width: none;
  flex: 0 0 auto;
  overflow: visible;
  text-overflow: clip;
}

.liked-you-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--aisle-sage, #D7E6D4);
  color: var(--aisle-produce-on-sage, #1A6B43);
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.liked-you-moment {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 25, 23, 0.46);
}

.liked-you-moment-card {
  width: min(360px, 100%);
  padding: 28px 20px 18px;
  border-radius: 28px;
  background: var(--aisle-cream, #F7F1E6);
  text-align: center;
}

.liked-you-moment-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.liked-you-moment-title {
  margin: 8px 0 0;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--aisle-ink, #1C1917);
}

.liked-you-moment-copy {
  margin: 6px 0 16px;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 400;
  color: var(--rt-muted, #5F5A54);
  font-size: 15px;
}

.liked-you-moment-people {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.liked-you-moment-person {
  width: 96px;
}

.liked-you-moment-person img,
.liked-you-moment-fallback {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--aisle-sage, #D7E6D4);
}

.liked-you-moment-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--aisle-produce-on-sage, #1A6B43);
  font-weight: 700;
}

.liked-you-moment-name {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
}

.liked-you-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(to bottom, #E8493B, #D93526);
  color: #fff;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.liked-you-browse {
  margin-top: 8px;
  min-height: 44px;
  background: none;
  border: none;
  color: var(--rt-muted, #5F5A54);
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* Matches tab icon. Badge center sits on the icon's top-right, then +2px x / -2px y.
   Opacity only, 150ms. No travel, scale, bounce, or shadow. */
.nav-likes-badge {
  position: absolute;
  left: calc(100% + 2px);
  top: -2px;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  height: 16px;
  min-width: 16px;
  padding: 0;
  border-radius: 999px;
  background: var(--tomato);
  color: #fff;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 600;
  font-size: 11px;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: 1.5px solid #F7F1E6;
  pointer-events: none;
  z-index: 2;
  animation: nav-likes-badge-fade 150ms linear;
  transition: opacity 150ms linear;
}

.nav-likes-badge.is-wide {
  padding: 0 4px;
}

.nav-likes-badge.is-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

@keyframes nav-likes-badge-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
