/* 右下角悬浮件统一容器
 * 公告 FAB 与移动端搜索按钮共用此容器，垂直堆叠，避免互相遮挡。
 * 位置：回到顶部按钮之上（回到顶部在 ≤1024px 占据右侧 32–82px / 底部 112–162px）。
 */
#floating-actions {
  position: fixed;
  right: 24px;
  bottom: 120px;
  z-index: 10004;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

/* 容器内子元素恢复交互（容器本身不拦截点击） */
#floating-actions > * {
  pointer-events: auto;
}

@media (max-width: 1024px) {
  #floating-actions {
    right: 33px;
    bottom: calc(176px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 768px) {
  #floating-actions {
    right: 35px;
  }
}

/* 弹窗打开时隐藏悬浮件由 composables/useModalState.ts 驱动（v-show），
   不在 CSS 里做：外部 CSS 靠 ?v= 版本号刷新，漏改版本号规则就不生效，
   而 z-index 冲突（10004 vs 10000~10080）必须在任何缓存状态下都成立。 */
