.news-detail-body .news-image-zoom-trigger { cursor: zoom-in; }
.news-detail-body .news-image-zoom-trigger:focus-visible { outline: 2px solid var(--action-primary, #5968b4); outline-offset: 5px; }
.news-image-expand { display: block; margin: 8px 0 16px; padding: 6px 10px; color: var(--text-secondary); background: transparent; border: 1px solid var(--border-default); border-radius: 4px; font: inherit; font-size: .8125rem; cursor: zoom-in; }
.news-image-viewer { box-sizing: border-box; width: min(1800px, 96vw); max-width: 96vw; height: 94vh; height: 94dvh; max-height: 94dvh; margin: auto; padding: 16px; border: 1px solid var(--border-default, #d9dfee); border-radius: 8px; background: var(--surface-canvas, #f7f8fc); color: var(--text-primary, #18233f); overflow: hidden; box-shadow: 0 24px 90px #0004; }
.news-image-viewer[open] { display: flex; flex-direction: column; gap: 12px; }
.news-image-viewer::backdrop { background: rgb(15 23 42 / .8); }
.news-image-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.news-image-toolbar button, .news-image-toolbar a { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border-default, #d9dfee); border-radius: 4px; background: var(--surface-primary, #fff); color: inherit; font: inherit; font-size: .875rem; line-height: 1.4; text-decoration: none; cursor: pointer; }
.news-image-toolbar button:disabled { opacity: .45; cursor: wait; }
.news-image-toolbar :focus-visible { outline: 2px solid var(--action-primary, #5968b4); outline-offset: 2px; }
.news-image-stage { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.news-image-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; flex-shrink: 0; }
.news-image-viewer.is-zoomed .news-image-stage { display: block; }
.news-image-viewer.is-zoomed .news-image-stage img { max-width: none; max-height: none; margin: 0 auto; }
.news-image-caption, .news-image-error { flex: 0 0 auto; margin: 0; font-size: .8125rem; line-height: 1.6; max-height: 15vh; overflow: auto; }
.news-image-caption[hidden], .news-image-error[hidden] { display: none; }
@media (max-width: 600px) {
  .news-image-viewer { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
  .news-image-toolbar { gap: 6px; }
  .news-image-toolbar button, .news-image-toolbar a { padding: 8px; font-size: .75rem; }
}
