.consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 31, 63, 0.38);
  backdrop-filter: blur(3px);
}

.consent-backdrop[hidden],
.consent-settings[hidden] {
  display: none;
}

.consent-panel {
  box-sizing: border-box;
  width: min(760px, 100%);
  padding: clamp(24px, 4vw, 38px);
  color: #0b2d59;
  background: #fffdf8;
  border: 1px solid rgba(185, 128, 34, 0.42);
  box-shadow: 0 26px 80px rgba(4, 31, 63, 0.3);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.consent-kicker {
  margin: 0 0 10px;
  color: #b98022;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.consent-panel h2 {
  margin: 0 0 12px;
  color: #0b2d59;
  font: 400 clamp(27px, 4vw, 39px)/1.08 Georgia, "Times New Roman", serif;
}

.consent-panel > p:not(.consent-kicker) {
  max-width: 680px;
  margin: 0;
  color: rgba(11, 45, 89, 0.78);
  font-size: 15px;
  line-height: 1.65;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.consent-actions button,
.consent-settings {
  box-sizing: border-box;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #0d4c91;
  border-radius: 0;
  cursor: pointer;
  font: 700 14px/1 "Helvetica Neue", Arial, sans-serif;
}

.consent-accept {
  color: white;
  background: #0d4c91;
}

.consent-decline {
  color: #0d4c91;
  background: transparent;
}

.consent-accept:hover,
.consent-accept:focus-visible {
  background: #062a55;
}

.consent-decline:hover,
.consent-decline:focus-visible {
  background: #f4efe4;
}

.consent-privacy {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 2px;
  color: #0b2d59;
  border-bottom: 1px solid #b98022;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.consent-settings {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 900;
  min-height: 36px;
  padding: 0 13px;
  color: #0b2d59;
  background: rgba(255, 253, 248, 0.96);
  border-color: rgba(11, 45, 89, 0.35);
  box-shadow: 0 8px 24px rgba(4, 31, 63, 0.14);
  font-size: 11px;
}

.consent-settings:hover,
.consent-settings:focus-visible {
  border-color: #b98022;
}

@media (max-width: 600px) {
  .consent-backdrop { padding: 12px; }
  .consent-panel { padding: 23px 20px; }
  .consent-actions { display: grid; }
  .consent-actions button { width: 100%; }
}
