#consent-banner[hidden] { display: none; }
#consent-banner {
  position: fixed;
  z-index: 300;
  left: 20px;
  right: 20px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1040px;
  max-height: 80vh;
  overflow: auto;
  margin: 0 auto;
  padding: 22px 26px;
  background: #edece4;
  color: #283334;
  border: 1px solid #b5bfba;
  box-shadow: 0 8px 30px #06111a35;
  text-align: left;
  font: 14px/1.5 var(--sans, var(--font-sans, system-ui, sans-serif));
}
#consent-banner h2 {
  margin: 0 0 8px;
  font: 400 24px/1.15 var(--serif, var(--font-serif, Georgia, serif));
  letter-spacing: 0;
  color: inherit;
}
#consent-banner p { margin: 0 0 8px; }
#consent-banner .consent-current { font-size: 12px; margin: 8px 0 0; }
#consent-banner .consent-current:empty { display: none; }
.consent-policy { text-decoration: underline; color: inherit; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.consent-actions button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #667572;
  border-radius: 0;
  background: transparent;
  color: #283334;
  font: inherit;
  cursor: pointer;
}
.consent-actions button:hover { background: #dce1d9; }
#consent-banner :focus-visible, .consent-links :focus-visible { outline: 2px solid #416979; outline-offset: 4px; }
.consent-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  margin: 0;
  color: #dce6e5;
  font: 11px/1.4 var(--sans, var(--font-sans, system-ui, sans-serif));
}
body > .consent-links { margin: 20px auto 35px; }
.consent-links a, .consent-links button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.consent-links a:hover, .consent-links button:hover { text-decoration: underline; }
body.consent-visible { padding-bottom: var(--consent-space, 240px); }
.privacy-sheet h2 { margin: 30px 0 12px; font: 400 28px/1.2 var(--serif, var(--font-serif, Georgia, serif)); }
.privacy-sheet p, .privacy-sheet li { font: 16px/1.65 var(--sans, var(--font-sans, system-ui, sans-serif)); }
.privacy-sheet a { text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  #consent-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 20px; }
  .consent-actions button { flex: 1; }
}
@media (max-width: 400px) {
  #consent-banner { left: 10px; right: 10px; font-size: 13px; }
  #consent-banner h2 { font-size: 22px; }
  .consent-actions { gap: 8px; }
  .consent-actions button { padding: 10px 8px; }
}

.site-footer .consent-links { color: var(--muted, #6a7488); font-size: 12px; }
.privacy-page .privacy-sheet { max-width: 800px; margin: 120px auto 60px; padding: 0 24px; }
.privacy-page .privacy-sheet h1 { font: 400 clamp(36px, 6vw, 56px)/1.1 var(--font-serif, Georgia, serif); margin: 0 0 30px; }
.privacy-page .privacy-sheet h2 { font-family: var(--font-serif, Georgia, serif); }
@media (max-width: 650px) { .privacy-page .privacy-sheet { margin-top: 100px; } }
