/* Baner zgody GA4 (Consent Mode v2). Kontrast WCAG AA na ciemnym tle, cel dotyku >= 44 px. */
.cookie-banner{
  display:block;
  position:fixed;
  z-index:2147483000;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  width:min(720px, calc(100% - 24px));
  max-height:min(70vh, 28rem);
  overflow:auto;
  box-sizing:border-box;
  background:#16161c;
  color:#f5f5f7;
  border:1px solid #3a3a46;
  border-radius:14px;
  box-shadow:0 18px 50px rgba(0,0,0,.45);
  padding:18px 18px 16px;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;
  line-height:1.5;
  text-align:left;
}
.cookie-banner[hidden]{display:none !important}
.cookie-banner .cookie-kicker{
  margin:0 0 8px;
  color:#f5b301;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.76rem;
}
.cookie-banner p{margin:0 0 14px;color:#c4c4cc;font-size:.95rem}
.cookie-banner a{color:#f5b301;font-weight:700;text-decoration:underline}
.cookie-banner .cookie-status{color:#f5f5f7;font-size:.88rem}
html.cookie-open body{padding-bottom:var(--cookie-space)}
.cookie-actions{display:flex;flex-wrap:wrap;gap:10px}
.cookie-actions button{
  flex:1 1 calc(50% - 10px);
  min-height:48px;
  margin:0;
  appearance:none;
  -webkit-appearance:none;
  background:#111115;
  color:#f5f5f7;
  border:2px solid #5a5a68;
  border-radius:6px;
  padding:12px 16px;
  font:800 .95rem/1 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  text-transform:none;
  letter-spacing:normal;
  box-shadow:none;
  cursor:pointer;
}
.cookie-actions button:hover{border-color:#f5b301;color:#f5b301}
.cookie-actions button:focus-visible,
.cookie-banner a:focus-visible,
.cookie-kicker:focus-visible{outline:3px solid #f5b301;outline-offset:3px}
@media (max-width:760px){
  .cookie-banner{bottom:10px;padding:12px 12px 10px}
  .cookie-banner .cookie-kicker{margin-bottom:4px}
  .cookie-banner p{margin-bottom:8px;font-size:.88rem}
  .cookie-actions{gap:8px}
  .cookie-actions button{min-height:44px;padding:10px 8px}
}
.cookie-settings-link a{text-underline-offset:2px}
@media (prefers-reduced-motion:reduce){
  .cookie-banner,.cookie-actions button{transition:none}
}
