/* Loaded in the head, before page scripts, so disabled chat cannot flash open. */
html:not([data-guide-chat="ready"]) :is([data-guide-chat-surface],.walkthrough-ai,#counsel,a[href="#counsel"],#genie,[data-target="genie"],#ai-assistant,a[href="#ai-assistant"],#seer-modal,.u6-seer-context-link,[data-seer-quest],[data-seer-side],[data-seer-marker],[data-seer-atlas],.get-main-quest-hint,.get-virtue-quest-hint,.get-side-quest-hint,.sage-panel){display:none!important}
#guide-assistant-settings{position:fixed;right:1rem;bottom:1rem;z-index:9000;border:1px solid #64748b;border-radius:.6rem;padding:.6rem .85rem;background:#182334;color:#fff;font:600 .82rem system-ui;cursor:pointer;box-shadow:0 2px 10px #0003}
#guide-assistant-consent{box-sizing:border-box;width:min(32rem,calc(100% - 2rem));max-height:85dvh;overflow:auto;padding:1.5rem;border:1px solid #64748b;border-radius:1rem;background:#182334;color:#f8fafc;font:1rem/1.5 system-ui;z-index:100000}
#guide-assistant-consent::backdrop{background:#0009}
#guide-assistant-consent h2{margin:0 0 1rem;font-size:1.4rem;font-weight:700}
#guide-assistant-consent p{margin:.8rem 0}
#guide-assistant-consent progress{width:100%;height:1rem}
.ga-consent-buttons{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.2rem}
.ga-consent-buttons button{border:1px solid #94a3b8;border-radius:.5rem;padding:.5rem .7rem;background:#26364d;color:#fff;font:inherit;cursor:pointer}
.ga-consent-buttons button:first-child{background:#2563eb}
.ga-consent-buttons button:disabled{opacity:.6;cursor:wait}
#guide-assistant-consent button:focus-visible,#guide-assistant-settings:focus-visible{outline:3px solid #fbbf24;outline-offset:3px}
/* Close the conversation to return to settings; the floating button must not
   cover the composer in a full-screen mobile guide dialog. */
body.sage-chat-open #guide-assistant-settings,
body.u6-seer-modal-open #guide-assistant-settings { visibility: hidden; pointer-events: none; }
