/* Installed fonts only. Icon glyphs and code keep their own font families. */
html[data-gofo-language] body,
html[data-gofo-language] :where(button,input,select,textarea,.article-content,.article-content p,.article-content h1,.article-content h2,.article-content h3,.article-content h4,.gdn-menu-list,.menu-item-title) { font-family:var(--gofo-font-family,system-ui,sans-serif); }
html[data-gofo-language] :where(pre,code,kbd,samp) { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
html[data-gofo-background="mist"] { --gofo-background-color:#e9eff3; }
html[data-gofo-background="sand"] { --gofo-background-color:#f3eee3; }
html[data-gofo-background="sage"] { --gofo-background-color:#e9efe8; }
html[data-gofo-background="dots"] { --gofo-background-color:#f4f4f1; }
html.dark[data-gofo-background="mist"] { --gofo-background-color:#202a32; }
html.dark[data-gofo-background="sand"] { --gofo-background-color:#302b25; }
html.dark[data-gofo-background="sage"] { --gofo-background-color:#242e28; }
html.dark[data-gofo-background="dots"] { --gofo-background-color:#25272a; }
html[data-gofo-background]:not([data-gofo-background="default"]) body { background-color:var(--gofo-background-color,var(--body-bg-color,#f5f6f7)) !important; }
html[data-gofo-background]:is([data-gofo-background="mist"],[data-gofo-background="sand"],[data-gofo-background="sage"]) body { background-image:none !important; }
html[data-gofo-background="dots"] body { background-image:radial-gradient(circle,rgba(100,110,105,.2) 1px,transparent 1px) !important; background-size:18px 18px; }
html[data-gofo-background="custom"] body { background-image:var(--gofo-custom-background,none) !important; background-size:cover; background-position:center; background-attachment:fixed; }
/* Solid reading surfaces keep text clear over custom photos and patterns. */
html[data-gofo-background]:not([data-gofo-background="default"]) :where(.single-post .article,.single-post .article-content,.single-post .posts-content,.single-post main .zib-widget) { background-color:#fff; }
html.dark[data-gofo-background]:not([data-gofo-background="default"]) :where(.single-post .article,.single-post .article-content,.single-post .posts-content,.single-post main .zib-widget) { background-color:#25272b; }
@media(max-width:767px) { html[data-gofo-background="custom"] body { background-attachment:scroll; } }
