.pl-cookie-banner {
  --pl-cookie-edge: max(12px, env(safe-area-inset-bottom, 0px));
  position: fixed;
  z-index: 2200;
  left: calc(50% + var(--pl-cookie-center-shift, 0px));
  bottom: calc(var(--pl-cookie-viewport-offset, 0px) + var(--pl-cookie-nav-offset, 0px) + var(--pl-cookie-edge));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  width: calc(var(--pl-cookie-viewport-width, 100%) - 64px);
  max-width: 1440px;
  max-height: calc(var(--pl-cookie-viewport-height, 100vh) - var(--pl-cookie-nav-offset, 0px) - var(--pl-cookie-edge) - 12px);
  overflow-y: auto;
  padding: 20px 24px;
  border-radius: 26px;
  background: #202124;
  color: #f5f5f7;
  box-shadow: 0 12px 40px #0002;
  font-size: 13px;
  line-height: 1.5;
}

.pl-store .pl-cookie-banner[hidden], .pl-cookie-banner [hidden] { display: none !important; }
.pl-cookie-banner__copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pl-cookie-banner__copy p { margin: 0; }

.pl-store .pl-cookie-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pl-store .pl-cookie-banner a:hover { color: #fff; opacity: .85; }
.pl-cookie-banner__actions { display: flex; align-items: center; gap: 8px; flex: none; }

.pl-cookie-banner button {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  cursor: pointer;
}

.pl-cookie-banner__reject { background: #34363b; color: #fff; }
.pl-cookie-banner__accept { background: #f5f5f7; color: #202124; }
.pl-cookie-banner button:hover { filter: brightness(.94); }
.pl-cookie-banner :focus-visible { outline: 2px solid #fff !important; outline-offset: 4px; }
.pl-cookie-banner__note { margin-top: 8px !important; color: #d6d6dd; font-size: 11px; }

.pl-store .pl-cookie-manage {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  text-underline-offset: 3px;
}

.pl-cookie-visible .pl-toast {
  bottom: calc(var(--pl-cookie-height, 140px) + var(--pl-cookie-offset, 12px) + 16px);
}

@media (max-width: 1000px) {
  .pl-cookie-banner { gap: 16px; padding: 18px 20px; font-size: 12px; }
  .pl-cookie-banner button { padding: 12px 16px; font-size: 12px; }
}

@media (max-width: 600px) {
  .pl-cookie-banner--mobile-bar {
    --pl-cookie-nav-offset: calc(62px + env(safe-area-inset-bottom, 0px));
  }
}

.pl-cookie-banner--compact {
  display: block;
  width: calc(var(--pl-cookie-viewport-width, 100%) - 24px);
  padding: 18px 16px;
  border-radius: 20px;
  font-size: 12px;
}

.pl-cookie-banner--compact .pl-cookie-banner__actions { margin-top: 14px; }
.pl-cookie-banner--compact button {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 12px 10px;
  border-radius: 13px;
  font-size: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
