/* Glaze Prime expanding capsule (Nov 13, 2026). Phone rule from the owner: no topic takes much
   space until the visitor shows interest. Pill -> tap -> peek -> tap -> BonBon chat in its own
   scrolling window. Replaces the long hero subscription section at phone width only. */
.gpcap { --c-plum: #4A1942; --c-gold: #c99a2e; --c-gold-soft: #ecd7a4; --c-porc: #fffdf9; --c-sand: #f6ecdc; --c-ink: #33202f;
  --c-serif: "Glaze Fraunces", "Fraunces", Georgia, serif; --c-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  display: none; position: relative; width: 100%; max-width: 420px; margin: .9rem auto 0; box-sizing: border-box; text-align: left;
  font-family: var(--c-sans); color: var(--c-ink); background: var(--c-porc); border: 1.5px solid var(--c-gold-soft); border-radius: 26px; overflow: hidden;
  transition: box-shadow .35s ease, border-color .35s ease, border-radius .35s ease; -webkit-tap-highlight-color: transparent; }
.gpcap *, .gpcap *::before, .gpcap *::after { box-sizing: border-box; }
.gpcap[data-level="1"], .gpcap[data-level="2"] { border-color: var(--c-gold); box-shadow: 0 18px 44px rgba(74, 25, 66, .16), 0 0 0 4px rgba(201, 154, 46, .12); }
@media (max-width: 760px) {
  .gpcap { display: block; }
  /* the long section stays for desktop; on phone the capsule is the first mention */
  #r2cFunnel, #wpWeeklyRoom { display: none !important; }   /* wpWeeklyRoom is the long weekly section r3-weekly-preview.js builds from the funnel */
}
/* pill */
.gpcap-head { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 52px; padding: .5rem .9rem .5rem .55rem; cursor: pointer; position: relative; overflow: hidden; }
.gpcap-head:focus-visible, .gpcap button:focus-visible, .gpcap a:focus-visible { outline: 2px solid var(--c-plum); outline-offset: -3px; border-radius: 22px; }
.gpcap-bb { flex: none; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--c-sand)); display: grid; place-items: center; position: relative; }
.gpcap-bb img { width: 34px; height: 34px; object-fit: contain; animation: gpcapBob 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.gpcap-bb::after { content: ""; position: absolute; right: -1px; top: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 2px var(--c-porc); animation: gpcapPulse 2.2s ease-in-out infinite; }
.gpcap-t { flex: 1; min-width: 0; display: grid; line-height: 1.15; }
.gpcap-t b { font: 600 1.02rem var(--c-serif); color: var(--c-plum); letter-spacing: -.01em; }
.gpcap-t span { font-size: .78rem; font-weight: 600; color: #6e5a66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpcap-t i { font-style: normal; color: var(--c-plum); font-weight: 700; }
.gpcap-price { flex: none; font: 600 .95rem var(--c-serif); color: var(--c-plum); background: linear-gradient(120deg, #fff3d2, #f6dfa0 45%, #fff6dd 55%, #f0d48a); background-size: 220% 100%; border-radius: 999px; padding: .28rem .6rem; animation: gpcapSheen 4.5s ease-in-out infinite; }
.gpcap-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%); transform: translateX(-120%); animation: gpcapSweep 6s ease-in-out 1.2s infinite; pointer-events: none; }
/* folds */
.gpcap-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.22, 1, .3, 1); }
.gpcap-fold > div { overflow: hidden; min-height: 0; }
.gpcap[data-level="1"] .gpcap-peek, .gpcap[data-level="2"] .gpcap-peek, .gpcap[data-level="2"] .gpcap-story { grid-template-rows: 1fr; }
.gpcap-peek-in { padding: .2rem .95rem .95rem; display: grid; gap: .65rem; }
.gpcap-h { font: 600 1.7rem/1.05 var(--c-serif); color: var(--c-plum); margin: 0; letter-spacing: -.02em; }
.gpcap-h em { font-style: italic; position: relative; display: inline-block; min-width: 3.2ch; }
.gpcap-h em.x-old::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, 1, .3, 1) .25s; }
.gpcap[data-level="1"] .gpcap-h em::after, .gpcap[data-level="2"] .gpcap-h em.x-old::after { transform: scaleX(1); }
.gpcap-h em.is-swap { animation: gpcapWord .5s cubic-bezier(.3, 1.4, .5, 1); }
.gpcap-row6 { display: flex; align-items: center; gap: .15rem; }
.gpcap-row6 img { width: 32px; height: 32px; flex: none; object-fit: contain; opacity: 0; transform: translateY(14px) scale(.6) rotate(-12deg); }
.gpcap[data-level="1"] .gpcap-row6 img, .gpcap[data-level="2"] .gpcap-row6 img { animation: gpcapCoin .55s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(.12s + var(--i) * 70ms); }
.gpcap-plus { margin-left: .3rem; display: inline-flex; align-items: center; gap: .25rem; font: 700 .72rem var(--c-sans); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; flex: none; color: var(--c-plum); background: #fff3d2; border: 1px solid var(--c-gold); border-radius: 999px; padding: .15rem .5rem .15rem .2rem; opacity: 0; }
.gpcap-plus img { width: 22px !important; height: 22px !important; }
.gpcap[data-level="1"] .gpcap-plus, .gpcap[data-level="2"] .gpcap-plus { animation: gpcapCoin .6s cubic-bezier(.3, 1.6, .5, 1) .62s forwards, gpcapGlow 2.6s ease-in-out 1.4s infinite; }
.gpcap-p { margin: 0; font-size: .95rem; line-height: 1.4; }
.gpcap-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.gpcap-go { all: unset; box-sizing: border-box; cursor: pointer; flex: 1 1 170px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; padding: .6rem 1.1rem; font: 700 .95rem var(--c-sans); color: #fff; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #4A1942, #7a2a5c 55%, #4A1942); background-size: 200% 100%; box-shadow: 0 8px 20px rgba(74, 25, 66, .28); transition: transform .18s ease, box-shadow .18s ease, background-position .6s ease; }
.gpcap-go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%); transform: translateX(-130%); animation: gpcapSweep 3.6s ease-in-out infinite; }
.gpcap-go:active { transform: scale(.96); }
.gpcap-go.is-going { animation: gpcapGo .6s cubic-bezier(.3, 1.4, .5, 1); background-position: 100% 0; }
.gpcap-go svg { width: 16px; height: 16px; transition: transform .25s ease; } .gpcap-go:active svg, .gpcap-go.is-going svg { transform: translateX(5px); }
.gpcap-more { all: unset; box-sizing: border-box; cursor: pointer; flex: 1 1 120px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .6rem 1rem; font: 700 .92rem var(--c-sans); color: var(--c-plum); border: 1.5px solid var(--c-gold); background: #fff; transition: transform .18s ease, background .2s ease; }
.gpcap-more:active { transform: scale(.96); background: #fff7e3; }
.gpcap[data-level="2"] .gpcap-more { display: none; }
@keyframes gpcapBob { 50% { transform: rotate(-6deg) translateY(-1px); } }
@keyframes gpcapPulse { 50% { box-shadow: 0 0 0 2px #fffdf9, 0 0 0 7px rgba(201, 154, 46, .25); } }
@keyframes gpcapSheen { 50% { background-position: 100% 0; } }
@keyframes gpcapSweep { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes gpcapCoin { to { opacity: 1; transform: none; } }
@keyframes gpcapGlow { 50% { box-shadow: 0 0 0 5px rgba(201, 154, 46, .22); } }
@keyframes gpcapPop { from { opacity: 0; transform: scale(.85) translateY(8px); } }
@keyframes gpcapDot { 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes gpcapWord { from { opacity: 0; transform: translateY(.4em) rotate(-3deg); } }
@keyframes gpcapGo { 30% { transform: scale(.94); } 60% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  .gpcap *, .gpcap *::before, .gpcap *::after { animation: none !important; transition: none !important; }
  .gpcap-row6 img, .gpcap-plus { opacity: 1; transform: none; } .gpcap-chat { scroll-behavior: auto; }
}

/* ---- v2 (Nov 13): box opening, guided walkthrough, box launch ---- */
/* the little porcelain box on the pill: its lid back-hinges open instead of a chevron */
.gpcap-box { flex: none; position: relative; width: 34px; height: 30px; perspective: 160px; margin-left: .1rem; }
.gpcap-box-base { position: absolute; left: 2px; right: 2px; bottom: 1px; height: 17px; border-radius: 4px 4px 7px 7px; background: linear-gradient(180deg, #fffdf9, #efe2cd); border: 1.5px solid var(--c-gold); box-shadow: 0 3px 6px rgba(74, 25, 66, .18); }
.gpcap-box-base::after { content: ""; position: absolute; left: 50%; top: 3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--c-plum); opacity: .85; }
.gpcap-box-lid { position: absolute; left: 0; right: 0; bottom: 16px; height: 9px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #fff, #f3e7d3); border: 1.5px solid var(--c-gold); transform-origin: 50% 0%; transition: transform .7s cubic-bezier(.3, 1.6, .45, 1); z-index: 2; animation: gpcapLidPeek 4.5s ease-in-out 2s infinite; }
.gpcap-box-glow { position: absolute; left: 5px; right: 5px; bottom: 14px; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 120, .95), transparent); opacity: 0; transform: scaleY(.3); transition: opacity .4s ease .1s, transform .5s ease .1s; }
.gpcap[data-level="1"] .gpcap-box-lid, .gpcap[data-level="2"] .gpcap-box-lid { transform: translateY(-6px) rotateX(-118deg); animation: none; }
.gpcap[data-level="1"] .gpcap-box-glow, .gpcap[data-level="2"] .gpcap-box-glow { opacity: 1; transform: scaleY(1.2) translateY(-4px); }
.gpcap-spark { position: absolute; left: 50%; bottom: 16px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--c-gold); opacity: 0; }
.gpcap.is-pop .gpcap-spark { animation: gpcapSpark .8s ease-out forwards; }
.gpcap-spark.s1 { --dx: -15px; --dy: -22px; } .gpcap-spark.s2 { --dx: 2px; --dy: -30px; animation-delay: .06s !important; background: #e58ab3; } .gpcap-spark.s3 { --dx: 16px; --dy: -20px; animation-delay: .12s !important; }
.gpcap.is-pop { animation: gpcapOpen .55s cubic-bezier(.3, 1.5, .5, 1); }
/* the peek rises out of the box: treats arc in from the box corner */
.gpcap-row6 img { --fx: 150px; transform: translate(var(--fx), -46px) scale(.3) rotate(40deg); }
.gpcap[data-level="1"] .gpcap-row6 img, .gpcap[data-level="2"] .gpcap-row6 img { animation: gpcapArc .7s cubic-bezier(.25, 1.3, .4, 1) forwards; animation-delay: calc(.18s + var(--i) * 75ms); }
.gpcap-plus { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.gpcap-wordwrap { position: relative; display: inline-block; }
.gpcap-h em { background: linear-gradient(100deg, #4A1942 20%, #a13a72 50%, #4A1942 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gpcapSheen 5s ease-in-out infinite; padding-right: .06em; }
.gpcap-swash { position: absolute; left: -2%; right: -2%; bottom: -.22em; width: 104%; height: .34em; overflow: visible; }
.gpcap-swash path { fill: none; stroke: var(--c-gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; transition: stroke-dashoffset .9s cubic-bezier(.3, 1, .4, 1) .35s; }
.gpcap[data-level="1"] .gpcap-swash path, .gpcap[data-level="2"] .gpcap-swash path { stroke-dashoffset: 0; }
/* walkthrough: a chat-like frame that grows one step at a time, then scrolls inside itself */
.gpcap-prog { display: flex; gap: 5px; padding: 0 .9rem .5rem; }
.gpcap-prog i { flex: 1; height: 4px; border-radius: 4px; background: #eadfce; overflow: hidden; position: relative; }
.gpcap-prog i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-gold), #e9c46a); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.3, 1, .4, 1); }
.gpcap-prog i.is-on::after { transform: scaleX(1); }
.gpcap-tour { margin: 0 .6rem .55rem; max-height: min(58vh, 430px); overflow-y: auto; overscroll-behavior: contain; border-radius: 20px; padding: .75rem .6rem; display: flex; flex-direction: column; gap: .5rem; scroll-behavior: smooth;
  background: linear-gradient(180deg, #f8efe1, #f3e6d3); box-shadow: inset 0 2px 8px rgba(74, 25, 66, .07); }
.gpcap-msg { max-width: 88%; padding: .55rem .8rem; font-size: .93rem; line-height: 1.35; border-radius: 19px; animation: gpcapPop .34s cubic-bezier(.3, 1.5, .5, 1) both; }
.gpcap-msg.b { align-self: flex-start; background: #fffdf9; color: var(--c-plum); border-bottom-left-radius: 6px; box-shadow: 0 2px 6px rgba(74, 25, 66, .08); }
.gpcap-msg.u { align-self: flex-end; background: var(--c-plum); color: #fff; border-bottom-right-radius: 6px; }
.gpcap-msg.t { display: inline-flex; gap: 4px; padding: .7rem .8rem; }
.gpcap-msg.t i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-plum); opacity: .35; animation: gpcapDot 1s ease-in-out infinite; } .gpcap-msg.t i:nth-child(2) { animation-delay: .15s; } .gpcap-msg.t i:nth-child(3) { animation-delay: .3s; }
.gpcap-card { align-self: stretch; animation: gpcapCard .55s cubic-bezier(.25, 1.3, .4, 1) both; }
.gc { position: relative; background: #fffdf9; border: 1.5px solid var(--c-gold-soft); border-radius: 20px; padding: .8rem .85rem; box-shadow: 0 10px 24px -14px rgba(74, 25, 66, .35); }
.gc-k { display: block; font: 700 .64rem var(--c-sans); letter-spacing: .1em; text-transform: uppercase; color: #8a7480; }
.gc-deal { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; overflow: hidden; }
.gc-coins { display: flex; flex-wrap: wrap; gap: 2px; margin: .25rem 0; max-width: 150px; } .gc-coins img { width: 32px; height: 32px; animation: gpcapPop .45s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * 60ms + .15s); }
.gc-coins .gc-cup { width: 36px; height: 36px; filter: drop-shadow(0 0 6px rgba(201, 154, 46, .8)); }
.gc-deal-l b { font: 600 1rem var(--c-serif); color: var(--c-plum); }
.gc-deal-r { text-align: right; display: grid; gap: 0; } .gc-deal-r s { font: 500 1.05rem var(--c-serif); color: #8a7480; text-decoration-thickness: 2px; text-decoration-color: #c2557f; margin-bottom: .3rem; }
.gc-deal-r strong { font: 600 2.1rem/1 var(--c-serif); color: var(--c-plum); animation: gpcapPrice .7s cubic-bezier(.3, 1.6, .5, 1) .5s both; }
.gc-stamp { position: absolute; right: 10px; bottom: 8px; font: 700 .68rem var(--c-sans); letter-spacing: .06em; text-transform: uppercase; color: #8a5a00; background: #ffe9ad; border: 1.5px dashed var(--c-gold); border-radius: 8px; padding: .18rem .45rem; transform: rotate(-7deg); animation: gpcapStamp .5s cubic-bezier(.3, 1.8, .5, 1) .95s both; }
.gc-deal { padding-bottom: 2.1rem; }
.gc-switch { display: grid; gap: .55rem; }
.gc-tog { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-height: 44px; border-radius: 999px; background: #f1e6d6; padding: 4px; font: 700 .86rem var(--c-sans); color: #8a7480; text-align: center; align-items: center; }
.gc-tog span { position: relative; z-index: 1; transition: color .3s ease; } .gc-tog i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--c-plum); transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), background .4s ease, box-shadow .4s ease; }
.gc-switch[data-on="0"] .gc-tog span:first-child, .gc-switch[data-on="1"] .gc-tog span:nth-child(2) { color: #fff; }
.gc-switch[data-on="1"] .gc-tog i { transform: translateX(100%); background: linear-gradient(120deg, #7a2a5c, #c2557f); box-shadow: 0 0 0 3px rgba(201, 154, 46, .45), 0 0 18px rgba(201, 154, 46, .6); }
.gc-sw-rows p { margin: 0; display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: .9rem; padding: .2rem 0; } .gc-sw-rows b { font: 600 1.3rem var(--c-serif); color: #8a7480; font-variant-numeric: tabular-nums; }
.gc-sw-rows .is-prime { border-top: 1px dashed var(--c-gold-soft); } .gc-sw-rows .is-prime b { color: var(--c-plum); }
.gc-sw-say { margin: 0; font-size: .84rem; font-weight: 600; color: var(--c-plum); min-height: 2.3em; }
.is-tick { animation: gpcapTick .45s cubic-bezier(.3, 1.6, .5, 1); display: inline-block; }
.gc-ticket { padding: 0; overflow: hidden; background: linear-gradient(165deg, #4A1942, #6b2a58); color: #fff3dd; border: 0; }
.gc-ticket .gc-k { color: #e9c46a; } .gc-tk-top { padding: .8rem .9rem .7rem; position: relative; } .gc-tk-day { font: 600 1.25rem var(--c-serif); }
.gc-tk-top::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; border-bottom: 2px dashed rgba(255, 243, 221, .35); }
.gc-ticket::before, .gc-ticket::after { content: ""; position: absolute; top: 58px; width: 18px; height: 18px; border-radius: 50%; background: #f5eadb; } .gc-ticket::before { left: -9px; } .gc-ticket::after { right: -9px; }
.gc-tk-days { display: flex; gap: .3rem; padding: .7rem .9rem .4rem; } .gc-day { all: unset; box-sizing: border-box; cursor: pointer; flex: 1; min-height: 42px; display: grid; place-items: center; border-radius: 12px; font: 700 .8rem var(--c-sans); background: rgba(255, 255, 255, .1); transition: transform .2s ease, background .25s ease, color .25s ease; }
.gc-day.is-on { background: #ffe9ad; color: var(--c-plum); transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.gc-tk-foot { margin: 0; padding: .2rem .9rem .8rem; font-size: .8rem; opacity: .9; }
.gc-wk-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; } .gc-wk { all: unset; box-sizing: border-box; cursor: pointer; min-height: 58px; display: grid; place-items: center; align-content: center; gap: .1rem; border-radius: 14px; background: #f6ecdc; border: 1.5px solid var(--c-gold-soft); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), background .3s ease, opacity .3s ease; }
.gc-wk span { font: 700 .66rem var(--c-sans); letter-spacing: .05em; text-transform: uppercase; color: #8a7480; } .gc-wk b { font: 600 1.05rem var(--c-serif); color: var(--c-plum); }
.gc-wk.is-off { background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f3ece1 6px, #f3ece1 12px); transform: scale(.94) rotate(-2deg); border-style: dashed; } .gc-wk.is-off b { color: #2f8f5b; }
.gc-wk-say { margin: .5rem 0 0; font-size: .84rem; font-weight: 600; color: var(--c-plum); }
.gc-sv-dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: .45rem 0 .5rem; } .gc-sv-dots i { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9ad, var(--c-gold)); transform: scale(0); animation: gpcapPop .4s cubic-bezier(.3, 1.8, .5, 1) forwards; animation-delay: calc(var(--i) * 90ms + .2s); }
.gc-save p { margin: 0; font-size: .86rem; } .gc-save b { color: var(--c-plum); }
.gpcap-nextrow { display: flex; justify-content: flex-end; padding: 0 .6rem .55rem; }
.gpcap-next { all: unset; box-sizing: border-box; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; border-radius: 19px 19px 6px 19px; padding: .5rem .95rem; font: 700 .9rem var(--c-sans); color: var(--c-plum); background: #fff; border: 1.5px solid var(--c-gold); box-shadow: 0 6px 14px -8px rgba(74, 25, 66, .4); }
.gpcap-next.is-in { animation: gpcapPop .4s cubic-bezier(.3, 1.6, .5, 1) both, gpcapGlow 2.4s ease-in-out 1s infinite; } .gpcap-next:active { transform: scale(.96); } .gpcap-next[hidden], .gpcap-ask[hidden], .gpcap-live[hidden], .gpcap-chips[hidden] { display: none; }
.gpcap.is-done .gpcap-nextrow { display: none; }
.gpcap-ask { padding: 0 0 .3rem; } .gpcap-ask-k { display: block; padding: 0 .9rem .35rem; font: 700 .66rem var(--c-sans); letter-spacing: .1em; text-transform: uppercase; color: #8a7480; } .gpcap-live { margin: 0 .6rem .55rem; }
.gpcap-chips { display: flex; gap: .4rem; overflow-x: auto; padding: 0 .6rem .6rem; scrollbar-width: none; } .gpcap-chips::-webkit-scrollbar { display: none; }
.gpcap-chip { all: unset; box-sizing: border-box; cursor: pointer; flex: none; min-height: 40px; display: inline-flex; align-items: center; border: 1.5px solid var(--c-gold-soft); background: #fff; border-radius: 999px; padding: .35rem .8rem; font: 600 .84rem var(--c-sans); color: var(--c-plum); }
.gpcap-chip[disabled] { opacity: .38; cursor: default; }
.gpcap-foot { padding: 0 .6rem .8rem; display: grid; gap: .45rem; }
.gpcap-deep { font: 600 .84rem var(--c-sans); color: #6e5a66; text-align: center; text-decoration: underline; text-underline-offset: 3px; padding: .35rem; }
.gpcap.is-done .gpcap-foot .gpcap-go { animation: gpcapGlowBtn 2s ease-in-out infinite; }
/* build: the classic box opens on screen, then the builder arrives */
.gpcap-launch { position: fixed; inset: 0; z-index: 2147483600; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, rgba(255, 248, 232, .97), rgba(253, 248, 240, .9) 60%, rgba(253, 248, 240, 0)); opacity: 0; transition: opacity .3s ease; pointer-events: none; font-family: "DM Sans", system-ui, sans-serif; }
.gpcap-launch.is-on { opacity: 1; } .gpcap-launch.is-out { opacity: 0; transition-duration: .45s; }
.gpl-stage { position: relative; width: 210px; height: 230px; perspective: 700px; }
.gpl-base { position: absolute; left: 10px; right: 10px; bottom: 44px; height: 92px; border-radius: 14px 14px 22px 22px; background: linear-gradient(180deg, #fffdf9, #eadbc3); border: 2px solid #c99a2e; box-shadow: 0 26px 40px -18px rgba(74, 25, 66, .5); }
.gpl-lid { position: absolute; left: 2px; right: 2px; bottom: 132px; height: 40px; border-radius: 16px 16px 6px 6px; background: linear-gradient(180deg, #fff, #f3e7d3); border: 2px solid #c99a2e; display: grid; place-items: center; transform-origin: 50% 0%; z-index: 3; }
.gpl-lid span { font: 600 1rem "Glaze Fraunces", "Fraunces", Georgia, serif; color: #4A1942; }
.gpcap-launch.is-on .gpl-lid { animation: gplLid 1s cubic-bezier(.3, 1.4, .45, 1) .12s forwards; }
.gpl-glow { position: absolute; left: 20px; right: 20px; bottom: 110px; height: 90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 210, 110, .95), transparent); opacity: 0; }
.gpcap-launch.is-on .gpl-glow { animation: gplGlow 1s ease .3s forwards; }
.gpl-rise { position: absolute; left: 24px; right: 24px; bottom: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; justify-items: center; z-index: 2; }
.gpl-rise img { width: 46px; height: 46px; opacity: 0; } .gpcap-launch.is-on .gpl-rise img { animation: gplRise .7s cubic-bezier(.25, 1.4, .4, 1) forwards; animation-delay: calc(.42s + var(--i) * 55ms); }
.gpl-say { position: absolute; left: -40px; right: -40px; bottom: 0; margin: 0; text-align: center; font: 600 1.15rem "Glaze Fraunces", "Fraunces", Georgia, serif; color: #4A1942; }
@keyframes gpcapLidPeek { 0%, 86%, 100% { transform: none; } 91% { transform: translateY(-2px) rotateX(-28deg); } 95% { transform: rotateX(-8deg); } }
@keyframes gpcapSpark { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4); } }
@keyframes gpcapOpen { 0% { transform: scale(.985); } 45% { transform: scale(1.018); } }
@keyframes gpcapArc { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes gpcapCard { from { opacity: 0; transform: translateY(18px) scale(.94) rotate(-1.5deg); } }
@keyframes gpcapPrice { from { opacity: 0; transform: scale(.5) rotate(-8deg); } }
@keyframes gpcapStamp { from { opacity: 0; transform: scale(2.2) rotate(8deg); } }
@keyframes gpcapTick { from { opacity: 0; transform: translateY(-.5em); } }
@keyframes gpcapGlowBtn { 50% { box-shadow: 0 8px 20px rgba(74, 25, 66, .28), 0 0 0 6px rgba(201, 154, 46, .28); } }
@keyframes gplLid { 0% { transform: none; } 22% { transform: translateY(-8px); } 100% { transform: translateY(-26px) rotateX(-122deg); } }
@keyframes gplGlow { to { opacity: 1; transform: translateY(-26px) scale(1.25); } }
@keyframes gplRise { 0% { opacity: 0; transform: translateY(40px) scale(.4); } 100% { opacity: 1; transform: translateY(-58px) scale(1); } }
@media (prefers-reduced-motion: reduce) { .gpcap-swash path { stroke-dashoffset: 0; } .gc-sv-dots i { transform: none; } .gpcap-h em { color: var(--c-plum); background: none; } }
.gc-mo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; margin: .45rem 0 .5rem; }
.gc-mo { display: grid; justify-items: center; align-content: end; gap: .15rem; min-height: 66px; padding: .35rem .2rem; border-radius: 14px; background: #f6ecdc; animation: gpcapPop .45s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * 140ms); }
.gc-mo small { font: 700 .62rem var(--c-sans); letter-spacing: .05em; text-transform: uppercase; color: #8a7480; }
.gc-mo.is-prize { background: linear-gradient(160deg, #fff3d2, #f6dfa0); box-shadow: 0 0 0 2px var(--c-gold), 0 0 18px rgba(201, 154, 46, .55); transform-origin: 50% 100%; }
.gc-mo.is-prize img { animation: gpcapBob 2.4s ease-in-out infinite; }
.gc-month p { margin: 0; font-size: .86rem; } .gc-month b { color: var(--c-plum); }
/* polish after the 390px check */
.gpcap-go, .gpcap-more { white-space: nowrap; padding-left: .85rem; padding-right: .85rem; font-size: .9rem; }
.gpcap-btns .gpcap-go { flex: 1 1 auto; } .gpcap-btns .gpcap-more { flex: 0 1 auto; }
.gpcap[data-level="2"] .gpcap-p, .gpcap[data-level="2"] .gpcap-btns { display: none; }
.gc-sv-dots i { animation-name: gpcapDotIn; }
@keyframes gpcapDotIn { to { transform: scale(1); } }
.gpcap-btns .gpcap-more { flex: 1 1 100%; }
.gpcap.is-shared .gpcap-prog, .gpcap.is-shared .gpcap-tour, .gpcap.is-shared .gpcap-nextrow, .gpcap.is-shared .gpcap-ask { display: none; }
/* Shared walkthrough inside the capsule (loops, Nov 15): BonBon walks on the progress bar instead of standing alone on an
   empty row under the treat coins, and his lane stops short of the count and the buttons. The capsule's own
   "Build my Prime box" below is the one button; the walkthrough's copy of it is not shown twice. */
.gpcap.is-shared .bbl-s-stage { width: calc(100% - 152px); margin: -6px 0 -21px; }
.gpcap.is-shared .bbl-s-go { display: none; }
.gpl-say { white-space: nowrap; bottom: 4px; } .gpl-base { bottom: 52px; } .gpl-lid { bottom: 140px; } .gpl-rise { bottom: 104px; } .gpl-glow { bottom: 118px; }
