/* Cookie notice: small, quiet, bottom-left. White accents. */
.cmg-consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 990; /* under the mobile menu */
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.cmg-consent.is-visible { opacity: 1; transform: none; }
.cmg-consent[hidden] { display: none; }

.cmg-consent__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 380px;
  background: rgba(10, 10, 10, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  padding: 10px 10px 10px 14px;
  font-family: "Open Sans", sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.cmg-consent__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .78);
}
.cmg-consent__text a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 2px; }

.cmg-consent__actions { display: flex; gap: 6px; flex: 0 0 auto; }
/* Same size for both: rejecting is as easy as accepting (ICO) */
.cmg-consent__btn {
  min-width: 64px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .5px;
  line-height: 1;
  padding: 9px 12px;
  border-radius: 50px;
  border: 1px solid #FFFFFF;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cmg-consent__btn--yes { background: #FFFFFF; color: #000; }
.cmg-consent__btn--yes:hover { background: rgba(255, 255, 255, .85); }
.cmg-consent__btn--no { background: transparent; color: #FFFFFF; }
.cmg-consent__btn--no:hover { background: rgba(255, 255, 255, .12); }
.cmg-consent__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Very narrow phones / folded cover screens: stack text over buttons */
@media (max-width: 359px) {
  .cmg-consent__inner { flex-direction: column; align-items: stretch; }
  .cmg-consent__btn { flex: 1; }
}
@media (min-width: 768px) {
  .cmg-consent { left: 20px; right: auto; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .cmg-consent { transition: none; } }
