.ha-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 10000;
  display: flex;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: #111315;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .42);
  color: #f8f5ee;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.ha-consent__copy {
  min-width: 0;
}

.ha-consent__copy strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: .98rem;
}

.ha-consent__copy p {
  margin: 0;
  color: #c8c6c0;
  font-size: .82rem;
  line-height: 1.55;
}

.ha-consent__copy a {
  color: #ffbd70;
  font-weight: 750;
  text-underline-offset: 3px;
}

.ha-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.ha-consent__button,
.ha-privacy-link {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.ha-consent__button {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.ha-consent__button--secondary {
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #f8f5ee;
}

.ha-consent__button--primary {
  background: #ff9a5e;
  color: #17191b;
}

.ha-consent__button:focus-visible,
.ha-privacy-link:focus-visible {
  outline: 3px solid #ffbd70;
  outline-offset: 3px;
}

.ha-privacy-link {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .ha-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 16px;
    gap: 15px;
    align-items: stretch;
    flex-direction: column;
  }

  .ha-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ha-consent__button {
    white-space: normal;
  }
}
