/* Ko-fi support bar (top) and button (bottom), shared by every page.
   They are plain links: nothing is loaded from Ko-fi until the visitor clicks.
   Each page picks its colours with a theme class on both blocks (kofi-t-…), so the
   bar and the button look like part of the tool instead of a purple strip. */
.kofi-top,.kofi-bottom{
  --k-bar:#2b2420;--k-text:#f3ead8;--k-acc:#f2c230;--k-line:rgba(0,0,0,.25);
  --k-btn:#f2c230;--k-btn-ink:#2b2420;--k-radius:10px;--k-shadow:0 3px 0 rgba(0,0,0,.28);
  --k-font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.kofi-top{
  background:var(--k-bar);color:var(--k-text);border-bottom:1px solid var(--k-line);
  text-align:center;padding:7px 14px;font:600 14px/1.4 var(--k-font);
}
.kofi-top a{color:inherit;text-decoration:none;display:inline-block;padding:2px 4px;border-radius:4px}
.kofi-top a span{color:var(--k-acc);font-weight:700;white-space:nowrap}
.kofi-top a:hover span{text-decoration:underline;text-underline-offset:3px}
.kofi-bottom{text-align:center;padding:14px 16px 30px}
.kofi-bottom a{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 20px;border-radius:var(--k-radius);
  background:var(--k-btn);color:var(--k-btn-ink);font:700 15px/1.2 var(--k-font);
  text-decoration:none;box-shadow:var(--k-shadow);transition:transform .12s ease,filter .12s ease;
}
.kofi-bottom a:hover{filter:brightness(1.08);transform:translateY(-1px)}
.kofi-bottom a:active{transform:translateY(1px)}
.kofi-top a:focus-visible,.kofi-bottom a:focus-visible{outline:3px solid var(--k-acc);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.kofi-bottom a{transition:none}.kofi-bottom a:hover,.kofi-bottom a:active{transform:none}}

/* Home, About, site privacy page: the workshop wall (graphite sign, yellow tape) */
.kofi-t-workshop{--k-bar:#2b2420;--k-text:#f3ead8;--k-acc:#f2c230;--k-btn:#f2c230;--k-btn-ink:#2b2420;--k-radius:4px;--k-shadow:0 4px 0 #6e4c2d;--k-font:"Bricolage",system-ui,sans-serif}
/* Darkest Dungeon, Azeroth Survivors: dark slate and gold */
.kofi-t-gold{--k-bar:#12151c;--k-text:#eef0f4;--k-acc:#f2c35b;--k-line:rgba(255,255,255,.1);--k-btn:#f2c35b;--k-btn-ink:#1a1405;--k-radius:8px}
/* Warhammer Survivors: dark green */
.kofi-t-warhammer{--k-bar:#141917;--k-text:#ece6d6;--k-acc:#3fd46a;--k-line:#2c3732;--k-btn:#3fd46a;--k-btn-ink:#06200f;--k-radius:8px}
/* Pokopia: light, coin yellow */
.kofi-t-pokopia{--k-bar:#fff4cf;--k-text:#22313a;--k-acc:#7a5600;--k-line:#e8dfc9;--k-btn:#f5b915;--k-btn-ink:#22313a;--k-radius:14px;--k-shadow:0 3px 0 #b07e00}
/* Probably Stolen: hull plates and amber */
.kofi-t-stolen{--k-bar:#1b2427;--k-text:#e6dfcc;--k-acc:#ffb000;--k-line:#34494a;--k-btn:#ffb000;--k-btn-ink:#1d1300;--k-radius:4px}
/* PokéBonk Builds: night violet */
.kofi-t-pokebonk{--k-bar:#1b1828;--k-text:#f1f5f9;--k-acc:#c7d2fe;--k-line:rgba(255,255,255,.09);--k-btn:linear-gradient(135deg,#6366f1,#a78bfa);--k-btn-ink:#fff;--k-radius:999px;--k-shadow:0 6px 18px rgba(99,102,241,.35)}
/* GBA save editor: light lilac */
.kofi-t-gba{--k-bar:#e9ddff;--k-text:#22005d;--k-acc:#4f378a;--k-line:#cbc4d2;--k-btn:#4f378a;--k-btn-ink:#fff;--k-radius:999px;--k-shadow:0 2px 6px rgba(79,55,138,.3)}
/* Enshrouded craft calculator: charcoal and amber */
.kofi-t-enshrouded{--k-bar:#171a20;--k-text:#eceef2;--k-acc:#e3a84a;--k-line:rgba(255,255,255,.08);--k-btn:#e3a84a;--k-btn-ink:#1a1305;--k-radius:8px}
