/* Aviso de cookies: build.py lo publica como css/consent.css solo si hay algún ID (ver consent.js) */
.cc { position: fixed; z-index: 80; right: 18px; bottom: 18px; width: min(440px, calc(100% - 36px)); background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(23, 22, 21, .18); padding: 20px;
  font-size: .92rem; line-height: 1.5; }
.cc[hidden], .cc [hidden] { display: none; }
.cc-title { font-weight: 800; font-size: 1.05rem; margin: 0 0 .35em; }
.cc-title:focus { outline: none; }
.cc-text { margin: 0 0 1em; color: var(--muted); }
.cc-text a { color: var(--ink); }
.cc-prefs { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; margin: 0 0 14px; }
.cc-opt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; color: var(--muted); }
.cc-opt input { flex: none; width: 18px; height: 18px; margin: .2em 0 0; accent-color: var(--ink); }
.cc-opt strong { display: block; color: var(--ink); }
/* «Aceptar» y «Rechazar» con el mismo peso (AEPD): mismo tamaño, color y posición */
.cc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-btn { background: var(--ink); color: #fff; padding: .7em 1em; }
.cc-btn:hover { background: var(--ink-2); color: #fff; }
.cc-more { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cc-link, .cc-open { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.cc-link { font-weight: 700; color: var(--ink); }
@media (max-width: 759px) {
  .cc { right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); width: calc(100% - 16px); padding: 16px; }
}
