.as-consent {
  position: fixed;
  z-index: 20000;
  inset: auto 1rem 1rem;
  max-width: 1120px;
  margin: auto;
  padding: 1.25rem 1.5rem;
  background: #16161f;
  color: #e4e4ef;
  border: 1px solid #45455c;
  border-radius: 1rem;
  box-shadow: 0 12px 50px #0006;
  font:
    400 0.9rem/1.6 Inter,
    system-ui,
    sans-serif;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.as-consent[hidden] {
  display: none !important;
}
.as-consent strong {
  font-weight: 650;
  font-size: 1rem;
}
.as-consent p {
  margin: 0.35rem 0 0;
  color: #bfc0d1;
  max-width: 75ch;
}
.as-consent a {
  color: #a29bfe;
  text-decoration: underline;
}
.as-consent-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  max-width: 330px;
}
.as-consent button,
.as-consent-preferences {
  font:
    600 0.875rem/1.4 Inter,
    system-ui,
    sans-serif;
  padding: 0.7rem 0.9rem;
  border: 1px solid #77778e;
  background: #222230;
  color: #e4e4ef;
  border-radius: 0.5rem;
  cursor: pointer;
}
.as-consent button:hover {
  border-color: #a29bfe;
}
.as-consent button:disabled {
  opacity: 0.6;
  cursor: default;
}
.as-consent button:focus-visible,
.as-consent-preferences:focus-visible {
  outline: 3px solid #00cec9;
  outline-offset: 3px;
}
.as-consent-preferences {
  display: block;
  margin: 1rem 0;
  background: transparent;
  color: var(--color-text-dim, #bfc0d1);
  border-color: var(--color-border, #45455c);
  font-size: 0.85rem;
}
@media (max-width: 760px) {
  .as-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    inset: auto 0.75rem 0.75rem;
    max-height: 85vh;
    overflow: auto;
  }
  .as-consent-actions {
    max-width: none;
  }
  .as-consent-actions button {
    flex: 1;
    white-space: nowrap;
  }
}
