.consent-settings {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.consent-banner[hidden] { display: none; }
.consent-banner {
  position: fixed;
  z-index: 110;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 36px);
  width: min(460px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(48, 59, 51, .18);
  border-radius: 18px;
  background: #f4f2ee;
  color: #303b33;
  box-shadow: 0 14px 48px rgba(28, 34, 29, .18);
}
.consent-copy p { margin: 0; }
.consent-copy > p + p { margin-top: 8px; }
.consent-title { font-size: 1rem; font-weight: 600; }
.consent-copy > p:not(.consent-title) { font-size: .82rem; line-height: 1.45; }
.consent-copy a {
  display: inline-block;
  margin-top: 8px;
  color: inherit;
  font-size: .76rem;
  text-underline-offset: .2em;
}
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-actions button {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #303b33;
  border-radius: 999px;
  font: inherit;
  font-size: .76rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
.consent-reject { background: transparent; color: #303b33; }
.consent-accept { background: #303b33; color: #f4f2ee; }
.consent-actions button:focus-visible,
.consent-settings:focus-visible,
.consent-copy a:focus-visible { outline: 2px solid #74866f; outline-offset: 3px; }

@media (max-width: 640px) {
  .consent-banner {
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: auto;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
  }
  .consent-actions button { min-height: 46px; padding-inline: 8px; }
}

@media (max-width: 380px) {
  .consent-actions button { font-size: .7rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .consent-banner:not([hidden]) { animation: consent-enter .22s ease-out both; }
  @keyframes consent-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
