.nx-consent {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: var(--fg, #f5f6f7);
  font-family: var(--font-sans, inherit);
}

.nx-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 22px;
  gap: 28px;
  border: 1px solid var(--border-strong, rgba(255,255,255,.22));
  border-radius: var(--r-xl, 14px);
  background:
    radial-gradient(circle at 92% 10%, rgba(61,174,43,.10), transparent 28%),
    var(--surface, #07223f);
  box-shadow: var(--shadow-4, 0 28px 72px rgba(0,0,0,.55));
}

.nx-consent__copy { max-width: 720px; }
.nx-consent h2 { margin: 0 0 7px; color: var(--fg-strong, #fff); font-size: 18px; line-height: 1.3; }
.nx-consent p { margin: 0; color: var(--fg-muted, #a3aebf); font-size: 14px; line-height: 1.55; }
.nx-consent a { color: var(--fg-strong, #fff); text-decoration: underline; text-underline-offset: 3px; }
.nx-consent__actions { display: flex; flex: 0 0 auto; gap: 10px; }

.nx-consent__button {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid var(--border-strong, rgba(255,255,255,.22));
  border-radius: var(--r-md, 6px);
  color: var(--fg, #f5f6f7);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}

.nx-consent__button:hover {
  border-color: var(--fg, #f5f6f7);
  background: color-mix(in srgb, var(--fg, #f5f6f7) 6%, transparent);
  transform: translateY(-1px);
}

.nx-consent__button:focus-visible { outline: 3px solid var(--nx-green, #3dae2b); outline-offset: 3px; }

.nx-consent__button--primary {
  border-color: var(--nx-green, #3dae2b);
  color: #fff;
  background: var(--nx-green, #3dae2b);
  box-shadow: var(--shadow-1, 0 1px 3px rgba(0,0,0,.25));
}

.nx-consent__button--primary:hover {
  border-color: color-mix(in srgb, var(--nx-green, #3dae2b) 84%, #000);
  background: color-mix(in srgb, var(--nx-green, #3dae2b) 84%, #000);
  box-shadow: var(--shadow-2, 0 4px 14px rgba(0,0,0,.36));
}

.nx-consent-link { padding: 0; border: 0; color: inherit; background: none; font: inherit; text-decoration: underline; cursor: pointer; }

@media (max-width: 720px) {
  .nx-consent { right: 12px; bottom: 12px; left: 12px; }
  .nx-consent__inner { align-items: stretch; flex-direction: column; padding: 19px; gap: 18px; }
  .nx-consent__actions { flex-direction: column-reverse; }
  .nx-consent__button { width: 100%; }
}
