/* Event design templates, shared by the guest page, the host's storefront and Discover. One class per template. */
.tpl-sticker,.th-sticker{--thbg:var(--pl-page);--thfg:var(--pl-ink);--thac:#E2573A;--thchip:var(--pl-sand)}
.tpl-picnic,.th-picnic{--thbg:#EAF7EC;--thfg:#173B22;--thac:#2F8F4E;--thchip:#FFD36E}
.tpl-disco,.th-disco{--thbg:#F3E8FF;--thfg:#2A1742;--thac:#B03FD0;--thchip:#FFC2E0}
.tpl-sunny,.th-sunny{--thbg:#FFF3C4;--thfg:#3A2A05;--thac:#E28A00;--thchip:#FFFFFF}
.tpl-ocean,.th-ocean{--thbg:#E6F3FF;--thfg:#0F2A44;--thac:#1F6FD1;--thchip:#BFE3FF}
.tpl-linen{--thbg:#FAF3EA;--thfg:var(--pl-ink);--thac:var(--pl-accent-text);--thchip:#F3E2CF}
.tpl-candlelight{--thbg:#2A1E17;--thfg:#F3E7D6;--thac:#C9A96A;--thchip:#4A3729}
.tpl-gallery{--thbg:#FFFFFF;--thfg:#111111;--thac:#111111;--thchip:#EFEFEF}
.tpl-midnight{--thbg:#14213A;--thfg:#E8ECF4;--thac:#B9C4D6;--thchip:#24365A}
/* the storefront's Next up card and Discover cards wear the event's template */
.next-up[class*="tpl-"]{background:var(--thbg)!important;color:var(--thfg)!important}
.next-up[class*="tpl-"] .nu-title,.next-up[class*="tpl-"] .nu-sub,.next-up[class*="tpl-"] .nu-for,.next-up[class*="tpl-"] .nu-meta{color:var(--thfg)!important}
.next-up[class*="tpl-"] .nu-meta span{background:var(--thchip)!important;color:var(--thfg)!important}
.next-up[class*="tpl-"] .btn:not(.ghost){background:var(--thac)!important;color:var(--thbg)!important}
.ev[class*="tpl-"]{background:var(--thbg)!important;color:var(--thfg)!important}.ev[class*="tpl-"] *{color:inherit}

/* dark templates: boxes inside the invite take the template colours, so nothing is cream-on-white */
:is(.tpl-candlelight,.tpl-midnight,.th-candlelight,.th-midnight) :is(.menu-card,.hostchip,.chip,.f input,.card,[class*=fact]>div,.gk-grow,.ticket){background:var(--thchip,rgba(255,255,255,.08))!important;color:var(--thfg)!important;border-color:color-mix(in srgb,var(--thfg) 30%,transparent)!important}
.th-candlelight{--thchip:#4A3729}.th-midnight{--thchip:#24365A}
/* the colour cover follows the chosen template */
[class*="tpl-"] .type-cover,.invite[class*="th-"] .type-cover{--tc:var(--thac)!important}
