.cookie-banner-center {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  width: min(440px, calc(100% - 32px));
  max-width: 440px;
  padding: 0;
  border: 1px solid rgba(49, 46, 129, .16);
  border-radius: 28px;
  background: rgba(255, 253, 247, .98);
  color: #18143f;
  box-shadow: 0 24px 70px rgba(24, 20, 63, .22);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  z-index: 99999;
}
.cookie-banner-center::backdrop { background: rgba(24, 20, 63, .22); }
.cookie-banner-center.show { transform: translateY(0); opacity: 1; }
.cookie-main,
.cookie-settings-panel { padding: 24px; }
.cookie-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cookie-title { margin: 0; font-size: 20px; line-height: 1.25; color: #18143f; }
.cookie-text { margin: 0 0 18px; color: #596076; font-size: 14px; line-height: 1.6; }
.cookie-text a { color: #312E81; font-weight: 700; text-decoration: underline; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn { border: 0; border-radius: 999px; padding: 11px 16px; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn.accept { color: #18143f; background: linear-gradient(135deg, #FACC15, #FF6B6B); box-shadow: 0 12px 28px rgba(255, 107, 107, .24); }
.cookie-btn.reject { color: #312E81; background: rgba(49, 46, 129, .08); }
.cookie-btn.manage { color: #0EA5E9; background: rgba(14, 165, 233, .12); }
.cookie-save { width: 100%; margin-top: 16px; }
.cookie-icon { position: fixed; left: 22px; bottom: 22px; width: 54px; height: 54px; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #FACC15, #FF6B6B, #312E81, #0EA5E9); box-shadow: 0 16px 38px rgba(24, 20, 63, .24); cursor: pointer; opacity: 0; pointer-events: none; z-index: 99998; font-size: 24px; transition: opacity .2s ease, transform .2s ease; }
.cookie-icon.show { opacity: 1; pointer-events: auto; }
.cookie-icon:hover { transform: translateY(-2px); }
.cookie-header-settings { justify-content: flex-start; }
.cookie-back-btn { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(49, 46, 129, .08); color: #312E81; cursor: pointer; font-size: 20px; }
.cookie-toggle-item { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(49,46,129,.1); }
.toggle-title { color: #18143f; font-weight: 800; margin-bottom: 4px; }
.toggle-desc { color: #596076; font-size: 13px; line-height: 1.45; }
.toggle-switch { position: relative; display: inline-flex; width: 48px; min-width: 48px; height: 28px; margin: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; border-radius: 999px; background: rgba(49,46,129,.18); transition: .2s; }
.slider:before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: .2s; }
.toggle-switch input:checked + .slider { background: linear-gradient(135deg, #FF6B6B, #0EA5E9); }
.toggle-switch input:checked + .slider:before { transform: translateX(20px); }
@media (max-width: 520px) {
  .cookie-banner-center { right: 16px; bottom: 16px; }
  .cookie-main, .cookie-settings-panel { padding: 20px; }
  .cookie-buttons { flex-direction: column; }
  .cookie-btn { width: 100%; }
}
