/* Black Friday pill (2026). Liquid glass, centred under the nav, stays on screen while scrolling.
   END DATE: shown until Mon 30 Nov 2026 11:59:59 PM Toronto time (EST, UTC-5) = 2026-12-01T04:59:59Z.
   v2: emoji either side. After that the worker stops adding these files and the script removes the pill. Immutable file: change by new name. */
.ap-bf-pill{
  --bf-rest:110px;
  position:fixed;
  left:50%;
  top:max(calc(env(safe-area-inset-top, 0px) + 10px), var(--bf-rest));
  z-index:9000; /* above page content (homepage bubbles reach ~100), below the cookie banner (10000); hidden while nav menus are open */
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 18px;
  border-radius:999px;
  font-family:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1;
  letter-spacing:.16em;
  text-transform:uppercase;
  white-space:nowrap;
  text-decoration:none;
  color:#111;
  background:linear-gradient(135deg,#ffffff8c,#ffffff40 55%,#ffffff70);
  border:1px solid #ffffffd9;
  box-shadow:0 10px 28px #1d18100f,0 2px 6px #1d18100d,inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff59,inset 0 0 12px #ffffff40;
  -webkit-backdrop-filter:blur(14px) saturate(1.7);
  backdrop-filter:blur(14px) saturate(1.7);
  isolation:isolate;
  -webkit-tap-highlight-color:transparent;
  transition:box-shadow .25s ease,background .25s ease;
}
.ap-bf-pill::before{
  content:"";
  position:absolute;
  inset:1px 10% auto;
  height:45%;
  border-radius:999px;
  background:linear-gradient(180deg,#ffffffb3,#fff0);
  opacity:.55;
  pointer-events:none;
  z-index:-1;
}
.ap-bf-pill-text{position:relative;z-index:1}
.ap-bf-pill{gap:9px}
.ap-bf-pill-emoji{position:relative;z-index:1;font-size:15px;line-height:1;letter-spacing:0;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
@media (max-width:680px){.ap-bf-pill{gap:7px}.ap-bf-pill-emoji{font-size:14px}}
.ap-bf-pill-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ap-bf-pill:hover{box-shadow:0 12px 32px #1d18101a,0 2px 6px #1d18100d,inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff59,inset 0 0 14px #ffffff59}
.ap-bf-pill:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.ap-bf-sparks{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:2}
:root[data-theme="dark"] .ap-bf-pill{
  color:#fff;
  background:linear-gradient(135deg,#ffffff24,#ffffff0d 55%,#ffffff1a);
  border-color:#ffffff38;
  box-shadow:0 10px 30px #0000004d,inset 0 1px 0 #ffffff4d,inset 0 -1px 0 #ffffff14,inset 0 0 12px #ffffff12;
}
:root[data-theme="dark"] .ap-bf-pill::before{background:linear-gradient(180deg,#ffffff38,#fff0);opacity:.6}
@media (max-width:680px){.ap-bf-pill{min-height:30px;padding:0 14px;font-size:11px;letter-spacing:.14em}}
.ap-bf-pill[data-menu-open],
body:has(.ap-nav-dropdown:hover) .ap-bf-pill,
body:has(.ap-nav-dropdown[open]) .ap-bf-pill,
body:has(.ap-nav-dropdown:focus-within) .ap-bf-pill,
body:has(.ap-header [aria-expanded="true"]) .ap-bf-pill{visibility:hidden;pointer-events:none}
@media print{.ap-bf-pill{display:none}}
