/* The Send Sticker button between Pass and Like (sources/stickers/SPEC.md,
   A-4-card.png): Discover card, full profile and Map Match List. A 56pt white
   circle with a 2.5pt gold ring and a 34pt Gold Star, and a produce badge
   with the stickers left. Gold #F2B93B is only for the Gold Star and this
   ring. The sheet it opens is in aisle-chat-sticker.css. */
.aisle-stk-send {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 0;
  box-sizing: border-box;
  border: 2.5px solid #F2B93B;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  overflow: visible;
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.10);
  -webkit-tap-highlight-color: transparent;
}

.aisle-stk-send .aisle-stk-star {
  transform: rotate(-8deg);
}

.aisle-stk-send:active {
  transform: scale(0.94);
}

.aisle-stk-send:focus-visible {
  outline: 2px solid #1F7A4D;
  outline-offset: 2px;
}

.aisle-stk-send-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  box-sizing: border-box;
  border: 2px solid #F7F1E6;
  border-radius: 11px;
  background: #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;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

.aisle-stk-send.is-sent {
  cursor: default;
}

.aisle-stk-send.is-sent:active {
  transform: none;
}

.aisle-stk-send-sent {
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #1C1917;
  white-space: nowrap;
}

/* With three buttons the row keeps the spec's 22pt gap. */
.swipe-area:has(> .aisle-stk-send),
.discover-profile-action-row:has(> .aisle-stk-send) {
  gap: 22px;
}

body:not(.discover-profile-open) .screen.active.discover-deck .aisle-card-wrap > .swipe-area:has(> .aisle-stk-send) {
  gap: 22px;
}

/* The Map Match List profile of someone you passed (rule 2, design Nov 9):
   "You Passed" small and muted, then the button alone, centered, with a 13pt
   "Send a Sticker" caption. Sits where the plain "Passed" line sat. */
.discover-profile-settled.aisle-stk-passed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  bottom: 20px;
  pointer-events: auto;
}

.aisle-stk-passed-label {
  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;
  color: #8A837A;
}

.aisle-stk-send-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.aisle-stk-send-caption {
  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;
  color: #1C1917;
  white-space: nowrap;
}

.aisle-stk-send-caption.is-sent {
  visibility: hidden;
}

/* The sticker someone sent you (design, Nov 9, answer 2b): a still 44pt
   die-cut on their Discover card and full profile, tilted -8 degrees. The
   art carries its own white border; the shadow is soft.
   Richard, Nov 13: top-right corner, not under the •••. It mirrors the •••
   (design): 12pt in from the right, as the •••'s 40pt circle is from the
   left, and centered on the •••'s center line, 32pt down (its 48pt tap box
   starts 8pt down). The photo dots stay centered between the two. */
.aisle-stk-recv {
  position: absolute;
  top: 10px;
  right: 12px;
  left: auto;
  z-index: 4;
  width: 44px;
  height: 44px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 3px 6px rgba(28, 25, 23, 0.22));
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* The full profile opened from Liked You has the "… liked you" chip in its
   top-right corner (top 14pt, about 28pt tall). The sticker sits under it,
   10pt down, which the -8 degree tilt shows as about 8pt (design). */
.discover-profile-hero:has(> .liked-you-pills) > .aisle-stk-recv {
  top: 52px;
}

/* Who Liked You: the same sticker, smaller, top right of the thumbnail.
   Specific enough to beat the likes card's child rule. */
.liked-you-card:has(> .liked-you-card-hit) > .aisle-stk-recv.is-small,
.liked-you-card > .aisle-stk-recv.is-small {
  position: absolute;
  top: 6px;
  right: 6px;
  left: auto;
  z-index: 2;
  width: 32px;
  height: 32px;
}

/* "Sent you a sticker" under the name, 13pt and muted on the photo. */
.aisle-stk-from {
  order: 1;
  margin: 0;
  font-family: Outfit, "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 2px rgba(28, 25, 23, 0.45);
  white-space: nowrap;
}

/* The #357 grow-upward rule for this line is gone: with design option A
   (discover-photo-a.css) the line is in the white panel below the photo. */
