.consent-banner[hidden], .consent-dialog [hidden] { display: none; }
.consent-banner {
  position: fixed;
  z-index: 110;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  max-width: 950px;
  margin-inline: auto;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 26px rgb(0 0 0 / 16%);
  font-size: 15px;
}
.consent-banner h2, .consent-dialog h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.consent-banner p { max-width: 62ch; margin: 0 0 5px; }
.consent-banner a { color: #913400; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions button {
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #3e3e42;
  border-radius: 9px;
  background: #fff;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}
.consent-actions button:hover { background: #f5f5f7; }
.consent-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: clamp(16px, 5vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
}
.consent-dialog::backdrop { background: rgb(0 0 0 / 45%); }
.consent-dialog fieldset { margin: 0 0 18px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.consent-dialog legend { padding-inline: 5px; font-weight: 650; }
.consent-dialog label { display: flex; gap: 10px; padding: 7px; }
.consent-dialog input { align-self: start; width: 18px; height: 18px; accent-color: #a83b00; }
