.mw-metrika-pixel {
  position: absolute;
  clip-path: inset(50%);
}

.mw-cookie-notice:not([hidden]) {
  position: fixed;
  z-index: 90;
  inset-inline: 0;
  bottom: max(0.65rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  max-width: min(38rem, calc(100% - 1.3rem));
  padding: 0.38rem 0.42rem 0.38rem 0.85rem;
  margin-inline: auto;
  color: var(--palekh-text, #dfd0b9);
  background: #17120e;
  border: 1px solid var(--palekh-line, #70502d);
  border-radius: 0.7rem;
  box-shadow: 0 6px 20px rgb(0 0 0 / 35%);
  font-family: "Golos Text", system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.mw-cookie-notice p {
  margin: 0;
}

.mw-cookie-notice button {
  flex-shrink: 0;
  min-height: 2.25rem;
  padding: 0.32rem 0.65rem;
  color: var(--palekh-gold, #ebbc70);
  background: #291d12;
  border: 1px solid var(--palekh-line, #70502d);
  border-radius: 0.46rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.mw-cookie-notice button:hover,
.mw-cookie-notice button:focus-visible {
  color: var(--palekh-ivory, #fff0d7);
  border-color: var(--palekh-gold, #ebbc70);
}

@media (max-width: 420px) {
  .mw-cookie-notice:not([hidden]) {
    gap: 0.5rem;
    padding-inline-start: 0.65rem;
  }

  .mw-cookie-notice button {
    min-height: 2.5rem;
  }
}
