.mm21719-consent,
.mm21719-consent *,
.mm21719-modal,
.mm21719-modal *,
.mm21719-fab {
  box-sizing: border-box;
  font-family: "Rubik", Arial, sans-serif;
}

.mm21719-modal-open {
  overflow: hidden;
}

.mm21719-consent {
  background: #102143;
  bottom: 0;
  box-shadow: 0 -16px 40px rgba(6, 16, 39, 0.24);
  color: #f9fbff;
  display: grid;
  gap: 8px;
  grid-template-rows: minmax(0, 1fr) auto;
  left: 0;
  min-height: 0;
  padding: 14px 20px;
  position: fixed;
  right: 0;
  width: 100%;
  z-index: 99998;
}

.mm21719-consent[hidden],
.mm21719-modal[hidden],
.mm21719-fab[hidden] {
  display: none !important;
}

.mm21719-consent__main {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 0;
}

.mm21719-consent__text {
  min-width: 0;
}

.mm21719-consent__text p {
  color: rgba(249, 251, 255, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
}

.mm21719-consent__text a {
  color: rgba(249, 251, 255, 0.86);
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mm21719-consent__footer {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  min-width: 0;
}

.mm21719-consent__dev a {
  color: rgba(249, 251, 255, 0.48);
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mm21719-consent__dev {
  margin: 0 !important;
  text-align: right;
}

.mm21719-consent__actions,
.mm21719-modal__actions {
  display: flex;
  gap: 12px;
}

.mm21719-consent button,
.mm21719-modal button {
  appearance: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  min-height: 40px;
  padding: 0 22px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.mm21719-consent__primary,
.mm21719-modal__primary {
  background: #158a7e;
  border: 1px solid #158a7e;
  color: #fff;
}

.mm21719-consent__primary:hover,
.mm21719-modal__primary:hover {
  background: #19a092;
  border-color: #19a092;
  transform: translateY(-1px);
}

.mm21719-consent__ghost,
.mm21719-modal__ghost {
  background: transparent;
  border: 2px solid rgba(249, 251, 255, 0.34);
  color: #fff;
}

.mm21719-consent__ghost:hover,
.mm21719-modal__ghost:hover {
  border-color: rgba(249, 251, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(249, 251, 255, 0.12);
}

.mm21719-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 26px;
  position: fixed;
  z-index: 99999;
}

.mm21719-modal__backdrop {
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.52);
  inset: 0;
  position: absolute;
}

.mm21719-modal__panel {
  background: #102143;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(4, 10, 24, 0.45);
  color: #fff;
  max-height: min(86vh, 600px);
  max-width: 600px;
  overflow: auto;
  padding: 26px 28px 28px;
  position: relative;
  width: min(100%, 600px);
}

.mm21719-modal__close {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #fff;
  display: inline-flex;
  font-size: 28px;
  height: 38px;
  justify-content: center;
  min-height: 0;
  padding: 0;
  position: absolute;
  right: 28px;
  top: 26px;
  width: 38px;
}

.mm21719-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.mm21719-modal h2,
.mm21719-modal h3,
.mm21719-modal p {
  margin-top: 0;
}

.mm21719-modal h2 {
  color: #fff !important;
  font-size: 30px;
  font-weight: 700 !important;
  line-height: 1.16;
  margin-bottom: 12px;
  padding-right: 54px;
}

.mm21719-modal__intro {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 18px;
}

.mm21719-modal__category {
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 10px;
  padding: 14px 16px;
}

.mm21719-modal__category h3 {
  color: #fff !important;
  font-size: 30px;
  font-weight: 700 !important;
  line-height: 1.2;
  margin-bottom: 6px;
}

.mm21719-modal__category p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0;
}

.mm21719-switch {
  display: inline-flex;
}

.mm21719-switch input {
  opacity: 0;
  position: absolute;
}

.mm21719-switch > span {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: block;
  height: 32px;
  position: relative;
  transition: background 160ms ease;
  width: 56px;
}

.mm21719-switch > span::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 24px;
  left: 4px;
  position: absolute;
  top: 4px;
  transition: transform 160ms ease;
  width: 24px;
}

.mm21719-switch input:checked + span {
  background: #158a7e;
}

.mm21719-switch input:checked + span::after {
  transform: translateX(24px);
}

.mm21719-switch input:focus-visible + span,
.mm21719-consent button:focus-visible,
.mm21719-modal button:focus-visible,
.mm21719-fab:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.mm21719-modal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 16px;
}

.mm21719-modal__links a {
  color: rgba(249, 251, 255, 0.82);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mm21719-modal__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 14px;
}

.mm21719-modal__actions button {
  font-size: 16px;
  min-height: 46px;
}

.mm21719-fab {
  align-items: center;
  appearance: none;
  background: #102143;
  border: 0;
  border-radius: 50%;
  bottom: 30px;
  box-shadow: 0 18px 32px rgba(9, 20, 43, 0.34);
  color: #16b4a4;
  cursor: pointer;
  display: inline-flex;
  height: 50px;
  justify-content: center;
  left: 30px;
  padding: 0;
  position: fixed;
  width: 50px;
  z-index: 99997;
}

.mm21719-fab svg {
  fill: none;
  height: 28px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 28px;
}

.mm21719-fab:hover {
  transform: translateY(-2px);
}

.mm21719-modal .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

@media (max-width: 900px) {
  .mm21719-consent {
    gap: 10px;
    padding: 14px 20px;
  }

  .mm21719-consent__main {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .mm21719-consent button {
    min-height: 40px;
    width: 100%;
  }

  .mm21719-consent__footer {
    align-items: flex-start;
    gap: 8px;
    justify-content: flex-start;
  }

  .mm21719-consent__dev {
    text-align: left;
  }

  .mm21719-modal__panel {
    border-radius: 16px;
    padding: 28px 20px 24px;
  }

  .mm21719-modal__close {
    font-size: 28px;
    height: 38px;
    right: 20px;
    top: 28px;
    width: 38px;
  }

  .mm21719-modal h2 {
    font-size: 26px;
    padding-right: 52px;
  }

  .mm21719-modal__intro,
  .mm21719-modal__category p {
    font-size: 16px;
  }

  .mm21719-modal__category {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .mm21719-modal__category h3 {
    font-size: 26px;
  }

  .mm21719-modal__actions {
    grid-template-columns: 1fr;
  }

  .mm21719-modal__actions button {
    font-size: 16px;
    min-height: 46px;
  }

  .mm21719-fab {
    bottom: 30px;
    height: 50px;
    left: 30px;
    width: 50px;
  }

  .mm21719-fab svg {
    height: 28px;
    width: 28px;
  }
}
