.google-consent {
  position: fixed;
  z-index: 1000;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / 16%);
  color: #fff;
  background: rgb(10 11 19 / 92%);
  box-shadow: 0 6px 20px rgb(0 0 0 / 24%);
  font-family: inherit;
}

.google-consent__copy {
  display: flex;
  align-self: stretch;
  align-items: center;
}

.google-consent p {
  margin: 0;
  color: rgb(255 255 255 / 70%);
  font-size: 10.5px;
  line-height: 1.35;
}

.google-consent a {
  color: #a8e4f5;
  text-underline-offset: 3px;
}

.google-consent__actions {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
}

.google-consent__actions button {
  white-space: nowrap;
}

.google-consent button {
  appearance: none;
  padding: 7px 9px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 0;
  color: #fff;
  background: rgb(53 32 93 / 72%);
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
}

.google-consent button[data-google-consent="accepted"] {
  border-color: #73cbe7;
  color: #0a0b13;
  background: #73cbe7;
}

.google-consent button:hover,
.google-consent button:focus-visible {
  border-color: #a8e4f5;
  outline: none;
}

@media (max-width: 680px) {
  .google-consent {
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100% - 24px);
    padding: 10px;
  }

  .google-consent__copy {
    display: block;
  }

  .google-consent__actions {
    justify-content: flex-end;
    justify-self: end;
  }
}
