/* v1.0.80: tactile depress + resilient long-press menu */
#chat-items .wallet-chat-card,
#chat-items .official-push-content .qy-broadcast-card,
#chat-items .bubble:not(.business-bubble){
  transition:transform .26s cubic-bezier(.2,1.45,.35,1),filter .2s ease,box-shadow .26s cubic-bezier(.2,1,.32,1)!important;
  transform-origin:center center;
  backface-visibility:hidden;
  -webkit-tap-highlight-color:transparent;
}
#chat-items .wallet-chat-card:is(.qy-message-pressed,:active),
#chat-items .official-push-content .qy-broadcast-card:is(.qy-message-pressed,:active),
#chat-items .bubble:not(.business-bubble):is(.qy-message-pressed,:active){
  transform:translate3d(0,4px,0) scale(.976)!important;
  filter:brightness(.925)!important;
  box-shadow:inset 0 3px 7px #19283e20,0 1px 1px #20334c19!important;
  transition:transform .115s cubic-bezier(.2,.8,.25,1),filter .11s ease,box-shadow .11s ease!important;
}
/* Retain a subtle selected state after finger lifts. Do not trigger a second press. */
#chat-items .message-line.qy-message-menu-selected .wallet-chat-card:not(.qy-message-pressed),
#chat-items .message-line.qy-message-menu-selected .qy-broadcast-card:not(.qy-message-pressed),
#chat-items .message-line.qy-message-menu-selected .bubble:not(.business-bubble):not(.qy-message-pressed){
 transform:translate3d(0,1px,0) scale(.994)!important;
 filter:brightness(.985)!important;
 box-shadow:0 2px 5px #20305012!important;
}
/* Inset feedback never targets the transparent money-message wrapper. */
#chat-items .bubble.business-bubble:is(.qy-message-pressed,:active),
#chat-items .message-line.qy-message-menu-selected .bubble.business-bubble{transform:none!important;filter:none!important;box-shadow:none!important}
/* System notices are independent of a sender and of chat bubbles. */
#chat-items .message-line.qy-wallet-system-line{align-items:center!important;justify-content:center!important;display:flex!important;width:100%!important;max-width:none!important;padding:0 12px!important;margin:12px 0 18px!important}
#chat-items .qy-wallet-system-notice{display:inline-flex!important;gap:6px;align-items:center;justify-content:center;padding:5px 11px;min-height:25px;color:#7c899c!important;background:#e6eaf2!important;border:0!important;border-radius:22px!important;box-shadow:none!important;text-align:center;font-size:11px;line-height:1.5;font-weight:500}
#chat-items .qy-wallet-system-notice .ico{height:13px;width:13px;color:#c77955;stroke-width:1.8;flex:none}
@media(prefers-reduced-motion:reduce){#chat-items .wallet-chat-card,#chat-items .qy-broadcast-card,#chat-items .bubble{transition:none!important}}
