.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(calc(100% - 28px), 820px);
  padding: 20px;
  border: 1px solid #c7cfef;
  border-radius: 18px;
  background: #fff;
  color: #151b2c;
  box-shadow: 0 18px 50px rgba(21, 27, 44, .22);
  transform: translateX(-50%);
}

.consent-banner[hidden] { display: none; }
.consent-banner strong { display: block; margin-bottom: 6px; color: #271fa0; font-size: 1.05rem; }
.consent-banner p { margin: 0; color: #4b556d; font-size: .92rem; line-height: 1.55; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.consent-button {
  min-height: 44px;
  padding: 10px 15px;
  border: 2px solid #271fa0;
  border-radius: 999px;
  background: #271fa0;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.consent-button.secondary { background: #fff; color: #271fa0; }
.consent-button:focus-visible, .consent-settings:focus-visible { outline: 3px solid #ffcb45; outline-offset: 3px; }
.consent-settings { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

@media (max-width: 720px) {
  .consent-banner { grid-template-columns: 1fr; gap: 16px; bottom: 10px; max-height: calc(100vh - 20px); overflow-y: auto; }
  .consent-actions { justify-content: stretch; }
  .consent-button { flex: 1 1 145px; }
}
