.privacy-settings {
  border: 0;
  padding: 0;
  margin-left: 1.25rem;
  background: none;
  color: var(--gold, #dab66a);
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}
.privacy-panel[hidden] { display: none; }
.privacy-panel {
  position: fixed;
  inset: auto 0 0;
  z-index: 1000;
  max-height: 85dvh;
  overflow-y: auto;
  padding: 1.25rem max(1.25rem, calc((100vw - 1140px) / 2));
  border-top: 1px solid #a68b52;
  box-shadow: 0 -8px 40px #0007;
  background: #0c100d;
  color: #f1ece2;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
.privacy-panel-inner { position: relative; max-width: 1140px; margin: 0 auto; }
.privacy-panel h2 { margin: 0 2.5rem 0.4rem 0; font: 600 18px/1.4 Arial, sans-serif; }
.privacy-panel p { margin: 0 0 0.6rem; font: inherit; max-width: 90ch; }
.privacy-panel .privacy-status { font-size: 13px; color: #cdc9bc; }
.privacy-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.privacy-choice {
  min-height: 44px;
  min-width: 150px;
  border: 1px solid #dab66a;
  border-radius: 3px;
  padding: 0.6rem 1rem;
  background: #0c100d;
  color: #f1ece2;
  font: 600 14px/1.5 Arial, sans-serif;
  cursor: pointer;
}
.privacy-choice:hover { background: #252b22; }
.privacy-choice:disabled { opacity: 0.5; cursor: default; }
.privacy-actions a { color: #dab66a; text-decoration: underline; margin-left: 0.25rem; }
.privacy-close {
  position: absolute;
  top: -0.6rem;
  right: -0.5rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #f1ece2;
  font: 26px/1 Arial, sans-serif;
  cursor: pointer;
}
.privacy-settings:focus-visible, .privacy-panel button:focus-visible, .privacy-panel a:focus-visible {
  outline: 2px solid #dab66a;
  outline-offset: 4px;
}
.privacy-table-wrap { overflow-x: auto; }
.privacy-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.privacy-table th, .privacy-table td { border-bottom: 1px solid var(--line, #4a4a3a); padding: 0.8rem; text-align: left; vertical-align: top; }
@media (max-width: 480px) {
  .privacy-panel { padding: 1rem; font-size: 13px; }
  .privacy-actions { gap: 0.65rem; }
  .privacy-choice { flex: 1 1 120px; min-width: 120px; }
  .privacy-actions a { flex-basis: 100%; margin: 0.15rem 0 0; }
  .privacy-settings { display: inline-block; margin: 0.75rem 0 0; }
  .privacy-footer > a { display: block; }
}
