/* Banner de cookies (js/consentimiento.js). Se pinta igual en la web pública (oscura) y en entrar/alta (claro u oscuro). */
.cc {
  --cc-f: #ffffff; --cc-t: #141933; --cc-s: #4f5776; --cc-l: #dfe2eb; --cc-a: #ff5a1f; --cc-at: #fff; --cc-b: #f1f3f8;
  position: fixed; z-index: 9000; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto;
  background: var(--cc-f); color: var(--cc-t); border: 1px solid var(--cc-l); border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(10, 13, 25, .45); font: 400 14.5px/1.5 "Inter", "Archivo", "Segoe UI", system-ui, sans-serif;
  animation: cc-in .32s cubic-bezier(.16, 1, .3, 1);
}
.cc[hidden] { display: none; }
html[data-tema="oscuro"] .cc, body.pb .cc {
  --cc-f: #0c1022; --cc-t: #e9ecf8; --cc-s: #a3aaca; --cc-l: rgba(255, 255, 255, .14); --cc-a: #ff6326; --cc-b: rgba(255, 255, 255, .06);
}
@media (prefers-color-scheme: dark) {
  html:not([data-tema]) .cc { --cc-f: #0c1022; --cc-t: #e9ecf8; --cc-s: #a3aaca; --cc-l: rgba(255, 255, 255, .14); --cc-a: #ff6326; --cc-b: rgba(255, 255, 255, .06); }
}
.cc-in { padding: 18px 20px 16px; }
.cc h2 { margin: 0 0 6px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--cc-t); font-family: inherit; }
.cc p { margin: 0 0 12px; color: var(--cc-s); }
.cc a { color: var(--cc-a); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cc-opc { display: grid; gap: 8px; margin: 0 0 12px; }
.cc-opc[hidden] { display: none; }
.cc-fila { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 12px; background: var(--cc-b); cursor: pointer; }
.cc-fila b { display: block; font-size: 14px; color: var(--cc-t); }
.cc-fila small { display: block; font-size: 12.5px; color: var(--cc-s); }
.cc-fila input { width: 20px; height: 20px; accent-color: var(--cc-a); flex: none; }
.cc-acc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cc-btn {
  appearance: none; border: 1px solid var(--cc-l); background: transparent; color: var(--cc-t); border-radius: 10px;
  padding: 9px 14px; font: 600 13.5px/1.2 inherit; font-family: inherit; cursor: pointer; min-height: 40px;
  transition: background-color .15s ease, transform .1s ease;
}
.cc-btn:hover { background: var(--cc-b); }
.cc-btn:active { transform: scale(.98); }
.cc-btn:focus-visible { outline: 2px solid var(--cc-a); outline-offset: 2px; }
.cc-btn[hidden] { display: none; }
.cc-pri { background: var(--cc-a); border-color: var(--cc-a); color: var(--cc-at); }
.cc-pri:hover { background: var(--cc-a); filter: brightness(1.06); }
@keyframes cc-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .cc { animation: none; } }
@media (max-width: 480px) {
  .cc { left: 10px; right: 10px; bottom: 10px; }
  .cc-acc { justify-content: stretch; }
  .cc-btn { flex: 1 1 auto; }
}
