.article-summary-image { margin: 30px 0; }
.article-image-link { display: block; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fafbf8; }
.article-image-link img { width: 100%; height: auto; }
.article-image-hint { display: block; padding: 12px 16px; text-align: center; font-size: 14px; font-weight: 600; background: var(--surface); }
.article-summary-image figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.article-image-dialog { width: min(1200px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.article-image-dialog[open] { display: flex; flex-direction: column; }
.article-image-dialog::backdrop { background: rgb(15 30 24 / 75%); }
.article-image-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.article-image-toolbar h2 { font-size: 17px; line-height: 1.5; margin: 0; }
.article-image-toolbar button { min-width: 72px; min-height: 44px; border: 1px solid var(--deep-green); border-radius: 5px; background: var(--deep-green); color: #fff; font-size: 14px; }
.article-image-dialog > p { padding: 10px 16px; font-size: 13px; line-height: 1.8; color: var(--muted); flex-shrink: 0; }
.article-image-viewport { min-height: 0; overflow: auto; overscroll-behavior: contain; background: #fafbf8; }
.article-image-viewport img { width: 1122px; max-width: none; height: auto; margin-inline: auto; }
.article-image-viewport:focus-visible { outline: 3px solid var(--deep-green); outline-offset: -3px; }
html.article-media-open { overflow: hidden; }
