.lobo-consent,
.lobo-consent-modal {
  position: fixed;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lobo-consent {
  inset: auto 16px 58px 16px;
  z-index: 10000;
  pointer-events: none;
}

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

.lobo-consent__banner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(245, 164, 0, 0.72);
  background: rgba(8, 8, 8, 0.94);
  color: #fff8ea;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.52), inset 0 0 0 1px rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.lobo-consent__eyebrow {
  margin-bottom: 6px;
  color: #f5a400;
  font: 700 11px "IBM Plex Mono", Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lobo-consent__title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
}

.lobo-consent__text {
  color: rgba(255, 248, 234, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.lobo-consent__text a { color: #f5a400; font-weight: 700; }

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

.lobo-consent__btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff8ea;
  cursor: pointer;
  font: 800 12px "IBM Plex Mono", Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lobo-consent__btn--primary { background: #f5a400; color: #111; border-color: #f5a400; }
.lobo-consent__btn--danger { background: rgba(224, 40, 40, 0.16); border-color: rgba(224, 40, 40, 0.75); }
.lobo-consent__btn--blue { background: rgba(255,255,255,0.12); }

.lobo-consent-modal {
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  pointer-events: auto;
}

.lobo-consent-modal__panel {
  width: min(100%, 680px);
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  border: 1px solid rgba(245, 164, 0, 0.72);
  background: #0a0a0a;
  color: #fff8ea;
  box-shadow: 0 28px 90px rgba(0,0,0,0.62);
}

.lobo-consent-modal__head,
.lobo-consent-modal__body,
.lobo-consent-modal__foot { padding: 20px; }

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

.lobo-consent-modal__head h2 { margin-bottom: 6px; }
.lobo-consent-modal__head p,
.lobo-consent-category p { color: rgba(255, 248, 234, 0.72); line-height: 1.5; }

.lobo-consent-modal__close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #fff8ea;
  cursor: pointer;
}

.lobo-consent-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lobo-consent-category h3 { margin-bottom: 4px; }
.lobo-consent-required { color: #f5a400; font: 700 12px "IBM Plex Mono", Consolas, monospace; text-transform: uppercase; }

.lobo-consent-switch input { position: absolute; opacity: 0; pointer-events: none; }
.lobo-consent-switch span {
  display: block;
  width: 54px;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  position: relative;
  cursor: pointer;
}
.lobo-consent-switch span::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #fff8ea;
  transition: transform 0.16s ease, background 0.16s ease;
}
.lobo-consent-switch input:checked + span { background: #f5a400; }
.lobo-consent-switch input:checked + span::after { transform: translateX(24px); background: #111; }

@media (max-width: 720px) {
  .lobo-consent { inset: auto 10px 50px 10px; }
  .lobo-consent__banner { grid-template-columns: 1fr; padding: 14px; }
  .lobo-consent__actions, .lobo-consent-modal__foot { justify-content: stretch; }
  .lobo-consent__btn { flex: 1 1 100%; }
  .lobo-consent-category { grid-template-columns: 1fr; }
}
