#wbDraftPanel .wb-draft-image{position:relative;display:block;width:48px;height:64px;padding:0;overflow:hidden;border:1px solid var(--wb-line);border-radius:4px;background:var(--wb-surface,#fff)}
.wb-draft-image img{display:block;width:100%;height:100%;object-fit:contain}.wb-draft-image b{position:absolute;right:0;bottom:0;padding:1px 5px;border-radius:4px 0 0;background:var(--wb-ink);color:#fff;font-size:11px;line-height:17px}
#wbDraftPanel .wb-draft-image:hover{border-color:var(--wb-accent)}.wb-draft-image:focus-visible,#wbDraftGalleryDialog button:focus-visible{outline:2px solid var(--wb-accent);outline-offset:2px}
#wbDraftGalleryDialog{width:min(780px,calc(100vw - 24px))}#wbDraftGalleryDialog .wb-dialog-content{max-height:calc(100dvh - 40px);overflow:auto;gap:12px}#wbDraftGalleryTitle{font-size:16px;overflow-wrap:anywhere}
.wb-draft-gallery-stage{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:12px;min-height:0}.wb-draft-gallery-stage>button{display:grid;place-items:center;width:40px;height:48px;padding:0}.wb-draft-gallery-main{display:grid;place-items:center;height:min(52dvh,520px);background:var(--wb-surface);border-radius:4px;min-width:0;position:relative;overflow:hidden}.wb-draft-gallery-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.wb-draft-gallery-main p{text-align:center;padding:12px}
.wb-draft-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:3px;min-height:72px}.wb-draft-gallery-thumbs button{flex:0 0 52px;height:68px;padding:2px;border:1px solid var(--wb-line)}.wb-draft-gallery-thumbs button[aria-pressed=true]{border:2px solid var(--wb-accent);background:var(--wb-accent-soft)}.wb-draft-gallery-thumbs img{width:100%;height:100%;object-fit:contain}#wbDraftGalleryNote{font-size:12px;color:var(--wb-muted);margin:0;line-height:1.6}
@media(max-width:620px){.wb-draft-gallery-stage{grid-template-columns:32px minmax(0,1fr) 32px;gap:5px}.wb-draft-gallery-stage>button{width:32px;height:44px}.wb-draft-gallery-main{height:44dvh}#wbDraftGalleryDialog .wb-dialog-footer button{flex:1}}
