/* Cookie consent banner (analytics opt-in) */
.ccBanner{
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.ccBanner[hidden]{ display:none; }
.ccCard{
  pointer-events: auto;
  width: min(1040px, 100%);
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--panelBorder);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
}
body.theme-light .ccCard{
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}
.ccBanner.is-visible .ccCard{
  opacity: 1;
  transform: translateY(0);
}
.ccText{ flex: 1; min-width: 240px; }
.ccTitle{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 15px;
  line-height: 1.2;
}
.ccDesc{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 5px;
}
.ccDesc a{
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(80,230,220,.55);
}
body.theme-light .ccDesc a{
  border-bottom-color: rgba(42,139,209,.50);
}
.ccActions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ccBtn{
  appearance: none;
  border: 1px solid var(--panelBorder);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  transition: background .12s ease, border-color .12s ease;
}
body.theme-light .ccBtn{ background: rgba(0,0,0,.03); }
.ccBtn:hover{ background: rgba(255,255,255,.07); }
body.theme-light .ccBtn:hover{ background: rgba(0,0,0,.05); }
.ccBtn:active{ background: rgba(255,255,255,.09); }
body.theme-light .ccBtn:active{ background: rgba(0,0,0,.07); }
.ccBtn--primary{
  border-color: rgba(80,230,220,.35);
  background: linear-gradient(180deg, rgba(80,230,220,.20), rgba(80,230,220,.12));
}
body.theme-light .ccBtn--primary{
  border-color: rgba(42,139,209,.35);
  background: linear-gradient(180deg, rgba(42,139,209,.18), rgba(42,139,209,.10));
}

@media (max-width: 720px){
  .ccCard{ flex-direction: column; align-items: stretch; }
  .ccActions{ justify-content: stretch; }
  .ccBtn{ width: 100%; justify-content: center; }
}

body.mode-blank .ccBanner{ display:none !important; }
