/* ══ 搜索框上方的星座宠物伙伴（主上 2026-11-10：「搜索框上放宠物，要好看」）══
   err-ok: truth_brief.py 所在 AI视频工厂 目录本机已不存在，无法执行真源重建；
           已改用 read 源码 + 部署后 _sync_ver 的 ALL_ALIGNED 作为核实证据。

   设计：
     · 位置：输入行上方、右侧，略微压在输入框上沿（像坐在框边上）
     · 底座：一圈柔和星尘光晕，让宠物"有落地感"
     · 动效：3.6s 轻微上下浮动 + 光晕呼吸，不抢输入焦点
     · 交互：pointer-events:none，绝不挡输入框
*/
.wb-asksheet .wb-askbig{
  position: relative;
}

.wb-askpet{
  position: absolute;
  right: 34px;
  bottom: calc(100% - 96px);
  width: 132px;
  height: 132px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.wb-askpet-glow{
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 118px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(186,150,255,.55) 0%,
    rgba(140,100,230,.28) 45%,
    rgba(120,80,210,0) 100%);
  filter: blur(7px);
  animation: wbAskPetGlow 3.6s ease-in-out infinite;
}
@keyframes wbAskPetGlow{
  0%, 100% { opacity: .62; transform: translateX(-50%) scale(1); }
  50%      { opacity: .95; transform: translateX(-50%) scale(1.08); }
}

.wb-askpet-img{
  position: relative;
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(90,50,180,.55))
          drop-shadow(0 2px 6px rgba(0,0,0,.4));
  animation: wbAskPetFloat 3.6s ease-in-out infinite;
  will-change: transform;
}
@keyframes wbAskPetFloat{
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(-2deg); }
}

.wb-asksheet:hover .wb-askpet-img{
  animation-duration: 2.4s;
}

@media (max-width: 900px){
  .wb-askpet{
    right: 14px;
    bottom: calc(100% - 74px);
    width: 96px;
    height: 96px;
  }
  .wb-askpet-img{ width: 86px; height: 86px; }
  .wb-askpet-glow{ width: 88px; height: 26px; }
}

@media (max-width: 480px){
  .wb-askpet{
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% - 62px);
    width: 78px;
    height: 78px;
  }
  .wb-askpet-img{ width: 70px; height: 70px; }
  .wb-askpet-glow{ width: 72px; height: 22px; }
}
