.deia-ad-preferences {
  position: fixed;
  inset: auto 0 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  width: 100%;
  padding: 16px clamp(20px, 3.5vw, 56px);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: #f5f2eb;
  color: #343a35;
  border-top: 1px solid #d8d6ce;
  font: 13px/1.55 "GT America", Arial, sans-serif;
}
.deia-ad-preferences[hidden] { display: none; }
.deia-ad-copy { min-width: 0; }
.deia-ad-preferences p { margin: 0; }
.deia-ad-preferences [data-ad-status]:empty { display: none; }
.deia-ad-preferences [data-ad-status]:not(:empty) { margin-top: 5px; }
.deia-ad-preferences a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; margin-left: 6px; }
.deia-ad-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.deia-ad-preferences button {
  min-width: 100px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid #979b91;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.deia-ad-preferences button:hover { background: #e9e7df; }
.deia-ad-preferences button:focus-visible, .deia-ad-settings:focus-visible { outline: 2px solid #266449; outline-offset: 3px; }
.deia-ad-settings { background: none; border: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; margin-left: 10px; padding: 5px; }
@media (max-width: 640px) {
  .deia-ad-preferences { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px max(16px, env(safe-area-inset-bottom)); }
  .deia-ad-actions button { flex: 1; }
}
