.sdl-graphic-slot{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}
.sdl-graphic-slot:empty{display:none}
.sdl-share-graphic,.sdl-graphic-actions button,.sdl-graphic-actions a,.sdl-graphic-close{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 13px;border:1px solid #484e5b;border-radius:5px;background:#1d222c;color:#fff;font:750 13px/1.2 system-ui,sans-serif;text-decoration:none;cursor:pointer}
.sdl-share-graphic:hover,.sdl-graphic-actions a:hover,.sdl-graphic-close:hover{border-color:#ff5266}
.sdl-graphic-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 22px));max-width:none;max-height:calc(100vh - 22px);max-height:calc(100dvh - 22px);padding:14px;color:#fff;background:#12151d;border:1px solid #444a57;border-radius:10px;font:15px/1.4 system-ui,sans-serif;overflow:auto}
.sdl-graphic-dialog::backdrop{background:#050509d9}
.sdl-graphic-dialog [hidden]{display:none!important}
.sdl-graphic-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.sdl-graphic-head h2{margin:0;font:800 20px/1.2 system-ui,sans-serif}
.sdl-graphic-close{width:44px;padding:0;font-size:26px}
.sdl-graphic-preview img{display:block;width:100%;max-height:calc(100vh - 165px);max-height:calc(100dvh - 165px);object-fit:contain}
.sdl-graphic-preview p{margin:8px 0;color:#e1e4ea}
.sdl-graphic-preview p:empty{display:none}
.sdl-graphic-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.sdl-graphic-actions button{background:#ad2035;border-color:#f54d64}
.sdl-graphic-actions a,.sdl-graphic-actions button{flex:1}
