/* Ko-fi donation pop-up (see kofi.js) */
.kofi-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 14px; background: #fff; color: #1d1a17; box-shadow: 0 24px 80px rgba(0,0,0,.35); overflow: hidden; }
.kofi-dialog::backdrop { background: rgba(20,16,12,.6); backdrop-filter: blur(3px); }
.kofi-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px 20px; }
.kofi-title { margin: 0; font: 600 1rem/1.3 "Schibsted Grotesk", system-ui, sans-serif; }
.kofi-close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1ece6; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.kofi-close:hover, .kofi-close:focus-visible { background: #e4dbd1; }
.kofi-body { position: relative; height: min(585px, calc(100dvh - 120px)); background: #f9f9f9; }
.kofi-body iframe { display: block; width: 100%; height: 100%; border: 0; }
.kofi-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #6b625a; font: 400 .95rem "Schibsted Grotesk", system-ui, sans-serif; }
.kofi-foot { margin: 0; padding: 10px 20px 14px; font: 400 .85rem "Schibsted Grotesk", system-ui, sans-serif; color: #6b625a; }
.kofi-foot a { color: inherit; }
