#visitor-preferences {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(25rem, calc(100vw - 2rem));
  box-sizing: border-box;
  padding: 1rem;
  background: #fff;
  color: #202522;
  border: 1px solid #aaa;
  box-shadow: 0 8px 32px #0002;
  font: 14px/1.5 Arial, sans-serif;
}
#visitor-preferences h2 { margin: 0 0 .35rem; font: bold 16px/1.3 Arial, sans-serif; }
#visitor-preferences p { margin: 0 0 .75rem; }
#visitor-preferences a { text-decoration: underline; color: inherit; }
.visitor-preferences-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.visitor-preferences-actions button {
  flex: 1 0 auto;
  min-height: 44px;
  border: 1px solid #333;
  background: #fff;
  color: #202522;
  padding: .5rem;
  font: inherit;
  cursor: pointer;
}
.visitor-preferences-actions button[hidden] { display: none; }
[data-visitor-preferences] { cursor: pointer; font: inherit; color: inherit; }
