#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1055;
  padding: 1rem;
  display: none;
}
.cookie-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--x-dark, #0f172a);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 32px 40px -2px rgba(10,22,70,.35), 0 0 1px rgba(10,22,70,.25);
  border: 1px solid rgba(255,255,255,.08);
  font-family: 'Satoshi', system-ui, sans-serif;
}
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: #334155;
  border-radius: 24px;
  transition: background .2s;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform .2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--x-primary, #5EC6E8);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: .55;
  cursor: not-allowed;
}
.cookie-btn-primary {
  background: var(--x-primary, #5EC6E8);
  color: #0f172a;
  border: none;
  padding: .5rem 1.25rem;
  border-radius: .5rem;
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  transition: opacity .15s;
  white-space: nowrap;
}
.cookie-btn-primary:hover { opacity: .85; }
.cookie-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  padding: .5rem 1.25rem;
  border-radius: .5rem;
  font-weight: 500;
  font-size: .875rem;
  cursor: pointer;
  transition: border-color .15s;
  white-space: nowrap;
}
.cookie-btn-outline:hover { border-color: rgba(255,255,255,.65); }
.cookie-btn-text {
  background: none;
  border: none;
  color: rgba(255,255,255,.45);
  font-size: .8125rem;
  cursor: pointer;
  padding: .5rem 0;
  text-decoration: underline;
  white-space: nowrap;
}
.cookie-btn-text:hover { color: rgba(255,255,255,.75); }
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category-info { flex: 1; min-width: 0; }
.cookie-category-name {
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.cookie-category-desc {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  margin: 0;
  line-height: 1.4;
}
.cookie-actions {
  display: flex;
  gap: .625rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
}
.cookie-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.1);
  margin: 1rem 0;
}
