/* The cookie line: the home page pop-up's language (blurred page, white text), one small line, bottom centre. */
.dj-consent {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 9000;
  display: flex;
  align-items: baseline;
  gap: 22px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 9px 20px 10px;
  transform: translateX(-50%);
  background: rgba(24, 25, 23, .40);
  -webkit-backdrop-filter: blur(26px) saturate(.85);
  backdrop-filter: blur(26px) saturate(.85);
  color: #f4f2ec;
  font-style: italic;
  font-weight: 300;
  font-size: var(--text, 16px);
  line-height: 1.4;
  letter-spacing: .01em;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.dj-consent.is-shown { opacity: 1; pointer-events: auto; }
.dj-consent__text { margin: 0; }
.dj-consent__actions { display: flex; gap: 18px; white-space: nowrap; }
.dj-consent__btn {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.dj-consent__btn + .dj-consent__btn { text-decoration: none; }
/* a finger-sized tap area that doesn't move anything */
.dj-consent__btn::after { content: ""; position: absolute; left: -9px; right: -9px; top: 50%; height: 40px; transform: translateY(-50%); }
.dj-consent__btn:focus { outline: none; }
.dj-consent__btn:focus-visible { outline: 1px solid #f4f2ec; outline-offset: 4px; }
@media (hover: hover) { .dj-consent__btn:hover { opacity: .7; } }
.dj-consent__btn:active { opacity: .6; }

/* on paper: the page's own white, blurred, graphite ink and a hairline */
.dj-consent--paper {
  background: rgba(252, 252, 252, .86);
  color: #4a4b4b;
  box-shadow: 0 0 0 1px rgba(90, 91, 91, .16);
}
.dj-consent--paper .dj-consent__btn:focus-visible { outline-color: #4a4b4b; }

@media (max-width: 719px) {
  .dj-consent {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    padding: 10px 16px 11px;
    transform: none;
    font-size: var(--text, 13px);
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) { .dj-consent { transition: none; } }
