/* teamlink.css -- the bar the team's code rides in. 20 August 2026.

   Theme-neutral on purpose, exactly like spin3d.css: this loads on a navy
   Fundraising page, a cream Ready-Made shelf and a walnut builder, so it brings
   its own everything rather than inheriting eight different sets of variables.
   The only colour it does NOT bring is the team's, which is the point. */

.mm-teamlink{
  position:sticky; top:0; z-index:80;
  display:flex; align-items:center; justify-content:center; gap:9px;
  min-height:44px;                      /* the site's own floor, even for a strip */
  padding:8px 14px calc(8px + env(safe-area-inset-top,0px));
  font:600 .82rem/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  letter-spacing:.01em; text-align:center;
  box-shadow:0 2px 10px rgba(0,0,0,.18);
}
.mm-tl-dot{width:9px;height:9px;border-radius:50%;flex:0 0 auto;
  box-shadow:0 0 0 2px rgba(255,255,255,.28)}
.mm-tl-txt{min-width:0}
.mm-tl-txt b{font-weight:800}

/* "how it works" is where the exact terms live -- 10% of the product total,
   before shipping and tax. The bar is the reminder; that page is the contract,
   and it is the first thing a treasurer asks for. */
/* NO OPACITY ON THE TEXT. The first pass dimmed this to .9 for a softer look
   and that quietly cost it contrast: the ink is already chosen as the BEST of
   two against a colour the team picked, so on a hard colour like #e63946 the
   best available is 4.51:1 -- and 90% of it is 4.0:1, which fails AA for
   lettering this size. The softness comes from a translucent PILL behind it
   instead, which costs the text nothing. */
.mm-tl-more{flex:0 0 auto; text-decoration:none; font-weight:700;
  font-size:.72rem; letter-spacing:.04em; text-transform:uppercase;
  border:1px solid currentColor; border-radius:999px;
  padding:7px 11px; min-height:34px; display:inline-flex; align-items:center;
  background:rgba(255,255,255,.14)}
@media (hover:hover){.mm-tl-more:hover{background:rgba(255,255,255,.26)}}

/* A sticky header must sit UNDER the bar, not behind it. --mm-tlh is measured
   and published by teamlink.js; the fallback is only ever used for the blink
   before the script runs. */
body:has(.mm-teamlink) header[style], body:has(.mm-teamlink) > header{
  top:var(--mm-tlh, 44px);
}

@media (max-width:430px){
  .mm-teamlink{gap:7px; padding-left:10px; padding-right:10px; font-size:.76rem}
  .mm-tl-more{font-size:.66rem; padding:7px 9px}
}
@media (prefers-reduced-motion:reduce){ .mm-teamlink{box-shadow:none} }
