.consent-layer {
  position: fixed;
  z-index: 9500;
  left: 16px;
  bottom: 16px;
  width: min(470px, calc(100% - 32px));
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

.consent-layer-modal { inset: 0; display: grid; width: auto; padding: 16px; place-items: center; }

.consent-banner,
.consent-preferences {
  width: 100%;
  margin-inline: auto;
  padding: 18px;
  background: #fbf7ef;
  color: #16090a;
  border: 1px solid rgba(22, 9, 10, .22);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(12, 3, 4, .32);
}

.consent-banner h2,
.consent-preferences h2 { margin: 0 0 7px; font-size: clamp(19px, 2.2vw, 25px); line-height: 1; }
.consent-banner p,
.consent-preferences p { max-width: 760px; margin: 0; color: #625850; font-size: 12px; line-height: 1.48; }
.consent-banner a,
.consent-preferences a { color: #98001d; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: grid; margin-top: 13px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.consent-actions button,
.consent-save {
  min-height: 40px;
  padding: 9px 12px;
  background: transparent;
  color: #16090a;
  border: 1px solid #98001d;
  border-radius: 99px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}
.consent-actions button:hover,
.consent-actions button:focus-visible,
.consent-save:hover,
.consent-save:focus-visible { background: #98001d; color: #fff; }
.consent-preferences { width: min(620px, 100%); padding: clamp(20px, 3vw, 30px); }
.consent-pref-row { display: flex; margin: 22px 0; align-items: flex-start; gap: 12px; }
.consent-pref-row input { width: 22px; height: 22px; accent-color: #98001d; }
.consent-pref-row strong { display: block; }
.consent-pref-row small { display: block; margin-top: 3px; color: #625850; }
.consent-pref-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent-backdrop { position: fixed; z-index: 9499; inset: 0; background: rgba(12, 3, 4, .72); backdrop-filter: blur(10px); }

@media (max-width: 620px) {
  .consent-layer { left: 10px; bottom: 10px; width: calc(100% - 20px); }
  .consent-layer-modal { inset: 0; width: auto; padding: 10px; }
  .consent-banner { padding: 15px; }
  .consent-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .consent-actions button { padding-inline: 5px; font-size: 10px; }
  .consent-pref-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .consent-layer, .consent-backdrop { animation: none !important; transition: none !important; }
}
