:root {
  --mrp-consent-bg: #111510;
  --mrp-consent-panel: #181d17;
  --mrp-consent-text: #edf0e7;
  --mrp-consent-muted: #a9b0a4;
  --mrp-consent-accent: #b8ef4a;
  --mrp-consent-line: rgba(237, 240, 231, 0.18);
}

.mrp-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1400;
  width: min(520px, calc(100vw - 36px));
  color: var(--mrp-consent-text);
  background: linear-gradient(145deg, rgba(24, 29, 23, 0.98), rgba(10, 13, 10, 0.99));
  border: 1px solid var(--mrp-consent-line);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.48);
  font: 14px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mrp-consent[hidden] {
  display: none;
}

.mrp-consent::before {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(184, 239, 74, 0.09);
}

.mrp-consent__inner {
  position: relative;
  padding: 24px;
}

.mrp-consent__eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--mrp-consent-accent);
  font: 700 10px/1.2 "Courier New", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mrp-consent h2 {
  margin: 0 0 10px;
  color: var(--mrp-consent-text);
  font: 750 clamp(21px, 4vw, 28px)/1.05 system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.mrp-consent p {
  margin: 0;
  color: var(--mrp-consent-muted);
}

.mrp-consent a {
  color: var(--mrp-consent-text);
  text-decoration-color: var(--mrp-consent-accent);
  text-underline-offset: 3px;
}

.mrp-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.mrp-consent__button {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--mrp-consent-line);
  color: var(--mrp-consent-text);
  background: transparent;
  cursor: pointer;
  font: 700 11px/1.2 "Courier New", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mrp-consent__button:hover,
.mrp-consent__button:focus-visible {
  color: #11150f;
  background: var(--mrp-consent-accent);
  border-color: var(--mrp-consent-accent);
  outline: none;
}

.mrp-consent__button--primary {
  color: #11150f;
  background: var(--mrp-consent-accent);
  border-color: var(--mrp-consent-accent);
}

.mrp-consent__preferences {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--mrp-consent-line);
}

.mrp-consent__preferences[hidden] {
  display: none;
}

.mrp-consent__choice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--mrp-consent-text);
}

.mrp-consent__choice input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--mrp-consent-accent);
}

.mrp-consent__choice strong,
.mrp-consent__choice small {
  display: block;
}

.mrp-consent__choice small {
  margin-top: 2px;
  color: var(--mrp-consent-muted);
  font-size: 12px;
}

.mrp-cookie-settings {
  appearance: none;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mrp-cookie-settings:hover,
.mrp-cookie-settings:focus-visible {
  color: var(--mrp-consent-accent);
  outline: none;
}

@media (max-width: 560px) {
  .mrp-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .mrp-consent__inner {
    padding: 20px;
  }

  .mrp-consent__actions,
  .mrp-consent__button {
    width: 100%;
  }
}

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