.peakripe-consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 9999;
  color: #f8f4ec;
  font-family: inherit;
}

.peakripe-consent__panel {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(248, 244, 236, 0.18);
  border-radius: 20px;
  background: rgba(5, 5, 7, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.peakripe-consent__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.15;
}

.peakripe-consent__text {
  margin: 0;
  max-width: 68ch;
  color: rgba(248, 244, 236, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
}

.peakripe-consent__text + .peakripe-consent__text {
  margin-top: 0.25rem;
}

.peakripe-consent__actions,
.peakripe-consent-settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: flex-end;
}

.peakripe-consent__button {
  min-height: 46px;
  border: 1px solid rgba(248, 244, 236, 0.22);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: transparent;
  color: #f8f4ec;
  font: inherit;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.peakripe-consent__button:hover {
  border-color: rgba(248, 244, 236, 0.42);
}

.peakripe-consent__button:focus-visible {
  outline: 2px solid #f8f4ec;
  outline-offset: 3px;
}

.peakripe-consent__button--accept {
  min-width: 220px;
  min-height: 52px;
  background: #f8f4ec;
  color: #050507;
  border-color: #f8f4ec;
  font-weight: 760;
}

.peakripe-consent__button--reject {
  min-width: 132px;
}

.peakripe-consent__button--privacy {
  min-width: 104px;
}

.peakripe-consent-settings {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(248, 244, 236, 0.14);
  border-radius: 18px;
  background: rgba(5, 5, 7, 0.54);
  color: #f8f4ec;
}

.peakripe-consent-settings__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.peakripe-consent-settings__label {
  color: rgba(248, 244, 236, 0.72);
}

.peakripe-consent-settings__message {
  margin: 0.85rem 0 0;
  color: rgba(248, 244, 236, 0.78);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .peakripe-consent__panel {
    grid-template-columns: 1fr;
  }

  .peakripe-consent__actions,
  .peakripe-consent-settings__actions {
    justify-content: stretch;
  }

  .peakripe-consent__button,
  .peakripe-consent__button--accept,
  .peakripe-consent__button--reject,
  .peakripe-consent__button--privacy {
    width: 100%;
  }
}
