/* V3 round 2, lane E: VIP weekly box (velvet rope + /plans welcome), subscription share panel (/ops-share),
   matcha hero with real photos. Variant groups: vip-entry (a rope, b member card, c gold invite),
   mx-hero (a one cup, b two cups, c picnic), share-view (a meter, b rings). */

/* ── Velvet rope overlay (home, opened by "Start my weekly box") ── */
.vipr { --vk: #15100f; --vk2: #241619; --vg: #D4A843; --vg2: #F1D58A; --vc: #FDF8F0; --vv: #7A1730; --vv2: #4E0E1F;
  position: fixed; inset: 0; z-index: 2147482000; display: grid; place-items: center; padding: 16px; }
.vipr[hidden] { display: none !important; }
.vipr-scrim { position: absolute; inset: 0; background: rgba(10, 6, 8, .78); opacity: 0; transition: opacity .35s ease-out; }
.vipr.is-in .vipr-scrim { opacity: 1; }
.vipr-panel { position: relative; width: min(920px, 100%); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
  border-radius: 28px; color: var(--vc); background: radial-gradient(120% 90% at 20% 0%, #2e1c22 0%, var(--vk) 62%);
  box-shadow: 0 0 0 1px rgba(212, 168, 67, .55), 0 0 0 7px rgba(212, 168, 67, .08), 0 40px 90px -20px rgba(0, 0, 0, .7);
  font: 400 16px/1.5 'DM Sans', system-ui, sans-serif; opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1); outline: none; }
.vipr.is-in .vipr-panel { opacity: 1; transform: none; }
.vipr-x { position: absolute; z-index: 3; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(212, 168, 67, .5);
  background: rgba(21, 16, 15, .7); color: var(--vg2); font: 400 24px/1 system-ui; cursor: pointer; }
.vipr-x:hover { background: rgba(212, 168, 67, .16); }
.vipr button:focus-visible, .vipr a:focus-visible { outline: 2px solid var(--vg2); outline-offset: 3px; }

/* the rope: two brass posts and a velvet cord that unhooks on "Step inside" */
.vipr-rope { position: relative; height: 74px; margin: 18px 56px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.vipr-post { position: relative; z-index: 2; width: 16px; height: 70px; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(90deg, #7a5a1c, #F1D58A 40%, #b88a2c 70%, #6b4d16); box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .6); }
.vipr-post::before { content: ""; position: absolute; left: 50%; top: -12px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c4, #D4A843 45%, #7a5a1c); }
.vipr-cord { position: absolute; z-index: 1; left: 8px; right: 8px; top: 2px; width: calc(100% - 16px); height: 60px; overflow: visible;
  transform-origin: 0 0; transition: transform .38s cubic-bezier(.5, 0, .75, 0), opacity .38s ease-in; }
.vipr-cord path { fill: none; stroke: url(#viprVelvet); stroke-width: 11; stroke-linecap: round; filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .45)); }
.vipr.is-unhooked .vipr-cord { transform: rotate(16deg) translateY(10px); opacity: 0; }

.vipr-words { text-align: left; }
.vipr-body { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: center; padding: 6px 40px 8px; }
.vipr-bonbon { margin: 0; position: relative; text-align: center; }
.vipr-bonbon::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -6px; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(122, 23, 48, .75), transparent); z-index: 0; }
.vipr-bonbon img { position: relative; z-index: 1; width: 100%; max-width: 280px; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); }
.vipr-bonbon figcaption { position: relative; z-index: 1; margin-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--vg2); }
.vipr-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--vg); }
.vipr h2 { margin: 0; font: 500 clamp(30px, 4.2vw, 44px)/1.04 'Glaze Display', Georgia, serif; color: var(--vc); letter-spacing: -.01em; }
.vipr h2 em { font-style: italic; color: var(--vg2); }
.vipr-say { margin: 12px 0 0; color: #E9DCCB; max-width: 34em; }
.vipr-say b { color: var(--vg2); font-weight: 600; }
.vipr-perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.vipr-perks li { position: relative; padding: 10px 0 0 22px; border-top: 1px solid rgba(212, 168, 67, .28); font-size: 14.5px; line-height: 1.4; color: #E9DCCB; }
.vipr-perks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--vg); }
.vipr-perks b { display: block; color: var(--vc); font-weight: 600; font-size: 15.5px; }
.vipr-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 22px; }
.vipr-go { appearance: none; border: 0; cursor: pointer; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 700 16.5px/1 'DM Sans', system-ui, sans-serif;
  color: #241606; background: linear-gradient(180deg, #F6DE96, #D4A843 55%, #B98C2B); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 24px -10px rgba(212, 168, 67, .8);
  transition: transform .2s ease-out, box-shadow .2s ease-out; }
.vipr-go:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 30px -10px rgba(212, 168, 67, .95); }
.vipr-go:active { transform: translateY(1px) scale(.99); }
.vipr-later { appearance: none; border: 0; background: none; cursor: pointer; color: #CDBBA6; font: 600 15px/1 'DM Sans', system-ui, sans-serif; text-decoration: underline; text-underline-offset: 4px; padding: 12px 6px; }
.vipr-fine { margin: 12px 0 0; font-size: 13px; color: #B9A892; }
.vipr-cardface { display: none; }
.vipr-switch { position: relative; height: 48px; }

/* b: member card (black card with a gold foil edge; Bonbon is the card's emblem) */
html[data-v-vip-entry="b"] .vipr-panel { width: min(760px, 100%); border-radius: 22px; background:
  linear-gradient(115deg, rgba(255, 255, 255, .06) 0%, transparent 28%, transparent 62%, rgba(241, 213, 138, .08) 78%, transparent 90%), #121010;
  box-shadow: 0 0 0 2px #b88a2c, 0 0 0 3px rgba(241, 213, 138, .5), 0 40px 90px -20px rgba(0, 0, 0, .75); }
html[data-v-vip-entry="b"] .vipr-rope { height: 52px; margin: 14px 56px 0; }
html[data-v-vip-entry="b"] .vipr-post { height: 48px; }
html[data-v-vip-entry="b"] .vipr-body { grid-template-columns: 1fr; padding: 4px 32px 8px; gap: 0; }
html[data-v-vip-entry="b"] .vipr-bonbon { display: none; }
html[data-v-vip-entry="b"] .vipr-cardface { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; padding: 14px 16px; border-radius: 16px;
  border: 1px solid rgba(212, 168, 67, .45); background: linear-gradient(135deg, rgba(212, 168, 67, .14), rgba(212, 168, 67, .02)); }
.vipr-cardface img { width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a2a20, #120d0b); border: 2px solid var(--vg); object-fit: contain; padding: 4px; }
.vipr-cardface span { display: block; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--vg); }
.vipr-cardface strong { display: block; font: 500 22px/1.15 'Glaze Display', Georgia, serif; color: var(--vc); }
.vipr-cardface small { display: block; color: #CDBBA6; font-size: 13px; }

/* c: gold invitation (double gold frame, centered, cream on black) */
html[data-v-vip-entry="c"] .vipr-panel { width: min(680px, 100%); border-radius: 6px; background: #0f0b0a;
  box-shadow: inset 0 0 0 10px #0f0b0a, inset 0 0 0 11px var(--vg), inset 0 0 0 15px #0f0b0a, inset 0 0 0 16px rgba(212, 168, 67, .55), 0 40px 90px -20px rgba(0, 0, 0, .75); }
html[data-v-vip-entry="c"] .vipr-x { top: 22px; left: 22px; border-radius: 4px; }
html[data-v-vip-entry="c"] .vipr-rope { margin: 30px 70px 0; height: 60px; }
html[data-v-vip-entry="c"] .vipr-body { grid-template-columns: 1fr; text-align: center; padding: 0 44px 8px; gap: 6px; }
html[data-v-vip-entry="c"] .vipr-bonbon img { max-width: 150px; }
html[data-v-vip-entry="c"] .vipr-bonbon::after { display: none; }
html[data-v-vip-entry="c"] .vipr-say { margin-left: auto; margin-right: auto; }
html[data-v-vip-entry="c"] .vipr-perks { text-align: left; }
html[data-v-vip-entry="c"] .vipr-actions { justify-content: center; }
html[data-v-vip-entry="c"] .vipr-go { border-radius: 4px; letter-spacing: .06em; text-transform: uppercase; font-size: 14.5px; }

@media (max-width: 720px) {
  .vipr { padding: 0; place-items: end stretch; }
  .vipr-panel { width: 100%; max-height: 100dvh; border-radius: 24px 24px 0 0; }
  html[data-v-vip-entry="c"] .vipr-panel { border-radius: 0; }
  .vipr-rope { margin: 14px 64px 0; height: 56px; }
  .vipr-post { height: 52px; }
  .vipr-body { grid-template-columns: 1fr; gap: 6px; padding: 0 20px 4px; }
  .vipr-bonbon img { max-width: 150px; }
  .vipr-bonbon::after { bottom: -2px; height: 18px; }
  .vipr-perks { grid-template-columns: 1fr; gap: 6px; }
  .vipr-perks li { padding-top: 8px; font-size: 14px; }
  .vipr-actions { position: sticky; bottom: 0; z-index: 2; margin: 14px -20px 0; padding: 14px 20px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(21, 16, 15, 0), #15100f 26%); }
  .vipr-go { flex: 1 1 100%; }
  .vipr-later { margin: 0 auto; padding: 6px; }
  .vipr-fine { text-align: center; }
  html[data-v-vip-entry="b"] .vipr-body, html[data-v-vip-entry="c"] .vipr-body { padding: 0 20px 4px; }
  html[data-v-vip-entry="c"] .vipr-rope { margin: 26px 64px 0; }
  html[data-v-vip-entry="c"] .vipr-bonbon img { max-width: 110px; }
}
html.vipr-lock, html.vipr-lock body { overflow: hidden !important; }
html.glz-static .vipr *, html.glz-static .vipr { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { .vipr *, .vipr { transition: none !important; animation: none !important; } }

/* ── /plans welcome band (arrivals through the rope, ?vip=1) ── */
.vipw { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; margin: 18px 0 8px; padding: 18px 56px 18px 18px;
  border-radius: 22px; color: #FDF8F0; background: radial-gradient(120% 140% at 0% 0%, #34202a 0%, #15100f 60%);
  box-shadow: 0 0 0 1px rgba(212, 168, 67, .55), 0 18px 40px -22px rgba(0, 0, 0, .6); }
.vipw img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }
.vipw p { margin: 0; }
.vipw .vipw-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #D4A843; }
.vipw h2 { margin: 4px 0 6px; font: 500 clamp(24px, 3.2vw, 32px)/1.08 'Glaze Display', Georgia, serif; color: #FDF8F0; }
.vipw .vipw-say { color: #E9DCCB; font-size: 15px; }
.vipw:has(.glzv) { padding-top: 52px; }
.vipw ul { grid-column: 2; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 0; padding: 0; }
.vipw li { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #F1D58A; border: 1px solid rgba(212, 168, 67, .45); background: rgba(212, 168, 67, .08); }
.vipw-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(212, 168, 67, .45); background: transparent; color: #F1D58A; font: 400 20px/1 system-ui; cursor: pointer; }
.vipw-x:focus-visible { outline: 2px solid #F1D58A; outline-offset: 2px; }
.vipw { animation: vipwIn .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vipwIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html[data-v-vip-entry="b"] .vipw { border-radius: 16px; background: linear-gradient(115deg, rgba(255, 255, 255, .06), transparent 30%), #121010; box-shadow: 0 0 0 2px #b88a2c, 0 18px 40px -22px rgba(0, 0, 0, .6); }
html[data-v-vip-entry="b"] .vipw img { border-radius: 50%; border: 2px solid #D4A843; padding: 4px; background: #1d1512; }
html[data-v-vip-entry="c"] .vipw { border-radius: 4px; background: #0f0b0a; box-shadow: inset 0 0 0 6px #0f0b0a, inset 0 0 0 7px #D4A843, 0 18px 40px -22px rgba(0, 0, 0, .6); }
html.vip-in .sum { box-shadow: 0 0 0 2px rgba(212, 168, 67, .7), 0 18px 40px -26px rgba(74, 25, 66, .5); }
@media (max-width: 640px) {
  .vipw { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 12px; padding: 14px 44px 14px 12px; }
  .vipw img { width: 64px; height: 64px; align-self: start; }
  .vipw ul { grid-column: 1 / -1; gap: 6px; }
  .vipw li { padding: 4px 9px; font-size: 12px; }
}
html.glz-static .vipw { animation: none; }
@media (prefers-reduced-motion: reduce) { .vipw { animation: none; } }

/* ── Matcha hero: real photos (V1 carrier photo retired) ── */
.lane-e-mxh { position: relative; }
.lane-e-mxh figure { margin: 0; }
.lane-e-mxh figure[hidden] { display: none !important; }
.lane-e-mxh picture { display: block; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: #2b3d22; box-shadow: 0 22px 54px rgba(0, 0, 0, .32); }
.lane-e-mxh img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lane-e-mxh figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .04em; color: rgba(253, 248, 240, .82); }
.mxh-one picture { animation: mxhIn .8s cubic-bezier(.2, .7, .2, 1) both; }
.mxh-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.mxh-pair > span { display: block; }
.mxh-pair .mxh-p1 { transform: rotate(-2.5deg); }
.mxh-pair .mxh-p2 { transform: rotate(2deg); margin-top: 38px; }
.mxh-pair picture { border-radius: 20px; box-shadow: 0 0 0 5px #F6F2E6, 0 22px 44px rgba(0, 0, 0, .35); }
.mxh-pair figcaption { grid-column: 1 / -1; margin-top: 4px; }
.mxh-picnic picture { aspect-ratio: 4 / 5; border-radius: 200px 200px 26px 26px; }
.mx-story-slot { display: block; margin: 16px auto 0; max-width: 30em; padding: 12px 14px; border: 2px dashed #D4A843; border-radius: 14px; color: #F6F2E6; font-size: 14px; text-align: left; background: rgba(0, 0, 0, .18); }
.mx-story-slot[hidden] { display: none !important; }
.mx-story-slot b { display: block; color: #D4A843; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
@keyframes mxhIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .mx-story-slot { margin-left: 0; } }
html.glz-static .mxh-one picture { animation: none; }
@media (prefers-reduced-motion: reduce) { .mxh-one picture { animation: none; } }

/* ── /ops-share: subscription share panel ── */
.shr .stub { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #6b4d16; background: #FBEFC9; border: 1px solid #E8CF86; }
.shr .real { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #2f4724; background: #EEF3E6; border: 1px solid #C9D8B7; }
.shr-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 18px; }
.shr-inputs label { display: block; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(45, 25, 40, .14); }
.shr-inputs label > span { display: block; font-size: 13px; color: #5A4D44; }
.shr-inputs input { width: 100%; margin-top: 6px; font: 600 22px/1.2 'DM Sans', system-ui, sans-serif; border: 1px solid rgba(45, 25, 40, .2); border-radius: 10px; padding: 6px 10px; }
.shr-inputs small { display: block; margin-top: 6px; color: #5A4D44; font-size: 12.5px; }
.shr-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 6px 0 12px; }
.shr-big b { font: 500 clamp(44px, 7vw, 68px)/1 'Glaze Display', Georgia, serif; color: #4A1942; }
.shr-meter { position: relative; height: 22px; margin: 26px 0 36px; border-radius: 999px; background: #EFE6DA; }
.shr-meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #4A1942, #8a3a7c); min-width: 4px; transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.shr-meter span { position: absolute; top: -8px; bottom: -8px; width: 2px; background: #B98C2B; }
.shr-meter span em { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; white-space: nowrap; font: 600 12px/1.2 'DM Sans', system-ui, sans-serif; font-style: normal; color: #6b4d16; }
html.glz-static .shr-meter i { transition: none; }
@media (prefers-reduced-motion: reduce) { .shr-meter i { transition: none; } }
.shr-rings { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0 18px; }
.shr-rings figure { margin: 0; text-align: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid rgba(45, 25, 40, .12); }
.shr-rings svg { width: 100%; max-width: 140px; height: auto; }
.shr-rings figcaption { font-size: 13px; color: #5A4D44; }
.shr-rings figcaption b { display: block; color: #2D1928; font-size: 15px; }
html[data-v-share-view="b"] .shr-meter { display: none; }
html[data-v-share-view="b"] .shr-rings { display: grid; }
.shr-chart { margin: 12px 0 18px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid rgba(45, 25, 40, .12); }
.shr-chart svg { display: block; width: 100%; height: auto; }
.shr-alert { padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(45, 25, 40, .14); background: #fff; }
.shr-alert code { font-size: 12.5px; word-break: break-all; }
.shr .ok { color: #2f4724; font-weight: 700; }
.shr .no { color: #8A6B1E; font-weight: 700; }
