#cookieConsentBanner {
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a2340;
  color: #f0f4f8;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.25);
  border-radius: 16px 16px 0 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ccb-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
}

.ccb-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ccb-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.ccb-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.ccb-text p {
  margin: 0;
  color: #c5d0e0;
  font-size: 0.85rem;
}

.ccb-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.ccb-toggle-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ccb-toggle-info strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.ccb-toggle-info span {
  font-size: 0.78rem;
  color: #8899b0;
}

.ccb-toggle {
  font-size: 0.72rem;
  font-weight: 700;
  color: #00c48c;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0,196,140,0.15);
  flex-shrink: 0;
}

.ccb-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.ccb-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.ccb-slider {
  position: absolute;
  inset: 0;
  background: #3d4a5e;
  border-radius: 26px;
  transition: background 0.2s;
}

.ccb-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.ccb-switch input:checked + .ccb-slider {
  background: #00c48c;
}

.ccb-switch input:checked + .ccb-slider::before {
  transform: translateX(18px);
}

.ccb-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ccb-btn {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.ccb-btn:hover { opacity: 0.88; }

.ccb-btn-primary {
  background: linear-gradient(135deg, #f4a234, #e85720);
  color: #fff;
  flex: 1;
}

.ccb-btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #c5d0e0;
  border: 1px solid rgba(255,255,255,0.15);
}

.ccb-footer {
  margin: 12px 0 0;
  font-size: 0.72rem;
  color: #6a7a8e;
}

.ccb-footer a {
  color: #7ba7d4;
  text-decoration: none;
}

.ccb-footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .ccb-inner { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .ccb-actions { flex-direction: column; }
  .ccb-btn { flex: none; width: 100%; text-align: center; }
  .ccb-btn-primary { order: -1; }
}

.cookie-consent-banner {
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
