/* bottle-card2.css — flag-scoped CSS for the bottle-page v2 redesign
   (?preview=card2, admin-gated). Every selector here is scoped under
   `.bc2-page`/`html[data-bc2]` and NOT reused by any other page — the
   spec's "do not restyle the dock on other pages" rule.

   OWNER-SETTLED 2026-07-21: the original spec's all-green palette is
   superseded on THIS page only — every green accent below is now warm
   brown/brass (accent #a8681f, deep #7a4816). The `--bc2-green*` custom
   property NAMES are kept unchanged (every selector below still reads
   them) so this is a pure token-value swap, not a selector rewrite; only
   their VALUES point at brown now. White/light structure is unchanged. */

:root[data-bc2],
html[data-bc2="1"]{
  --bc2-ink:#161815; --bc2-ink2:#3c413c; --bc2-mut:#7c8279; --bc2-faint:#a9aea5;
  --bc2-paper:#f6f5f1; --bc2-panel:#ffffff; --bc2-line:#e6e5df;
  --bc2-green:var(--sk-pr-btn); --bc2-greenDeep:#7a4816; --bc2-greenInk:#6b3d12;
  --bc2-greenWash:#f7ede0; --bc2-dock:#241a10;
  --bc2-cream:var(--sk-q-bg-2); --bc2-gold:#d9a94e; --bc2-espresso:var(--sk-q-ink);
  /* --wb-link-blue: the ONE hyperlink-navy token for the whole site
     (Robert's 2026-07-21 settled decision, card2-public-cutover record —
     #0645AD / rgb(6,69,173) — flagged wrong TWICE since). Every price/
     retailer link on card2 reads this variable name so a future redesign
     can't silently fork the value again without a grep hit on a single
     shared name.

     2026-08-24 (Robert's Baker's 7 screenshot review): "not the correct
     hyperlink blue" — the third flag on #0645AD. Value switched to the
     classic web hyperlink blue #0000EE; test_link_blue_token_2026_07_22.py
     re-pinned the same day.

     T389 leftover (2026-08-27): tonights-pick.css and landing-feed.css,
     formerly named here as sharing this token, are both dead code and
     deleted — card2 is now the only live surface reading this variable. */
  --wb-link-blue:#0000EE;
}

.bc2-page{
  margin:0; background:var(--bc2-paper); color:var(--bc2-ink);
  font-family:'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-variant-numeric:tabular-nums;
  padding-bottom:calc(7.5rem + env(safe-area-inset-bottom, 0px)); /* clears the fixed dock + home bar */
}
/* Dock clearance (2026-07-25, T38). Once the former Buddy script mounts the real .bd-bar it
   sets html.has-buddy-bar and publishes the bar's LIVE measured height as
   --bd-bar-h, and its own body rules take over from the static fallback above.
   The mobile one reserves EXACTLY the bar height, which lands the page's last
   card flush against the dock (measured: 0px gap at max scroll). Add the same
   1rem breathing room the former Buddy stylesheet's own non-unified rule already uses, scoped
   to this page. Specificity is deliberate — 3 classes + 2 elements out-ranks
   `html.bd-app-unified.has-buddy-bar body` rather than relying on load order. */

.bc2-page *{box-sizing:border-box}
.bc2-page :focus-visible{outline:2px solid var(--bc2-green); outline-offset:2px}
@media (prefers-reduced-motion: reduce){
  .bc2-page *{animation-duration:.001ms !important; transition-duration:.001ms !important}
}

/* ---- status-bar scroll mask ----
   2026-07-21 owner fix: the sticky header's own safe-area padding only
   protects the disc from the clock at rest — once the hero photo scrolls
   under the sticky header, the photo itself can show through/behind the
   clock band mid-scroll on iOS. This is a SEPARATE fixed, zero-height-off-
   iOS strip painted in the page background colour, anchored above z=0
   content but below the menu popover (.wb-menu-pop sits at z:70 via the
   open-state rule below) so the popover still draws over it. Harmless
   no-op on any browser without env(safe-area-inset-top) (resolves to 0). */
.bc2-status-mask{
  position:fixed; top:0; left:0; right:0; z-index:25;
  height:env(safe-area-inset-top, 0px);
  background:var(--bc2-paper);
  pointer-events:none;
}
/* ---- header ----
   2026-07-22 (round-2 Stitch redesign, spec item 1): the header is now a
   full-width bar carrying the real site wordmark (site_chrome.
   site_brand_fragment — same tokens/markup _site_header uses) on the left
   and the search affordance + ☰ menu on the right, pinned ABOVE the hero
   (the hero's own bleed-under-header negative margin is removed below in
   .bc2-hero) rather than floating transparently over the photo. Paper
   background + a hairline so it reads as a persistent app bar, matching
   the mock's `bg-paper-canvas border-b` top app bar. */
.bc2-header{
  position:sticky; top:0; z-index:20; display:flex; align-items:center;
  justify-content:space-between; gap:.5rem;
  background:var(--bc2-paper); border-bottom:1px solid var(--bc2-line);
  /* iOS app (viewport-fit=cover): keep the discs below the clock/battery.
     Requires <meta name="viewport" content="...,viewport-fit=cover"> in the
     template — env() resolves to 0 without it (2026-07-21 fix: meta was
     missing `viewport-fit=cover`, so this padding silently no-opped). */
  padding:calc(.55rem + env(safe-area-inset-top, 0px)) .8rem .55rem;
}
.bc2-header-left{ display:flex; align-items:center; min-width:0; }
/* ask #2338: header search exists for wb-shop-skin.css only */
.bc2-skin-search,.bc2-skin-search-btn{ display:none; }
/* Reuses wb-header.css's OWN .wb-brand/.wb-mark/.wb-word/.wb-flag rules
   (that sheet is linked on this page already) — no size/colour override
   needed, the site wordmark already reads correctly at this scale. */
.bc2-header-right{ display:flex; align-items:center; gap:.5rem; }
.bc2-header-search{
  flex:none; width:36px; height:36px; border-radius:50%; border:none;
  display:inline-flex; align-items:center; justify-content:center;
  background:none; color:var(--bc2-ink); cursor:pointer;
}
/* Menu button (spec item 4): solid cream disc, espresso icon, soft shadow —
   replaces the earlier translucent glass treatment. The back button that
   used to share this same .bc2-glass-btn class was removed entirely
   (2026-07-21 owner fix); menu-only disc styling now lives in
   .bc2-menu-wrap .wb-menu-btn below, this class kept for the toast/legacy
   svg display rule further down. */
.bc2-glass-btn{
  pointer-events:auto; width:36px; height:36px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--bc2-cream); border:1px solid rgba(0,0,0,.06);
  color:var(--bc2-espresso); text-decoration:none;
  font-size:1.1rem; cursor:pointer;
  box-shadow:0 6px 16px rgba(22,24,21,.18), inset 0 1px 0 rgba(255,255,255,.6);
}
/* ---- embedded site ☰ menu (site_chrome.site_menu_fragment) ----
   The fragment already carries its OWN wb-header.css classes (.wb-nav,
   .wb-menu, .wb-menu-pop, .wb-menu-btn) — wb-header.css is linked on this
   page precisely so those rules apply unmodified (white card + shadow +
   ink/green links come from that sheet, not duplicated here). This block
   only repositions the glass ☰ button to match the page's floating-header
   language and raises the popover's stacking context above the rest of the
   page (2026-07-20 fix: the fragment previously had no .wb-nav wrapper, so
   .wb-nav a's link styling never applied and the menu rendered as raw
   browser links). */
.bc2-menu-wrap{ pointer-events:auto; position:relative; z-index:30; }
.bc2-menu-wrap .wb-menu-btn{
  width:36px; height:36px; padding:0; border-radius:50%; justify-content:center;
  background:var(--bc2-cream); border:1px solid rgba(0,0,0,.06);
  box-shadow:0 6px 16px rgba(22,24,21,.18), inset 0 1px 0 rgba(255,255,255,.6);
}
.bc2-menu-wrap .wb-menu-label,
.bc2-menu-wrap .wb-menu-plan-chip{ display:none; }
/* KNOWN TRAP (owner-settled redesign): the card2 override above forces the
   button to 36x36 + justify-content:center, which — combined with this
   button being the ONLY flex context some browsers see once wb-header.css's
   own `.wb-menu-burger{display:flex;flex-direction:column}` cascades through
   a re-centred parent — can resolve the 3 bars as a stacked solid block
   instead of 3 discrete lines. Re-assert column flex + explicit gaps
   directly, scoped to this page only, so the burger is never ambiguous. */
.bc2-menu-wrap .wb-menu-burger{
  display:flex !important; flex-direction:column !important; gap:4px !important;
  align-items:center !important; justify-content:center !important;
}
.bc2-menu-wrap .wb-menu-burger span{
  background:var(--bc2-espresso); display:block !important; width:18px; height:2px;
  border-radius:2px; flex:none !important;
}
.bc2-menu-wrap .wb-menu-burger span:nth-child(2){ width:14px; }
.bc2-menu-wrap .wb-menu[open] .wb-menu-btn{ background:var(--bc2-green); border-color:var(--bc2-green); }
.bc2-menu-wrap .wb-menu[open] .wb-menu-burger span{ background:#fff; }
.bc2-menu-wrap .wb-menu[open] .wb-menu-pop{ z-index:70; }

/* ---- fix 2: share icon button + copy-link toast ---- */
.bc2-glass-btn svg{ display:block; }
.bc2-toast{
  position:fixed; left:50%; bottom:6.2rem; transform:translateX(-50%) translateY(8px);
  z-index:80; background:var(--bc2-ink); color:#fff; font-size:.82rem; font-weight:600;
  padding:.55rem 1rem; border-radius:999px; box-shadow:0 10px 24px rgba(22,24,21,.28);
  opacity:0; transition:opacity .18s ease, transform .18s ease; pointer-events:none;
}
.bc2-toast-show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ---- hero stage ---- */
/* Owner-settled redesign: a real rickhouse photo now fills the hero band
   edge-to-edge (existing rounded corners kept), with a ~35% dark scrim so
   the cream title/eyebrow/subtitle read on top of it. */
/* 2026-07-21 (de-bench): Robert's verdict on the bench staging round —
   "bench idea is a fail but I like the new barrel image more than the
   old one. Get rid of the bench, make the floating bottles look less
   stupid." Background swapped to hero-barrels.webp (the same barrelhouse
   photo, bench cropped out of frame entirely — pure blurred barrels),
   `background-position` back to plain `center` (no more bottom-pinning:
   there is no bench edge to lock to any more) with `background-size:cover`.
   The bottle is a floating product shot again — see .bc2-hero-glow /
   .bc2-float-shadow below for how "less stupid" is implemented (a lit
   spotlight + a shadow implying an out-of-frame surface, rather than
   nothing behind the bottle at all). container-type:inline-size is kept
   (min-height below still wants cqw units for the hero's own footprint;
   the glow/shadow ellipse sizes are also expressed in cqw so they scale
   with the hero the same way the old bench numbers did). */
.bc2-hero{
  /* 2026-07-22 (round-2 redesign, spec item 1): the hero no longer starts
     at the screen edge — it now sits BELOW the new slim persistent header
     (in normal flow), so the old margin-top:-2.6rem bleed-under-header
     trick is removed (that margin existed only to pull the hero up under
     a transparent floating header, which no longer exists). */
  position:relative; padding:0 .8rem; margin-top:.7rem;
  /* 2026-07-23 owner call: square corners on the full-width hero (radius
     removed — "square would look better" on the side-to-side image). */
  border-radius:0; overflow:hidden;
  container-type:inline-size;
  /* min-height (not height) in cqw units gives the hero the same ~square
     footprint the flex-driven layout used to produce (~100% of the hero's
     own width at 390px, verified pre-bench at commit 05d201fe~1: 392.97px
     tall = 100.76% of width) — doesn't hard-cap the box, so a long display
     name can still push it taller without clipping. */
  min-height: 100cqw;
}
.bc2-hero::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:url('/static/img/brand/hero-barrels.webp') center center/cover no-repeat;
}
.bc2-hero::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:rgba(20,14,8,.35); /* the ~35% dark scrim, spec item 2 */
}
/* 2026-07-22 (editorial image tier wiring): when the template resolves an
   editorial render for this bottle, it sets `background-image` inline on
   THIS element (.bc2-hero itself, not a pseudo-element) via
   hero_art.editorial_url — the full-bleed "one photograph" bottle shot
   replaces the shared barrels.webp backdrop entirely. `.bc2-hero::before`
   would otherwise paint on top of that (it's a sibling layer at the same
   z-index:0, painted after in source order) so it's turned off here; the
   ::after dark scrim stays at its EXACT same rgba/opacity — contrast
   insurance is still needed over a real photo, arguably more so than over
   the flat barrels backdrop, and .bc2-name-block's own local radial scrim
   (unchanged) does the rest, identically to the cutout path. */
.bc2-hero-editorial{
  /* 2026-07-23 (owner screenshot defect): the hero box renders near-square
     (~390x391 at 390px viewport, min-height:100cqw) but every editorial
     master is a tall 1080x1440 (3:4) studio/pedestal shot with the bottle
     staged in the LOWER portion of the frame and headroom above (spotlight/
     wall/barrel-stack). `background-size:cover` + `center center` crops an
     equal slice off top AND bottom to fit the square box — for these
     lower-staged compositions that keeps mostly the empty backdrop above
     the bottle and chops the bottle itself (Noah's Mill Cask Strength:
     bottle rendered small, floating in empty wall). Bright MID-frame
     compositions (Jim Beam Distillers No.4, bottle centered in a stone
     niche) happened to still look fine under center-cropping, which hid
     this for bottles whose composition differs.
     Fix: bias the vertical crop anchor toward the bottom of the source
     photo (75%) so `cover`'s crop keeps the bottle-containing band instead
     of the headroom above it — tuned by look across 4 real editorial
     masters spanning the composition range (pedestal/dark headroom, stone
     niche/mid-frame, barrel-rail, rickhouse-floor): 70% under-corrected
     (still visible headroom on the darkest pedestal shot), 80% started
     clipping the bottle's own neck/cap on the tallest/narrowest bottle
     tested; 75% keeps the full bottle in frame with the least headroom
     left over, on all four. Horizontal stays centered (studio shots are
     horizontally symmetric around the bottle).

     2026-08-19 (T346, three TestFlight reports incl. "This is systemic",
     confirmed still live after the 75% fix above — the fix biased WHICH
     slice of the source photo shows, but never changed HOW MUCH of the
     frame the bottle itself occupies inside that slice). Root cause: the
     hero box is near-square (~390x391) but the source master is a 3:4
     PORTRAIT (1080x1440), so `cover` always scales to match the box's
     WIDTH (0.36x here) — the bottle typically fills only ~20-25% of the
     master's own width, so the same ~0.36x scale applies to it regardless
     of vertical crop position, rendering it small no matter where the
     75% anchor points. Card2 has no wide/purpose-cropped tier for this
     route (`editorial_wide_image_for` is wired only for Tonight's Pick /
     the landing feed, not the bottle detail hero — see images.py), so the
     only lever here is CSS. Fix: zoom the background 180% (in addition to
     the existing 75% vertical anchor) so the visible crop tightens around
     the bottle-containing band instead of showing the full source width —
     tuned by screenshot across 2 real masters (Noah's Mill Cask Strength,
     Wilderness Trail Kentucky): 140-160% still left visible headroom/
     scrim on both sides; 200% started clipping the cap on the taller
     bottle; 180% reads as the hero on both with no cropping. Verified live
     at 390x844 — sprint-state/ui-acceptance/t346-visual-2026-08-19/. */
  background-size:180%; background-position:center 75%; background-repeat:no-repeat;
}
.bc2-hero-editorial::before{ content:none; }
.bc2-hero-stage{
  /* KNOWN TRAP: this used to be an OPAQUE radial-gradient background that
     painted over any photo behind .bc2-hero — cleared so the rickhouse
     photo + scrim (on the parent .bc2-hero) show through the full band. */
  position:relative; z-index:2; background:none;
  border-radius:22px; display:flex; gap:1rem; align-items:flex-start;
  container-type:inline-size;
  /* 2026-07-22 (round-2 redesign, spec item 2): .bc2-name-block is no
     longer a flex child of this stage — it moved out to a hero-level
     sibling, absolutely positioned over the LOWER portion of the hero
     photo (see .bc2-name-block below), so this stage no longer needs the
     padding-left reservation that used to keep the name-block's
     x-position clear of the art column, nor the padding-bottom that used
     to clear the (also-relocated) pill row. It now only lays out the
     no-cutout monogram-plinth fallback (the cutout variant's art column,
     .bc2-art-col-bench, is pulled out of this flex row entirely — see
     that rule below), so a light top/side padding is all this box needs. */
  padding:.8rem 1.1rem;
}
/* Fixed-height art column (defect 5): short/wide cutouts (WhistlePig,
   Blanton's) get bottom-aligned to the plinth-shadow line instead of
   rendering tiny in a column sized only by the tallest bottle's aspect
   ratio.
   2026-07-20 (fix 3): the cutout read too small against the name block on
   phone QA — widened ~40% (128px -> 180px) and raised max-height so the
   bottle art actually reads as the hero, not a thumbnail beside the type;
   the name block yields the space (its own font steps already shrink
   31->25->21px for a long name, so this doesn't fight legibility).
   2026-07-21 (owner item 3): height raised again 224px -> 264px (~18%
   taller) so the bottle reads as the hero, not dwarfed by the name block —
   width stays 180px (only height grows, so a wide/short cutout like
   Blanton's doesn't widen further into the pill row's horizontal space).
   The plinth-shadow line (::after) keeps the same visual discipline, just
   taller to match.
   2026-07-21 (owner QA round 2): still too small for TALL/NARROW cutouts
   (Sagamore Rye) — a narrow bottle inside a 180px-max-width box renders
   ~110px wide and gets lost against the rickhouse photo. Column widened
   196->230px (+17%) and height 308->360px (+17%, same ratio so short/wide
   AND tall/narrow bottles both gain proportionally), cutout max-width
   180->215px (+19%, deliberately a hair more than the column's own width
   growth so a narrow bottle's rendered width grows faster than a wide
   one's, since a wide cutout is capped by max-height/aspect ratio well
   before it reaches 215px anyway).
   2026-07-21 (owner QA round 3, "HERO TOO TALL" — reads as ~half a phone
   screen at 390pt, should read as ~a third): the previous round over-
   corrected on height. Column brought back down 230x360 -> 200x300 (~17%
   narrower, ~17% shorter — same aspect ratio preserved so tall/narrow AND
   short/wide cutouts both shrink proportionally, not lopsidedly), cutout
   max-width 215->185px (200 * 215/230, same ratio to the column's own
   width as the prior round established, so the "narrow bottle renders
   wider than the column growth" headroom is preserved at the new scale).
   Geometry check for the pill-row clearance guarantee (.bc2-hero-stage
   padding-bottom, now 3.3rem — recomputed in that rule's own comment for
   the SMALLER pill row from fix 2 below): that padding compensates for
   .bc2-action-pills' own margin-top:-.6rem pulling the row up relative to
   the STAGE's bottom edge — it is sized off the pill row's rendered
   height, not the art column's, and .bc2-cutout's max-height:100% keeps
   the image inside .bc2-art-col's own (now shorter) box regardless. So
   shrinking the column height here does NOT need a further padding-bottom
   change beyond what the pill-row resize already required — verified by
   re-reading the stage comment above: the guarantee remains
   height-of-art-column-independent. */
.bc2-art-col{
  flex:none; width:200px; height:300px; display:flex; align-items:flex-end;
  justify-content:center; position:relative;
}
.bc2-cutout{
  max-width:185px; max-height:100%; width:auto; object-fit:contain;
  filter:drop-shadow(0 20px 22px rgba(20,20,15,.22));
  margin-bottom:0; /* bleed removed 2026-07-21: it collided with the pill row (measured 24px overlap) — absorbed by
    .bc2-hero-stage's own padding-bottom above — never past the pill row */
}
.bc2-art-col::after{
  content:""; position:absolute; left:50%; bottom:-6px; width:100px; height:16px;
  transform:translateX(-50%); background:radial-gradient(ellipse, rgba(20,20,15,.22), transparent 70%);
}
.bc2-monogram-plinth{
  width:200px; height:300px; border-radius:16px;
  background:linear-gradient(180deg, #fff 0%, #ece9e2 100%);
  box-shadow:0 20px 22px rgba(20,20,15,.16);
  display:flex; align-items:center; justify-content:center;
}
.bc2-monogram{ font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight:700; font-size:3.4rem; color:var(--bc2-green); }

/* ---- ask #52 (2026-09-29): shop-photo hero plinth (non-default sites) ----
   When a bottle has neither an editorial render nor a cutout, non-default
   sites (whiskybuddy) show the bottle's SHOP photo here instead of the
   monogram plinth — a paper-fill band with the photo centred in it,
   mix-blend multiply melting the studio white into the paper. Geometry is
   the operator-approved look probe for ask #52: band 290px tall, padding
   28px 0 10px -> 252px of content height; .bc2-photo-crop caps its width
   at 252px * ar (keep 252 in sync with the padding here).

   .bc2-photo-crop / the inline custom properties do the white-space trim:
   scripts/build_site_image_trim.py harvests each shop photo's non-white
   bounding box; card2_page precomputes zoom/offset PERCENTAGES in Python
   and emits them as --bc2-photo-* vars; this sheet only applies them —
   aspect-ratio from --bc2-photo-ar, img absolutely positioned/sized from
   zw/zh/ox/oy, overflow:hidden crops. No var() division anywhere (the
   old-WKWebView discipline --bc2-cutout-ratio set; division in calc()
   was unsupported there). A photo with NO trim entry renders through
   .bc2-photo-img--plain instead: plain max-width/max-height contain,
   exactly the approved probe's uncropped rendering.

   multiply's backdrop is deterministic: .bc2-photo-hero paints an opaque
   fill and .bc2-hero-stage (position:relative, z-index:2) is the enclosing
   stacking context — the blend can only see this band's own paper. The
   fill must be the PAGE colour, not --bc2-paper: on the whisky site the
   page paints var(--r2-paper) (#FBF9F6, wb-bottle-restyle-a.css) on
   .bc2-hero, while wb-quiet-tokens.css forces --bc2-paper to #FFFFFF
   !important — painting --bc2-paper here rendered the band as a white
   rectangle on the cream page (ask #52 review defect). var(--r2-paper,
   var(--bc2-paper)) tracks the page in both colour schemes and falls
   back to the product token where --r2-paper is undefined (the default
   bourbon site, which never emits this markup anyway).

   The DEFAULT (bourbon) site never emits this markup — hero_art.photo_url
   is always None there, so bourbon's hero HTML/CSS path is unchanged. */
.bc2-photo-hero{
  flex:1 1 auto; min-width:0; height:290px; padding:28px 0 10px;
  display:flex; align-items:center; justify-content:center;
  background:var(--r2-paper, var(--bc2-paper));
}
.bc2-photo-crop{
  position:relative; overflow:hidden;
  aspect-ratio:var(--bc2-photo-ar);
  width:min(100%, calc(252px * var(--bc2-photo-ar)));
}
.bc2-photo-img{
  position:absolute; left:var(--bc2-photo-ox); top:var(--bc2-photo-oy);
  width:var(--bc2-photo-zw); height:var(--bc2-photo-zh);
  object-fit:fill; mix-blend-mode:multiply; display:block;
}
.bc2-photo-img--plain{ position:static; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; }

/* ---- de-bench: floating product shot (2026-07-21) ----
   Robert's verdict on the bench-staging round: "the bench idea is a fail
   but I like the new barrel image more than the old one. Get rid of the
   bench and make the floating bottles look less stupid." The bottle goes
   back to floating (no bench line, no front-lip overlay, no bench-anchored
   positioning math) but two things now sell it as a deliberate product
   shot rather than a paste-job: a warm spotlight glow behind the bottle
   (.bc2-hero-glow) and a soft floating contact shadow just under its base
   (.bc2-float-shadow) implying a surface just out of frame — the standard
   premium product-photography idiom. ONLY applies when a cutout exists
   (.bc2-art-col-bench / .bc2-hero-stage-bench, set by the template's
   `hero_art.cutout_url` check) — the monogram-plinth fallback keeps the
   original untouched flex-in-flow rendering (no-cutout tile unchanged).

   .bc2-art-col-bench is pulled OUT of the flex row (position:absolute) so
   it can be vertically centred in the hero independent of the (now also
   absolutely-positioned, bottom-pinned) name-block — 2026-07-22 update:
   .bc2-hero-stage-bench no longer needs a padding-left reservation for
   the name-block's x-position (that block moved out to its own hero-level
   bottom overlay, see .bc2-name-block below) — the class is kept only as
   a template hook in case the cutout variant needs stage-only tweaks
   later; it currently carries no rules of its own. Kept as a direct
   child of .bc2-hero (sibling of .bc2-hero-stage) so its `top:50%`
   centring resolves against the hero's own height, not the stage's short
   flow height. */
.bc2-art-col-bench{
  position:absolute; z-index:2; left:1.1rem;
  width:200px; height:auto; display:block;
  /* Vertically centred in the hero, nudged down slightly (spec: "slightly
     below center is fine") and kept clear of the pills row — the pills
     row is itself position:absolute/bottom-pinned (.bc2-action-pills-bench
     below) so it never collides with this regardless of hero height. */
  top:54%;
  transform:translateY(-50%);
}
.bc2-art-col-bench .bc2-cutout{
  display:block; position:relative; z-index:2;
  /* Same size discipline as the bench round: the bottle reads as 60-75% of
     the hero's own height (large, left-of-center) — 70cqw max-height,
     185px max-width (unchanged; this is also the width .bc2-hero-stage-
     bench's padding-left reservation is keyed to, so widening it here
     without updating that padding would wrap the title — confirmed live
     in the bench round, still true). */
  max-width:185px;
  max-height:70cqw;
  /* 2026-08-31 (Robert on-device, Knob Creek X Rye: cutout rendered ~4x
     stretched wide — no committed rule can do that; pinned as an
     engine-side intrinsic-size misread of the transparent WebP masters,
     sprint-state/photo-format-knob-creek-x-rye/NOTE.md). The layout ratio
     now comes from the MEASURED canvas, never the engine's guess:
     --bc2-cutout-ratio is emitted inline per-bottle by the template
     (images.cutout_canvas_ratio — same mechanism as --bc2-cutout-scale
     below); `auto` fails open to intrinsic sizing when it is absent
     (older cached HTML, read failure). contain + auto width/height mean
     whatever box the caps above resolve to, the image can never be
     squashed or stretched inside it. */
  aspect-ratio:var(--bc2-cutout-ratio, auto);
  object-fit:contain; width:auto; height:auto;
  /* Consistent visual bottle height across the catalogue (2026-07-22,
     Robert on-device: Knob Creek Cask Strength rendered small next to
     Old Forester 1920 filling the hero). Root cause: the ~2,000 cutout
     masters are transparent-padded canvases whose fill ratio (visible-
     bottle-height / canvas-height) varies 0.45-1.0 across the catalogue
     (Old Forester 1920 = 0.98, Knob Creek Cask Strength = 0.53) — the
     max-width/max-height box above scales the WHOLE padded canvas
     identically for every cutout, so a loosely-cropped canvas renders its
     bottle at a visibly shorter height than a tightly-cropped one even
     though both <img> elements land in the same box.
     Fix: `--bc2-cutout-scale` is set inline per-bottle by the template
     from `hero_art.cutout_scale` (card2_page.py _hero_art, sourced from
     images.cutout_fill_ratio — a measured, per-image alpha-bbox fill
     ratio, capped 1.0-1.9x so no cutout over-magnifies past the box).
     transform:scale doesn't affect layout/box size, so the reserved
     200x300 column needs no change; bottom-center transform-origin keeps
     the bottle anchored to the same
     plinth-shadow line at every scale, preserving the floating-product-
     shot idiom this rule's siblings (.bc2-hero-glow / .bc2-float-shadow)
     depend on. Default 1 (no-op) when the template omits the property
     (older cached HTML, or a cutout with fill_ratio read failure). */
  transform:scale(var(--bc2-cutout-scale, 1));
  transform-origin:50% 100%;
  /* Universal bottom-alpha softener (de-bench QA): a handful of cutouts
     are bottom-cropped flush (no rounded base pixel, e.g. Evan Williams
     Single Barrel) — with no bench lip to tuck the sliver behind any
     more, a hard-cropped base reads slightly more obviously man-made
     against the new glow/shadow. A subtle 2-3% bottom fade masks the cut
     edge without softening the rest of the bottle, and is imperceptible
     on cutouts with a clean natural base. */
  -webkit-mask-image:linear-gradient(to bottom, #000 97%, transparent 100%);
  mask-image:linear-gradient(to bottom, #000 97%, transparent 100%);
}
/* Warm spotlight glow BEHIND the bottle (between the background/scrim,
   z-index:0/1 on .bc2-hero, and the bottle, z-index:2 above) — a large,
   very soft, low-opacity amber radial-gradient wider than the bottle
   itself so it reads as deliberate lighting, not a random smudge.
   Centred on the bottle's own box (inset:0 on the SAME box as the
   cutout's column, not a bottom slice) so it's naturally centred behind
   whatever height the bottle renders at. */
.bc2-hero-glow{
  position:absolute; z-index:1; left:50%; top:50%; width:260%; height:150%;
  transform:translate(-50%,-50%);
  background:radial-gradient(ellipse, rgba(217,169,78,.28), rgba(217,169,78,0) 68%);
  pointer-events:none;
}
/* Floating contact shadow directly under the bottle's base — narrower
   than the bottle, a small gap below its base (bottom:-6%, negative so it
   sits just past the column's own bottom edge where the bottle's base
   actually renders) — the standard premium product-shot idiom implying a
   surface just out of frame, not a hard ground-contact bench shadow. */
.bc2-float-shadow{
  position:absolute; z-index:1; left:50%; bottom:-6%; width:56%; height:14%;
  transform:translateX(-50%);
  background:radial-gradient(ellipse, rgba(10,7,4,.45), rgba(10,7,4,0) 72%);
  pointer-events:none;
}

/* 2026-07-22 (round-2 Stitch redesign, spec item 2): eyebrow + serif name
   move to the LOWER portion of the hero photo (mock: bottom-right block
   over the image) — .bc2-name-block is now a hero-level sibling (not a
   flex child of .bc2-hero-stage any more), absolutely positioned and
   pinned to the hero's bottom edge, full-width so long names still wrap
   inside the hero rather than being squeezed into a narrow flex column.
   z-index:3 keeps it above the floating bottle/glow/shadow layers
   (z-index 1-2) and above .bc2-hero-stage's own z-index:2, matching how
   the pill row used to need to clear those same layers. */
.bc2-name-block{
  position:absolute; left:0; right:0; bottom:0; z-index:3;
  padding:0 1.1rem 1.1rem; min-width:0;
}
/* Owner 2026-07-21 (item 4): a local scrim just behind the text block, on
   top of the existing page-wide 35% .bc2-hero::after wash — darkens where
   the eyebrow/title/subtitle actually sit without flat-darkening the rest
   of the photo (the bottle art column stays untouched: this pseudo-element
   is scoped to .bc2-name-block only, not .bc2-hero-stage). Radial rather
   than a hard-edged rectangle so it fades into the surrounding photo. */
.bc2-name-block::before{
  content:""; position:absolute; z-index:0;
  top:-.6rem; left:-.5rem; right:-.4rem; bottom:-.6rem;
  background:radial-gradient(ellipse at 30% 40%, rgba(10,7,4,.42), rgba(10,7,4,0) 75%);
  pointer-events:none;
}
.bc2-name-block > *{ position:relative; z-index:1; }
/* Title/eyebrow/subtitle now sit over the hero photo (spec item 2) — cream
   var(--sk-q-bg-2) with a soft text shadow so they read against any part of the
   image, gold #d9a94e eyebrow. This is the acceptance bar (failed twice
   in mock rounds): every one of these three must be legible. */
.bc2-eyebrow{
  margin:0 0 .3rem; font-family:'Instrument Sans', sans-serif; font-size:.72rem;
  font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--bc2-gold);
  text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1.5px;
  text-shadow:0 1px 4px rgba(0,0,0,.45);
}
.bc2-display-name{
  margin:0 0 .35rem; font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight:700;
  line-height:1.16; /* 2026-08-24: two-line display names get air (vision-scan polish) */
  color:var(--bc2-cream);
  text-shadow:0 2px 8px rgba(0,0,0,.45);
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
  overflow:hidden; overflow-wrap:break-word; word-break:normal;
}
.bc2-spec-line{
  /* Owner 2026-07-21: "hard to read over the barrels" — bumped one size
     step (.82rem -> .92rem), weight 500+ (was inheriting body 400), and a
     stronger shadow (matches the display-name's own .45-alpha/8px shadow
     rather than the previous weaker .4-alpha/4px one). */
  margin:0 0 .4rem; font-size:.92rem; font-weight:500; color:var(--bc2-cream);
  text-shadow:0 2px 8px rgba(0,0,0,.55);
}
.bc2-spec-dot{ margin:0 .3rem; }

/* 2026-08-24 (handoff): tap-to-rate stars restored under the spec line —
   journal.js's classic #ratingStars row recoloured into the hero's
   gold-on-dark language. bc2-scoped names so test_css_ownership never sees
   bottle.css's .stars/.star tokens as shared. .hov is the hover preview
   (journal.js hoverStars parity); .on is the persisted rating. */
.bc2-stars{
  display:inline-flex; gap:.15rem; margin:.15rem 0 .35rem; padding:0;
}
.bc2-star{
  background:none; border:0; padding:0; font:inherit;
  font-size:1.05rem; line-height:1; color:rgba(246,239,228,.42);
  cursor:pointer; text-shadow:0 1px 4px rgba(0,0,0,.45);
  -webkit-appearance:none; appearance:none; -webkit-tap-highlight-color:transparent;
}
.bc2-star.on, .bc2-star.hov{ color:var(--bc2-gold); }
/* 16 Nov 2026 (gap walk #61, ST1): the text glyph was drawn by Android's font as a
   circled colour star, so lit and unlit looked the same. The star is now an inline
   SVG that follows the button's text colour: unlit = outline only, lit = filled. */
.bc2-star-svg{ display:block; width:1em; height:1em; pointer-events:none;
  fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; }
.bc2-star.on .bc2-star-svg, .bc2-star.hov .bc2-star-svg{ fill:currentColor; }
.bc2-star{ display:inline-flex; align-items:center; justify-content:center; }

/* 2026-07-24 (beta feedback, no_askbuddy.jpg): discreet "Ask Buddy about
   <bottle>" shortcut in the hero name block — a quiet underlined text
   affordance (gold, matches .bc2-eyebrow's treatment), not a filled pill,
   so it reads as a hint rather than competing chrome with the Watching/
   Favourite ghost chips above or the Best Price card below. Opens via the
   SAME askBuddyBottle() takeover as the inline composer/header search
   (see the click handler further down this template) — no new open path. */
.bc2-ask-shortcut{
  display:inline-block; margin:.15rem 0 0; padding:0; border:0; background:none;
  font-family:'Instrument Sans', sans-serif; font-size:.78rem; font-weight:600;
  color:var(--bc2-gold); text-decoration:underline; text-underline-offset:3px;
  text-decoration-thickness:1.5px; text-shadow:0 1px 4px rgba(0,0,0,.45);
  cursor:pointer; -webkit-tap-highlight-color:transparent;
}
.bc2-ask-shortcut:hover, .bc2-ask-shortcut:focus-visible{ color:var(--bc2-cream); }

/* ---- hero chips (2026-07-22, round-2 Stitch redesign, spec item 3) ----
   Watching/Favourite render as translucent ghost chips pinned at the TOP
   of the hero (mock: "floating interaction pills", top-right over the
   photo) — Target moved DOWN into the Best Price card (see .bc2-pill-target
   below), since it targets the price shown there. Same #bc2PillWatch/
   #bc2PillFav ids and the SAME journal-API JS wiring — only the row/
   position moved, not the behavior. z-index:4 keeps every chip above the
   hero's own dark scrim (.bc2-hero::after, z-index:1) and the floating
   bottle/glow/shadow layers (z-index 1-2) — the exact pointer-events trap
   the 2026-07-21 fix (test_card2_action_pills_headless_2026_07_21.py)
   already proved for the old pill row; this row needs the same guarantee
   since it is, again, a sibling inside .bc2-hero.

   2026-07-22 fix round (adversarial review defect): a THIRD gold-filled
   .bc2-pill-buddy chip had been added to this row (#bc2PillBuddy) — the
   approved reference (bottle-detail-old-forester.png) shows only these two
   ghost chips, both the same translucent-black style, no third element.
   Removed the pill (and its now-unused CSS/JS); the Buddy affordance still
   opens the same takeover via the inline "Ask Buddy something..." row
   (spec item 5) and the header search icon. */
.bc2-hero-chips{
  position:absolute; top:.8rem; right:.8rem; z-index:4;
  display:flex; gap:.4rem; justify-content:flex-end;
  overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none;
  max-width:calc(100% - 1.6rem);
}
.bc2-hero-chips::-webkit-scrollbar{ display:none; }
/* 2026-08-24 (handoff; Robert's screenshot with all three toggles ON read
   as three identical buttons — the old dark-glass "off" against the dark
   hero looked the same as the brass "on"): the OFF state is now
   TRANSPARENT with a 1px cream outline, muted cream text and a leading
   "+"; the ON state keeps the solid brass fill and gains a "✓" prefix.
   The glyphs are ::before content driven purely by the bc2-pill-on class
   paintPills() already toggles — no second state system, aria-pressed
   unchanged. Legibility bar unchanged: cream on the rickhouse photo
   (failed twice in mock rounds on the old pill row). */
.bc2-pill{
  flex:none; padding:.4rem .75rem; border-radius:999px; border:1px solid rgba(246,239,228,.6);
  background:transparent;
  color:rgba(246,239,228,.82); font-size:.86rem; font-weight:600; cursor:pointer;
  display:inline-flex; align-items:center; gap:.35rem; white-space:nowrap;
}
.bc2-pill::before{ content:"+"; font-weight:700; }
/* fix 5 (2026-07-21 brass fill kept): active state for Watching/Favourite/
   Target — solid brass + "✓" so "on" reads unmistakably different from
   the outlined "off" state, matching the verdict-dot accent. */
.bc2-pill-on{
  background:var(--bc2-green); border-color:var(--bc2-green); color:var(--bc2-cream);
}
.bc2-pill-on::before{ content:"✓"; }
/* 2026-07-31 (#1351 T11): inline bell inside #bc2PillFav — reads favouriting
   as "switches on price alerts". Gold accent (matches approved mockup), not
   currentColor, so it stays legible in both the ghost and bc2-pill-on
   (solid brass) states — the favourited/unfavourited distinction itself is
   still carried entirely by the chip's existing background swap, this icon
   doesn't add a second state system. Sized off the pill's own font-size so
   the @media(max-width:360px) shrink below still scales it down with it. */
.bc2-pill-bell{
  width:.95em; height:.95em; flex:none; color:var(--bc2-gold);
}
@media (max-width:360px){
  .bc2-hero-chips{ gap:.3rem; }
  .bc2-pill{ padding:.35rem .6rem; font-size:.8rem; gap:.25rem; }
}

/* ---- tab strip ----
   2026-07-22 (round-2 Stitch redesign, spec item 7): restyled to match the
   mock's uppercase micro-label tabs with a stronger brown underline on the
   active tab (the underline treatment was already close per the brief;
   tightened weight/tracking here) — tab-switch JS/markup unchanged. */
.bc2-tabs{
  display:flex; gap:1.6rem; padding:0 .9rem; overflow-x:auto; /* 2026-08-24: rhythm pass — tabs/panels/section-titles/price-card/intel/verdict all breathe a little more */
  background:var(--bc2-panel); border-bottom:1px solid var(--bc2-line);
}
.bc2-tab{
  background:none; border:none; padding:1rem 0 .9rem; font-size:.8rem; font-weight:700;
  letter-spacing:.05em; color:var(--bc2-mut); cursor:pointer; white-space:nowrap;
  border-bottom:2px solid transparent;
}
.bc2-tab-active{ color:var(--bc2-green); border-bottom-color:var(--bc2-green); }

.bc2-panels{ padding:1.15rem .9rem 0; }
/* No panel ever stretches to fill leftover viewport height — a short
   Bottle-tab (blurb only, no facts/US-context) must end where its content
   ends, not open a void before the fixed dock (spec fix 6a: "kill the
   void (no min-height/flex-grow padding when content is short)"). */
.bc2-panel{ min-height:0; height:auto; flex:none; }
.bc2-panel[hidden]{ display:none; }
.bc2-panel:last-child{ padding-bottom:1.5rem; }
.bc2-section-title{ font-size:.92rem; font-weight:700; margin:1.6rem 0 .65rem; }
.bc2-empty{ color:var(--bc2-mut); font-size:.86rem; padding:1rem 0; }
.bc2-source-caption{ font-size:.72rem; color:var(--bc2-faint); margin-top:.4rem; }

/* ---- Best Price card (2026-07-22, round-2 Stitch redesign, spec item 4)
   White rounded card holding the verdict dot/word, the big navy price,
   retailer link, and context line — same markup/data as before, just
   inside a white card container matching the mock (was a plain in-panel
   block). Target renders in this card's own top-right corner (spec item
   3's "placement your call" — it targets the price shown here). */
.bc2-price-card{
  position:relative; background:var(--bc2-panel); border:1px solid var(--bc2-line);
  border-radius:16px; padding:1.3rem 1.2rem 1.35rem; margin-top:1.2rem;
  box-shadow:0 2px 10px rgba(22,24,21,.05);
}
/* Target pill on the WHITE card (not glass-over-photo like the hero chips)
   — a quiet outlined pill in the card's top-right corner, brass when set
   (reuses .bc2-pill-on's fill unchanged). Same #bc2PillTarget id/JS. */
.bc2-pill-target{
  position:absolute; top:1rem; right:1.1rem;
  padding:.3rem .7rem; border-radius:999px; border:1px solid var(--bc2-line);
  background:none; color:var(--bc2-mut); font-size:.78rem; font-weight:700;
  cursor:pointer; white-space:nowrap;
}
.bc2-pill-target.bc2-pill-on{
  background:var(--bc2-green); border-color:var(--bc2-green); color:#fff;
}

/* ---- Offers: verdict line ----
   Owner-settled 2026-07-21: verdict (dot + label) sits on its OWN line,
   ABOVE the price, both left-aligned — restoring the stacked layout the
   design always had (regression in 88a5e5a7 let the price sit beside the
   label on the same line because nothing forced a break between the
   inline dot/label spans and the price element). text-align:left is
   explicit here since an ancestor could otherwise centre this block. */
.bc2-verdict{ padding:.5rem 0 1.1rem; text-align:left; }
.bc2-verdict-line{ display:flex; align-items:center; }
.bc2-verdict-dot{
  display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:.4rem;
  background:var(--bc2-green); flex:none;
}
.bc2-verdict-tone-neutral .bc2-verdict-dot{ background:var(--bc2-faint); }
.bc2-verdict-label{
  display:inline-block; font-size:.76rem; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; color:var(--bc2-green);
}
.bc2-verdict-tone-neutral .bc2-verdict-label{ color:var(--bc2-mut); }
.bc2-price{
  font-weight:700; line-height:1; margin:.5rem 0 .3rem; font-variant-numeric:tabular-nums;
  display:block; text-align:left;
}
.bc2-price-cur{ font-size:.42em; vertical-align:super; margin-right:.1rem; }
.bc2-price-cents{ font-size:.42em; vertical-align:super; margin-left:.05rem; }
.bc2-verdict-sub{ margin:0; font-size:.84rem; color:var(--bc2-mut); }
/* No-price state: the big price row is simply absent (no "A$—") — just the
   verdict label + a plain sentence, and an optional muted last-seen line
   (spec fix 2). */
.bc2-verdict-sub-noprice{ margin-top:.3rem; }
.bc2-last-price{ margin:.35rem 0 0; font-size:.8rem; color:var(--bc2-faint); }

/* ---- commerce link line (spec items 8/9): the big A$ price is an <a> to
   the best offer's retailer URL, and the retailer name + arrow renders as
   its own link directly under it in the same size as the verdict sub-line
   — the neck-tag pennant that used to occupy this space is removed
   entirely (markup + CSS; nothing of it renders any more, including no
   clipped "IEW OFFER" remnant).

   2026-08-24 (handoff, taste call flagged to Robert): the giant price was
   link-blue — a 42px blue number reads as decoration, not a link. Price
   goes INK (still an <a>, underline on hover/focus); the "Buy at
   <retailer> ↗" line carries the blue. */
.bc2-price[href]{ color:var(--bc2-ink); text-decoration:none; display:inline-block; }
.bc2-price[href]:hover, .bc2-price[href]:focus-visible{ text-decoration:underline; }
.bc2-price-retailer{ margin:.2rem 0 0; font-size:.84rem; }
.bc2-price-retailer a{ color:var(--wb-link-blue); text-decoration:none; font-weight:600;
  /* long retailer names (e.g. Skull & Barrel) must not clip at the card
     edge — wrap instead of a hard nowrap/ellipsis truncation. */
  overflow-wrap:break-word; word-break:break-word; }
/* Freshness line (LLM search-citations Phase 2a, 2026-08-31): "Lowest price
   $X at <retailer> — checked <date>" directly under the shop link — muted
   metadata, same grammar family as the verdict sub-line. */
.bc2-price-freshness{ margin:.15rem 0 0; font-size:.8rem; color:var(--bc2-mut); }
/* T727 size chips (figma Gate-1, 2026-09-16): hero + every-offer-row size
   badges, rendered ONLY when the size parsed from the listing's own
   title/URL (server-side truthiness gate — no blank chip ever ships).
   Minimal pill in the same token family as the RRP pill: line border,
   muted ink, no fill weight. Nothing here touches .bc2-verdict* or
   .bc2-us-rrp* (T728-owned). */
.bc2-hero-size{
  display:inline-block; margin:.35rem 0 0; padding:.12rem .5rem;
  border:1px solid var(--bc2-line); border-radius:999px;
  font-size:.7rem; font-weight:600; letter-spacing:.03em;
  color:var(--bc2-mut); background:var(--bc2-paper);
}
/* US RRP strip (spec item 10; demoted to reference 2026-09-16, T728): slim
   single-line strip, cream wash, between the sub-line and the chart. After
   the T728 verdict bands (AU-vs-recent-AU), this reads as REFERENCE CONTEXT,
   not a second verdict: quieter paper tone (transparent over the card's own
   cream, no hard #f5ecdd fill), muted ink, lighter pill, and the trailing
   "· for reference" note carries the grammar — no premium/percent, and the
   ≈ A$ conversion is no longer rendered at all. Rendered only when the
   bottle has US RRP data (server-side gate in card2_page.py). */
.bc2-us-rrp-strip{
  margin:.6rem 0 0; padding:6px .6rem; font-size:.8rem; color:var(--bc2-mut);
  background:none; border-radius:8px;
}
/* strip owns the space above it (verdict-sub gap); it must not also stack a
   margin-bottom against the chart-wrap's own margin-top (owner: "gap is too
   big" — the real source was the strip's implicit bottom spacing PLUS the
   chart-wrap's .6rem top margin PLUS the chart svg's own y=10 internal top
   padding, three sources compounding; fixed at the strip/wrap boundary so
   only one margin does the work). */
.bc2-us-rrp-pill{
  display:inline-block; margin-right:.4rem; padding:.1rem .45rem; border-radius:999px;
  background:var(--bc2-line); color:var(--bc2-mut); font-size:.62rem; font-weight:600;
  letter-spacing:.04em; text-transform:uppercase; vertical-align:middle;
}
/* "· for reference" — the demotion's own words; metadata-weight only. */
.bc2-us-rrp-note{ color:var(--bc2-faint); }

/* ---- (2026-07-25, T38) the bespoke "Ask Buddy something…" dock USED to be
   styled here (.bc2-ask-inline / .bc2-ask-input / .bc2-ask-send, spec item 5,
   2026-07-22). Deleted with its markup: it was a decorative composer — no
   input/keydown/submit handler ever existed, so anything typed into it was
   discarded — and having two bars on one page is what forced the real #bdBar
   off-canvas (see the deleted exile block further down) and left the
   full-screen takeover with no message box at all. The page's one composer is
   now the real .bd-bar the former Buddy script docks, skinned by the ".bc2-page .bd-bar"
   block below. ---- */

/* ---- Bottle Intelligence card (2026-07-22, spec item 6) ----
   Age Statement / Proof / Mash Bill / Distillery, from
   card2_data.compose_bottle_intel — a row with no data is simply absent
   from the list the template loops over (never rendered as a placeholder).
   White rows on a hairline-divider card, matching the mock's
   `bg-line-divider` row-separator card exactly. */
.bc2-intel{ margin-top:1.7rem; }
.bc2-intel-title{
  margin:0 0 .6rem; font-size:.78rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--bc2-ink);
}
.bc2-intel-card{
  background:var(--bc2-line); border:1px solid var(--bc2-line); border-radius:14px;
  overflow:hidden;
}
.bc2-intel-row{
  display:flex; justify-content:space-between; align-items:center; gap:.75rem;
  background:var(--bc2-panel); padding:.85rem 1rem;
}
.bc2-intel-row + .bc2-intel-row{ border-top:1px solid var(--bc2-line); }
.bc2-intel-label{ font-size:.84rem; color:var(--bc2-mut); }
.bc2-intel-val{
  font-size:.84rem; font-weight:700; color:var(--bc2-ink); text-align:right;
  overflow-wrap:break-word; word-break:break-word;
}

/* ---- charts (Offers full/sparse; History taller) ----
   Constrained (viewBox + overflow hidden + a capped CSS height) so the
   chart can never paint over the sticky header while scrolling (defect
   1c); position:relative keeps it below the header's stacking context. */
.bc2-chart-wrap{
  /* height must fit svg (~107px at 390w) PLUS the anchor row — 120px was
     silently clipping the anchor VALUES (labels survived, values didn't).
     margin-top trimmed to .1rem (owner 2026-07-21: strip->chart gap was
     too big) — the real slack was here, compounding with the strip's own
     .6rem top margin and the svg's internal y=10 top padding; this is the
     one knob that yields ~12px total between the strip and the visible
     chart line without touching the svg's coordinate space.
     T1238 (2026-10-14): NO max-height. The anchor row lives INSIDE this
     wrap and the svg scales with width (79px at 320w, 167px from ~700w), so
     any fixed cap clips the row on wider screens: at 200px the values were
     half cut at 562w and fully hidden from 768w (labels survived, values
     didn't — the same failure as the old 120px cap). overflow:hidden +
     z-index still keep the svg from painting over the sticky header. */
  position:relative; z-index:1; margin:.1rem 0 1rem; overflow:hidden;
}
.bc2-chart{ display:block; width:100%; height:auto; }
/* Round join/cap + 2.2px, matching the reference sheets exactly — reads as
   a smooth curve rather than the aliased default (defect 8). */
.bc2-chart-line{
  fill:none; stroke:var(--bc2-green); stroke-width:2.2;
  stroke-linejoin:round; stroke-linecap:round;
}
.bc2-chart-area{ fill:var(--bc2-greenWash); stroke:none; opacity:.9; }
.bc2-chart-dot{ fill:var(--bc2-green); }
.bc2-chart-dot-open{ fill:var(--bc2-paper); stroke:var(--bc2-green); stroke-width:2.2; }
.bc2-chart-label{ font-size:7px; fill:var(--bc2-mut); font-family:inherit; }
.bc2-chart-caption{ font-size:.72rem; color:var(--bc2-mut); margin:.6rem 0 0; }
/* Anchor row (Today/90-day low/Trend; 90-day high/low/Typical) — lives
   BELOW the svg, never floating inside the plot (defect 1b). Owner
   2026-07-21: a proper 3-column grid so the MIDDLE column (90 day low)
   actually centres instead of drifting left inside a flex:1 box whose
   content just left-aligns by default — first column left, middle
   centred, last right, same rule for both the Offers and History tabs'
   anchor rows since both reuse this class. */
.bc2-anchor-row{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); margin-top:.75rem; }
/* T2830 (TF AKYvXrz): a bare 1fr track is minmax(auto,1fr) — a cell's
   min-content width (uppercase 13px label + tracking, e.g. "HIGH ON
   RECORD (700ML)") could exceed its track on narrow screens, pushing the
   right-aligned end cell past the viewport (clipped words). minmax(0,1fr)
   lets tracks shrink so long labels WRAP inside their cell instead. */
.bc2-anchor{ text-align:left; min-width:0; }
.bc2-anchor:not(:first-child):not(:last-child){ text-align:center; }
.bc2-anchor-end{ text-align:right; }
.bc2-anchor-lbl{
  font-size:.625rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--bc2-faint); margin-bottom:.2rem; line-height:1.3; overflow-wrap:break-word;
}
.bc2-anchor-val{
  font-size:.875rem; font-weight:700; color:var(--bc2-ink); font-variant-numeric:tabular-nums;
}
.bc2-anchor-good{ color:var(--bc2-greenInk); }
/* Walk fix 15 Nov 2026: the History tab's High / Low / Typical row (labels can
   carry a size, "HIGH ON RECORD (700ML)") clipped on a 375pt phone in three
   columns. One line per figure, label left, value right: nothing can be cut. */
.bc2-anchor-row--stack{ display:block; }
.bc2-anchor-row--stack .bc2-anchor,
.bc2-anchor-row--stack .bc2-anchor:not(:first-child):not(:last-child){
  display:flex; justify-content:space-between; align-items:baseline; gap:.75rem;
  text-align:left; padding:.3rem 0;
}
.bc2-anchor-row--stack .bc2-anchor-lbl{ margin-bottom:0; }
.bc2-anchor-row--stack .bc2-anchor-val{ white-space:nowrap; text-align:right; }
.bc2-history-chart{
  position:relative; z-index:1; margin:.8rem 0; overflow:hidden;
}
/* A3 fix 16 Nov 2026: the cap belongs on the chart svg, not on the wrapper —
   the wrapper also holds the stacked High/Low/Typical rows, which a 250px
   wrapper cap clipped to one line on a phone. */
.bc2-history-chart svg{ display:block; width:100%; height:auto; max-height:250px; }

/* ---- similar: compact single row, no card chrome (defect 4a) ---- */
.bc2-similar-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:.9rem; }
.bc2-similar-card{
  text-decoration:none; color:inherit; display:block; text-align:center;
}
.bc2-similar-thumb{
  width:62%; margin:0 auto; aspect-ratio:10/15; object-fit:contain;
  display:block; background:none; border:none; border-radius:0; padding:0;
  filter:drop-shadow(0 6px 8px rgba(20,20,15,.18));
}
.bc2-monogram-thumb{
  display:flex; align-items:center; justify-content:center; border-radius:10px;
  background:linear-gradient(178deg,#fff,#eef1ec 78%); border:1px solid var(--bc2-line);
}
.bc2-monogram-thumb span{ font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight:700; color:var(--bc2-green); font-size:1.4rem; }
.bc2-similar-name{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  font-size:.72rem; font-weight:600; margin-top:.55rem; color:var(--bc2-ink);
}
.bc2-similar-price{
  display:block; font-size:.75rem; font-weight:700; color:var(--bc2-green); margin-top:.15rem;
  font-variant-numeric:tabular-nums;
}

/* ---- Bottle tab ---- */
.bc2-blurb p{ font-size:.92rem; line-height:1.5; }
.bc2-facts{ margin:1rem 0; }
.bc2-fact-row{ display:flex; justify-content:space-between; padding:.4rem 0; border-bottom:1px solid var(--bc2-line); font-size:.85rem; }
.bc2-fact-row dt{ color:var(--bc2-mut); } .bc2-fact-row dd{ margin:0; font-weight:600; }
/* phone-wraps #3326: the label keeps its natural width and never breaks
   inside a word ("Disti/llery"); the value column takes the rest and wraps. */
.bc2-fact-row dt{ flex:0 0 auto; white-space:nowrap; }
.bc2-fact-row dd{ flex:1 1 0; min-width:0; text-align:right; overflow-wrap:anywhere; }
/* fix 7: the v15 usBox — green-wash two-column card (US shelf price + ≈A$
   on the left, AU premium % on the right when a live AU price exists to
   compare against), placed last in the Bottle tab per the spec's priority
   order (blurb -> facts -> US context). */
.bc2-us-box{
  display:flex; align-items:center; gap:.75rem; background:var(--bc2-greenWash);
  border:1px solid #e5d4bb; border-radius:13px; padding:.8rem 1rem; margin-top:1.1rem;
}
.bc2-us-col{ flex:1; }
.bc2-us-col-end{ text-align:right; flex:none; }
.bc2-us-lbl{
  font-size:.66rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--bc2-mut); margin-bottom:.2rem;
}
.bc2-us-val{ font-size:1rem; font-weight:700; color:var(--bc2-ink); font-variant-numeric:tabular-nums; }
.bc2-us-approx{ font-size:.85rem; font-weight:600; color:var(--bc2-mut); }
.bc2-us-premium{ color:var(--bc2-greenInk); }
.bc2-us-premium-over{ color:var(--bc2-greenInk); }

/* ---- History tab ---- */
/* Owner-settled redesign item 11: the 90 days/1 year/All segmented control
   is removed (parked on the roadmap) — single 90 day view, no toggle, so
   its CSS is removed too (dead selectors, nothing left to render them). */
.bc2-section-head{ display:flex; justify-content:space-between; align-items:baseline; margin:1.2rem 0 .5rem; }
.bc2-section-title-tight{ margin:0; }
.bc2-section-hint{ font-size:.78rem; font-weight:600; color:var(--bc2-green); }
.bc2-offer-list{ list-style:none; margin:0; padding:0; }
/* v15 offer cards: #fbfaf7 rounded cards, not grey stripes; the lowest
   in-stock row gets the green wash + the only "View ↗" link-out button;
   others get a plain ↗ arrow; out-of-stock rows dim to ~55% opacity and
   show "out of stock" where the arrow would be (spec fix 3b/3c). */
.bc2-offer-row{
  display:flex; align-items:center; gap:.7rem;
  padding:.7rem .75rem; margin-bottom:.45rem; border-radius:12px;
  background:#fbfaf7; border:1px solid #eeede6; font-size:.84rem;
}
.bc2-offer-main{ flex:1 1 auto; min-width:0; }
.bc2-offer-lowest{ background:var(--bc2-greenWash); border-color:#e5d4bb; }
.bc2-offer-oos{ opacity:.55; }
/* T1241: never seen in stock — greyed, price kept (restyle sheet refines). */
.bc2-offer-never{ background:#efece6; }
.bc2-offer-never .bc2-offer-price{ font-weight:400; color:var(--bc2-faint); }
.bc2-offer-retailer{ display:block; font-weight:700; color:var(--bc2-ink); }
/* T727 row size chip — same pill grammar as the hero's .bc2-hero-size
   (above, by the price-card rules); sits under the retailer name, above
   the meta line. Truthiness-gated in the template: no node, no chip,
   when the row's size didn't parse. */
.bc2-offer-size{
  display:inline-block; margin-top:.12rem; padding:.08rem .45rem;
  border:1px solid var(--bc2-line); border-radius:999px;
  font-size:.66rem; font-weight:600; letter-spacing:.03em;
  color:var(--bc2-mut); background:transparent;
}
.bc2-offer-meta{ display:block; color:var(--bc2-faint); font-size:.72rem; margin-top:.1rem; }
.bc2-offer-price{ flex:none; font-weight:700; color:var(--bc2-ink); }
.bc2-offer-lowest .bc2-offer-price{ color:var(--bc2-greenInk); }
.bc2-offer-tag{
  flex:none; color:#fbf3e6; background:linear-gradient(165deg,var(--bc2-green),var(--bc2-greenDeep));
  border-radius:7px; padding:.4rem .55rem; font-size:.72rem; font-weight:700; text-decoration:none;
}
/* T1262: the whole in-stock row is one link. The <li> keeps the card look;
   the link inside carries the row layout and padding so the full card is
   the tap target. The arrow glyph never shrinks or clips. */
.bc2-offer-row:has(> .bc2-offer-link){ padding:0; }
.bc2-offer-link{
  display:flex; align-items:center; gap:.7rem; flex:1 1 auto; min-width:0;
  padding:.7rem .75rem; border-radius:inherit; color:inherit; text-decoration:none;
}
.bc2-offer-link:focus-visible{ outline:2px solid var(--bc2-green); outline-offset:2px; }
.bc2-offer-arrow{ flex:none; overflow:visible; line-height:1; color:var(--bc2-faint); text-decoration:none; font-size:.86rem; }
.bc2-offer-oos-label{ flex:none; margin:0; }
/* t_30e9198a (2026-10-06): size-group head row — first row of each size
   group in the "Every offer" list (spec 2026-09-25, ask #14, design
   section 3: "each group headed by its size"). Rendered only when the
   page has more than one size group. Plain eyebrow text, no offer
   markup, no link; the group's own rows follow with their chips. */
.bc2-offer-size-head{
  list-style:none; margin:.55rem 0 .25rem; padding:0 .1rem;
  font-size:.68rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--bc2-mut);
}
.bc2-offer-size-head:first-child{ margin-top:.15rem; }

/* T1263 (2026-10-14): Dan Murphy's free-to-join member price IS the price
   shown (one number; the T725 dual-price hero/rows are retired). A small tag
   under the headline and under a member row explains the number; a quiet note
   says price alerts follow shelf prices. Does not touch .bc2-verdict*,
   .bc2-us-rrp* (T728) or size chips (T727). */
.bc2-member-tag{
  margin:.2rem 0 0; font-size:.78rem; font-weight:600; color:var(--bc2-greenInk);
}
.bc2-target-note{
  margin:.15rem 0 0; font-size:.74rem; color:var(--bc2-faint);
}
.bc2-offer-price-stack{
  flex:none; display:flex; flex-direction:column; align-items:flex-end;
  gap:.1rem; text-align:right;
}
.bc2-offer-member-tag{ font-size:.66rem; font-weight:600; color:var(--bc2-greenInk); }


/* ---- Tasting tab: flavour wheel ----
   Ported verbatim from the classic bottle page's radar (2026-07-21;
   bottle.css `.wheel-rings circle,.wheel-rings line` / `.wheel-bottle` /
   `.wheel-labels text`) — same element roles (ring/spoke group, filled
   series path, label group), recoloured only to the card2 brown-accent
   tokens. Namespaced `.bc2-wheel-*` so this stays card2's own selector
   family (test_css_ownership: no shared token with bottle.css's `.wheel`/
   `.flavour-wheel` classes). */
.bc2-wheel-wrap{ text-align:center; }
.bc2-wheel{ width:100%; max-width:392px; }
.bc2-wheel-ring{ fill:none; stroke:var(--bc2-line); stroke-width:1; }
.bc2-wheel-fill{ fill:var(--bc2-green); fill-opacity:.13; stroke:var(--bc2-green); stroke-width:2.2; }
.bc2-wheel-label{ font-size:8.5px; fill:var(--bc2-ink2); font-weight:600; }
.bc2-wheel-readout{ font-family:'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-size:1.05rem; color:var(--bc2-green); margin:.3rem 0 1rem; text-transform:capitalize; }
.bc2-chip-row{ font-size:.82rem; margin:.5rem 0; }
.bc2-chip-row b{ margin-right:.4rem; color:var(--bc2-ink2); }
.bc2-chip{
  display:inline-block; margin:.15rem .25rem 0 0; padding:.15rem .5rem; border-radius:999px;
  background:var(--bc2-panel); border:1px solid var(--bc2-line); font-size:.76rem; color:var(--bc2-ink2);
}
.bc2-chip-signature{ background:var(--bc2-greenWash); border-color:var(--bc2-green); color:var(--bc2-greenDeep); font-weight:700; }
.bc2-tasting-buddy-card{
  background:var(--bc2-dock); color:var(--bc2-cream); border-radius:12px; padding:.8rem .9rem; margin-top:1.1rem; font-size:.86rem;
}

/* ---- Releases tab ---- */
.bc2-release-list{ list-style:none; margin:0; padding:0; }
.bc2-release-row{ padding:.55rem 0; border-bottom:1px solid var(--bc2-line); }
.bc2-release-row a{ color:var(--bc2-green); font-weight:600; text-decoration:none; }
/* T1584: catch-all row, muted like the family page's .is-other (opacity only, still a link) */
.bc2-release-row--other{ opacity:.82; background:var(--bc2-paper); }
.bc2-release-row--other a{ color:var(--bc2-ink2); }

/* ---- Buddy dock (fix 6): ink-green recolour of the REAL .bd-bar the former Buddy script
   mounts on this page, via its own CSS custom-property hooks — never a
   restyle of .bd-bar's rules themselves, and every selector below is
   scoped under body.page-bc2/.bc2-page so no other page (including the
   classic bottle page, which shares the former Buddy stylesheet) is touched. the former Buddy stylesheet
   already reads --bd-rail-bg-solid / --bd-input-bg / --bd-brass as its bar/
   field/accent colours — pointing those at the card2 tokens is the entire
   skin; the markup, JS, camera-scan and send behaviour are all the real
   thing, untouched. */
/* 2026-07-25 (T38c) — THE ACTUAL SKIN, now deleted. The block that lived here:
       .bc2-page{ --bd-rail-bg-solid:var(--bc2-dock); --bd-input-bg:#362717;
                  --bd-input-border:#46331d; --bd-brass:var(--bc2-green);
                  --bd-ink:var(--bc2-cream); }
   Owner reported the bar STILL looked wrong after T38/T38b deleted every
   `.bc2-page .bd-*` RULE — because the recolour was never in a rule. It was
   five custom-property re-bindings that the former Buddy stylesheet then reads as its own
   bar/field/accent colours (its comment above said so outright: "pointing
   those at the card2 tokens is the entire skin"). Grepping for `.bc2-page
   .bd-…` selectors therefore came back clean while the paint was still
   overridden — that is exactly how T38b shipped and still looked wrong.
   The decisive one is --bd-input-bg: the former Buddy stylesheet defines it as #f6ecdc,
   "light cream on the dark rail — unmistakably a typable field"; this page
   rebound it to #362717, so the composer rendered as a dark brown strip here
   and a cream pill on the landing page. Same element, same markup, different
   variables.
   DO NOT re-add these. If this page ever needs the dock skinned again, that is
   a product decision for the owner, not a page-local override. */
/* --ink/--muted are redefined ONLY inside .bd-bar (the mobile/unified
   .bdm-ce composer text reads them) — NOT at .bc2-page scope, which would
   leak the dock's text colours onto the embedded wb-header.css menu/search
   fragment that shares those same custom-property names on this page. */
/* 2026-07-25 (T38b, owner instruction: "I want the buddy bar from the landing
   page on the bottle page"): this page NO LONGER re-skins the shared dock. The
   block that used to sit here —
       .bc2-page .bd-bar{ border-top-color:#362717; z-index:60;
                          --ink:#e9dcc9; --muted:#9c8a72; }
   — is DELETED along with the six colour overrides below. Two of its effects
   were defects, not styling: z-index:60 dropped the dock BELOW the former Buddy stylesheet's
   own z-index:120 (so page chrome could stack over it), and the --ink/--muted
   re-bind changed the composer's text colours away from every other page's.
   The dock, its composer, its scan button and its locked state now inherit
   the former Buddy stylesheet verbatim — identical to the landing page, which is the point. */
/* 2026-07-25 (T38, composer unification): the exile block that used to live
   here —
       .bc2-page .bd-bar{ transform:translateY(200vh); pointer-events:none }
   — is DELETED. It was added 2026-07-22 (f93f5091) because the real dock
   rendered as a SECOND, darker "Message Buddy…" bar stacked under this page's
   own decorative .bc2-ask-inline row, which read as a duplicate and (in
   Chromium's full-page screenshots, which stamp a fixed element at its last
   on-screen box) appeared to overlap the BOTTLE INTELLIGENCE heading. The
   real cause was the duplicate, not the real bar: with .bc2-ask-inline gone
   there is exactly one bar, so hiding it has nothing left to solve and doing
   so is what left the takeover with no composer (c33c4cfb then hid the
   decorative one too, and .bd-panel kept reserving calc(--bd-vv-h -
   --bd-bar-h) for a bar 1688px below the fold).
   The heading-clip constraint that motivated the hack is still honoured, by
   the mechanism every other page uses: the former Buddy stylesheet's
   `html.bd-app-unified.has-buddy-bar body{padding-bottom:var(--bd-bar-h)}`
   (and the >=861px `html.has-buddy-bar body` rule) both out-specify
   .bc2-page's own padding-bottom, reserving the LIVE measured bar height at
   the end of the page, so nothing can sit under the dock.
   .bc2-page's padding-bottom stays as the pre-mount fallback for the frames
   before the former Buddy script adds .has-buddy-bar. */
/* The six dock-colour overrides that used to live here —
       html.bd-app-unified .bc2-page .bd-bar{ background:var(--bc2-dock)
                                              !important; }
       .bc2-page .bd-askbox{ background:#362717 }
       .bc2-page .bd-askbox textarea{ color:#e9dcc9 }
       .bc2-page .bd-askbox textarea::placeholder{ color:#9c8a72 }
       .bc2-page .bd-scan-btn{ background:#362717; color:#c2ac8c }
       .bc2-page .bd-locked-bar{ background:#362717; color:#e9dcc9 }
   — are DELETED (T38b). They repainted the shared dock in this page's dark
   --bc2-dock browns, which is why the bar READ as a different component here
   than on the landing page even after the composer was unified: same element,
   same markup, different paint. the former Buddy stylesheet owns the dock's appearance on
   every page now. Do not re-add a .bc2-page skin for .bd-bar / .bd-askbox /
   .bd-scan-btn / .bd-locked-bar — the owner's requirement is that this page's
   bar is INDISTINGUISHABLE from the landing page's. */

@media (max-width:390px){
  /* Art column narrows but keeps its fixed HEIGHT (defect 5's bottom-align
     fix lives on .bc2-art-col above) — never drop the similar grid below
     3 columns (defect 4a: one row of 3, always, at phone width). Still
     ~40% wider than the pre-fix-3 104px floor so the bottle stays the
     hero at the narrowest supported width, not a thumbnail.
     2026-07-21: width floor raised 150->175px (+17%, matching the base
     rule's own +17% bump above) so the tall/narrow fix isn't clawed back
     at the exact viewport width (<=390px, e.g. iPhone SE/mini) where it
     matters most. Height NOT set here on purpose — .bc2-art-col's base
     height still applies at this width (unchanged from the pre-390 rule's
     behaviour of only overriding width), keeping the column proportionally
     taller-than-wide so a narrow cutout still gets real height to render
     into rather than being squashed both ways.

     OWNER-SETTLED 2026-07-21 (round 3, "hero too tall"): this query's own
     padding (1.3rem top / 1rem bottom) had drifted OUT of sync with the
     base .bc2-hero-stage rule above — its 1rem bottom was already below
     the pill-row clearance the base rule's comment guarantees, at exactly
     the <=390px width band this task's own QA device (iPhone, 390pt) sits
     in. Fixed by no longer overriding padding here at all: the base rule's
     .8rem/3.3rem (top/bottom) now applies unchanged at every width,
     restoring the "one number" discipline the base rule's comment already
     promises — a second, independently-drifting padding value here was
     exactly the kind of two-numbers-that-can-desync trap that comment
     warns against. Width floor also narrowed 175->155px to match the
     ~17%-smaller base column (200px), same ratio as the base rule's own
     shrink, so the narrow-cutout floor scales down proportionally too. */
  .bc2-hero-stage{ gap:.7rem; }
  .bc2-art-col, .bc2-monogram-plinth{ width:155px; }
  .bc2-cutout{ max-width:155px; }
  /* Bench-staged column narrows to match (2026-07-21). Base column width
     unchanged at 200px (see .bc2-art-col-bench above — a same-day attempt
     to widen it to 220px to make the bottle read bigger wrapped "Woodford
     Reserve" mid-word when the name-block sat beside it; reverted) — the
     name-block is now a bottom hero overlay (2026-07-22), no longer beside
     this column, so no padding-left reservation is needed here any more. */
  .bc2-art-col-bench{ width:155px; left:1.1rem; }
}

/* ---- desktop cap (2026-08-05, T170 responsive-regression repair) ----
   MOBILE BASELINE FROZEN, untouched by this block: every rule above this
   point — including .bc2-hero's own min-height:100cqw, .bc2-art-col's
   200x300 box, and the two existing max-width:360/390 shrink queries —
   still applies exactly as shipped 2026-07-21, at every width below
   600px. This block only ADDS a min-width floor; it overrides nothing a
   phone can reach.

   THE DEFECT (confirmed live at http://localhost:8051/v2/bottle/... before
   this fix): min-height:100cqw makes the hero's height track its own
   WIDTH 1:1 with nothing capping that width anywhere in its ancestor
   chain — measured 390->390px tall (the approved mobile baseline, still
   correct), 768->768px, 1440->1440px, 1920->1920px. At 1920 the display
   name (identity) first rendered at y~1912 — nearly two screens down. At
   768, the shared .bd-bar composer (the former Buddy stylesheet; position:fixed; bottom:0;
   no breakpoint of its own, unchanged by this fix) sits at y:968.6-1024 and
   already overlapped the retailer link (y:1019-1035) with zero scrolling —
   confirmed live, not inferred, both pre-fix.

   THE CAPS, measured at 1440x900 (Robert's named size), not chosen by eye:
   live chrome around the hero on that page came to header+margin 68.8px,
   the tab strip 48.4px, panel-top-padding + card-margin 32px, and a real
   Best-Price card (verdict + big price + retailer link) 214.3px tall —
   363.5px of fixed chrome. The composer bar measured 65.8px tall at this
   width, leaving 900-65.8=834.2px of budget before its own top edge — so
   the hero could run up to ~470px and still clear it. 400px is chosen
   deliberately under that ceiling, not at it, so the same number still
   works for a taller real card (a US-RRP strip present, a verdict-sub that
   wraps to 2 lines) without re-measuring per bottle, and so the desktop
   hero reads proportionally like the approved ~390px mobile hero rather
   than an arbitrary desktop-only shape.

   Page/content width cap: 640px, centred. This page is a single stacked
   column (no side-by-side desktop grid, unlike the classic bottle.css
   detail-grid) — capping keeps it readable instead of a phone-shaped
   layout stretched edge to edge across a 1920px screen. Applied to the
   header, hero, tab strip and panels wrapper together (siblings of body,
   each capped individually since none share a parent to cap once) so
   their edges still line up — .bc2-header's background is the same
   --bc2-paper as the page, so capping it is visually seamless; --bc2-tabs
   keeps its own hairline/white wash only under the now-narrower column,
   which reads as a deliberate app-shell rather than a misalignment
   against the capped hero/panels below it. */
@media (min-width:600px){
  .bc2-header, .bc2-hero, .bc2-tabs, .bc2-panels{
    max-width:640px; margin-left:auto; margin-right:auto;
  }
  /* NOT max-height alongside the base rule's min-height:100cqw — CSS's own
     min/max conflict resolution makes min-height win whenever the two
     disagree (verified live: max-height:400px alone left the hero at
     768px tall at a 768px viewport, i.e. it was silently overridden). A
     second, independent circularity compounds it: .bc2-hero queries
     itself (container-type:inline-size + cqw on the SAME element), and a
     self-referencing container's cqw falls back to the CONTAINING BLOCK's
     inline-size (body/viewport) rather than the element's own
     max-width-capped size — confirmed live, 100cqw resolved to 768px (the
     viewport) even with max-width:640px already applied to the same
     element. Sidestepping both: min-height is reset to 0 and a definite
     `height` is set instead, so the desktop hero no longer depends on cqw
     at all. (container-type:inline-size itself stays — the cutout's own
     70cqw max-height, keyed to the hero as ITS container, still needs it.) */
  /* 2026-10-01: height:auto, not the old fixed 400px. wb-quiet-tokens.css
     drops .bc2-name-block into normal flow under the photo, so a fixed
     400px box + overflow:hidden clipped the spec line under the tab row on
     any hero without the flow-stack rule (e.g. whisky pages with no bench
     column). The hero now sizes itself around the in-flow name block. */
  .bc2-hero{ min-height:0; height:auto; }
}

/* ask #2322 (bar-top hero): the 600x800 (3:4) bar-top photo is shown WHOLE.
   It never takes the editorial treatment (cover/180% zoom crops the bottle's
   base at phone width). The well is a 3:4 box capped at 560px tall; the photo
   is an <img> with object-fit:contain, over a blurred + darkened copy of
   itself (--bc2-bartop-bg) so the side space on wide screens reads as the same
   warm bar scene. Real editorial and family heroes are untouched. */
.bc2-hero-bartop{ padding-left:0 !important; padding-right:0 !important; }
.bc2-bartop-well{
  position:relative; width:100%; aspect-ratio:3/4; max-height:560px;
  overflow:hidden; background:#1c140d;
}
.bc2-bartop-well::before{
  content:""; position:absolute; inset:-24px; z-index:0;
  background:var(--bc2-bartop-bg) center/cover no-repeat;
  filter:blur(22px) brightness(.55) saturate(1.1);
}
.bc2-bartop-img{
  position:relative; z-index:1; display:block;
  width:100%; height:100%; object-fit:contain; object-position:center;
}

/* T3372 finding 5: tapping a bottle-page tab (About / History ...) must not leave a
   black box around it. Only the underline shows. Keyboard focus keeps a cue: the
   tab's underline thickens. Beats the generic `.bc2-page button:focus` ring in
   wb-bottle-restyle-a.css and the global focus ring in wb-quiet-tokens.css. */
html:not(#_) .bc2-page .bc2-tab:focus,
html:not(#_) .bc2-page .bc2-tab:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
html:not(#_) .bc2-page .bc2-tab:focus-visible {
  border-bottom-width: 3px !important;
  border-bottom-color: currentColor !important;
}
