:root {
  --l24-cookie-ink: #160b34;
  --l24-cookie-muted: #6d607f;
  --l24-cookie-border: rgba(72, 42, 118, 0.18);
  --l24-cookie-surface: rgba(255, 255, 255, 0.92);
  --l24-cookie-gold: #d8a84f;
  --l24-cookie-purple: #4a1d86;
}

.l24-cookie-consent,
.l24-cookie-consent *,
.l24-cookie-manage,
.l24-cookie-manage * {
  box-sizing: border-box;
}

.l24-cookie-consent {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  color: var(--l24-cookie-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
}

.l24-cookie-consent__shell {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--l24-cookie-border);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.78)),
    radial-gradient(circle at 12% 12%, rgba(216,168,79,0.18), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(74,29,134,0.14), transparent 32%);
  box-shadow: 0 26px 80px rgba(22, 11, 52, 0.22), inset 0 1px 0 rgba(255,255,255,0.75);
  backdrop-filter: blur(22px) saturate(1.35);
  pointer-events: auto;
}

.l24-cookie-consent__copy {
  min-width: 0;
}

.l24-cookie-consent__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--l24-cookie-purple);
}

.l24-cookie-consent h2 {
  margin: 0;
  color: var(--l24-cookie-ink);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.l24-cookie-consent p {
  margin: 8px 0 0;
  max-width: 68ch;
  color: var(--l24-cookie-muted);
  font-size: 13px;
  line-height: 1.55;
}

.l24-cookie-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 11px;
}

.l24-cookie-consent__links a {
  color: var(--l24-cookie-purple);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(74,29,134,0.24);
}

.l24-cookie-consent__panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.l24-cookie-consent__panel[hidden],
.l24-cookie-consent__button[hidden] {
  display: none;
}

.l24-cookie-consent__category {
  min-height: 104px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(74,29,134,0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.l24-cookie-consent__category strong {
  display: block;
  color: var(--l24-cookie-ink);
  font-size: 13px;
  line-height: 1.15;
}

.l24-cookie-consent__category small {
  display: block;
  margin-top: 6px;
  color: var(--l24-cookie-muted);
  font-size: 12px;
  line-height: 1.42;
}

.l24-cookie-consent__category input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: var(--l24-cookie-purple);
}

.l24-cookie-consent__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(128px, 1fr));
  align-content: center;
  gap: 9px;
  min-width: min(430px, 42vw);
}

.l24-cookie-consent__button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(74,29,134,0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: var(--l24-cookie-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.l24-cookie-consent__button:hover {
  transform: translateY(-1px);
  border-color: rgba(216,168,79,0.72);
  background: rgba(255,255,255,0.98);
}

.l24-cookie-consent__button:focus-visible,
.l24-cookie-manage:focus-visible {
  outline: 3px solid rgba(216,168,79,0.55);
  outline-offset: 3px;
}

.l24-cookie-consent__button--save {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(74,29,134,0.96), rgba(22,11,52,0.96));
  color: #fff;
}

.l24-cookie-manage {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 2147482500;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(216,168,79,0.34);
  border-radius: 999px;
  background: rgba(22, 11, 52, 0.82);
  color: #fff;
  box-shadow: 0 14px 40px rgba(22, 11, 52, 0.24);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .l24-cookie-consent {
    inset: auto 10px 10px 10px;
  }

  .l24-cookie-consent__shell {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
    border-radius: 22px;
  }

  .l24-cookie-consent__actions {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .l24-cookie-consent__panel {
    grid-template-columns: 1fr;
  }

  .l24-cookie-consent__category {
    min-height: 0;
  }
}

html[data-suite-theme="dark"] {
  --l24-cookie-ink: #f8f4ff;
  --l24-cookie-muted: rgba(245, 239, 255, 0.72);
  --l24-cookie-border: rgba(255, 255, 255, 0.14);
  --l24-cookie-surface: rgba(26, 16, 42, 0.92);
  --l24-cookie-gold: #d8a84f;
  --l24-cookie-purple: #d9c2ff;
}

html[data-suite-theme="dark"] .l24-cookie-consent__shell {
  background:
    linear-gradient(135deg, rgba(26, 16, 42, 0.96), rgba(12, 7, 20, 0.9)),
    radial-gradient(circle at 12% 12%, rgba(216, 168, 79, 0.2), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(169, 140, 255, 0.16), transparent 32%);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-suite-theme="dark"] .l24-cookie-consent__category,
html[data-suite-theme="dark"] .l24-cookie-consent__button {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-suite-theme="dark"] .l24-cookie-consent__button:hover {
  background: rgba(255, 255, 255, 0.1);
}

html[data-suite-theme="dark"] .l24-cookie-consent__button--save {
  background: linear-gradient(135deg, #d8a84f, #f4d47a);
  color: #1f1234;
}
