.social-image-launch{background:#141019;border-left-color:#b200ff}
.social-image-launch:hover{background:#702090}
.social-image-launch[hidden]{display:none}
.social-image-references{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:10px;max-height:300px;overflow:auto;padding:5px;margin:12px 0 22px}
.social-image-reference-card{display:grid;align-content:start;gap:4px;min-width:0}
.social-image-references button{display:grid;gap:5px;min-width:0;margin:0;padding:6px;border:2px solid #ccc;background:#f6f6f6;color:#111;text-align:left;cursor:pointer;box-shadow:none}
.social-image-references button.selected{border-color:#b200ff;background:#f6e8ff}
.social-image-references img{width:100%;height:105px;object-fit:cover;background:#ddd}
.social-image-references span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 12px Inter,system-ui,sans-serif}
.social-image-references b,.social-image-selected{font:900 14px 'Barlow Condensed',sans-serif;text-transform:uppercase}
.social-image-references .social-image-open-gallery{display:block;width:100%;border-color:#b200ff;background:#17111b;color:#fff;text-align:center;font:900 12px 'Barlow Condensed',sans-serif;text-transform:uppercase}
.social-image-references .social-image-open-gallery[aria-expanded="true"]{background:#702090}
.social-image-prize-gallery:not(:empty){margin:-8px 0 22px;padding:14px;border:2px solid #b200ff;background:#faf7fc}
.social-image-prize-gallery-head{display:flex;justify-content:space-between;align-items:start;gap:12px}
.social-image-prize-gallery-head>div{display:grid;gap:3px}
.social-image-prize-gallery-head strong{font:900 19px 'Barlow Condensed',sans-serif;text-transform:uppercase}
.social-image-prize-gallery-head span{font:500 12px Inter,system-ui,sans-serif}
.social-image-prize-gallery-head button{border:0;background:transparent;font-size:26px;line-height:1;cursor:pointer}
.social-image-prize-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:9px;max-height:320px;overflow:auto;margin-top:12px}
.social-image-prize-photos button{display:grid;gap:4px;min-width:0;padding:5px;border:2px solid #ccc;background:#fff;text-align:left;cursor:pointer}
.social-image-prize-photos button.selected{border-color:#b200ff;background:#f6e8ff}
.social-image-prize-photos img{width:100%;height:100px;object-fit:cover;background:#ddd}
.social-image-prize-photos span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 11px Inter,system-ui,sans-serif}
.social-image-prize-photos b{font:900 12px 'Barlow Condensed',sans-serif;text-transform:uppercase}
.social-image-gallery-error{color:#a00020}
.social-image-note{color:#555;font-size:12px}
.social-image-progress,.social-image-error{display:grid;gap:8px;padding:22px;margin:18px 0;background:#111;color:#fff;border-left:7px solid #b200ff}
.social-image-error{border-left-color:#d9001d}
.social-image-preview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(190px,.7fr);gap:18px;padding:16px;margin:18px 0;border:2px solid #111}
.social-image-preview img{width:100%;max-height:480px;object-fit:contain;background:#111}
.social-image-preview>div{display:grid;align-content:start;gap:10px}
.social-image-preview button{margin:0}
#socialImageRecent{margin-top:24px;border-top:2px solid #111}
#socialImageRecent h3{font:900 italic 24px 'Barlow Condensed',sans-serif;text-transform:uppercase}
#socialImageRecent>button{display:flex;gap:10px;width:100%;margin:5px 0;padding:8px;border:1px solid #ccc;background:#fff;text-align:left;cursor:pointer}
#socialImageRecent>button b{font:900 13px 'Barlow Condensed',sans-serif;color:#a000bd}
@media(max-width:650px){.social-image-preview{grid-template-columns:1fr}}
