.mash-consent[hidden] {
  display: none !important;
}

.mash-consent {
  position: fixed;
  z-index: 2147483000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  width: min(820px, calc(100% - 36px));
  margin-left: auto;
  padding: 18px;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  color: #ededf0;
  background: rgba(20, 20, 23, .98);
  border: 1px solid #3a3a43;
  border-radius: 14px;
  box-shadow: 0 20px 65px rgba(0, 0, 0, .52);
  font: 14px/1.5 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mash-consent__copy {
  max-width: 570px;
}

.mash-consent__copy strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 16px;
}

.mash-consent__copy p {
  margin: 0;
  color: #b7b7c0;
}

.mash-consent__copy a {
  color: #ff8b68;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.mash-consent__button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.mash-consent__button:focus-visible,
.mash-privacy-trigger:focus-visible {
  outline: 3px solid rgba(255, 139, 104, .5);
  outline-offset: 2px;
}

.mash-consent__button--primary {
  color: #fff;
  background: #e8441a;
}

.mash-consent__button--primary:hover {
  background: #ff6137;
}

.mash-consent__button--secondary {
  color: #ededf0;
  background: #27272d;
  border-color: #45454f;
}

.mash-consent__button--secondary:hover {
  background: #323239;
}

.mash-privacy-trigger {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.mash-privacy-trigger:hover {
  color: #ededf0;
}

@media (max-width: 720px) {
  .mash-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
    width: auto;
    padding: 16px;
  }

  .mash-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
  }
}

@media (max-width: 430px) {
  .mash-consent__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mash-consent *,
  .mash-consent *::before,
  .mash-consent *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
