/* © 2026 Circus Corporation. All rights reserved. */
/* Cookie consent banner styles — extracted from consent.js to avoid runtime style injection */

#ccb {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  left: 16px;
  right: auto;
  z-index: 500;
  width: calc(100% - 32px);
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--fb);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  animation: ccb-in .3s ease;
}

@media (min-width: 768px) {
  #ccb {
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
    left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ccb { animation: none; }
}

@keyframes ccb-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

#ccb p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

#ccb p a {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#ccb .ccb-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#ccb button {
  flex: 1;
  min-width: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s, background .15s;
  color: var(--ink);
  white-space: nowrap;
}

#ccb button:hover { opacity: .85; }

#ccb .ccb-a {
  background: var(--surface);
  border: 1px solid var(--border);
}

#ccb .ccb-r {
  background: transparent;
  border: 1px solid var(--border);
}

@media (max-width: 479px) {
  #ccb .ccb-row { flex-direction: column; }
  #ccb button { flex: none; width: 100%; }
}
