/* Scoped fixed UI: no changes to BlogHash, existing theme switch, gallery layout or headings. */
#wp-r1-consent-root { position:fixed; z-index:2147482000; left:max(12px,env(safe-area-inset-left)); bottom:max(12px,env(safe-area-inset-bottom)); width:min(420px,calc(100vw - 24px)); font:400 14px/1.45 system-ui,sans-serif; color:#eaf0f7; text-align:left; }
#wp-r1-consent-root *, #wp-r1-consent-root *::before, #wp-r1-consent-root *::after { box-sizing:border-box; }
#wp-r1-consent-root [hidden] { display:none !important; }
#wp-r1-consent-root .wp-r1-consent-panel { background:#162230; color:#eaf0f7; padding:18px; border:1px solid #5b7188; border-radius:12px; box-shadow:0 6px 24px #0005; max-height:min(65vh,440px); overflow:auto; }
#wp-r1-consent-root .wp-r1-consent-title { display:block; font-size:16px; line-height:1.4; margin:0 0 8px; color:inherit; }
#wp-r1-consent-root p { margin:0 0 10px; color:inherit; font:inherit; }
#wp-r1-consent-root a { color:#b6dcff; text-decoration:underline; }
#wp-r1-consent-root .wp-r1-consent-status { margin:8px 0 12px; font-size:12px; color:#bdcddd; }
#wp-r1-consent-root .wp-r1-consent-actions { display:flex; flex-wrap:wrap; gap:8px; }
#wp-r1-consent-root button { appearance:none; border:1px solid #8ba1b8; border-radius:8px; background:#263b50; color:#fff; padding:10px 12px; margin:0; font:600 13px/1.35 system-ui,sans-serif; text-transform:none; letter-spacing:normal; cursor:pointer; min-height:40px; box-shadow:none; text-align:center; }
#wp-r1-consent-root .wp-r1-consent-actions button { flex:1 1 140px; }
#wp-r1-consent-root button:hover { background:#38536e; }
#wp-r1-consent-root button:focus-visible,#wp-r1-consent-root a:focus-visible { outline:3px solid #ffd58a; outline-offset:2px; }
#wp-r1-consent-root .wp-r1-consent-manage { font-size:12px; padding:6px 10px; min-height:32px; }
@media (prefers-color-scheme:light) {
 #wp-r1-consent-root .wp-r1-consent-panel { background:#f7f9fc; color:#142331; border-color:#a8b9cb; }
 #wp-r1-consent-root a { color:#17558c; }
 #wp-r1-consent-root .wp-r1-consent-status { color:#425468; }
}
