/*
 * 驭鬼者论坛 · R102 运行时样式（R108 重建）
 * 分享图提示条、悬浮操作岛（发帖 / 回复 / 上传档案）的统一兜底外观。
 */
.ygz-share-toast {
  position: fixed;
  left: 50%;
  bottom: max(30px, calc(env(safe-area-inset-bottom, 0px) + 20px));
  z-index: 2147483000;
  max-width: calc(100vw - 36px);
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(18, 19, 25, .96);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, 10px, 0);
  transition: opacity .22s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.ygz-share-toast.is-show { opacity: 1; transform: translate3d(-50%, 0, 0); }

[data-share-post-image][aria-busy="true"] { opacity: .55; pointer-events: none; }

/* 悬浮操作岛：页面自身有完整样式时以页面为准 */
.ygz-action-island {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.ygz-action-island:focus-visible { outline: 2px solid rgba(217, 180, 106, .8); outline-offset: 3px; }
.ghost-dynamic-island {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: var(--ygz-float-z, 5400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .018) 54%), rgba(16, 17, 23, .8);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .14);
  transform: translate3d(-50%, 0, 0);
  transition: background .18s ease, transform .18s cubic-bezier(.16, 1, .3, 1), border-color .18s ease;
}
.ghost-dynamic-island:hover { border-color: rgba(255, 255, 255, .22); transform: translate3d(-50%, -2px, 0); }
.ghost-dynamic-island:active { transform: translate3d(-50%, 0, 0) scale(.97); }
