.meta-consent {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin-inline: auto;
  padding: 18px;
  border: 1px solid #d9e1ef;
  border-radius: 18px;
  background: #fff;
  color: #15233b;
  box-shadow: 0 18px 60px rgb(15 35 70 / 22%);
  font: 500 14px/1.5 Inter, system-ui, sans-serif;
}
.meta-consent[hidden] { display: none; }
.meta-consent__copy { max-width: 620px; }
.meta-consent__copy strong { display: block; margin-bottom: 4px; font-size: 16px; }
.meta-consent__copy p { margin: 0; }
.meta-consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.meta-consent__button,
.meta-preferences-button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #b9c7db;
  border-radius: 999px;
  background: #fff;
  color: #173058;
  font: 700 14px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}
.meta-consent__button--primary { border-color: #1267d6; background: #1267d6; color: #fff; }
.meta-consent__button:focus-visible,
.meta-preferences-button:focus-visible { outline: 3px solid #76aef4; outline-offset: 2px; }
.meta-preferences {
  width: min(560px, calc(100% - 32px));
  padding: 24px;
  border: 0;
  border-radius: 20px;
  color: #15233b;
  box-shadow: 0 22px 80px rgb(4 17 37 / 35%);
}
.meta-preferences::backdrop { background: rgb(8 20 38 / 65%); }
.meta-preferences h2 { margin: 0 0 12px; font: 750 28px/1.15 Inter, system-ui, sans-serif; }
.meta-preferences p { font: 500 15px/1.6 Inter, system-ui, sans-serif; }
.meta-preferences__environment { color: #586a84; font-size: 13px !important; }
.meta-preferences-button { position: fixed; z-index: 9999; right: 16px; bottom: 16px; font-size: 13px; }
.meta-consent:not([hidden]) ~ .meta-preferences-button { visibility: hidden; }
@media (max-width: 700px) {
  .meta-consent { align-items: stretch; flex-direction: column; gap: 14px; }
  .meta-consent__actions { justify-content: stretch; }
  .meta-consent__button { flex: 1 1 100px; }
}
