.node-material-images .xiaov-reference{display:grid;place-items:center;position:relative;width:64px;height:64px;margin:auto;border-radius:8px;background:rgba(127,127,127,.12)}
.node-material-images .xiaov-reference-thumb{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.node-material-images .xiaov-reference-open{position:absolute;top:3px;right:3px;opacity:0;padding:2px 5px;font:400 10px/1.4 system-ui;color:#fff;background:#17181bdc;border-radius:4px;cursor:pointer}
.xiaov-reference:hover .xiaov-reference-open,.xiaov-reference:focus-within .xiaov-reference-open{opacity:1}
@media (hover:none),(pointer:coarse){.node-material-images .xiaov-reference-open{opacity:1;min-height:24px}}
dialog.xiaov-original-view{position:fixed;inset:0;width:fit-content;max-width:92vw;height:fit-content;max-height:90vh;margin:auto;padding:30px 14px 10px;border:0;border-radius:12px;background:#191a1d;color:white}
.xiaov-original-view::backdrop{background:#08090caa}
.xiaov-original-stage{position:relative;display:grid;place-items:center;min-width:min(62vw,360px);min-height:min(50vh,230px)}
.node-material-images .xiaov-original-stage img{width:auto;height:auto;max-height:76vh;max-width:84vw;object-fit:contain}
.xiaov-original-stage .xiaov-reference-full{cursor:zoom-in}
.xiaov-original-stage.is-actual-size{display:block;overflow:auto;max-height:76vh;max-width:84vw}
.node-material-images .xiaov-original-stage.is-actual-size .xiaov-reference-full{max-width:none;max-height:none;margin:auto;cursor:zoom-out}
.node-material-images .xiaov-original-stage .xiaov-original-preview{width:min(62vw,560px);height:auto}
.node-material-images .xiaov-original-close{position:absolute;z-index:1;top:3px;right:6px;padding:0 8px;color:white;font:400 22px/1.2 system-ui;cursor:pointer}
.xiaov-original-status{position:absolute;inset:auto;max-width:90%;padding:5px 10px;background:#17181be6;border-radius:6px;font:400 13px/1.5 system-ui;color:white}
.node-material-images .xiaov-original-retry,.xiaov-reference-retry{border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}
.xiaov-original-caption{display:block;text-align:center;font:400 12px/1.4 system-ui;margin-top:6px}
.xiaov-reference-issue{font:400 12px/1.5 system-ui;margin:4px 0;padding:4px 8px;overflow-wrap:anywhere}
