
.banner-format-heading{display:flex;flex-direction:column;align-items:flex-end;gap:10px;text-align:right}
.banner-format-button{border:0;border-radius:8px;padding:8px 12px;background:linear-gradient(110deg,#5546ed,#0eae8c);color:#fff;font:600 12px/1.4 Inter,sans-serif;cursor:pointer;white-space:nowrap}
.banner-format-button:hover{filter:brightness(1.15)}
.banner-format-button:focus-visible{outline:3px solid #a5b4fc;outline-offset:3px}
#banner-formats-dialog{width:min(1200px,94vw);max-height:92dvh;padding:0;border:1px solid #334155;border-radius:16px;background:#0f172a;color:white;margin:auto;overflow:auto}
#banner-formats-dialog::backdrop{background:rgba(0,0,0,.82)}
.banner-formats-toolbar{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#0f172a;z-index:1}
.banner-formats-toolbar h2{font:600 18px/1.4 Inter,sans-serif;margin:0}
.banner-formats-image{overflow:auto;background:#f8f7f4}
.banner-formats-image img{display:block;width:100%;height:auto;min-width:720px;max-width:none}
html.banner-formats-open{overflow:hidden}
@media(max-width:600px){.banner-formats-toolbar{padding:12px}.banner-formats-toolbar h2{font-size:16px}}

.banner-format-heading .banner-format-button{background:none;color:#34d399;padding:0;border-radius:2px;text-decoration:underline;text-underline-offset:3px}
.banner-format-heading .text-indigo-400 + .banner-format-button{color:#818cf8}
.banner-format-heading .banner-format-button:hover{filter:brightness(1.15)}

.banner-formats-social{background:#f8f7f4}.banner-formats-social svg{display:block;width:100%;height:auto}.banner-formats-social[hidden],.banner-formats-image[hidden]{display:none}
