.privacy-panel[hidden] { display: none !important; }
.privacy-panel {
  position: fixed;
  z-index: 10000;
  inset-inline-start: 24px;
  inset-block-end: 24px;
  box-sizing: border-box;
  width: min(460px, calc(100vw - 48px));
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #c9c4b9;
  border-radius: 12px;
  background: #f7f4ee;
  color: #111c35;
  font: 400 15px/1.55 Inter, sans-serif;
  text-align: start;
  overscroll-behavior: contain;
}
.privacy-panel h2 { margin: 0 0 8px; font: 600 18px/1.3 Inter, sans-serif; letter-spacing: -.02em; }
.privacy-panel p { margin: 0 0 16px; color: #384359; }
.privacy-actions { display: flex; gap: 10px; }
.privacy-actions button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #687183;
  border-radius: 6px;
  background: transparent;
  color: #111c35;
  font: 500 15px/1.4 Inter, sans-serif;
  cursor: pointer;
}
.privacy-actions button:hover { background: #e9e5db; border-color: #111c35; }
.privacy-panel a { color: #384359; text-decoration: underline; text-underline-offset: 3px; }
.privacy-panel .privacy-details { display: inline-block; margin-top: 12px; font-size: 14px; }
.privacy-panel :focus-visible { outline: 2px solid #111c35; outline-offset: 4px; }
.privacy-panel [data-privacy-status] { margin: 12px 0 0; font-size: 14px; }
.privacy-panel [data-privacy-status]:empty { display: none; }
.privacy-panel ::selection { background: #dcd2ad; color: #111c35; }
@media (max-width: 560px) {
  .privacy-panel { inset-inline: 12px; inset-block-end: 12px; width: auto; padding: 20px; max-height: calc(100svh - 24px); font-size: 16px; }
}
