.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  max-width: 680px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(9, 11, 16, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

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

.consent-banner p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.4;
}

.consent-banner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.consent-actions .button {
  min-height: 36px;
  padding: 8px 13px;
}

.footer-consent-button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .consent-banner { left: 6px; right: 6px; bottom: 6px; padding: 9px 10px; }
  .consent-banner strong { margin-bottom: 3px; font-size: 0.8rem; }
  .consent-banner p { font-size: 0.74rem; line-height: 1.35; }
  .consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 7px; }
  .consent-actions .button { width: 100%; min-height: 34px; padding: 6px 8px; font-size: 0.7rem; }
}

/* V3: consent should not dominate the page composition. */
@media (min-width: 641px) {
  .consent-banner {
    left: auto;
    right: 22px;
    bottom: 22px;
    width: min(360px, calc(100vw - 44px));
    max-width: 360px;
    margin: 0;
    padding: 12px;
  }
  .consent-banner p { font-size: .78rem; line-height: 1.4; }
}
