/* New image-only viewer; source inner-thumbnail placement, no legacy lightbox. */
body.dd-home-source main .dd-image-main{position:relative;display:block;max-width:100%;margin:0 auto;padding:0;border:0;background:transparent;cursor:zoom-in;line-height:0}
body.dd-home-source main .dd-image-main img{transform:none!important}
body.dd-home-source main .dd-image-main .dd-image-action{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);padding:5px 8px;background:rgba(255,255,255,.94);color:#27304b;border-radius:3px;font:13px/1.3 Roboto,Arial,sans-serif;white-space:nowrap}
body.dd-home-source main .dd-image-miniature .dd-jan-preview-inner{flex-direction:column;align-items:center;min-height:85px}
body.dd-home-source main .dd-image-miniature-button{display:flex;flex-direction:column;align-items:center;gap:5px;max-width:150px;padding:0;border:0;background:transparent;color:#27304b;font:12px/1.3 Roboto,Arial,sans-serif;cursor:zoom-in}
body.dd-home-source main .dd-image-thumb{display:block;width:60px;height:60px;border:3px solid #4ab3bf;border-radius:50%;overflow:hidden;background:#f4f9fc}
body.dd-home-source main .dd-image-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;transform:none!important}
body.dd-home-source main .dd-image-neutral-miniature{display:flex;flex-direction:column;align-items:center;gap:5px;font:12px/1.3 Roboto,Arial,sans-serif;color:#657680}
body.dd-home-source main .dd-image-neutral-miniature .dd-jan-preview-neutral{display:block;width:100%;height:100%;background:#f4f9fc}
body.dd-home-source main .dd-image-gallery-button{display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;max-width:100%;padding:0 0 8px;border:0;background:#fff;color:#27304b;font:13px/1.3 Roboto,Arial,sans-serif;cursor:zoom-in}
body.dd-home-source main .dd-image-main:focus-visible,body.dd-home-source main .dd-image-miniature-button:focus-visible,body.dd-home-source main .dd-image-gallery-button:focus-visible{outline:3px solid #009ca0;outline-offset:3px}
body.dd-home-source main .dd-image-dialog{box-sizing:border-box;width:fit-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:16px;border:1px solid #4ab3bf;border-radius:6px;background:#fff;color:#27304b;overflow:auto}
body.dd-home-source main .dd-image-dialog::backdrop{background:rgba(20,35,45,.75)}
body.dd-home-source main .dd-image-dialog[open]{display:flex;flex-direction:column;align-items:center;gap:12px}
body.dd-home-source main .dd-image-dialog:not([open]){display:none}
body.dd-home-source main .dd-image-dialog .dd-image-toolbar{display:flex;justify-content:flex-end;width:100%;position:sticky;top:0;z-index:1;background:#fff}
body.dd-home-source main .dd-image-dialog button{min-height:44px;padding:8px 12px;border:1px solid #4ab3bf;background:#f5f9fc;color:#27304b;border-radius:3px;font:14px/1.3 Roboto,Arial,sans-serif;cursor:pointer}
body.dd-home-source main .dd-image-dialog button:disabled{opacity:.45;cursor:default}
body.dd-home-source main .dd-image-dialog button:focus-visible{outline:3px solid #009ca0;outline-offset:2px}
body.dd-home-source main .dd-image-dialog [hidden]{display:none!important}
body.dd-home-source main .dd-image-dialog h2{max-width:100%;margin:0;text-align:center;font:500 20px/1.3 Roboto,Arial,sans-serif}
body.dd-home-source main .dd-image-dialog figure{max-width:100%;margin:0;text-align:center}
body.dd-home-source main .dd-image-dialog img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100dvh - 230px)!important;object-fit:contain;transform:none!important;margin:0 auto}
body.dd-home-source main .dd-image-dialog figcaption{margin-top:8px;font:13px/1.4 Roboto,Arial,sans-serif;color:#657680}
body.dd-home-source main .dd-image-navigation{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;max-width:100%}
@media(max-width:767px){body.dd-home-source main .dd-image-thumb{width:50px;height:50px}body.dd-home-source main .dd-image-miniature .dd-jan-preview-inner{min-height:75px}body.dd-home-source main .dd-image-dialog h2{font-size:17px}}
