/* =====================================================================
   ELYRIA BIO  ·  STEP D, THE HOME PAGE'S CHROME (pack-chrome.js): the hero's Build a pack chip, the phone menu's link, the floating launcher

   Class-based, on the palette's tokens only (--fill, --on-fill, --accent, --abyss, --paper, --fog ...): no literal colour. 44px targets, 11px type floor.
   Hover only under (hover:hover). No infinite animation, no backdrop-filter.

   THE GATE. pack-core.js adds the two hide rules below as the floor; they are repeated here so a stylesheet in <head> stops a flash before that
   deferred script runs. The hero button and the launcher carry data-pack-surface and no [hidden] attribute (the gate rule alone hides them); the
   chip, which is not a surface, is emptied and hidden by the script.
   ===================================================================== */
html:not(.pk-live) [data-pack-surface]{display:none !important}
html:not(.pk-off) [data-pack-closed]{display:none !important}
.hero-pack-chip[hidden]{display:none}
/* ONE ROW at 681px to 780px holds three buttons but not the chip too (home.css hides the weekly deal's chip there for the same reason); from 861px the two-column hero holds three buttons in a column of 416px to 582px: no chip either, so the button's arrival adds no row */
@media(min-width:681px) and (max-width:780px){.hero-pack-chip{display:none}}
@media(min-width:861px){#hero:not(.no-stage) .hero-pack-chip{display:none}}

/* THE ROW WITH THE DEAL (2026-11-21): "How we verify" is a text link on its own line under the buttons (store.css .hero-verify), never hidden, so the
   row holds at most three buttons; pack-chrome.js sets .pc-four only while the switch is live AND the deal is drawn, for the chip rule below.
   From 781 to 860px both chips are drawn (home.css shows the deal's from 781px): Shop, Build a pack + chip and Weekly deals + chip wrap, so the pack chip steps aside while the deal is drawn */
@media(min-width:781px) and (max-width:860px){#heroCta.pc-four .hero-pack-chip{display:none}}

/* ---------- the hero button's chip (its own class: .hero-chip is hidden on phones and from 861px) ---------- */
.hero-pack-chip{margin-left:2px;padding:2px 9px;line-height:1.2;border-radius:100px;background:var(--fill);color:var(--on-fill);font-size:11px;font-weight:700;letter-spacing:.06em;white-space:nowrap}

/* ---------- the phone menu's link ---------- */
.mobile-nav a.mlink-pack{color:var(--accent)}

/* ---------- the floating launcher ---------- */
/* On a desktop the bottom-right corner is claimed by the Text-us bubble (right/bottom 24px, lifted to 106px beside the mini-cart) and the mini-cart pill
   (right/bottom 24px): the launcher stacks ABOVE both. Hidden at rest by visibility (not display), so it keeps its place and is out of the tab order. */
.pc-fab{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:calc(176px + env(safe-area-inset-bottom));z-index:1050;display:flex;align-items:center;gap:12px;min-height:54px;padding:8px 22px 8px 8px;border-radius:100px;border:1px solid var(--accent);background:rgba(var(--abyss-rgb),.95);color:var(--paper);text-align:left;text-decoration:none;box-shadow:0 0 34px rgba(var(--accent-rgb),.3),0 18px 40px -18px rgba(var(--abyss-rgb),.9);visibility:hidden;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .25s,transform .25s,visibility 0s linear .25s,box-shadow .25s}
.pc-fab.on{visibility:visible;opacity:1;pointer-events:auto;transform:none;transition:opacity .25s,transform .25s,visibility 0s,box-shadow .25s}
.pc-fab-chip{display:grid;place-items:center;min-width:52px;height:38px;padding:0 10px;border-radius:100px;background:var(--fill);color:var(--on-fill);font-family:var(--font-num);font-size:13px;font-weight:600;white-space:nowrap}
.pc-fab-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.pc-fab-title{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.pc-fab-sub{font-size:12.5px;color:var(--fog);white-space:nowrap}
@media(hover:hover){.pc-fab:hover{box-shadow:0 0 44px rgba(var(--accent-rgb),.5),0 18px 40px -18px rgba(var(--abyss-rgb),.9)}}
/* a phone: 68px above the bottom, clear of the tab bar (57px + the notch); the Text-us bubble and the mini-cart are not drawn there */
@media(max-width:680px){
  .pc-fab{right:max(16px,env(safe-area-inset-right));bottom:calc(68px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px)}
  .pc-fab-sub{overflow:hidden;text-overflow:ellipsis}
}
