/* Stickers in a match chat (design's chat spec, Nov 9 2026). Loads after
   aisle-chat-b.css. Gold #F2B93B is only for the Gold star and the sticker
   button ring. Tomato is #C9362A. */

/* Composer: the button sits at the left end of the message box. A 36pt
   white circle with a 2pt gold ring and a 22pt Gold Star tilted -8deg, in a
   44pt tap area. No count badge. */
.aisle-chat-b .aisle-compose-pill .aisle-stk-btn {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.aisle-chat-b .aisle-stk-btn-ring {
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #F2B93B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aisle-chat-b .aisle-stk-btn-ring .aisle-stk-star {
  transform: rotate(-8deg);
}

.aisle-chat-b .aisle-stk-btn:focus-visible {
  outline: 2px solid var(--rt-produce, #1F7A4D);
  outline-offset: 1px;
}

.aisle-chat-b .aisle-compose-pill .aisle-stk-btn + .chat-input {
  padding-left: 48px;
}

/* Thread: a 120pt sticker with no bubble at the thread's 16pt gutter, and an 11pt
   muted time beside it. Yours on the right, theirs on the left. */
.aisle-chat-b .aisle-stk-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 6px 0;
}

.aisle-chat-b .aisle-stk-row.me {
  justify-content: flex-end;
}

.aisle-chat-b .aisle-stk-row.them {
  justify-content: flex-start;
}

.aisle-chat-b .aisle-stk-box {
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
  position: relative;
}

.aisle-chat-b .aisle-stk-art {
  display: block;
  width: 120px;
  height: 120px;
}

.aisle-chat-b .aisle-stk-art.is-waiting {
  visibility: hidden;
}

.aisle-chat-b .aisle-stk-stage svg {
  display: block;
  width: 120px !important;
  height: 120px !important;
}

.aisle-chat-b .aisle-stk-time {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--rt-muted, #5F5A54);
  margin: 0 2px 6px;
  transition: opacity 120ms ease-out;
}

.aisle-chat-b .aisle-stk-time.is-hidden {
  opacity: 0;
}

/* Reduce Motion: the still frame with a 150 ms fade. Written outside
   .aisle-chat-b's reduced-motion reset, which turns animations off. */
@keyframes aisle-stk-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.aisle-stk-art.is-fade {
  animation: aisle-stk-fade 150ms ease-out both !important;
}

/* Sheet: shared by the chat button, and later the Discover button at 0. */
.aisle-stk-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(28, 25, 23, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.aisle-stk-sheet {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  background: #FFFBF4;
  border-radius: 20px 20px 0 0;
  padding: 28px 24px calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #1C1917;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

.aisle-stk-badge {
  width: 72px;
  height: 72px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid #F2B93B;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

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

.aisle-stk-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #1C1917;
}

.aisle-stk-line {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #5F5A54;
}

.aisle-stk-error {
  margin: 8px 0 0;
  font-size: 14px;
  color: #C9362A;
}

.aisle-stk-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 20px;
}

.aisle-stk-primary {
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #C9362A;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.aisle-stk-primary:disabled {
  opacity: 0.6;
  cursor: default;
}

.aisle-stk-quiet {
  min-height: 44px;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #5F5A54;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

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