/* Cookie consent banner — self-contained, theme-agnostic */
#ms-consent-wrap {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
  display: flex; justify-content: center; padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.28), rgba(0,0,0,0));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#ms-consent {
  max-width: 760px; width: 100%; box-sizing: border-box;
  background: #ffffff; color: #1f2937;
  border: 1px solid #e5e7eb; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
#ms-consent p { margin: 0; font-size: 14px; line-height: 1.55; flex: 1 1 320px; }
#ms-consent a { color: #2563eb; text-decoration: underline; }
#ms-consent .ms-btns { display: flex; gap: 10px; flex: 0 0 auto; }
#ms-consent button {
  font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 9px;
  padding: 9px 16px; border: 1px solid transparent; transition: filter .15s;
}
#ms-consent button:hover { filter: brightness(.96); }
#ms-accept { background: #2563eb; color: #fff; }
#ms-reject { background: #f3f4f6; color: #374151; border-color: #d1d5db; }
#ms-manage {
  position: fixed; left: 14px; bottom: 14px; z-index: 99998;
  background: #111827; color: #e5e7eb; border: none; border-radius: 20px;
  font-size: 12px; padding: 7px 12px; cursor: pointer; opacity: .85;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#ms-manage:hover { opacity: 1; }
@media (prefers-color-scheme: dark) {
  #ms-consent { background: #1f2937; color: #e5e7eb; border-color: #374151; }
  #ms-reject { background: #374151; color: #e5e7eb; border-color: #4b5563; }
}
