.paint-invite, #paint-dialog button {
  border: 1px solid #c9c6be; border-radius: 99px; background: #faf8f1; color: #33332f;
  padding: 8px 16px; min-height: 42px; font: 500 14px/1.25 Inter,system-ui,sans-serif; cursor: pointer;
}
.paint-invite { display: block; width: fit-content; margin: 8px auto; flex-shrink: 0; }
#paint-dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; margin: 0; background: #f2efe7; overflow:hidden; }
#paint-dialog:not([open]) { display:none; }
#paint-dialog iframe { display: block; width:100%; height:100%; border:0; }
#paint-dialog button { position:absolute; z-index:1; top:max(16px,env(safe-area-inset-top)); left:max(16px,env(safe-area-inset-left)); }
html:has(#paint-dialog[open]) { overflow:hidden; }
