/* 1p1 — bandeau de consentement (voir consent.js). Fichier dupliqué dans site/scripts/ et server/public/viewer/. */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid var(--border, #4b485b);
  border-radius: 16px;
  background: var(--surface-raised, #0a1623);
  color: var(--text, #f8f7f2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  font-family: var(--font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 14px;
  line-height: 1.5;
}
.consent-text {
  flex: 1 1 320px;
  margin: 0;
  color: var(--text-muted, #a8a4b4);
}
.consent-text a {
  color: var(--text, #f8f7f2);
  text-decoration: underline;
}
.consent-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.consent-btn {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--border, #4b485b);
  border-radius: 12px;
  background: transparent;
  color: var(--text, #f8f7f2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.consent-btn:hover {
  border-color: var(--text-muted, #a8a4b4);
}
.consent-btn--accept {
  border-color: var(--accent, #e7ff19);
  color: var(--accent, #e7ff19);
}
.consent-btn:focus-visible,
.consent-manage:focus-visible {
  outline: 2px solid var(--accent, #e7ff19);
  outline-offset: 2px;
}
.consent-manage {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: inherit;
  cursor: pointer;
}
@media (max-width: 540px) {
  .consent-actions {
    width: 100%;
  }
  .consent-btn {
    flex: 1 1 0;
  }
}
