.ttr-privacy-dialog {
  position: fixed;
  inset: auto 0 max(14px, env(safe-area-inset-bottom));
  width: min(92vw, 650px);
  max-height: min(86dvh, 750px);
  overflow: auto;
  margin: 0 auto;
  padding: 0;
  border: 1px solid #c7d9e5;
  border-radius: 12px;
  background: #f9fcff;
  color: #132e42;
  font: 16px/1.55 system-ui, sans-serif;
  box-shadow: 0 16px 70px #07172755;
}

.ttr-privacy-dialog::backdrop { background: #07172770; }
.ttr-privacy-inner { padding: clamp(15px, 4vw, 28px); }
.ttr-privacy-inner h2 { font-size: 1.35rem; margin: 0 0 .5rem; }
.ttr-privacy-inner p { margin: .5rem 0; }
.ttr-privacy-inner a { color: #145574; }
.ttr-privacy-options { margin: 1rem 0; }
.ttr-privacy-options label, .ttr-privacy-options p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem;
  padding: .65rem 0;
  border-top: 1px solid #c7d9e5;
  margin: 0;
}
.ttr-privacy-options p { display: block; }
.ttr-privacy-options small { display: block; font-size: .85rem; }
.ttr-privacy-options input { flex: 0 0 auto; accent-color: #126481; width: 1.3rem; height: 1.3rem; }
.ttr-privacy-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.ttr-privacy-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  border: 1px solid #126481;
  border-radius: 5px;
  padding: .65rem .8rem;
  background: transparent;
  color: #15475d;
  font: 700 .88rem system-ui, sans-serif;
  cursor: pointer;
}
.ttr-privacy-actions button[data-choice="all"] { color: white; background: #126481; }
.ttr-privacy-links { display: flex; align-items:center; gap: 1rem; margin-top: .55rem; font-size: .85rem; }
.ttr-privacy-links button { border: 0; min-height: 44px; padding: .25rem 0; background: transparent; color: #145574; font: inherit; text-decoration: underline; cursor: pointer; }
.ttr-privacy-error { color: #842a13; }
.ttr-privacy-settings { margin: .75rem 1rem; padding: .65rem .85rem; border: 1px solid #528098; border-radius: 4px; color: #102940; background: #edf7ff; cursor: pointer; }
.ttr-privacy-dialog [hidden] { display: none !important; }

@media (max-width: 480px) {
  .ttr-privacy-actions button { flex-basis: 42%; }
}
