.consent-banner {
  --consent-bg: #fff;
  --consent-fg: #1b1b1b;
  --consent-muted: #555;
  --consent-btn-bg: #1b1b1b;
  --consent-btn-fg: #fff;
  position: fixed; z-index: 2147483000; left: 16px; bottom: 16px;
  box-sizing: border-box; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 22px 22px 18px; border-radius: 10px;
  background: var(--consent-bg); color: var(--consent-fg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
  font: inherit; font-size: 15px; line-height: 1.5; text-align: left;
}
.consent-banner * { box-sizing: border-box; }
.consent-title { margin: 0 28px 6px 0; font-size: 17px; font-weight: 700; }
.consent-text { margin: 0 0 14px; color: var(--consent-muted); }
.consent-banner a { color: inherit; text-decoration: underline; }
.consent-x {
  position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; padding: 0;
  border: 0; background: transparent; color: var(--consent-fg); font-size: 24px; line-height: 1; cursor: pointer;
}
.consent-prefs[hidden] { display: none; }
.consent-prefs { margin: 0 0 14px; display: grid; gap: 10px; }
.consent-cat { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent-cat input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--consent-btn-bg); }
.consent-cat small { color: var(--consent-muted); font-size: 13px; }
.consent-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.consent-btn {
  appearance: none; min-height: 42px; padding: 8px 12px; border: 1px solid var(--consent-btn-bg, #1b1b1b); border-radius: 6px;
  background: var(--consent-btn-bg, #1b1b1b); color: var(--consent-btn-fg, #fff);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.consent-btn--ghost { background: transparent; color: var(--consent-fg, #1b1b1b); }
.consent-btn:focus-visible, .consent-x:focus-visible, .consent-cat input:focus-visible { outline: 3px solid #2f6fed; outline-offset: 2px; }
@media (max-width: 520px) {
  .consent-banner { left: 0; bottom: 0; width: 100vw; border-radius: 12px 12px 0 0; }
  .consent-actions { grid-template-columns: 1fr; }
}

.consent-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 24px; background: #f1f1f1; color: #333; text-align: center; font-size: 15px; line-height: 1.5;
}
.consent-ph p { margin: 0; max-width: 34em; }
.consent-ph a { color: inherit; text-decoration: underline; }
.consent-ph .consent-btn { --consent-btn-bg: #1b1b1b; --consent-btn-fg: #fff; }

.privacy-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px;
  margin-top: 14px; font-size: 13px; opacity: .8;
}
.privacy-links a { color: inherit; text-decoration: underline; }

.privacy-form-note { margin: 12px 0; font-size: 13px; line-height: 1.5; opacity: .85; }
.privacy-form-note a { color: inherit; text-decoration: underline; }

.privacy-doc { padding: clamp(7rem, 14vw, 10rem) 20px 4.5rem; }
.privacy-doc__inner { max-width: 46rem; margin: 0 auto; font-size: 16px; line-height: 1.7; }
.privacy-doc h1 { margin: 0 0 .3em; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; font-weight: 700; }
.privacy-doc h2 { margin: 2.2em 0 .5em; font-size: 1.35rem; line-height: 1.3; font-weight: 700; }
.privacy-doc h3 { margin: 1.6em 0 .4em; font-size: 1.1rem; line-height: 1.35; font-weight: 700; }
.privacy-doc p { margin: .7em 0; }
.privacy-doc ul { margin: .7em 0; padding-left: 1.4em; list-style: disc; }
.privacy-doc li { margin: .3em 0; }
.privacy-doc a { color: inherit; text-decoration: underline; }
.privacy-doc .privacy-updated { margin-bottom: 1.8em; opacity: .7; font-size: .92em; }
.privacy-doc .privacy-draft { padding: 12px 16px; border-left: 4px solid #d99a00; background: #fff6dc; color: #4a3800; }
.privacy-table-wrap { overflow-x: auto; }
.privacy-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.privacy-table th, .privacy-table td { padding: 8px 10px; border-bottom: 1px solid rgba(127, 127, 127, .3); text-align: left; vertical-align: top; }
