/* Self-hosted; inherit the host website's font and do not load external assets. */
.sg-consent{--sg-bg:#fffdf8;--sg-fg:#272623;--sg-line:#d8d4cb;--sg-shadow:0 8px 30px #0002;color:var(--sg-fg);font:inherit;font-size:13px;line-height:1.55}
.sg-consent[data-theme=dark]{--sg-bg:#242421;--sg-fg:#f1efe9;--sg-line:#66635d;--sg-shadow:0 8px 30px #0005}
.sg-consent [hidden],.sg-consent[hidden]{display:none!important}
.sg-consent button,.sg-consent a{font:inherit;color:inherit}.sg-consent button{cursor:pointer;border:1px solid var(--sg-line);border-radius:6px;background:transparent;padding:10px 16px;min-height:44px}.sg-consent button:focus-visible,.sg-consent a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.sg-consent .sg-consent-settings{padding:4px 8px;border:0;text-decoration:underline;text-underline-offset:3px}
.sg-consent-banner{position:fixed;z-index:10000;bottom:max(16px,env(safe-area-inset-bottom));left:16px;width:min(390px,calc(100vw - 32px));box-sizing:border-box;padding:20px;background:var(--sg-bg);border:1px solid var(--sg-line);border-radius:12px;box-shadow:var(--sg-shadow);max-height:70dvh;overflow:auto}
.sg-consent h2{font:inherit;font-size:16px;font-weight:600;margin:0 0 8px}.sg-consent p{margin:0 0 12px}.sg-consent-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.sg-consent-actions button{flex:1}.sg-consent-dialog{color:var(--sg-fg);background:var(--sg-bg);border:1px solid var(--sg-line);border-radius:12px;padding:24px;width:min(440px,calc(100vw - 40px));max-height:80dvh;overflow:auto;box-sizing:border-box;font:inherit;margin:auto}.sg-consent-dialog::backdrop{background:#0006}
