/* Presentation only: consent remains owned by the existing GTM consent tag. */
html body #m1988-privacy-panel {
  width: 380px; max-width: calc(100vw - 32px); left: 16px;
  bottom: max(24px, env(safe-area-inset-bottom));
  padding: 14px !important; border: 1px solid #444 !important;
  border-radius: 14px !important; background: #18181b !important;
  color: #f5f5f7 !important; box-shadow: 0 6px 24px #0005 !important;
  max-height: min(440px, 65dvh); overflow: auto;
}
html body #m1988-privacy-panel h2 {
  margin: 0 38px 6px 0 !important; font: 600 15px/1.4 Arial,sans-serif !important;
  color: #f5f5f7 !important; text-transform: none !important;
}
html body #m1988-privacy-panel p {
  color: #d4d4d8 !important; font: 400 14px/1.45 Arial,sans-serif !important;
  margin: 0 0 10px !important;
}
html body #m1988-privacy-panel a { color: #ffb0b7 !important; }
html body #m1988-privacy-panel .m1988-buttons { gap: 6px; }
html body #m1988-privacy-panel button {
  min-height: 44px; padding: 8px !important; border-radius: 8px !important;
  font: 600 14px/1.25 Arial,sans-serif !important;
  background: #242428 !important; color: #f5f5f7 !important;
  border: 1px solid #62626b !important;
}
html body #m1988-privacy-panel button[data-choice="all"] { background: #382126 !important; }
html body #m1988-privacy-panel .m1988-ux-dismiss {
  position: absolute; right: 4px; top: 2px; width: 44px;
  padding: 0 !important; flex: none; border: 0 !important;
  background: transparent !important; font-size: 24px !important;
}
html body #m1988-privacy-panel label {
  color: #f5f5f7 !important; font: 400 14px/1.45 Arial,sans-serif !important;
}
html body #m1988-privacy-panel input { accent-color: #e8192c; }
html body #m1988-privacy-settings { border-color: #48484f; }
/* Keep reopening available without another floating control over page content. */
html body #m1988-privacy-open.m1988-ux-footer {
  position: static; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; margin: 8px 0; padding: 8px 12px !important;
  font: 400 14px/1.4 Arial,sans-serif !important;
  border: 1px solid #62626b !important; border-radius: 8px !important;
  color: #f5f5f7 !important; background: #242428 !important;
}
html body #m1988-privacy-open[hidden],
html body #m1988-privacy-panel[hidden] { display: none !important; }
@media (max-width: 600px) {
  html body #m1988-privacy-panel {
    left: 12px; width: calc(100% - 24px); max-width: calc(100% - 24px);
    bottom: max(12px, env(safe-area-inset-bottom)); padding: 12px !important;
  }

}

html body.m1988-ux-has-contactbar #m1988-privacy-panel {
  bottom: calc(var(--m1988-contact-offset, 66px) + 16px + env(safe-area-inset-bottom));
  max-height: calc(100dvh - var(--m1988-contact-offset, 66px) - 124px);
}
