.sloop-consent-banner,
.sloop-consent-preferences {
  position: fixed;
  z-index: 1500;
  font-family: "DM Sans", sans-serif;
}
.sloop-consent-banner[hidden],
.sloop-consent-preferences[hidden] { display: none; }
.sloop-consent-banner {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  width: min(760px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(255, 237, 221, .2);
  border-radius: 12px;
  background: #171111;
  color: #f6efe7;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}
.sloop-consent-copy h2 { margin: 0 0 7px; color: #fff4e8; font-size: 18px; }
.sloop-consent-copy p { margin: 0; color: #d7c8bd; font-size: 13px; line-height: 1.55; }
.sloop-consent-details { display: grid; gap: 10px; margin-top: 15px; }
.sloop-consent-details[hidden] { display: none; }
.sloop-consent-details label { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; cursor: pointer; }
.sloop-consent-details input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #e9aa58; }
.sloop-consent-details span { display: grid; gap: 2px; }
.sloop-consent-details strong { color: #fff4e8; font-size: 13px; }
.sloop-consent-details small { color: #bdaba0; font-size: 12px; line-height: 1.4; }
.sloop-consent-status { min-height: 1.3em; margin-top: 8px !important; color: #ffcb82 !important; }
.sloop-consent-actions { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 154px; }
.sloop-consent-actions button,
.sloop-consent-preferences {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 237, 221, .25);
  border-radius: 6px;
  color: #f6efe7;
  font: 700 12px/1.2 "DM Sans", sans-serif;
  cursor: pointer;
}
.sloop-consent-actions button[hidden] { display: none; }
.sloop-consent-actions button:focus-visible,
.sloop-consent-preferences:focus-visible { outline: 2px solid #ffcb82; outline-offset: 3px; }
.sloop-consent-primary { background: #9e332b; border-color: #c15243 !important; }
.sloop-consent-secondary { background: #241a18; }
.sloop-consent-preferences { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); background: #171111; box-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
@media (max-width: 620px) {
  .sloop-consent-banner { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .sloop-consent-actions { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; }
}
