@media (max-width: 760px) {
  body:has(#cookie-banner) { padding-bottom: min(12rem, 32dvh) }
  body:has(#cookie-detalhes[style*="display: block"]) { padding-bottom: min(24rem, 55dvh) }
  #cookie-banner {
    max-height: 52dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
  }
  #cookie-banner > p, #cookie-banner > div:last-child { flex: none }
  #cookie-detalhes { min-height: 0; overflow-y: auto; overscroll-behavior: contain }
  #cookie-detalhes th:first-child { width: 35% }
  #cookie-detalhes table { table-layout: fixed; overflow-wrap: anywhere }
  #cookie-detalhes td, #cookie-detalhes th { font-size: 12px }
  #cookie-banner > div:last-child { flex-wrap: wrap }
}
