.consent-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: grid;
  gap: 14px;
  width: min(430px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid var(--ink, #1e211c);
  border-radius: 0;
  background: var(--card, #fbf8f1);
  color: var(--ink, #1e211c);
  box-shadow: none;
  box-sizing: border-box;
  font-family: inherit;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner strong {
  display: block;
  margin-bottom: 7px;
  padding-right: 34px;
  font-size: 15px;
}

.consent-banner p {
  margin: 0;
  color: var(--body, #4a4d45);
  font-size: 12px;
  line-height: 1.65;
}

.consent-banner a {
  color: inherit;
  text-underline-offset: 3px;
}

.consent-dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.consent-dismiss:hover,
.consent-dismiss:focus-visible {
  background: rgba(30, 33, 28, .1);
}

.consent-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.consent-actions button {
  min-width: 72px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink, #1e211c);
  border-radius: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.consent-decline {
  background: transparent;
  color: var(--ink, #1e211c);
}

.consent-accept {
  border-color: var(--accent, #ff385c) !important;
  background: var(--accent, #ff385c);
  color: #fff;
}

.site-analytics-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

html[data-theme="dark"] .consent-banner {
  border-color: #e8e8e8;
  background: #191919;
  color: #f5f5f5;
  box-shadow: none;
}

html[data-theme="dark"] .consent-banner p {
  color: #b8b8b8;
}

html[data-theme="dark"] .consent-decline {
  border-color: #e8e8e8;
  color: #f5f5f5;
}

html[data-theme="dark"] .consent-accept {
  border-color: var(--accent, #ff5a72);
  background: var(--accent, #ff5a72);
  color: #fff;
}

@media (max-width: 768px) {
  .consent-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}
