/* ORIGAI_ANCHOR_UX_REPAIR_V1 */

#origaiAnchorMaskV1,
.origai-anchor-mask-v1,
.origai-anchor-drawer-mask-v1 {
  z-index: 2147482500 !important;
}

.origai-anchor-drawer-v1,
.origai-anchor-panel-v1,
#origaiAnchorDrawerV1 {
  z-index: 2147482501 !important;
  max-height: calc(100dvh - 86px) !important;
  padding-bottom: max(28px, env(safe-area-inset-bottom)) !important;
}

.origai-anchor-selected-v1,
.origai-anchor-selected-bar-v1,
#origaiAnchorSelectedV1,
[data-origai-anchor-selected] {
  z-index: 2147481200 !important;
  position: relative !important;
}

body[data-page="mobile"] #origaiAnchorMaskV1 .origai-anchor-drawer-v1,
body[data-page="mobile"] .origai-anchor-panel-v1 {
  max-height: calc(100dvh - 112px) !important;
  margin-bottom: 0 !important;
}

.origai-anchor-click-feedback,
.origai-anchor-button-feedback {
  transform: scale(.98) !important;
  opacity: .78 !important;
  transition: transform .12s ease, opacity .12s ease !important;
}

.origai-anchor-repair-toast {
  position: fixed;
  left: 50%;
  bottom: 118px;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  z-index: 2147482600;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(15, 23, 42, .94);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, .24);
  transition: opacity .18s ease, transform .18s ease;
}

.origai-anchor-repair-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
