/* v1.0.79 — Restored tactile press. The card itself moves down, not its wrapper. */
#chat-items .wallet-chat-card,#chat-items .official-push-content .qy-broadcast-card,
#chat-items .bubble:not(.business-bubble){
  transition:transform .22s cubic-bezier(.16,1,.3,1),filter .2s ease,box-shadow .22s ease!important;
  transform-origin:center center;
  -webkit-tap-highlight-color:transparent;
}
#chat-items .wallet-chat-card.qy-message-pressed,
#chat-items .wallet-chat-card:active,
#chat-items .official-push-content .qy-broadcast-card.qy-message-pressed,
#chat-items .official-push-content button.qy-broadcast-card:active,
#chat-items .bubble:not(.business-bubble).qy-message-pressed{
  transform:translateY(3px) scale(.972)!important;
  filter:brightness(.93)!important;
  box-shadow:inset 0 3px 8px #14233a28,0 1px 2px #14233a12!important;
  transition:transform .075s cubic-bezier(.2,.75,.3,1),filter .075s ease,box-shadow .075s ease!important;
}
/* Never animate the transparent bubble instead of the payment card. */
#chat-items .bubble.business-bubble.qy-message-pressed,
#chat-items .message-line.qy-message-menu-selected .bubble.business-bubble{
  transform:none!important;filter:none!important;box-shadow:none!important;
}
#chat-items .message-line.qy-message-menu-selected .wallet-chat-card,
#chat-items .message-line.qy-message-menu-selected .qy-broadcast-card{
  transform:translateY(1px) scale(.993);filter:brightness(.975);
}
/* In the settled state, both payment participants see the original orange.
   'completed' remains available to distinguish a refunded order. */
#chat-items .wallet-chat-card.transfer-card:not(.completed),
#chat-items .wallet-chat-card.transfer-card:not(.completed) .transfer-card-body{
  background:#df903d!important;color:#fff!important;
}
#chat-items .wallet-chat-card.transfer-card:not(.completed) .transfer-card-state{
  color:#fff!important;background:#ffffff24!important;border-color:#ffffff40!important;
}
#chat-items .wallet-chat-card.packet-message:not(.completed) .business-card-main{
  filter:none!important;opacity:1!important;
}
/* Server-authored red-envelope claimed records are in the chat history. */
#chat-items .message-line.qy-wallet-system-line{display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;width:100%!important;max-width:none!important;margin:8px 0 15px!important;padding:0 12px!important}
#chat-items .qy-wallet-system-notice{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;min-height:25px;padding:5px 12px;border-radius:20px;background:#e7ebf1;color:#7c899a;font-size:11px;line-height:1.5;text-align:center;white-space:normal}
#chat-items .qy-wallet-system-notice .ico{width:12px;height:12px;flex:none;stroke-width:2}
@media(prefers-reduced-motion:reduce){#chat-items .wallet-chat-card,#chat-items .qy-broadcast-card,#chat-items .bubble{transition:none!important}}
