.djv-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100010;
  display: flex;
  width: min(calc(100% - 40px), 720px);
  padding: 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #211c26;
  box-shadow: 0 18px 55px rgba(25,13,22,.3);
  color: #fff;
  font-family: Inter, sans-serif;
}

.djv-consent[hidden] { display: none; }
.djv-consent p { margin: 6px 0 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.5; }
.djv-consent a { color: #ffb49b; text-decoration: underline; text-underline-offset: 3px; }
.djv-consent__actions { display: flex; flex-shrink: 0; gap: 8px; }
.djv-consent button { min-width: 92px; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.djv-consent button[data-consent="granted"] { border-color: transparent; background: linear-gradient(135deg, #d10056, #ff9275); }
.djv-consent button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 1024px) {
  /* Keep the fixed consent controls clear of the fixed mobile menu button. */
  .djv-consent { bottom: 96px; }
}

@media (max-width: 640px) {
  .djv-consent { right: 8px; bottom: 88px; width: calc(100% - 16px); padding: 10px 12px; align-items: stretch; flex-direction: column; gap: 8px; border-radius: 13px; }
  .djv-consent strong { font-size: 13px; }
  .djv-consent p { margin-top: 3px; font-size: 10.5px; line-height: 1.32; }
  .djv-consent__actions { width: 100%; }
  .djv-consent button { min-width: 0; min-height: 38px; flex: 1; padding: 7px 10px; font-size: 12px; }
}

@media (orientation: landscape) and (max-width: 950px) and (max-height: 500px) {
  .djv-consent {
    right: 88px;
    bottom: 10px;
    width: min(calc(100% - 108px), 720px);
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .djv-consent p {
    max-width: 480px;
    font-size: 11px;
    line-height: 1.35;
  }

  .djv-consent__actions {
    width: auto;
    flex: 0 0 auto;
  }

  .djv-consent button {
    min-width: 84px;
    min-height: 38px;
    padding: 7px 12px;
  }
}
