html.kk-ors-consent-open,
html.kk-ors-consent-open body {
  overflow: hidden;
}

.kk-ors-consent {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.kk-ors-consent.is-open {
  display: flex;
}

.kk-ors-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.kk-ors-consent__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(82vh, 760px);
  overflow-y: auto;
  background: #fff;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.kk-ors-consent__title {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  color: #1a1a1a;
}

.kk-ors-consent__body {
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

.kk-ors-consent__body ul {
  margin: 0;
  padding-left: 1.4em;
}

.kk-ors-consent__body li + li {
  margin-top: 8px;
}

.kk-ors-consent__actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.kk-ors-consent__agree,
.kk-ors-consent__back {
  width: 100%;
  min-height: 52px;
  border: 1px solid #1a1a1a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.kk-ors-consent__agree {
  background: #1a1a1a;
  color: #fff;
}

.kk-ors-consent__back {
  background: #fff;
  color: #1a1a1a;
}

@media (max-width: 767px) {
  .kk-ors-consent {
    align-items: flex-end;
    padding: 0;
  }

  .kk-ors-consent__dialog {
    width: 100%;
    max-height: 88vh;
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
  }

  .kk-ors-consent__title {
    font-size: 20px;
  }
}
