/*
 * El aviso de cookies de gour.media (lib/cookies.php y assets/js/gm-cookies.js; Ley 21.719, Martín, 25-nov-2026).
 * Una tarjeta de vidrio oscuro abajo a la izquierda, con los colores y la letra del home, sin depender de home.css (la
 * 404 plana no lo carga). Botones según CLAUDE.md: 36 de alto, Inter a 13,75 px (mayúsculas de 10 px), el texto
 * centrado por sus mayúsculas con text-box: 13 arriba y 13 abajo.
 */
.gm-ck {
  --ck-texto: var(--gh-texto, 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif);
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 2147483000;
  box-sizing: border-box;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 18px;
  border-radius: 18px;
  background: rgba(16, 16, 16, .92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 64px -12px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  color: #ededed;
  font: 400 14px/1.5 var(--ck-texto);
  letter-spacing: -.005em;
  text-align: left;
  animation: gm-ck-entra .4s cubic-bezier(.22, 1, .36, 1) both;
}
.gm-ck *, .gm-ck *::before, .gm-ck *::after { box-sizing: border-box; }
@keyframes gm-ck-entra { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .gm-ck { animation: none; } }

.gm-ck__t { margin: 0 0 6px; color: #fff; font: 600 15px/1.3 var(--ck-texto); }
.gm-ck__txt { margin: 0; color: #a1a1a1; }
.gm-ck__txt a { color: #ededed; text-decoration: underline; text-underline-offset: 2px; }
.gm-ck__txt a:hover { color: #fff; }

.gm-ck__ops { display: grid; gap: 8px; margin-top: 14px; }
.gm-ck__op {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  cursor: pointer;
}
.gm-ck__op-txt { display: grid; gap: 1px; flex: 1; min-width: 0; }
.gm-ck__op-txt b { color: #fff; font-weight: 500; }
.gm-ck__op-txt small { color: #a1a1a1; font-size: 12.5px; line-height: 1.4; }
.gm-ck__siempre { flex: none; color: #a1a1a1; font-size: 12.5px; }

/* el interruptor: la casilla con forma de píldora */
.gm-ck__sw {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  position: relative;
  width: 36px;
  height: 22px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  cursor: pointer;
  transition: background-color .16s ease;
}
.gm-ck__sw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s cubic-bezier(.22, 1, .36, 1);
}
.gm-ck__sw:checked { background: #f2f2f2; }
.gm-ck__sw:checked::after { transform: translateX(14px); background: #0a0a0a; }
.gm-ck__sw:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.gm-ck__btns { display: flex; gap: 8px; margin-top: 16px; }
.gm-ck__b {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  color: #ededed;
  font: 500 13.75px/1 var(--ck-texto);
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.gm-ck__b > span { text-box: trim-both cap alphabetic; }
.gm-ck__b:hover { background: rgba(255, 255, 255, .11); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); color: #fff; }
.gm-ck__b--pri { background: #f2f2f2; box-shadow: none; color: #0a0a0a; }
.gm-ck__b--pri:hover { background: #fff; box-shadow: none; color: #0a0a0a; }
.gm-ck__b:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 480px) {
  .gm-ck { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 16px; }
}
