/* Majority World Cookie Consent (MWCC) - minimal, accessible styles */
.mwcc-hidden { display: none !important; }

.mwcc-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99999;
  padding: 16px;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.35;
}
.mwcc-banner a { color: #fff; text-decoration: underline; }
.mwcc-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.mwcc-banner__title { font-weight: 700; margin: 0 0 6px 0; font-size: 16px; }
.mwcc-banner__text { margin: 0; font-size: 14px; opacity: 0.92; }
.mwcc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.mwcc-btn {
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #fff;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}
.mwcc-btn:hover { border-color: rgba(255,255,255,0.8); }
.mwcc-btn--primary {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.mwcc-btn--primary:hover { filter: brightness(0.92); }
.mwcc-btn--link {
  border: none;
  padding: 9px 6px;
  text-decoration: underline;
  background: transparent;
}

@media (max-width: 780px) {
  .mwcc-banner__inner { grid-template-columns: 1fr; }
  .mwcc-actions { justify-content: flex-start; }
}

/* Modal */
.mwcc-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 100000;
  padding: 16px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
}
.mwcc-modal {
  width: min(720px, 100%);
  background: #fff;
  color: #111;
  border-radius: 18px;
  padding: 18px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.mwcc-modal__header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.mwcc-modal__title { margin: 0; font-size: 18px; font-weight: 800; }
.mwcc-modal__close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 6px 8px;
}
.mwcc-modal__desc { margin: 10px 0 14px 0; font-size: 14px; color: rgba(0,0,0,0.72); }
.mwcc-toggle-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mwcc-toggle {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.mwcc-toggle__name { font-weight: 700; margin: 0 0 4px 0; font-size: 14px; }
.mwcc-toggle__meta { margin: 0; font-size: 13px; color: rgba(0,0,0,0.72); }
.mwcc-switch {
  width: 48px; height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.2);
  background: #eee;
  position: relative;
  cursor: pointer;
}
.mwcc-switch[aria-checked="true"] { background: #111; border-color: #111; }
.mwcc-switch__knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.15s ease;
}
.mwcc-switch[aria-checked="true"] .mwcc-switch__knob { transform: translateX(20px); }

.mwcc-modal__footer {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.mwcc-modal__footer .mwcc-btn { border-color: rgba(0,0,0,0.25); color: #111; }
.mwcc-modal__footer .mwcc-btn--primary { background: #111; color: #fff; border-color: #111; }
