.neko-consent {
  position: fixed;
  z-index: 2147483647;
  right: 1rem;
  bottom: 1rem;
  width: min(30rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.9rem;
  color: #f7f7fb;
  background: rgba(7, 11, 28, 0.97);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.42);
  font: 14px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(14px);
}

.neko-consent[hidden] {
  display: none !important;
}

.neko-consent__title {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1rem;
}

.neko-consent__text {
  margin: 0;
  color: #d7def2;
}

.neko-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.neko-consent__button {
  min-height: 2.55rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid #707b9d;
  border-radius: 0.55rem;
  color: #fff;
  background: #202944;
  cursor: pointer;
  font: inherit;
}

.neko-consent__button--primary {
  border-color: #40c5f1;
  color: #07101f;
  background: #40c5f1;
  font-weight: 700;
}

.neko-consent__button:hover {
  filter: brightness(1.08);
}

.neko-consent__button:focus-visible {
  outline: 3px solid #b8eaff;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .neko-consent {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
  }

  .neko-consent__actions,
  .neko-consent__button {
    width: 100%;
  }
}
