:root {
  --lcc-ink: #143d55;
  --lcc-text: #0f172a;
  --lcc-border: #dbe6f5;
  --lcc-surface: #ffffff;
  --lcc-focus: #087e8b;
}

.lcc-banner[hidden] {
  display: none;
}

.lcc-banner {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 68px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 84px);
  overflow-y: auto;
  padding: 20px;
  transform: translateX(-50%);
  border: 1px solid var(--lcc-border);
  border-radius: 8px;
  background: var(--lcc-surface);
  color: var(--lcc-text);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .2);
  font-family: Roboto, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.lcc-content {
  min-width: 0;
}

.lcc-title {
  margin: 0 0 8px;
  color: var(--lcc-ink);
  font-size: 1.125rem;
  line-height: 1.3;
}

.lcc-message {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.5;
}

.lcc-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(104px, 1fr));
  gap: 8px;
}

.lcc-choice {
  box-sizing: border-box;
  min-height: 44px;
  border: 2px solid var(--lcc-ink);
  border-radius: 4px;
  background: var(--lcc-ink);
  color: #ffffff;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}

.lcc-choice {
  min-width: 104px;
  padding: 9px 14px;
}

.lcc-choice:hover {
  background: #0f2f43;
  border-color: #0f2f43;
}

.lcc-choice:focus-visible,
.lz-foot a[data-cookie-preferences]:focus-visible {
  outline: 3px solid var(--lcc-focus);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .lcc-banner {
    left: 12px;
    right: 12px;
    bottom: 64px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: auto;
    padding: 16px;
    transform: none;
  }

  .lcc-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcc-choice {
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lcc-banner,
  .lcc-choice {
    scroll-behavior: auto;
    transition: none;
  }
}
