.privacy-panel {
  position: fixed; right: 24px; bottom: 24px; z-index: 1000;
  box-sizing: border-box; width: min(540px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px); overflow-y: auto;
  padding: 26px; border: 1px solid #8da8c6; border-radius: 18px;
  background: #0d315d; color: #fff; box-shadow: 0 12px 48px #0005;
  font-family: Arial, Helvetica, sans-serif; text-align: left;
}
.privacy-panel[hidden], .privacy-panel [hidden] { display: none !important; }
.privacy-panel h2 { color: #fff; margin: 0 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.4px; }
.privacy-panel p { color: #edf4fc; font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
.privacy-panel .privacy-current { font-weight: 700; font-size: 14px; }
.privacy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 16px; }
.privacy-panel .privacy-action {
  appearance: none; width: 100%; min-height: 48px; padding: 12px 10px;
  border: 1px solid #fff; border-radius: 8px; background: #fff; color: #0d315d;
  font: 700 14px/1.3 Arial, Helvetica, sans-serif; cursor: pointer; margin: 0;
}
.privacy-panel .privacy-action:hover { background: #e3efff; }
.privacy-panel button:disabled { opacity: .55; cursor: default; }
.privacy-panel .privacy-note { font-size: 12px; color: #d3e1f1; margin-bottom: 14px; }
.privacy-panel .privacy-status { color: #fff; padding: 10px; border: 1px solid #b7cce4; border-radius: 6px; font-size: 13px; }
.privacy-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.privacy-panel a, .privacy-panel .privacy-close { color: #fff; text-decoration: underline; font: 14px/1.4 Arial, Helvetica, sans-serif; }
.privacy-panel .privacy-close, .privacy-settings { appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer; }
.privacy-settings { font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.privacy-panel :focus-visible, .privacy-settings:focus-visible { outline: 3px solid #77bdff; outline-offset: 4px; }
@media (max-width: 600px) {
  .privacy-panel { left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); padding: 20px; }
  .privacy-panel h2 { font-size: 22px; }
  .privacy-actions { gap: 8px; }
}
@media (max-width: 350px) { .privacy-actions { grid-template-columns: 1fr; } }
