/* Brownie launch capsule (Nov 14, 2026). Preview only. Cream porcelain, gold hairlines, cocoa for the
   brownie itself, plum only for text. No purple gradients. Sits in the hero stack after Build-A-Box. */
.gbr { --b-plum: #4A1942; --b-ink: #2D1928; --b-gold: #D4A843; --b-gold-dk: #7d5c14; --b-gold-soft: #ecd7a4; --b-porc: #fffdf9; --b-sand: #f6ecdc;
  --b-cocoa: #3b2216; --b-fudge: #5a3420; --b-crumb: #7a4a2a; --b-caramel: #c8894b; --b-glaze: #f6ebdd;
  --b-serif: "Glaze Fraunces", "Glaze Display", "Fraunces", Georgia, serif; --b-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  order: 3; position: relative;   /* same slot as the Build-A-Box button, placed right after it */
  position: relative; width: 100%; max-width: 420px; margin: .9rem auto 0; box-sizing: border-box; text-align: left;
  font-family: var(--b-sans); color: var(--b-ink); background: var(--b-porc); border-radius: 26px; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1.5px var(--b-gold-soft), 0 1px 0 2px #fff inset, 0 14px 30px -22px rgba(59, 34, 22, .45);
  transition: box-shadow .4s ease; -webkit-tap-highlight-color: transparent; }
.gbr *, .gbr *::before, .gbr *::after { box-sizing: border-box; }
.gbr[data-level="1"], .gbr[data-level="2"] { box-shadow: 0 0 0 1.5px var(--b-gold), 0 0 0 5px rgba(201, 154, 46, .12), 0 22px 46px -18px rgba(59, 34, 22, .32); }
/* the launch glint: a gold hairline travels the rim once in a while, like foil catching light.
   Nov 15: same look, compositor only. The old ::before turned a conic-gradient through a custom property, which
   restyled and repainted the capsule on every frame. Now .gbr-rim keeps the fixed rim mask and fades (opacity), and
   its child turns (transform). A conic gradient turned by A around its center is the same picture as one drawn
   "from A", so nothing changes on screen. The child is a square at least as wide as the rim box diagonal. */
.gbr-rim { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3; overflow: hidden;
  container-type: size; opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: gbrRimFade 5.5s cubic-bezier(.5, 0, .3, 1) infinite; }
.gbr-rim > i { position: absolute; left: 50%; top: 50%; width: 300%; width: calc(100cqw + 100cqh + 8px); aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(201, 154, 46, .0) 72%, #f3d27a 80%, #fff6d8 83%, #c99a2e 86%, transparent 90%);
  animation: gbrRimTurn 5.5s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes gbrRimFade { 0% { opacity: 0; } 8% { opacity: 1; } 55% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes gbrRimTurn { 0% { transform: rotate(0deg); } 55%, 100% { transform: rotate(360deg); } }

/* ---------- pill ---------- */
.gbr-head { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 64px; padding: .55rem .7rem .55rem .55rem; cursor: pointer; position: relative; overflow: hidden; }
.gbr-head:focus-visible, .gbr button:focus-visible, .gbr a:focus-visible { outline: 2px solid var(--b-plum); outline-offset: -3px; border-radius: 20px; }
.gbr-coin { flex: none; width: 48px; height: 48px; border-radius: 14px; position: relative; display: grid; place-items: center;
  background: linear-gradient(160deg, #fff 0%, var(--b-sand) 100%); box-shadow: 0 0 0 1.5px var(--b-gold-soft), 0 6px 12px -6px rgba(59, 34, 22, .5); transform: rotate(-4deg); }
.gbr-coin img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.gbr-steam { position: absolute; left: 50%; top: -4px; width: 2px; height: 10px; border-radius: 2px; background: var(--b-gold); opacity: 0; animation: gbrSteam 2.8s ease-out infinite; }
.gbr-steam::before, .gbr-steam::after { content: ""; position: absolute; top: 2px; width: 2px; height: 8px; border-radius: 2px; background: var(--b-gold-soft); }
.gbr-steam::before { left: -7px; } .gbr-steam::after { left: 7px; }
.gbr-t { flex: 1; min-width: 0; display: grid; line-height: 1.12; gap: 1px; }
.gbr-k { position: relative; font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--b-gold-dk); }
/* Foil shine on the kicker, compositor only (Nov 15 smooth). It used to move a 260%-wide background-clip:text gradient
   (gbrFoilK), which repainted on the main thread every frame. Now the words sit in plain gold and a copy of them in the
   bright foil color (on the capsule's porcelain) shows through a moving window: .gbr-k-w is one 260%-wide gradient tile
   (masked by .gbr-k-m with the same 100deg, 40% / 50% / 60% stops; a mask on the moving element itself kept it on the
   main thread) and slides one tile in 2.5 s, while the copy of the words slides back by the same amount, so the words
   never move. Same colors, same speed, same seamless loop. */
.gbr-k-sh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.gbr-k-w { position: absolute; top: 0; left: 0; width: 260%; max-width: none; height: 100%; transform: translateX(-100%); animation: gbrFoilW 2.5s linear infinite; }
.gbr-k-m { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 50%, transparent 60%); mask-image: linear-gradient(100deg, transparent 40%, #000 50%, transparent 60%); }
.gbr-k-m::before { content: attr(data-k); position: absolute; top: 0; left: 0; width: 38.4615%; max-width: none; height: 100%; color: #f1cf6d; background: var(--b-porc);
  transform: translateX(260%); animation: gbrFoilC 2.5s linear infinite; }
.gbr-t b { font: 600 1.14rem var(--b-serif); color: var(--b-plum); letter-spacing: -.01em; }
.gbr-s { font-size: .78rem; font-weight: 600; color: #5e4a56; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbr-seal { flex: none; width: 50px; height: 50px; position: relative; display: grid; place-items: center; }
.gbr-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--b-gold); filter: drop-shadow(0 3px 4px rgba(156, 116, 32, .45)); }
.gbr-seal::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px dashed rgba(255, 246, 216, .7); }
.gbr-seal b { position: relative; font: 800 .66rem var(--b-sans); letter-spacing: .12em; color: #fff9e6; text-shadow: 0 1px 0 rgba(120, 85, 20, .55); }
.gbr[data-level="0"] .gbr-seal { animation: gbrStamp 4.8s cubic-bezier(.3, 1.5, .5, 1) 1.4s infinite; }
/* the knife: a gold line that slices the pill when it opens */
.gbr-cut { position: absolute; left: -10%; right: -10%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, #f3d27a 20%, #fff 50%, #f3d27a 80%, transparent); transform: translateX(-110%) rotate(-6deg); opacity: 0; pointer-events: none; z-index: 2; box-shadow: 0 0 10px rgba(243, 210, 122, .9); }
.gbr.is-cut .gbr-cut { animation: gbrCut .55s cubic-bezier(.6, 0, .2, 1) forwards; }
.gbr.is-cut .gbr-head > :not(.gbr-cut) { animation: gbrSplit .62s cubic-bezier(.3, 1.4, .5, 1) .18s both; }
.gbr[data-level="1"] .gbr-seal, .gbr[data-level="2"] .gbr-seal { transform: scale(.82) rotate(-12deg); transition: transform .45s cubic-bezier(.3, 1.5, .5, 1); }

/* ---------- folds ---------- */
.gbr-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.22, 1, .3, 1); }
.gbr-fold > div { overflow: hidden; min-height: 0; }
.gbr[data-level="1"] .gbr-peek, .gbr[data-level="2"] .gbr-peek, .gbr[data-level="2"] .gbr-story { grid-template-rows: 1fr; }
.gbr-peek-in { padding: 0 .9rem 1rem; display: grid; gap: .7rem; }
/* the brownie's layers slide out from under the cut, then settle into a thin cross-section band */
.gbr-layers { display: grid; grid-template-rows: 5px 9px 5px 7px; gap: 0; height: 26px; border-radius: 6px; overflow: hidden; margin: .1rem 0 .1rem; box-shadow: 0 6px 12px -8px rgba(59, 34, 22, .6); }
.gbr-layers i { display: block; transform: translateX(-104%); }
.gbr-layers i:nth-child(1) { background: var(--b-glaze); border-bottom: 1px solid #fff; transform-origin: left; }
.gbr-layers i:nth-child(2) { background: linear-gradient(90deg, var(--b-cocoa), var(--b-fudge) 40%, var(--b-cocoa)); }
.gbr-layers i:nth-child(3) { background: var(--b-caramel); }
.gbr-layers i:nth-child(4) { background: linear-gradient(90deg, var(--b-fudge), var(--b-crumb)); }
.gbr[data-level="1"] .gbr-layers i, .gbr[data-level="2"] .gbr-layers i { animation: gbrLayer .7s cubic-bezier(.2, 1, .3, 1) forwards; }
.gbr[data-level] .gbr-layers i:nth-child(2) { animation-delay: .32s; } .gbr[data-level] .gbr-layers i:nth-child(1) { animation-delay: .44s; }
.gbr[data-level] .gbr-layers i:nth-child(3) { animation-delay: .38s; } .gbr[data-level] .gbr-layers i:nth-child(4) { animation-delay: .26s; }
.gbr-layers i:nth-child(1)::after { content: ""; display: block; width: 100%; height: 9px; background: radial-gradient(6px 6px at 10% 0, var(--b-glaze) 98%, transparent) 0 0/34px 9px repeat-x; transform: translateY(4px); }
.gbr-h { font: 600 1.62rem/1.08 var(--b-serif); color: var(--b-plum); margin: 0; letter-spacing: -.02em; }
.gbr-hw { position: relative; display: inline-block; white-space: nowrap; }
.gbr-h em { font-style: italic; }
.gbr-swash { position: absolute; left: 0; right: 0; bottom: -7px; width: 100%; height: 10px; overflow: visible; }
.gbr-swash path { fill: none; stroke: var(--b-gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 180; stroke-dashoffset: 180; }
.gbr[data-level="1"] .gbr-swash path, .gbr[data-level="2"] .gbr-swash path { animation: gbrDraw .9s cubic-bezier(.4, 0, .2, 1) .6s forwards; }
.gbr-p { margin: .15rem 0 0; font-size: .9rem; line-height: 1.45; color: #5d4a55; }
/* price ladder: each box drawn as its own little grid of squares */
.gbr-ladder { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .4rem; }   /* one column per box size (no single brownie, Nov 14) */
.gbr-lad { display: grid; justify-items: center; align-content: end; gap: .2rem; padding: .5rem .2rem .45rem; border-radius: 14px; background: linear-gradient(180deg, #fff, var(--b-sand)); box-shadow: 0 0 0 1px var(--b-gold-soft) inset; opacity: 0; transform: translateY(10px); }
.gbr[data-level="1"] .gbr-lad, .gbr[data-level="2"] .gbr-lad { animation: gbrUp .5s cubic-bezier(.3, 1.4, .5, 1) forwards; animation-delay: calc(.5s + var(--i) * 80ms); }
.gbr-lad-sq { display: grid; gap: 2px; grid-template-columns: repeat(2, 9px); }
.gbr-lad-1 { grid-template-columns: 12px; } .gbr-lad-2 { grid-template-columns: repeat(2, 10px); } .gbr-lad-6 { grid-template-columns: repeat(3, 8px); }
.gbr-lad-sq i { aspect-ratio: 1; border-radius: 2px; background: linear-gradient(180deg, var(--b-glaze) 0 28%, var(--b-fudge) 28%); box-shadow: 0 1px 1px rgba(59, 34, 22, .35); }
.gbr-lad b { font: 600 1rem var(--b-serif); color: var(--b-plum); line-height: 1; }
.gbr-lad small { font-size: .62rem; font-weight: 700; letter-spacing: .02em; color: #6b5763; }
.gbr-k2 { margin: .2rem 0 -.2rem; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--b-gold-dk); }

/* ---------- the three tickets ---------- */
.gbr-tix { display: grid; gap: .5rem; }
.gbr-tk { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: 50px 1fr 34px; align-items: center; gap: .65rem; min-height: 68px; padding: .55rem .6rem .55rem 0;
  border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--b-gold-soft) inset, 0 8px 18px -14px rgba(59, 34, 22, .5); opacity: 0; transform: translateX(-14px);
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s ease; -webkit-tap-highlight-color: transparent; }
.gbr[data-level="1"] .gbr-tk, .gbr[data-level="2"] .gbr-tk, .gbr-tour .gbr-tk { animation: gbrIn .5s cubic-bezier(.3, 1.4, .5, 1) forwards; animation-delay: calc(.7s + var(--i) * 110ms); }
.gbr-tour .gbr-tk { animation-delay: calc(.1s + var(--i) * 110ms); }
.gbr-tk:active { transform: scale(.98); }
@media (hover: hover) { .gbr-tk:hover { box-shadow: 0 0 0 1.5px var(--b-gold) inset, 0 12px 22px -14px rgba(59, 34, 22, .55); } }
/* stub with a perforated edge (notches top and bottom, dotted tear line) */
.gbr-tk-stub { align-self: stretch; display: grid; place-items: center; color: var(--b-gold-dk); border-right: 1.5px dashed var(--b-gold-soft); margin: -.55rem 0; position: relative; }
.gbr-tk-stub::before, .gbr-tk-stub::after { content: ""; position: absolute; right: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--b-porc); box-shadow: 0 0 0 1px var(--b-gold-soft) inset; }
.gbr-tk-stub::before { top: -6px; } .gbr-tk-stub::after { bottom: -6px; }
.gbr-tk-stub svg { width: 26px; height: 26px; }
.gbr-tk-body { display: grid; gap: 1px; min-width: 0; line-height: 1.2; }
.gbr-tk-k { font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6b5763; }
.gbr-tk-k em { font-style: normal; margin-left: .3rem; padding: .08rem .4rem; border-radius: 6px; letter-spacing: .06em; color: #5a3e0a; background: linear-gradient(120deg, #fff3d2, #f1cf6d 50%, #fff3d2); background-size: 220% 100%; animation: gbrFoilT 2.54s linear infinite; }
.gbr-tk-body b { font: 600 1.02rem var(--b-serif); color: var(--b-plum); letter-spacing: -.01em; }
.gbr-tk-s { font-size: .76rem; color: #5e4a56; }
.gbr-tk-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--b-plum); box-shadow: 0 0 0 3px rgba(74, 25, 66, .1); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.gbr-tk-go svg { width: 16px; height: 16px; }
.gbr-tk-prime { background: linear-gradient(180deg, #fffaf0, #fff); box-shadow: 0 0 0 1.5px var(--b-gold) inset, 0 10px 22px -14px rgba(156, 116, 32, .6); }
.gbr-tk-prime .gbr-tk-go { background: var(--b-gold); color: #fff; box-shadow: 0 0 0 3px rgba(201, 154, 46, .18); }
.gbr-tk-tg .gbr-tk-stub { color: #b4582a; }
.gbr-tk.is-picked .gbr-tk-go { transform: translateX(3px) scale(1.08); }
/* tear-off on tap: the stub rips away along the perforation, then the box launch takes over */
.gbr-tk.is-tear .gbr-tk-stub { animation: gbrTear .7s cubic-bezier(.5, 0, .3, 1); }
.gbr-tk.is-tear { animation: gbrPress .35s ease !important; opacity: 1; transform: none; }

/* ---------- Prime explainer card: three beats that play themselves ---------- */
.gbr-primewrap { margin-top: -.1rem; }
.gbr-prime { display: grid; gap: .6rem; padding: .85rem .8rem .8rem; border-radius: 18px; background: linear-gradient(180deg, #fffaf0, var(--b-porc)); box-shadow: 0 0 0 1.5px var(--b-gold) inset, 0 16px 30px -22px rgba(156, 116, 32, .7); animation: gbrUp .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.gbr-pb { display: grid; gap: .35rem; opacity: .28; transform: translateY(6px); filter: saturate(.4); transition: opacity .5s ease, transform .5s cubic-bezier(.3, 1.4, .5, 1), filter .5s ease; }
.gbr-prime[data-beat="1"] .gbr-pb1, .gbr-prime[data-beat="2"] .gbr-pb1, .gbr-prime[data-beat="2"] .gbr-pb2, .gbr-prime[data-beat="3"] .gbr-pb { opacity: 1; transform: none; filter: none; }
.gbr-pb p { margin: 0; font-size: .82rem; line-height: 1.4; color: #5d4a55; }
.gbr-pk { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--b-gold-dk); }
.gbr-p6 { display: flex; gap: .3rem; align-items: center; }
.gbr-p6 i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--b-gold-soft) inset; transform: scale(.4); opacity: 0; }
.gbr-p6 i img { width: 28px; height: 28px; object-fit: contain; }
.gbr-p6 .gbr-pcup { border-radius: 50%; box-shadow: 0 0 0 1.5px var(--b-gold) inset; margin-left: .25rem; }
.gbr-prime:not([data-beat="0"]) .gbr-p6 i { animation: gbrPop .45s cubic-bezier(.3, 1.7, .5, 1) forwards; animation-delay: calc(var(--i) * 90ms); }
.gbr-pweeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.gbr-pw { display: grid; justify-items: center; gap: .1rem; padding: .35rem .2rem; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--b-gold-soft) inset; }
.gbr-pw small { font-size: .6rem; font-weight: 700; color: #6b5763; }
.gbr-pw b { font: 600 .86rem var(--b-serif); color: var(--b-plum); }
.gbr-pw.is-prize { box-shadow: 0 0 0 1.5px var(--b-gold) inset; background: linear-gradient(180deg, #fff6dd, #fff); }
.gbr-prime[data-beat="2"] .gbr-pw.is-prize img, .gbr-prime[data-beat="3"] .gbr-pw.is-prize img { animation: gbrPrize 1.4s cubic-bezier(.3, 1.6, .5, 1) .3s both; }
.gbr-pcmp { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.gbr-pcmp span { display: grid; gap: .1rem; padding: .45rem .6rem; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--b-gold-soft) inset; }
.gbr-pcmp small { font-size: .64rem; font-weight: 700; color: #6b5763; line-height: 1.2; }
.gbr-pcmp s { font: 600 1.1rem var(--b-serif); color: #6b5763; text-decoration-color: rgba(154, 134, 145, .8); }
.gbr-pcmp .is-p { box-shadow: 0 0 0 1.5px var(--b-gold) inset; }
.gbr-pcmp .is-p b { font: 700 1.3rem var(--b-serif); color: var(--b-plum); }
.gbr-pstamp { justify-self: start; font-size: .72rem; font-weight: 800; color: #5a3e0a; padding: .25rem .6rem; border-radius: 8px; background: linear-gradient(120deg, #fff3d2, #f1cf6d 50%, #fff3d2); transform: rotate(-3deg) scale(0); }
.gbr-prime[data-beat="3"] .gbr-pstamp { animation: gbrStampIn .5s cubic-bezier(.3, 1.8, .5, 1) .35s forwards; }
.gbr-pbtns { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.gbr-go { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .6rem 1rem; border-radius: 999px; font-weight: 700; font-size: .92rem; color: #fff; background: var(--b-plum); box-shadow: 0 10px 20px -12px rgba(74, 25, 66, .8); }
.gbr-go svg { width: 16px; height: 16px; }
.gbr-quiet { all: unset; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 .3rem; font-size: .85rem; font-weight: 700; color: var(--b-plum); text-decoration: underline; text-decoration-color: var(--b-gold); text-underline-offset: 3px; }

/* ---------- buttons under the peek ---------- */
.gbr-btns { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .1rem; }
.gbr-more { all: unset; box-sizing: border-box; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--b-plum); background: #fff; box-shadow: 0 0 0 1.5px var(--b-gold-soft) inset; }
.gbr-more::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: url(/assets/glaze/bonbon/mascot-v2-128.webp) center/contain no-repeat; }
.gbr[data-level="2"] .gbr-more { display: none; }
.gbr-deep { font-size: .8rem; font-weight: 700; color: #5e4a56; text-decoration: underline; text-decoration-color: var(--b-gold-soft); text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Tell me more: BonBon in a scrolling window ---------- */
.gbr-story > div { padding: 0 .9rem; }
.gbr-prog { display: flex; gap: 4px; padding: .1rem 0 .5rem; }
.gbr-prog i { flex: 1; height: 3px; border-radius: 3px; background: var(--b-gold-soft); opacity: .5; transition: background .3s, opacity .3s; }
.gbr-prog i.is-on { background: var(--b-gold); opacity: 1; }
.gbr-tour { max-height: min(58vh, 500px); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: .5rem; align-content: start; padding: .2rem .1rem .6rem; scroll-behavior: smooth; }
.gbr-msg { max-width: 86%; padding: .55rem .8rem; border-radius: 18px; font-size: .9rem; line-height: 1.4; animation: gbrUp .35s cubic-bezier(.3, 1.4, .5, 1) both; }
.gbr-msg.b { justify-self: start; background: #f7efe1; color: var(--b-ink); border-bottom-left-radius: 6px; position: relative; margin-left: 30px; }
.gbr-msg.b::before { content: ""; position: absolute; left: -30px; bottom: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff url(/assets/glaze/bonbon/mascot-v2-128.webp) center/20px no-repeat; box-shadow: 0 0 0 1px var(--b-gold-soft); }
.gbr-msg.b + .gbr-msg.b::before { display: none; }
.gbr-msg.u { justify-self: end; background: var(--b-plum); color: #fff; border-bottom-right-radius: 6px; }
.gbr-msg.t { display: inline-flex; gap: 4px; padding: .7rem .8rem; }
.gbr-msg.t i { width: 6px; height: 6px; border-radius: 50%; background: #b9a3ae; animation: gbrDot 1s ease-in-out infinite; }
.gbr-msg.t i:nth-child(2) { animation-delay: .15s; } .gbr-msg.t i:nth-child(3) { animation-delay: .3s; }
.gbr-card { animation: gbrUp .45s cubic-bezier(.3, 1.4, .5, 1) both; margin-left: 30px; }
.gbr-card .gc { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--b-gold-soft) inset, 0 10px 22px -18px rgba(59, 34, 22, .5); padding: .75rem; display: grid; gap: .55rem; }
.gbr-card .gbr-ways { background: none; box-shadow: none; padding: 0; }
.gbr-cap { margin: 0; font-size: .8rem; color: #5e4a56; line-height: 1.4; }
.gbr-cap b { color: var(--b-plum); }
.gbr-nextrow { display: flex; justify-content: flex-end; padding: .2rem 0 .9rem; min-height: 1px; }
.gbr-next { all: unset; cursor: pointer; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; background: var(--b-plum); color: #fff; font-weight: 700; font-size: .88rem; box-shadow: 0 10px 18px -12px rgba(74, 25, 66, .8); }
.gbr-next.is-in { animation: gbrUp .4s cubic-bezier(.3, 1.5, .5, 1) both; }
.gbr-next[hidden] { display: none; }
/* step 1: a kitchen dial swings to half a pound, the cross-section labels draw in */
.gbr-scale { grid-template-columns: 96px 1fr; align-items: center; }
.gbr-scale .gbr-cap { grid-column: 1 / -1; }
.gbr-dial { position: relative; width: 92px; height: 52px; border-radius: 92px 92px 10px 10px; background: radial-gradient(circle at 50% 100%, #fff 0 30%, var(--b-sand) 31% 100%); box-shadow: 0 0 0 1.5px var(--b-gold-soft) inset; overflow: hidden; }
.gbr-dial::before { content: "½ lb"; position: absolute; left: 50%; top: 6px; transform: translateX(-50%); font: 700 .7rem var(--b-sans); color: var(--b-gold-dk); }
.gbr-needle { position: absolute; left: calc(50% - 1.5px); bottom: 2px; width: 3px; height: 40px; border-radius: 3px; background: var(--b-plum); transform-origin: 50% 100%; transform: rotate(-80deg); animation: gbrNeedle 1.4s cubic-bezier(.3, 1.6, .4, 1) .3s forwards; }
.gbr-dl0, .gbr-dl1 { position: absolute; bottom: 3px; font-size: .55rem; font-weight: 700; color: #6b5763; }
.gbr-dl0 { left: 6px; } .gbr-dl1 { right: 5px; }
.gbr-xs { display: grid; gap: 3px; }
.gbr-xs span { display: flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; color: var(--b-ink); opacity: 0; transform: translateX(-6px); animation: gbrIn .4s ease forwards; animation-delay: calc(.6s + var(--i) * 120ms); }
.gbr-xs i { flex: none; width: 22px; height: 9px; border-radius: 3px; }
.gbr-xs span:nth-child(1) i { background: var(--b-glaze); box-shadow: 0 0 0 1px #e7d6bf inset; } .gbr-xs span:nth-child(2) i { background: var(--b-fudge); }
.gbr-xs span:nth-child(3) i { background: var(--b-caramel); } .gbr-xs span:nth-child(4) i { background: var(--b-crumb); }
/* step 2: flavor coins flip in like cards */
.gbr-line { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.gbr-fl { all: unset; cursor: pointer; position: relative; height: 84px; perspective: 600px; }
.gbr-fl-f, .gbr-fl-b { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; backface-visibility: hidden; transition: transform .6s cubic-bezier(.3, 1.3, .5, 1); }
.gbr-fl-f { background: repeating-linear-gradient(135deg, #f6e7c4 0 6px, #f1dcae 6px 12px); box-shadow: 0 0 0 1.5px var(--b-gold) inset; }
.gbr-fl-f::after { content: "?"; position: absolute; font: 700 1.4rem var(--b-serif); color: var(--b-gold-dk); }
.gbr-fl-f img { opacity: 0; }
.gbr-fl-b { transform: rotateY(180deg); background: #fff; box-shadow: 0 0 0 1px var(--b-gold-soft) inset; padding: .3rem; text-align: center; font: 600 .8rem/1.15 var(--b-serif); color: var(--b-plum); }
.gbr-fl[aria-pressed="true"] .gbr-fl-f { transform: rotateY(-180deg); }
.gbr-fl[aria-pressed="true"] .gbr-fl-b { transform: rotateY(0); }
/* step 3: pick a day and a window */
.gbr-pick-k { font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--b-gold-dk); }
.gbr-pick-day { font: 600 1.05rem var(--b-serif); color: var(--b-plum); }
.gbr-pick-day.is-tick { animation: gbrUp .35s cubic-bezier(.3, 1.5, .5, 1); }
.gbr-pick-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; }
.gbr-pd, .gbr-pw2 { all: unset; cursor: pointer; display: grid; justify-items: center; min-height: 44px; align-content: center; border-radius: 12px; font-size: .78rem; font-weight: 700; color: var(--b-ink); box-shadow: 0 0 0 1px var(--b-gold-soft) inset; background: #fff; transition: background .2s, box-shadow .2s, transform .2s; }
.gbr-pd small { font-size: .6rem; font-weight: 600; color: #6b5763; }
.gbr-pd.is-on, .gbr-pw2.is-on { background: #fff6dd; box-shadow: 0 0 0 1.5px var(--b-gold) inset; transform: translateY(-1px); }
.gbr-pick-wins { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }

/* ---------- keyframes ---------- */
@keyframes gbrBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(2deg); } }
@keyframes gbrSteam { 0% { opacity: 0; transform: translateY(4px) scaleY(.4); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px) scaleY(1); } }
/* Foil shine. Nov 15: the old loop (gbrFoil, to -260%) used to end with the shine part way across the words, so it vanished mid-word every
   few seconds. These end exactly one gradient tile along (260% wide: one tile, 220% wide: -183.33%), so the loop
   is seamless, at the same sweep speed as before. The kicker's pair (gbrFoilW / gbrFoilC) moves by transform, see .gbr-k. */
@keyframes gbrFoilW { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes gbrFoilC { from { transform: translateX(260%); } to { transform: translateX(0); } }
@keyframes gbrFoilT { to { background-position: -183.333% 0; } }
@keyframes gbrSpin { to { transform: rotate(360deg); } }
@keyframes gbrStamp { 0%, 82%, 100% { transform: scale(1) rotate(0); } 86% { transform: scale(1.16) rotate(-10deg); } 92% { transform: scale(.96) rotate(4deg); } }
@keyframes gbrCut { 0% { opacity: 1; transform: translateX(-110%) rotate(-6deg); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateX(110%) rotate(-6deg); } }
@keyframes gbrSplit { 0% { transform: none; } 35% { transform: translateY(-3px); } 100% { transform: none; } }
@keyframes gbrLayer { to { transform: translateX(0); } }
@keyframes gbrDraw { to { stroke-dashoffset: 0; } }
@keyframes gbrUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gbrIn { to { opacity: 1; transform: none; } }
@keyframes gbrPop { to { opacity: 1; transform: scale(1); } }
@keyframes gbrPrize { 0% { transform: scale(.4) rotate(-30deg); } 60% { transform: scale(1.25) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes gbrStampIn { to { transform: rotate(-3deg) scale(1); } }
@keyframes gbrTear { 0% { transform: none; } 40% { transform: translateY(-2px) rotate(-6deg); } 100% { transform: none; } }
@keyframes gbrPress { 50% { transform: scale(.97); } }
@keyframes gbrDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes gbrNeedle { to { transform: rotate(0deg); } }
/* while a box flies, js/glaze-launch.js pauses the running loops here too (Nov 15). The old rule (html.glz-flying .gbr *) restyled the whole page each time a launch started or ended. */
@media (prefers-reduced-motion: reduce) {
  .gbr *, .gbr::before { animation: none !important; transition: none !important; }
  .gbr-rim, .gbr-k-sh { display: none; }
  .gbr-layers i, .gbr-lad, .gbr-tk, .gbr-xs span, .gbr-p6 i { transform: none !important; opacity: 1 !important; }
  .gbr-swash path { stroke-dashoffset: 0; } .gbr-pb { opacity: 1; transform: none; filter: none; } .gbr-pstamp { transform: rotate(-3deg); } .gbr-needle { transform: none; }
}
@media (min-width: 761px) { .gbr { margin-top: 1rem; } }
.gbr-pick-days.is-few { grid-template-columns: repeat(2, 1fr); }
.gbr-p b { color: var(--b-plum); font-weight: 700; }
.gbr.is-snap .gbr-fold { transition: none !important; }

/* Sol review fixes (Nov 14) */
.gbr-tkw { display: block; }
.gbr-tkw > .gbr-tk { width: 100%; }
.gbr-curb { margin: .1rem 0 0; font-size: .78rem; font-weight: 600; line-height: 1.4; color: #5e4a56; text-align: center; }
.gbr-pw.is-first { box-shadow: 0 0 0 1.5px var(--b-gold-soft) inset; }
.gbr-pw em { font-style: normal; font-size: .58rem; font-weight: 800; line-height: 1.1; text-align: center; color: var(--b-gold-dk); }
.gbr-pcmp .is-one { font: 600 1.1rem var(--b-serif); color: #5e4a56; }
.gbr-pb3 p { margin: 0; }
.gbr-tk-k em { color: #4a3208; }
@media (prefers-reduced-motion: reduce) { .gbr-tour { scroll-behavior: auto; } }

/* real customer story card in the peek (css/brownie-proof.css); /brownies shows it big in its hero instead */
.gbr-proof { margin: .1rem 0 .2rem; }
.gbr.is-page .gbr-proof { display: none; }
/* the half-pound scale in BonBon's first card (js/glaze-scale.js, Nov 14) */
.gbr-scale:has(.gbr-wscale) { grid-template-columns: 124px 1fr; }
.gbr-wscale { width: 124px; }
.gbr-wscale .gsc[data-size] { font-size: 6.2px; }
.gbr-wscale .gsc-each { display: none; }
