.consent[hidden] { display: none; }
.consent {
  color-scheme: light;
  position: fixed; inset: auto 20px 20px; z-index: 1000;
  max-width: 740px; margin-inline: auto; padding: 24px;
  color: #0f1013; background: #fff; border: 1px solid #c9cbd0;
  border-radius: 14px; box-shadow: 0 8px 40px #0003;
  max-height: calc(100dvh - 40px); overflow-y: auto;
}
.consent h2 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; }
.consent p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; }
.consent .consent__status { padding: 10px 12px; background: #f1f2f4; border-radius: 8px; font-weight: 600; }
.consent a { color: #454951; text-decoration: underline; }
.consent__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.consent__actions button {
  flex: 1; min-height: 44px; padding: 10px 16px; font: inherit; font-size: 14px;
  font-weight: 600; color: #0f1013; background: #f8f8f7; border: 1px solid #737780;
  border-radius: 8px; cursor: pointer;
}
.consent__actions button:hover { background: #efefec; }
.consent__actions button:disabled { opacity: .5; cursor: default; }
.consent-settings { display: block; margin-top: 12px; padding: 4px 0; background: transparent;
  border: 0; color: #b8bbc2; font: inherit; text-decoration: underline; cursor: pointer; }
.consent-summary { display: block; color: #b8bbc2; font-size: 12px; }
.consent button:focus-visible, .consent-settings:focus-visible { outline: 3px solid #e84c3d; outline-offset: 3px; }
@media (max-width: 480px) {
  .consent { inset: auto 12px 12px; padding: 18px; }
  .consent__actions { flex-direction: column; gap: 8px; }
}
