/* Fully scoped: the consent controls must not inherit decorative site buttons. */
#b88-analytics-consent { color: #f7f7f2; font: 400 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#b88-analytics-consent *, #b88-analytics-consent *::before, #b88-analytics-consent *::after { box-sizing: border-box; }
#b88-analytics-consent [hidden] { display: none !important; }
#b88-analytics-consent .b88-ac-panel { position: fixed; z-index: 2147483000; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 18px; border: 1px solid #fbe22a66; border-radius: 16px; background: #151819; box-shadow: 0 8px 32px #0006; overscroll-behavior: contain; }
#b88-analytics-consent .b88-ac-title { margin: 0 36px 10px 0; color: #f7f7f2; font: 650 17px/1.4 system-ui, sans-serif; text-transform: none; letter-spacing: normal; }
#b88-analytics-consent p { margin: 0; color: #e0e3e1; font: inherit; }
#b88-analytics-consent .b88-ac-status { color: #f7e873; font-size: 14px; }
#b88-analytics-consent .b88-ac-error { color: #fff1be; border-left: 3px solid #ffe327; padding-left: 12px; }
#b88-analytics-consent a { color: #fff08b; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
#b88-analytics-consent button { appearance: none; cursor: pointer; min-height: 44px; border: 1px solid #ffe327; border-radius: 9px; background: #ffe327; color: #111511; padding: 10px 14px; font: 650 15px/1.35 system-ui, sans-serif; text-align: center; text-transform: none; letter-spacing: normal; box-shadow: none; }
#b88-analytics-consent button:hover { background: #fff078; }
#b88-analytics-consent :is(button, a, h2):focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
#b88-analytics-consent .b88-ac-actions { display: flex; gap: 10px; margin-top: 14px; }
#b88-analytics-consent .b88-ac-actions button { flex: 1 1 0; }
#b88-analytics-consent .b88-ac-close { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 44px; padding: 0; border-color: transparent; background: transparent; color: #f7f7f2; font: 400 25px/1 system-ui, sans-serif; }
#b88-analytics-consent .b88-ac-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; }
#b88-analytics-consent .b88-ac-footer a { display: inline-flex; align-items: center; min-height: 28px; font-size: 14px; }
#b88-analytics-consent .b88-ac-error { margin-top: 10px; }
#b88-analytics-consent .b88-ac-close:hover, #b88-analytics-consent .b88-ac-settings:hover { background: #313737; }
#b88-analytics-consent .b88-ac-settings { position: fixed; z-index: 2147482999; bottom: max(14px, env(safe-area-inset-bottom)); left: 14px; max-width: calc(100vw - 28px); background: #151819; color: #f7f7f2; border-color: #ffe327a6; box-shadow: 0 3px 18px #0006; font-weight: 550; }
@media (max-width: 600px) {
  #b88-analytics-consent .b88-ac-panel { left: 12px; bottom: max(82px, calc(72px + env(safe-area-inset-bottom))); width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 106px); max-height: calc(100dvh - 106px); padding: 16px; }
  #b88-analytics-consent .b88-ac-settings { bottom: max(82px, calc(72px + env(safe-area-inset-bottom))); }
}
