/* Sitewide storage notice. A short card at the bottom right. */
.mm-cookie {
  position: fixed;
  z-index: 80;
  inset: auto 16px calc(16px + env(safe-area-inset-bottom)) auto;
  width: min(400px, calc(100vw - 32px));
  height: auto;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #f4efe6;
  overflow: visible;
  box-sizing: border-box;
  font: 13px/1.45 "Montserrat", "Segoe UI", sans-serif;
}
/* The top layer can close this card while it is still the open notice. Keep it on screen. */
.mm-cookie.is-open { display: block; }
.mm-cookie-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 14px 16px 12px;
  border: 1px solid #c4a36a;
  border-radius: 16px;
  background: #191c1fe0;
  color: #f4efe6;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 44px #00000066;
  animation: mm-cookie-rise 560ms cubic-bezier(.2, .8, .3, 1);
}
.mm-cookie.is-settled .mm-cookie-card { animation: none; }
.mm-cookie-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
.mm-cookie-kicker {
  margin: 0;
  color: #e4c48a;
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.mm-cookie-card p { margin: 0 0 8px; color: #f4efe6; }
.mm-cookie-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
}
.mm-cookie-policies a { color: #f4efe6; text-underline-offset: 3px; }
.mm-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.mm-cookie-actions button {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  font: inherit;
  cursor: pointer;
}
.mm-cookie-choice { flex: 1 1 140px; }
.mm-cookie-allow { border: 1px solid #b98a4a; background: #b98a4a; color: #14120c; }
.mm-cookie-essential { border: 1px solid #d7d0c4; background: transparent; color: #f4efe6; }
.mm-cookie button.mm-cookie-allow:hover,
.mm-cookie button.mm-cookie-allow:focus-visible {
  background: #14120c;
  border-color: #e4c48a;
  color: #e4c48a;
}
.mm-cookie button.mm-cookie-essential:hover,
.mm-cookie button.mm-cookie-essential:focus-visible,
.mm-cookie button.mm-cookie-close:hover,
.mm-cookie button.mm-cookie-close:focus-visible,
.mm-cookie-tab:hover,
.mm-cookie-tab:focus-visible {
  background: transparent;
  border-color: #e4c48a;
  color: #e4c48a;
}
.mm-cookie-close {
  position: static;
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #d7d0c4;
  border-radius: 12px;
  background: transparent;
  color: #f4efe6;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.mm-cookie button:focus-visible,
.mm-cookie a:focus-visible,
.mm-cookie-tab:focus-visible,
.footer-policies .mm-cookie-footer:focus-visible {
  outline: 3px solid #e4c48a;
  outline-offset: 3px;
}
.mm-cookie-tab {
  position: fixed;
  z-index: 70;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #c4a36a;
  border-radius: 999px;
  background: #191c1fcc;
  color: #f4efe6;
  font: 13px/1 "Montserrat", "Segoe UI", sans-serif;
  cursor: pointer;
}
.footer-policies .mm-cookie-footer {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: 1.55;
  text-decoration: underline;
  text-underline-offset: 3px;
  vertical-align: baseline;
  cursor: pointer;
}
.footer-policies .mm-cookie-footer:hover,
.footer-policies .mm-cookie-footer:focus-visible {
  background: transparent;
  border-color: transparent;
  color: #d5af77;
  transform: none;
}
@media (min-width: 701px) {
  body:has(.mm-cookie.is-open) .motion-controls { bottom: var(--mm-cookie-space, 160px); }
}
@keyframes mm-cookie-rise {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mm-cookie-card { animation: none; }
}
