#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: min(680px, calc(100vw - 32px));
  z-index: 99999;
  background: linear-gradient(160deg, rgba(168,85,247,0.08) 0%, rgba(255,255,255,0.022) 55%, rgba(232,121,249,0.05) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.13);
  border-top-color: rgba(255,255,255,0.22);
  border-radius: var(--radius-xl, 32px);
  box-shadow: 0 24px 72px rgba(0,0,0,0.72), 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.10);
  padding: 24px 28px;
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34,1.26,0.64,1), opacity 0.4s ease;
  pointer-events: none;
}
#cookie-banner.cb-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
#cookie-banner-icon {
  font-size: 22px;
  flex-shrink: 0;
}
#cookie-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #F5F5F7);
  letter-spacing: -0.01em;
}
#cookie-banner-text {
  font-size: 12.5px;
  color: var(--text-2, rgba(245,245,247,0.68));
  line-height: 1.65;
  margin-bottom: 16px;
}
#cookie-banner-text a {
  color: rgba(185,100,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(185,100,255,0.3);
  transition: border-color 0.2s;
}
#cookie-banner-text a:hover { border-color: rgba(185,100,255,0.8); }
#cookie-banner-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.cb-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill, 100px);
  padding: 6px 12px 6px 8px;
  font-size: 12px;
  color: var(--text-2, rgba(245,245,247,0.68));
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}
.cb-toggle:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.14); }
.cb-toggle input[type=checkbox] { display: none; }
.cb-switch {
  width: 28px;
  height: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  flex-shrink: 0;
  transition: background 0.22s, border-color 0.22s;
}
.cb-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: transform 0.22s cubic-bezier(0.34,1.4,0.64,1), background 0.22s;
}
.cb-toggle.cb-on .cb-switch {
  background: rgba(168,85,247,0.65);
  border-color: rgba(168,85,247,0.5);
}
.cb-toggle.cb-on .cb-switch::after {
  transform: translateX(12px);
  background: #fff;
}
.cb-toggle.cb-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
#cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cb-btn {
  flex: 1;
  min-width: 120px;
  padding: 11px 16px;
  border-radius: var(--radius, 16px);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.22s;
  letter-spacing: -0.01em;
}
.cb-btn-accept {
  background: linear-gradient(160deg, rgba(185,100,255,0.75) 0%, rgba(168,85,247,0.65) 100%);
  border: 1px solid rgba(168,85,247,0.45);
  color: #fff;
  box-shadow: 0 4px 16px rgba(168,85,247,0.30), inset 0 1px 0 rgba(255,255,255,0.22);
}
.cb-btn-accept:hover {
  background: linear-gradient(160deg, rgba(200,120,255,0.85) 0%, rgba(185,100,255,0.75) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(168,85,247,0.45), inset 0 1px 0 rgba(255,255,255,0.28);
}
.cb-btn-save {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text-2, rgba(245,245,247,0.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.cb-btn-save:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.16); color: var(--text, #F5F5F7); }
.cb-btn-reject {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text-3, rgba(245,245,247,0.42));
  box-shadow: none;
}
.cb-btn-reject:hover { background: rgba(255,255,255,0.07); color: var(--text-2, rgba(245,245,247,0.68)); }
@media (max-width: 480px) {
  #cookie-banner { padding: 18px 18px; bottom: 16px; }
  .cb-btn { min-width: 90px; font-size: 12px; padding: 10px 12px; }
}
