#sos-google-consent{position:fixed;left:16px;bottom:calc(148px + env(safe-area-inset-bottom));z-index:10010;width:min(480px,calc(100vw - 32px));max-height:min(60vh,calc(100dvh - 240px));overflow:auto;padding:18px;box-sizing:border-box;border:1px solid #587b85;border-radius:16px;background:#fff;color:#173f4a;box-shadow:0 6px 28px #173f4a33;font:14px/1.65 system-ui,sans-serif;text-align:left}
#sos-google-consent[hidden]{display:none!important}
#sos-google-consent h2{font-size:18px;margin:0 0 10px}
#sos-google-consent p{margin:9px 0}
#sos-google-consent a{text-decoration:underline;color:#145468}
.sos-google-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sos-google-choices button{min-height:46px;font:600 14px/1.4 system-ui,sans-serif;padding:10px;border:1px solid #225b6b;border-radius:8px;background:#e8f3f6;color:#173f4a;cursor:pointer}
.sos-google-choices button:disabled{cursor:not-allowed;opacity:.55}
.sos-google-close,#sos-google-settings{font:14px/1.4 system-ui,sans-serif;padding:10px;border:1px solid #587b85;border-radius:8px;background:#fff;color:#173f4a;cursor:pointer}
.sos-google-close{margin-top:10px}
#sos-google-settings{display:block;margin:12px auto;min-height:44px;scroll-margin-block:180px}
#sos-google-consent button:focus-visible,#sos-google-settings:focus-visible{outline:3px solid #c58415;outline-offset:3px}

/* Keep the optional analytics setting clear of the fixed support/BGM controls. */
body[data-topic="all"]{padding-bottom:calc(180px + env(safe-area-inset-bottom,0px))}
