/* ===== /assets/livechat/livechat.css ===== */
#lcbtn-root{
  position:fixed;
  right:1.25rem;
  bottom:5rem;
  z-index:2147483647;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

#lcbtn-button{
  width:4.25rem;
  height:4.25rem;
  border:0;
  border-radius:1rem;
  background:#f6dede;
  box-shadow:0 10px 24px rgba(0,0,0,.14);
  cursor:pointer;
  padding:.45rem .4rem .5rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.25rem;
  user-select:none;
  -webkit-tap-highlight-color:transparent;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;

  /* ✅ 默认自动一闪一闪（呼吸发光） */
  animation: lcbtn-pulse 1.4s ease-in-out infinite;
}

/* ✅ 鼠标移上去更明显，并暂停自动闪 */
#lcbtn-button:hover{
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.03);
  filter: brightness(0.98) saturate(1.08);
  box-shadow:
    0 16px 34px rgba(0,0,0,.18),
    0 0 0 6px rgba(246, 222, 222, .55);
}

#lcbtn-button:active{
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}

#lcbtn-logo{
  width:1.65rem;
  height:1.65rem;
  object-fit:contain;
  display:block;
}

#lcbtn-text{
  color:#7d0417;
  font-size:.72rem;
  font-weight:600;
  line-height:1;
  text-align:center;
  white-space:nowrap;
}

/* ✅ 自动闪烁/呼吸动画 */
@keyframes lcbtn-pulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
    filter: brightness(1) saturate(1);
  }
  50% {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
      0 16px 34px rgba(0,0,0,.18),
      0 0 0 6px rgba(246, 222, 222, .55);
    filter: brightness(0.98) saturate(1.1);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
    filter: brightness(1) saturate(1);
  }
}

@media (max-width:420px){
  #lcbtn-root{ right:.9rem; bottom:.9rem; }
  #lcbtn-button{ width:3.9rem; height:3.9rem; border-radius:.95rem; }
}



