/* 2G-06R: 文章正文图片灯箱样式。浮窗 + 工具栏(缩小/复位/放大)+ 明显关闭按钮。纯本地。 */
html.ww-lb-lock, html.ww-lb-lock body { overflow: hidden !important; }
.entry-content img { cursor: zoom-in; }
.ww-lb-overlay { position: fixed; inset: 0; z-index: 2147483000; display: none; background: rgba(10,10,14,.92); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ww-lb-overlay.show { display: block; animation: ww-lb-fade .2s ease; }
@keyframes ww-lb-fade { from { opacity: 0; } to { opacity: 1; } }
.ww-lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.ww-lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; -webkit-user-select: none; user-select: none; transform-origin: center center; will-change: transform; cursor: zoom-in; border-radius: 4px; box-shadow: 0 12px 60px -12px rgba(0,0,0,.7); }
.ww-lb-stage.ww-lb-zoomed .ww-lb-img { cursor: grab; }
.ww-lb-stage.ww-lb-grabbing .ww-lb-img { cursor: grabbing; }
.ww-lb-toolbar { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(30,32,40,.78); box-shadow: 0 8px 30px -8px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ww-lb-btn, .ww-lb-close { display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; color: #f2f3f6; background: rgba(255,255,255,.08); border-radius: 50%; transition: background .15s ease, transform .15s ease; -webkit-tap-highlight-color: transparent; }
.ww-lb-btn { width: 42px; height: 42px; }
.ww-lb-btn:hover, .ww-lb-close:hover { background: rgba(255,255,255,.22); }
.ww-lb-btn:active, .ww-lb-close:active { transform: scale(.92); }
.ww-lb-close { position: fixed; top: 18px; right: 20px; width: 48px; height: 48px; background: rgba(30,32,40,.72); box-shadow: 0 6px 22px -8px rgba(0,0,0,.6); }
@media (max-width: 640px) {
  .ww-lb-img { max-width: 96vw; max-height: 82vh; }
  .ww-lb-toolbar { bottom: 18px; gap: 8px; }
  .ww-lb-btn { width: 46px; height: 46px; }
  .ww-lb-close { top: 12px; right: 12px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .ww-lb-overlay.show { animation: none; } }
