#analytics-consent[hidden],#analytics-preferences[hidden]{display:none!important}
#analytics-consent{position:fixed;z-index:1000;bottom:max(18px,env(safe-area-inset-bottom));left:18px;width:min(420px,calc(100% - 36px));padding:22px;background:#171717;color:#eee;border:1px solid #555;box-shadow:0 8px 36px #0006;font:14px/1.5 Arial,sans-serif;box-sizing:border-box}
#analytics-consent h2{margin:0 0 8px;font:600 16px/1.3 Arial,sans-serif;letter-spacing:0}
#analytics-consent p{margin:0 0 14px;color:#ccc;font-size:14px}
#analytics-consent a{color:#eee;text-decoration:underline}
#analytics-consent .consent-actions{display:flex;gap:10px;flex-wrap:wrap}
#analytics-consent button{flex:1;min-height:44px;padding:10px 12px;border:1px solid #aaa;background:#222;color:#fff;cursor:pointer;font:inherit}
#analytics-consent button:focus-visible,#analytics-preferences:focus-visible{outline:2px solid #fff;outline-offset:4px}
#analytics-preferences{display:block;margin:0 auto 24px;padding:10px 12px;min-height:44px;border:0;background:none;color:#aaa;text-decoration:underline;font:12px/1.4 Arial,sans-serif;cursor:pointer}
@media(max-width:420px){#analytics-consent{left:12px;width:calc(100% - 24px);padding:18px;bottom:max(12px,env(safe-area-inset-bottom))}}
