/* ==========================================================================
   fix 3: the header pill's liquid glass, for buttons that sit on a field ("Make my badge" and its kind)
   (Vilius, 11 Oct 2026: "buttons such as make my badge also liquid glass").
   The values are the scrolled header pill's own (assets/navigation.css:82). The --pill-* tokens are read elsewhere
   too (the "Copied" toast, assets/fix4/nosel.css). The pop-ups moved to .bf-pop in fix 5 (12 Oct 2026, PROMPT 3.3).
   ========================================================================== */
:root{
  --pill-bg:rgba(255,255,255,.16);
  --pill-filter:blur(20px) saturate(1.7);
  --pill-edge:inset 0 1px 0 rgba(255,255,255,.55),inset 0 0 0 1px rgba(255,255,255,.12);
  --pill-shadow:0 10px 28px -14px rgba(15,21,25,.28);
}

/* every pop-up the header opens (code, language, account, the phone menu, the bell panel): fix 5 Part 3 gives them one
   material of their own, .bf-pop (assets/fix5/pop.css: light glass, ink text, the same on every background). */

/* a button on a field ("Make my badge" and its kind): the same glass, white text, pill shape */
.f3-glassbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;
  background:var(--pill-bg);color:#fff;font:600 0.9375rem/1 var(--text,inherit);text-decoration:none;border:0;cursor:pointer;
  -webkit-backdrop-filter:var(--pill-filter);backdrop-filter:var(--pill-filter);box-shadow:var(--pill-edge),var(--pill-shadow);
  transition:background .15s}
.f3-glassbtn:hover{background:rgba(255,255,255,.24)}
.f3-glassbtn svg{width:18px;height:18px}

/* no backdrop-filter, reduced transparency: the same fallback the site already uses for floating glass */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .f3-glassbtn{background:rgba(14,20,23,.55)}
}
