#cookie-consent[hidden], #cookie-options[hidden] { display: none !important; }
#cookie-consent { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 100000; max-width: 52rem; margin: auto; padding: 1.5rem; border: 1px solid #ccc; border-radius: .5rem; background: #fff; color: #222; box-shadow: 0 .25rem 1.5rem #0003; max-height: 85vh; overflow-y: auto; font-size: 16px; line-height: 1.5; }
#cookie-consent h2 { margin: 0 0 .75rem; font-size: 1.35em; color: #222; }
#cookie-consent p { margin: 0 0 1rem; color: #222; font-size: 1em; }
#cookie-consent a { color: #174b73; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
#cookie-consent button, #cookie-reopen { border: 1px solid #333; border-radius: .25rem; background: #fff; color: #222; padding: .65rem 1rem; font: inherit; cursor: pointer; }
#cookie-accept, #cookie-reject { flex: 1 1 10rem; }
#cookie-consent button:focus-visible, #cookie-reopen:focus-visible, #cookie-consent input:focus-visible { outline: 3px solid #176da8; outline-offset: 3px; }
#cookie-options { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #ccc; }
#cookie-options label { display: block; font-size: 1em; margin-bottom: .75rem; font-weight: normal; cursor: pointer; }
#cookie-options input { margin-right: .5rem; }
#cookie-reopen { position: fixed; bottom: .5rem; left: .5rem; z-index: 9999; padding: .4rem .65rem; font-size: 14px; box-shadow: 0 1px 5px #0002; }
@media (max-width: 480px) { #cookie-consent { left: .5rem; right: .5rem; bottom: .5rem; padding: 1rem; } .cookie-actions button { width: 100%; } }
