.lobo-consent,
.lobo-consent-modal {
  --lobo-bg: #05070b;
  --lobo-panel: rgba(13, 17, 23, 0.96);
  --lobo-panel-soft: rgba(255, 255, 255, 0.04);
  --lobo-border: rgba(255, 255, 255, 0.1);
  --lobo-border-strong: rgba(255, 255, 255, 0.18);
  --lobo-text: rgba(255, 255, 255, 0.92);
  --lobo-muted: rgba(203, 213, 225, 0.72);
  --lobo-soft: rgba(148, 163, 184, 0.72);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--lobo-text);
}

.lobo-consent * ,
.lobo-consent-modal * {
  box-sizing: border-box;
}

.lobo-consent__banner {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 24px;
  z-index: 9998;
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(1120px, calc(100vw - 48px));
  transform: translateX(-50%);
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--lobo-border);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.98), rgba(5, 7, 11, 0.94));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lobo-consent__eyebrow {
  margin: 0 0 0.45rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.lobo-consent__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
}

.lobo-consent__text {
  margin: 0.55rem 0 0;
  max-width: 850px;
  color: var(--lobo-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.lobo-consent__text a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.lobo-consent__actions,
.lobo-consent-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.lobo-consent__btn {
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--lobo-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.lobo-consent__btn:hover {
  transform: translateY(-1px);
  border-color: var(--lobo-border-strong);
  background: rgba(255, 255, 255, 0.07);
}

.lobo-consent__btn--primary {
  border-color: rgba(255, 255, 255, 0.92);
  background: #ffffff;
  color: #000000;
}

.lobo-consent__btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.lobo-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lobo-consent-modal__panel {
  width: min(900px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  border: 1px solid var(--lobo-border);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.98), rgba(5, 7, 11, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  scrollbar-color: rgba(255, 255, 255, 0.38) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
}

.lobo-consent-modal__panel::-webkit-scrollbar {
  width: 8px;
}

.lobo-consent-modal__panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.lobo-consent-modal__panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.34);
  border: 2px solid rgba(13, 17, 23, 0.98);
  border-radius: 999px;
}

.lobo-consent-modal__head,
.lobo-consent-modal__body,
.lobo-consent-modal__foot {
  padding: 1.5rem;
}

.lobo-consent-modal__head {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lobo-consent-modal__head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}

.lobo-consent-modal__head p {
  margin: 0.6rem 0 0;
  max-width: 720px;
  color: var(--lobo-muted);
  line-height: 1.6;
}

.lobo-consent-modal__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lobo-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.lobo-consent-modal__body {
  display: grid;
  gap: 0.9rem;
}

.lobo-consent-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.035);
}

.lobo-consent-category h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #ffffff;
}

.lobo-consent-category p {
  margin: 0.4rem 0 0;
  color: var(--lobo-muted);
  line-height: 1.55;
}

.lobo-consent-required {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.lobo-consent-switch {
  position: relative;
  display: inline-flex;
  width: 64px;
  height: 36px;
}

.lobo-consent-switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.lobo-consent-switch span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.lobo-consent-switch span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.lobo-consent-switch input:checked + span {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.92);
}

.lobo-consent-switch input:checked + span::after {
  transform: translateX(28px);
  background: #05070b;
}

.lobo-consent-modal__foot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[hidden].lobo-consent,
[hidden].lobo-consent-modal {
  display: none !important;
}

@media (max-width: 760px) {
  .lobo-consent__banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    transform: none;
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .lobo-consent__actions,
  .lobo-consent-modal__foot {
    justify-content: stretch;
  }

  .lobo-consent__btn {
    flex: 1 1 auto;
  }

  .lobo-consent-modal {
    padding: 12px;
  }

  .lobo-consent-category {
    grid-template-columns: 1fr;
  }
}
