.analytics-consent[hidden] {
  display: none!important
}

.analytics-consent {
  position: fixed;
  z-index: 10000;
  bottom: max(14px,env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(650px,calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 19px;
  border: 1px solid #d7b58c;
  border-radius: 14px;
  background: #201914;
  color: #f8f0e3;
  box-shadow: 0 15px 45px #000a;
  font: 14px/1.5 system-ui,sans-serif
}

.analytics-consent-copy {
  flex: 1;
  min-width: 0
}

.analytics-consent-copy strong {
  display: block;
  font: 600 17px/1.3 Georgia,serif
}

.analytics-consent-copy p {
  margin: 4px 0 0;
  color: #e4d8ca
}

.analytics-consent a {
  color: #ffd5a6;
  text-underline-offset: 3px
}

.analytics-consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0
}

.analytics-consent button {
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #bb9c79;
  background: transparent;
  color: #f8f0e3;
  font: 600 13px system-ui,sans-serif;
  cursor: pointer
}

.analytics-consent button[data-analytics-accept] {
  background: #ebbf83;
  color: #25180d;
  border-color: #ebbf83
}

.analytics-consent button:focus-visible,.analytics-preferences:focus-visible {
  outline: 2px solid #f9cc94;
  outline-offset: 3px
}

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

@media(max-width:620px) {
  .analytics-consent {
    display: block;
    padding: 17px
  }
  .analytics-consent-actions {
    margin-top: 14px
  }
  .analytics-consent button {
    flex: 1
  }
  .analytics-consent-copy strong {
    font-size: 16px
  }
}
