.vs-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.75rem;
  pointer-events: none;
}

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

.vs-consent__panel {
  pointer-events: auto;
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(28, 27, 46, 0.97);
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 14, 30, 0.35);
}

.vs-consent__body {
  flex: 1 1 24rem;
  min-width: 0;
}

.vs-consent__title {
  margin: 0 0 0.375rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.vs-consent__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.vs-consent__link {
  color: #b7b4e6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vs-consent__preferences {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.vs-consent__preferences[hidden] { display: none; }

.vs-consent__option {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.4;
}

.vs-consent__option input {
  margin-top: 0.2rem;
  accent-color: #8b8ce8;
}

.vs-consent__option strong { display: block; font-weight: 600; }

.vs-consent__option em {
  display: block;
  font-style: normal;
  color: rgba(255, 255, 255, 0.65);
}

.vs-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.vs-consent__button {
  height: 2.5rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1c1b2e;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.vs-consent__button:hover { background: #b7b4e6; }

.vs-consent__button--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.vs-consent__button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.vs-consent__button[hidden] { display: none; }

@media (max-width: 640px) {
  .vs-consent__panel { padding: 1rem; }
  .vs-consent__actions { width: 100%; }
  .vs-consent__button { flex: 1 1 auto; }
}
