/*
 * Glass effect on the top menu drop-downs. To roll back, delete this file and the two lines that load it
 * (Base.astro, and proto_patch.py for the older pages).
 * The first selector is the native header; the second is the older pages, which draw the same panel themselves.
 */
[data-menu-clip],
div[style*="z-index: 50"] > div[style*="top: 88px"][style*="border-radius: 24px"],
div[style*="z-index:50"] > div[style*="top:88px"][style*="border-radius:24px"] {
  background: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  backdrop-filter: blur(28px) saturate(1.7);
  box-shadow: 0 30px 80px rgba(32, 60, 90, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.6) inset, 0 0 0 1px rgba(32, 36, 43, 0.06) !important;
}
/* The "Get started" strip along the bottom of the panel. */
[data-menu-clip] div[style*="surface-alt"],
div[style*="z-index: 50"] > div[style*="top: 88px"] div[style*="surface-alt"],
div[style*="z-index:50"] > div[style*="top:88px"] div[style*="surface-alt"] {
  background: rgba(240, 246, 250, 0.55) !important;
}
/* Without blur support, fall back to the solid panel. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  [data-menu-clip],
  div[style*="z-index: 50"] > div[style*="top: 88px"][style*="border-radius: 24px"],
  div[style*="z-index:50"] > div[style*="top:88px"][style*="border-radius:24px"] { background: #fff !important; }
}
