/* 子页面通用：返回首页按钮 + 全站提示条 */
.wy-back-home {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 82, 64, 0.94);
  color: #fff;
  text-decoration: none;
  font: 500 14px/1 'Segoe UI', 'Microsoft YaHei', sans-serif;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, background 0.15s ease;
}
.wy-back-home:hover {
  background: #0b3d30;
  color: #fff;
  transform: translateY(-1px);
}

.wy-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 16px);
  max-width: min(90vw, 420px);
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(15, 82, 64, 0.96);
  color: #fff;
  font: 400 14px/1.5 'Segoe UI', 'Microsoft YaHei', sans-serif;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10000;
}
.wy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 560px) {
  .wy-back-home {
    padding: 8px 12px;
    font-size: 13px;
  }
}
