.consent-banner {
  position: fixed;
  z-index: 10000;
  left: auto;
  right: 14px;
  bottom: 14px;
  width: 248px;
  max-width: calc(100vw - 24px);
  margin: 0;
  padding: 10px 11px 11px;
  display: block;
  color: #f7f4ec;
  background: rgba(21, 63, 60, 0.97);
  border: 1px solid rgba(247, 244, 236, 0.16);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(17, 42, 40, 0.06);
}

.consent-settings h2 {
  margin: 0 0 6px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.consent-settings p {
  margin: 0 0 7px;
  max-width: none;
  font-size: 13.5px;
  line-height: 1.45;
}

.consent-settings a {
  color: inherit;
  font-size: 12.5px;
  text-underline-offset: 0.18em;
}

.consent-banner .consent-privacy-link {
  display: inline-block;
  color: rgba(247, 244, 236, 0.86);
  font-size: 12.5px;
  line-height: 1.25;
  text-underline-offset: 0.18em;
}

.consent-banner .consent-privacy-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid #f7f4ec;
  outline-offset: 2px;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.consent-action {
  min-height: 38px;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #173d3a;
  background: transparent;
  border: 1px solid rgba(23, 61, 58, 0.62);
  border-radius: 8px;
  cursor: pointer;
}

.consent-action:hover {
  background: rgba(23, 61, 58, 0.07);
}

.consent-action:focus-visible {
  background: rgba(23, 61, 58, 0.07);
  outline: 2px solid #173d3a;
  outline-offset: 2px;
}

.consent-banner .consent-actions {
  grid-template-columns: max-content max-content;
  justify-content: start;
  gap: 6px;
  margin-top: 7px;
}

.consent-banner .consent-action {
  min-height: 32px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 500;
  color: #f7f4ec;
  border-color: rgba(247, 244, 236, 0.44);
  border-radius: 6px;
  white-space: nowrap;
}

.consent-banner .consent-action:hover,
.consent-banner .consent-action:focus-visible {
  background: rgba(247, 244, 236, 0.09);
}

.consent-banner .consent-action:focus-visible {
  outline-color: #f7f4ec;
}

.privacy-settings-entry {
  padding: 6px 1rem 9px;
  text-align: center;
  color: #fffdf8;
  background: #153f3c;
}

.privacy-settings-link {
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.consent-settings-backdrop {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 18px;
  pointer-events: none;
  background: transparent;
}

.consent-settings {
  position: relative;
  width: 350px;
  max-width: calc(100vw - 36px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 17px;
  pointer-events: auto;
  color: #173d3a;
  background: #fffdf8;
  border: 1px solid rgba(23, 61, 58, 0.16);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(17, 42, 40, 0.12);
}

.consent-close {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 36px;
  height: 36px;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  color: #173d3a;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.consent-close:focus-visible {
  outline: 2px solid #173d3a;
  outline-offset: 2px;
}

.consent-status { font-weight: 700; }

@media (max-width: 680px) {
  .consent-banner {
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 248px;
    max-width: calc(100vw - 24px);
    padding: 10px 11px 11px;
  }

  .consent-settings-backdrop {
    padding: 12px;
  }

  .consent-settings {
    width: 100%;
    max-width: none;
    max-height: calc(100vh - 24px);
    padding: 16px;
  }
}

@media (max-width: 280px) {
  .consent-banner {
    left: 12px;
    width: auto;
  }

  .consent-banner .consent-actions { grid-template-columns: 1fr; }
}
