/* First-party cookie consent banner (bottom sheet on mobile, card on desktop) */
.cc {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px;
  pointer-events: none;
}
.cc__banner {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  color: #16161d;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  padding: 18px 20px;
}
[data-theme="dark"] .cc__banner {
  background: var(--dark-1a, #1a1a22);
  color: #f2f2f5;
  border-color: rgba(255, 255, 255, .12);
}
.cc__text strong { display: block; margin-bottom: 4px; font-size: 15px; }
.cc__text p { margin: 0 0 12px; font-size: 14px; line-height: 20px; opacity: .8; }
.cc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cc__btn {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
}
.cc__btn--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  opacity: .85;
}
.cc__btn--ghost:hover { opacity: 1; }
.cc__link {
  font: inherit;
  font-size: 14px;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  opacity: .7;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: auto;
}
.cc__link:hover { opacity: 1; }
.cc__settings {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(128, 128, 128, .25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 14px;
}
.cc__cat { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.cc__cat input { accent-color: var(--red, #e30427); width: 16px; height: 16px; }
.cc__cat input:disabled { opacity: .6; }

/* Footer cookie-settings link */
.footer-cookies {
  font: inherit;
  font-size: 14px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--footer-text, #b3b3b3);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s;
}
.footer-cookies:hover { color: #fff; }

@media (max-width: 640px) {
  .cc__actions .cc__btn { flex: 1 1 auto; text-align: center; }
  .cc__link { margin-left: 0; width: 100%; text-align: center; }
}
