/* 全局禁用文字选择 */
* {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}
/* 输入框允许选择 */
input, textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}
/* 图片放大灯箱样式 */
#__imgLightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
#__imgLightbox.active { display: flex; }
#__imgLightbox img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.2s;
  pointer-events: none;
}
#__imgLightboxClose {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  pointer-events: auto;
}
#__imgLightboxClose:hover { opacity: 1; }
