/* ═══════════════════════════════════════════════════════════════════
   LoyalStack customer pages — design layer (loaded after app.css).
   Colours, fonts and corner sizes come from the shop's design
   (includes/design.php → CSS variables --c-*). Keep selectors scoped
   to body.cust so nothing leaks into other pages.
   ═══════════════════════════════════════════════════════════════════ */

body.cust { font-family: var(--c-font-body); color: var(--c-ink); background: #ECE8E1; }
body.cust .stage { background: var(--c-bg); }
body.cust .flow-content.tint { background: var(--c-bg); padding-top: 14px; }
body.cust h1, body.cust h2, body.cust h3 { font-family: var(--c-font-display); }
body.cust :focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* ── Cover header ── */
.c-head { position: relative; }
.c-cover { height: 150px; position: relative; background: var(--c-primary) center/cover no-repeat; overflow: hidden; }
.c-cover::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.c-cover.pat-stripes::before { background: repeating-linear-gradient(115deg, rgba(255,255,255,.08) 0 14px, transparent 14px 28px), linear-gradient(160deg, transparent 30%, rgba(0,0,0,.28)); }
.c-cover.pat-dots::before    { background: radial-gradient(rgba(255,255,255,.22) 1.5px, transparent 2px) 0 0/16px 16px, linear-gradient(160deg, transparent 30%, rgba(0,0,0,.25)); }
.c-cover.pat-plain::before   { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(0,0,0,.22)); }
.c-cover.pat-photo::before   { background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0) 40%, rgba(0,0,0,.18)); }
.c-cover-tools { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.c-chip { background: rgba(0,0,0,.32); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.c-me { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); background: rgba(0,0,0,.28); color: #fff;
  font: 800 14px var(--c-font-body); align-items: center; justify-content: center; padding: 0; flex-shrink: 0; cursor: pointer; }
.shop-bar .c-me { margin-left: auto; border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary-dark); }
.c-id { padding: 0 18px; margin-top: -40px; position: relative; z-index: 1; }
.c-logo { width: 76px; height: 76px; border-radius: calc(var(--c-radius) + 2px); background: #fff; border: 4px solid var(--c-bg);
  display: grid; place-items: center; overflow: hidden; font: 800 28px var(--c-font-display); color: var(--c-primary);
  box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.c-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.c-name { font: 800 25px/1.15 var(--c-font-display); letter-spacing: -.01em; margin: 8px 0 0; color: var(--c-ink); text-wrap: balance; }
.c-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--c-muted); margin-top: 3px; }
.c-meta:empty { display: none; }
.c-open { color: #15803D; font-weight: 600; }
.c-closed { color: #B45309; font-weight: 600; }

/* ── Compact bar (game / coupon pages) ── */
body.cust .shop-bar .shop-logo { background: var(--c-primary-soft); color: var(--c-primary-dark); border-radius: var(--c-radius-sm); }
body.cust .shop-bar .shop-name { font-family: var(--c-font-display); }
body.cust .shop-bar .badge { background: var(--c-primary-soft); color: var(--c-primary-dark); }

/* ── Promise card (replaces the old hero carousel) ── */
.c-promise { display: flex; gap: 12px; align-items: center; background: var(--c-primary-soft); border-radius: var(--c-radius); padding: 14px 16px; margin: 4px 0 14px; }
.c-promise-ic { width: 44px; height: 44px; border-radius: var(--c-radius-sm); background: var(--c-primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.c-promise-ic svg { width: 22px; height: 22px; }
.c-promise b { display: block; font: 700 16px/1.3 var(--c-font-display); color: var(--c-ink); }
.c-promise span { font-size: 13px; color: var(--c-muted); }

/* ── Number form ── */
body.cust .scan-card { margin-top: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius); box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 16px; }
body.cust .scan-card h2 { font-family: var(--c-font-display) !important; }
body.cust .field-label { color: var(--c-muted); letter-spacing: 0; text-transform: none; font-size: 12.5px; }
body.cust .field-input { border-radius: var(--c-btn-radius); border: 1.5px solid var(--c-line) !important; background: var(--c-bg) !important; min-height: 52px; }
body.cust .field-input:focus-within { border-color: var(--c-primary) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent); }
body.cust .field-input input { font-size: 17px; }
body.cust .btn { border-radius: var(--c-btn-radius); font-family: var(--c-font-body); }
body.cust .btn-ink, body.cust .btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 20px -10px var(--c-primary); }
body.cust .btn-lg { min-height: 54px; font-size: 16.5px; }
.c-consent { font-size: 12px; color: var(--c-muted); text-align: center; margin-top: 10px; line-height: 1.5; }

/* ── Section titles & prizes ── */
.c-sec { margin-top: 22px; }
.c-sec-t { font: 700 16px var(--c-font-display); color: var(--c-ink); margin: 0 0 10px; }
/* Prizes today: soft panel, gift header, prize tickets in 2 columns (nothing cut off at the edge) */
body.cust .cp-rewards { margin: 22px 0 0; padding: 16px 14px 14px; border-radius: calc(var(--c-radius) + 4px); border: 1px solid var(--c-line); box-shadow: none;
  background: linear-gradient(180deg, var(--c-primary-soft, #f3f0ff), var(--c-surface, #fff) 70%); }
body.cust .cp-rw-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
body.cust .cp-rw-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--c-primary); color: #fff; box-shadow: 0 6px 14px -6px var(--c-primary-dark, rgba(0,0,0,.4)); }
body.cust .cp-rw-h { font: 700 17px/1.2 var(--c-font-display); letter-spacing: 0; margin: 0; color: var(--c-ink); }
body.cust .cp-rw-sub { font-size: 12.5px; line-height: 1.4; color: var(--c-muted); margin: 2px 0 0; }
body.cust .cp-rw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; overflow: visible; }
body.cust .cp-rw { position: relative; overflow: hidden; display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 10px 8px 10px 11px; min-height: 58px; text-align: left;
  border-radius: var(--c-radius-sm, 12px); background: #fff; border: 1px solid color-mix(in srgb, var(--rw-c, #7c3aed) 22%, #fff); box-shadow: 0 2px 8px -4px rgba(20,14,40,.12); }
body.cust .cp-rw::before { content: ""; display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 0; opacity: 1; background: var(--rw-c, #7c3aed); }
body.cust .cp-rw-badge { width: 32px; height: 32px; flex: none; border-radius: 10px; font-size: 16px; box-shadow: none; }
body.cust .cp-rw-badge.emoji { background: color-mix(in srgb, var(--rw-c, #7c3aed) 12%, #fff); border: 0; font-size: 18px; }
body.cust .cp-rw-nm { font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--c-ink); white-space: normal; overflow-wrap: normal; word-break: normal; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.cust .cp-rw-more { justify-content: center; flex-direction: column; gap: 0; background: transparent; border-style: dashed; border-color: var(--c-line); box-shadow: none; text-align: center; }
body.cust .cp-rw-more::before { display: none; }
body.cust .cp-rw-more b { font: 800 17px/1.1 var(--c-font-display); color: var(--c-primary); }
body.cust .cp-rw-more span { font-size: 11.5px; font-weight: 600; color: var(--c-muted); }

/* ── Stamp card teaser ── */
.c-stampcard { border-radius: var(--c-radius); padding: 16px; background: #fff; border: 1px solid var(--c-line); position: relative; overflow: hidden; }
.c-stampcard.st-bold, .c-stampcard.st-pattern { background: var(--c-primary); border: 0; color: #fff; }
.c-stampcard.st-dark { background: #17140F; border: 0; color: #fff; }
.c-stampcard.st-pattern::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 2px) 0 0/14px 14px; pointer-events: none; }
.c-sc-name { font: 800 17px var(--c-font-display); position: relative; }
.c-sc-rw { font-size: 13px; opacity: .8; position: relative; }
.c-sc-grid { display: grid; gap: 8px; margin: 14px 0 8px; position: relative; }
.c-st { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 2px dashed var(--c-line); color: var(--c-muted); }
.st-bold .c-st, .st-pattern .c-st, .st-dark .c-st { border-color: rgba(255,255,255,.45); color: rgba(255,255,255,.7); }
.c-st.gift { border-style: solid; border-color: var(--c-primary); color: var(--c-primary); }
.st-bold .c-st.gift, .st-pattern .c-st.gift, .st-dark .c-st.gift { border-color: #fff; color: #fff; }
.c-st svg { width: 55%; height: 55%; }
.c-sc-foot { font-size: 12.5px; opacity: .8; position: relative; }

/* ── Trust line ── */
body.cust .cp-trust { background: transparent; box-shadow: none; padding: 0; margin: 20px 0 0; justify-content: center; gap: 6px 16px; flex-wrap: wrap; }
body.cust .cp-trust .t { flex: 0 0 auto; flex-direction: row; gap: 5px; }
body.cust .cp-trust .t-ic { display: none; }
body.cust .cp-trust .t span { font-size: 12px; font-weight: 600; color: var(--c-muted); }
body.cust .cp-trust .t span::before { content: "✓ "; color: #15803D; font-weight: 700; }
body.cust .cp-trust .t span br { display: none; }

/* ── Offers carousel & banners ── */
body.cust .ads-section { background: var(--c-bg); }
body.cust .ads-label { font-family: var(--c-font-display); }

/* ── Social buttons: neutral pills ── */
body.cust #social-btns { margin: 4px 0 14px !important; padding: 0; justify-content: center !important; flex-wrap: wrap !important; gap: 8px !important; }
body.cust #social-btns::-webkit-scrollbar { display: none; }
body.cust #social-btns > * { flex-shrink: 0; }

/* ── Footer ── */
body.cust .stage > footer { background: transparent !important; }

/* ── Section order (set per shop) ── */
.c-sections { display: flex; flex-direction: column; }

/* ── Menu card ── */
.c-mn-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 10px; padding: 0 18px; }
.c-mn-tabs::-webkit-scrollbar { display: none; }
.c-mn-tab { flex: 0 0 auto; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff;
  font: 600 13.5px var(--c-font-body); color: var(--c-ink); cursor: pointer; }
.c-mn-tab.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.c-mn-list { background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 2px 14px; }
.c-mn-it { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.c-mn-it:last-child { border-bottom: 0; }
.c-mn-img { width: 64px; height: 64px; border-radius: var(--c-radius-sm); object-fit: cover; flex-shrink: 0; background: var(--c-bg); }
.c-mn-body { flex: 1; min-width: 0; }
.c-mn-nm { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; overflow-wrap: anywhere; color: var(--c-ink); }
.c-mn-ds { font-size: 12.5px; color: var(--c-muted); margin-top: 2px; line-height: 1.4; overflow-wrap: anywhere; }
.c-mn-so { font-size: 11.5px; font-weight: 700; color: #B42318; margin-top: 3px; }
.c-mn-pr { font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--c-ink); }
.c-mn-it.sold .c-mn-img, .c-mn-it.sold .c-mn-nm, .c-mn-it.sold .c-mn-pr { opacity: .5; }
.c-veg { width: 14px; height: 14px; border: 1.5px solid #15803D; border-radius: 3px; display: inline-grid; place-items: center; flex-shrink: 0; }
.c-veg::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #15803D; }
.c-veg.non { border-color: #B42318; }
.c-veg.non::after { width: 0; height: 0; border-radius: 0; background: none; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid #B42318; }

/* ── Review, rating and feedback cards ── */
body.cust .pf-card, body.cust #step-rating-gate .rg-card { padding: 0; }
body.cust .pf-hero, body.cust #step-rating-gate .rg-hero { background: var(--c-primary-soft); color: var(--c-ink); padding: 22px 20px 18px; }
body.cust .pf-hero.somber { background: #F2EFEA; }
body.cust .pf-hero::before, body.cust .pf-hero::after,
body.cust #step-rating-gate .rg-hero::before, body.cust #step-rating-gate .rg-hero::after { display: none; }
body.cust .pf-badge, body.cust #step-rating-gate .rg-emoji { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: var(--c-radius-sm);
  background: var(--c-primary); color: #fff; box-shadow: none; }
body.cust .pf-hero.somber .pf-badge { background: var(--c-ink); }
body.cust .pf-badge svg, body.cust #step-rating-gate .rg-emoji svg { width: 26px; height: 26px; }
body.cust .pf-title, body.cust #step-rating-gate .rg-title { font: 800 20px/1.25 var(--c-font-display); letter-spacing: -.01em; color: var(--c-ink); }
body.cust .pf-sub, body.cust #step-rating-gate .rg-intro { color: var(--c-muted); font-size: 13.5px; }
body.cust .pf-body, body.cust #step-rating-gate .rg-body { padding: 18px 18px 20px; }
body.cust .pf-divider span, body.cust #step-rating-gate .rg-divider span { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 600; color: var(--c-muted); }
body.cust .pf-hero .pf-stars .star-shape { filter: none; }
body.cust #step-rating-gate .rg-label { color: var(--c-ink); font-weight: 700; }
body.cust #step-rating-gate .rg-skip { color: var(--c-muted); font-size: 13px; }
body.cust #gr-open-btn { border-radius: var(--c-btn-radius) !important; min-height: 52px; box-shadow: none !important; border: 1.5px solid var(--c-line) !important; }
body.cust #ir-message { border-radius: var(--c-radius-sm) !important; background: var(--c-bg) !important; }
body.cust #ir-tags button, body.cust #ir-tags .ir-tag { border-radius: 999px; }

/* ── Game choice ── */
body.cust #step-types .flow-eyebrow { color: var(--c-primary); letter-spacing: .04em; }
body.cust #step-types .flow-title { font: 800 23px/1.2 var(--c-font-display); letter-spacing: -.01em; color: var(--c-ink); }
body.cust #step-types .flow-lede { color: var(--c-muted); }
body.cust .game-list { gap: 10px; }
body.cust .game-row { border-radius: var(--c-radius); border: 1px solid var(--c-line); box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 12px 14px; }
body.cust .game-row::before { display: none; }
body.cust .game-row:hover { transform: none; border-color: var(--c-primary); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
body.cust .game-row .ico { width: 56px; height: 56px; border-radius: var(--c-radius-sm); background: var(--c-primary-soft) !important; box-shadow: none; }
body.cust .game-row .ico::after { display: none; }
body.cust .game-row .ico .game-img { width: 42px; height: 42px; filter: none; }
body.cust .game-row .name { font: 700 16.5px var(--c-font-display); letter-spacing: 0; }
body.cust .game-row .desc { color: var(--c-muted); }
body.cust .game-row .chev { width: 34px; height: 34px; background: var(--c-primary-soft); color: var(--c-primary-dark); box-shadow: none; font-size: 22px; line-height: 1; padding-bottom: 2px; }

/* ── Notices (already played, paused…) ── */
body.cust .state-card { border-radius: var(--c-radius); background: #fff; border: 1px solid var(--c-line); padding: 28px 22px; }
body.cust .state-card .ico { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: var(--c-primary-soft); display: grid; place-items: center; font-size: 28px; }
body.cust .state-card .title { font: 800 20px/1.25 var(--c-font-display); letter-spacing: -.01em; color: var(--c-ink); }
body.cust .state-card .sub { color: var(--c-muted); font-size: 14px; }


/* ── Spin page (light, in the shop's colours) ── */
body.cust .spin-stage { background: var(--c-bg); color: var(--c-ink); padding: 16px 18px 26px; }
body.cust .spin-stage::before { display: none; }
body.cust .spin-stage .flow-eyebrow { color: var(--c-primary); font-family: var(--c-font-body); letter-spacing: .04em; }
body.cust .spin-stage .spin-head .live { font-size: 12.5px; color: var(--c-muted); opacity: 1; }
body.cust .wheel-shell::before { background: radial-gradient(circle, color-mix(in srgb, var(--c-primary) 22%, transparent) 0%, transparent 64%); }
body.cust .wheel-rim { background: conic-gradient(from 90deg, var(--c-primary), var(--c-primary-dark), var(--c-primary), var(--c-primary-dark), var(--c-primary));
  box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--c-primary-dark) 70%, transparent), inset 0 2px 3px rgba(255,255,255,.35), inset 0 -4px 8px rgba(0,0,0,.25); }
body.cust .wheel-bulbs .bulb { background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.9); }
body.cust .wheel-pointer { border-top-color: var(--c-ink); filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
body.cust .wheel-pointer::after { background: var(--c-ink); }
body.cust .wheel-hub { background: #fff; color: var(--c-primary-dark); font-family: var(--c-font-display); font-weight: 800;
  box-shadow: 0 6px 16px rgba(0,0,0,.25), 0 0 0 5px color-mix(in srgb, var(--c-primary) 30%, transparent); }
body.cust .wheel-hub::before { border-color: var(--c-primary-soft); }
.c-spin-hint { font-size: 13.5px; color: var(--c-muted); margin: 4px 0 0; text-align: center; }
.c-spin-hint b { color: var(--c-ink); }
body.cust .spin-rewards { background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 14px; }
body.cust .spin-rewards-head { text-align: left; margin-bottom: 10px; }
body.cust .spin-rewards-head .t { font: 700 16px var(--c-font-display); color: var(--c-ink); letter-spacing: 0; }
body.cust .spin-rw-grid { display: flex; flex-wrap: wrap; gap: 8px; }
body.cust .spin-rw { display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 7px; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--c-radius-sm); text-align: left; }
body.cust .spin-rw-badge { width: 26px; height: 26px; border-radius: 8px; margin: 0; font-size: 13px; box-shadow: none; }
body.cust .spin-rw-badge.emoji { background: #fff; }
body.cust .spin-rw-nm { font-size: 13px; font-weight: 600; color: var(--c-ink); }

/* ── Win / result card (spin, scratch) ── */
body.cust .win-card { border-radius: calc(var(--c-radius) + 4px); }
body.cust .win-card .head { background: var(--c-primary) !important; color: #fff; }
body.cust .win-card .head::before { display: none; }
body.cust .win-card .label { letter-spacing: .04em; text-transform: none; font-size: 13px; opacity: .9; }
body.cust .win-card .heading { font: 800 26px/1.2 var(--c-font-display); letter-spacing: -.01em; }
body.cust .win-card .body .amount { color: var(--c-primary-dark); font-family: var(--c-font-display); }
body.cust .coupon-box { border-color: color-mix(in srgb, var(--c-primary) 45%, transparent); border-radius: var(--c-radius-sm); background: var(--c-bg); }
body.cust .coupon-box .copy { background: var(--c-primary); border-radius: 8px; }
body.cust .btn-accent { background: var(--c-primary); color: #fff; }

/* ── Scratch page ── */
body.cust .flow-content .flow-eyebrow { color: var(--c-primary); letter-spacing: .04em; }
body.cust .flow-content .flow-title { font: 800 24px/1.2 var(--c-font-display); letter-spacing: -.01em; color: var(--c-ink); }
body.cust .flow-content .flow-lede { color: var(--c-muted); }
body.cust .scratch-frame { background: var(--c-primary); border-radius: calc(var(--c-radius) + 6px); box-shadow: 0 18px 36px -18px var(--c-primary-dark); }
body.cust .scratch-frame::before { border-radius: calc(var(--c-radius) + 2px); }
body.cust .scratch-stage { border-radius: var(--c-radius); }
body.cust .scratch-prize { background: #fff; color: var(--c-ink); }
body.cust .scratch-prize::before, body.cust .scratch-prize::after { display: none; }
body.cust .scratch-prize .label { letter-spacing: .04em; text-transform: none; font-size: 12.5px; color: var(--c-muted); font-weight: 700; }
body.cust .scratch-prize .emoji { background: var(--c-primary-soft); box-shadow: none; }
body.cust .scratch-prize .name { font-family: var(--c-font-display); color: var(--c-primary-dark); letter-spacing: -.01em; }
body.cust .scratch-prize .meta { color: var(--c-muted); opacity: 1; }
body.cust .scratch-prize .code { background: var(--c-bg); border-color: color-mix(in srgb, var(--c-primary) 45%, transparent); color: var(--c-ink); }
body.cust .scratch-progress .fill { background: var(--c-primary); }
body.cust .scratch-progress .row span:last-child { color: var(--c-primary); }
body.cust .win-rewards { background: #fff; border-color: var(--c-line); border-radius: var(--c-radius); box-shadow: none; }
body.cust .win-rewards-head { text-align: left; }
body.cust .win-rewards-head .t { font: 700 16px var(--c-font-display); letter-spacing: 0; }
body.cust .win-rw-grid { display: flex; flex-wrap: wrap; gap: 8px; }
body.cust .win-rw { display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 7px; background: var(--c-bg); border-color: var(--c-line); border-radius: var(--c-radius-sm); box-shadow: none; text-align: left; }
body.cust .win-rw-badge { width: 26px; height: 26px; border-radius: 8px; margin: 0; font-size: 13px; box-shadow: none; }
body.cust .win-rw-nm { font-size: 13px; font-weight: 600; }
.c-note { background: var(--c-primary-soft); border-radius: var(--c-radius-sm); padding: 12px 14px; text-align: center; font-size: 14px; color: var(--c-ink); margin-bottom: 10px; }

/* ── Lucky draw ticket ── */
body.cust .ticket { border-radius: var(--c-radius); border-color: var(--c-line); box-shadow: 0 14px 30px -18px rgba(0,0,0,.3); }
body.cust .ticket-top { background: var(--c-primary); }
body.cust .ticket-top .campaign { letter-spacing: .04em; text-transform: none; font-size: 13px; }
body.cust .ticket-top .prize { font-family: var(--c-font-display); }
body.cust .ticket-bot .label { letter-spacing: 0; text-transform: none; font-size: 13px; color: var(--c-muted); font-weight: 600; }
body.cust .ticket-bot .num { font-family: var(--c-font-display); color: var(--c-ink); }
body.cust .ticket-bot .num.c-ld-date { font-size: 24px; margin-bottom: 14px; }
body.cust .ticket-bot .in-draw { background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 700; border-radius: var(--c-radius-sm); }
body.cust .draw-banner { background: var(--c-ink); border-radius: var(--c-radius-sm); }
body.cust .draw-banner .label { text-transform: none; letter-spacing: 0; }
body.cust .flow-content > .ticket, body.cust #ticket-view, body.cust #success-view { margin-top: 16px; }

/* ── Coupon page ── */
body.cust .coupon-state .pill { font-size: 12.5px; letter-spacing: 0; padding: 6px 14px; }
body.cust .coupon-card { border-radius: var(--c-radius); border-color: var(--c-line); box-shadow: 0 14px 30px -18px rgba(0,0,0,.3); }
body.cust .coupon-card .head { background: var(--c-primary); }
body.cust .coupon-card .head .shop { letter-spacing: .02em; text-transform: none; font-size: 13.5px; font-weight: 700; }
body.cust .coupon-card .head .value { font-family: var(--c-font-display); letter-spacing: -.01em; }
body.cust .coupon-card .code-block { border-color: color-mix(in srgb, var(--c-primary) 45%, transparent); border-radius: var(--c-radius-sm); background: var(--c-bg); }
body.cust .coupon-card .code-block .label { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
body.cust .coupon-card .instr { color: var(--c-muted); font-size: 14px; }
body.cust .coupon-note { border-radius: var(--c-radius-sm); }

/* ── Member level, stamp card and points on the game screen (inline-styled by script) ── */
body.cust #tier-badge-wrap:not(.pic) > div { background: #fff !important; color: var(--c-ink) !important; border: 1px solid var(--c-line); box-shadow: none !important; border-radius: var(--c-radius) !important; }
body.cust #tier-badge-wrap:not(.pic) > div div:first-child { font-family: var(--c-font-display); font-weight: 800 !important; }
body.cust #tier-badge-wrap:not(.pic) > div div { opacity: 1 !important; }
body.cust #tier-badge-wrap:not(.pic) > div div + div { color: var(--c-muted); }
body.cust #stamp-card-wrap { filter: none !important; }
body.cust #stamp-card-wrap > div { background: #fff !important; border-color: var(--c-line) !important; border-radius: var(--c-radius) !important; }
body.cust #stamp-card-wrap > div > div:first-child { background: var(--c-primary) !important; }
body.cust #sc-card-name { font-family: var(--c-font-display); font-weight: 800 !important; }
body.cust #sc-reward-label { border-width: 1px !important; border-radius: var(--c-radius-sm) !important; }
body.cust #pts-card { background: var(--c-primary) !important; border-radius: var(--c-radius) !important; }
body.cust #pts-balance-big { font-family: var(--c-font-display); }

/* ── Welcome gift / birthday treat ── */
#c-gifts { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 4px; }
#c-gifts[hidden] { display: none; }
.c-gift { display: flex; gap: 14px; align-items: flex-start; background: var(--c-primary-soft); border: 1.5px dashed color-mix(in srgb, var(--c-primary) 50%, transparent);
  border-radius: var(--c-radius); padding: 16px; }
.c-gift-ic { width: 48px; height: 48px; border-radius: var(--c-radius-sm); background: #fff; display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.c-gift-body { flex: 1; min-width: 0; }
.c-gift-k { font-size: 13px; font-weight: 700; color: var(--c-primary-dark); }
.c-gift-v { font: 800 26px/1.15 var(--c-font-display); color: var(--c-ink); margin: 2px 0 2px; overflow-wrap: anywhere; }
.c-gift-n { font-size: 13px; color: var(--c-muted); margin-top: 2px; }
.c-gift-n b { color: var(--c-ink); }
body.cust .c-gift-btn { margin-top: 10px; min-height: 42px; padding: 0 16px; font-size: 14px; display: inline-flex; }

/* ── Festival pack greeting ── */
.c-fest { display: flex; gap: 12px; align-items: center; border-radius: var(--c-radius); padding: 14px 16px; margin: 4px 0 12px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--f2), #fff 85%); border: 1px solid color-mix(in srgb, var(--f1) 30%, transparent); }
.c-fest::after { content: ""; position: absolute; right: -24px; top: -34px; width: 80px; height: 80px; pointer-events: none;
  background: radial-gradient(var(--f1) 1.5px, transparent 2px) 0 0/12px 12px; opacity: .25; border-radius: 50%; }
.c-fest-ic { width: 46px; height: 46px; border-radius: var(--c-radius-sm); background: #fff; display: grid; place-items: center; font-size: 26px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.c-fest-t { position: relative; z-index: 1; min-width: 0; }
.c-fest-t b { display: block; font: 800 17px/1.25 var(--c-font-display); color: var(--f1); }
.c-fest-t span { font-size: 13.5px; color: var(--c-ink); }

/* ── My card (counter scan) ── */
.c-card-cta { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--c-primary); border-radius: var(--c-radius); padding: 12px 14px; margin: 12px 0 4px; }
.c-card-cta-ic { width: 44px; height: 44px; border-radius: var(--c-radius-sm); background: var(--c-primary-soft); color: var(--c-primary-dark); display: grid; place-items: center; flex-shrink: 0; }
.c-card-cta-ic svg { width: 24px; height: 24px; }
.c-card-cta-t { flex: 1; min-width: 0; }
.c-card-cta-t b { display: block; font: 700 15px/1.3 var(--c-font-display); color: var(--c-ink); }
.c-card-cta-t span { font-size: 12.5px; color: var(--c-muted); }
body.cust .c-card-cta .btn { min-height: 42px; padding: 0 16px; font-size: 14px; flex-shrink: 0; }
#c-card-cta[hidden] { display: none; }
.mc-overlay { position: fixed; inset: 0; z-index: 10050; background: rgba(10,8,20,.62); display: flex; align-items: flex-end; justify-content: center; }
.mc-overlay[hidden] { display: none; }
.mc-sheet { position: relative; background: #fff; width: 100%; max-width: 480px; border-radius: calc(var(--c-radius) + 10px) calc(var(--c-radius) + 10px) 0 0; padding: 24px 22px 28px; text-align: center; max-height: 94vh; overflow-y: auto; }
.mc-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--c-bg); font-size: 15px; cursor: pointer; color: var(--c-ink); }
.mc-title { font: 800 22px var(--c-font-display); color: var(--c-ink); }
.mc-sub { font-size: 13.5px; color: var(--c-muted); margin-top: 2px; }
.mc-qr { width: 240px; height: 240px; margin: 18px auto 10px; padding: 10px; border-radius: var(--c-radius); border: 3px solid var(--c-primary); display: grid; place-items: center; background: #fff; }
.mc-qr svg { width: 100%; height: 100%; display: block; }
.mc-loading { font-size: 13px; color: var(--c-muted); padding: 0 10px; }
.mc-sheet.blocked .mc-qr { width: auto; height: auto; border: 0; padding: 0; margin: 14px 0 6px; }
.mc-sheet.blocked .mc-code, .mc-sheet.blocked .mc-timer, .mc-sheet.blocked .mc-hint, .mc-sheet.blocked .mc-today, .mc-sheet.blocked .mc-sub { display: none; }
.mc-block { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 16px; border-radius: var(--c-radius); background: var(--c-primary-soft, #f3f0ff); text-align: center; }
.mc-block-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-primary); }
.mc-block-ic svg { width: 24px; height: 24px; }
.mc-block b { font-size: 15.5px; line-height: 1.4; color: var(--c-ink); }
.mc-block span:not(.mc-block-ic) { font-size: 13px; line-height: 1.5; color: var(--c-muted); }
.mc-retry { margin-top: 4px; border: 0; border-radius: 999px; padding: 10px 20px; background: var(--c-primary); color: #fff; font: 700 14px var(--c-font-body); cursor: pointer; }
.mc-code { font: 800 34px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--c-ink); margin-top: 6px; }
.mc-timer { height: 4px; border-radius: 4px; background: var(--c-line); margin: 12px auto 0; max-width: 240px; overflow: hidden; }
.mc-timer span { display: block; height: 100%; width: 100%; background: var(--c-primary); }
.mc-hint { font-size: 12px; color: var(--c-muted); margin-top: 8px; }
.mc-today { list-style: none; margin: 16px 0 0; padding: 0; text-align: left; }
.mc-today li { background: #ECFDF3; color: #14532D; border-radius: var(--c-radius-sm); padding: 10px 12px; font-size: 13.5px; margin-top: 6px; }
.mc-today li b { color: #15803D; margin-right: 4px; }

/* ── App-style bottom bar (customer page) ── */
.c-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8900; display: flex; justify-content: space-around; align-items: flex-end;
  max-width: 480px; margin: 0 auto; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line); box-shadow: 0 -6px 24px rgba(0,0,0,.06);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.c-tb { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px 2px; border: 0; background: none;
  font: 600 11px var(--c-font-body); color: var(--c-muted); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.c-tb svg { width: 23px; height: 23px; }
.c-tb.on { color: var(--c-primary-dark); }
.c-tb:active { transform: scale(.95); }
.c-tb-main { color: var(--c-ink); font-weight: 700; }
.c-tb-fab { width: 58px; height: 58px; margin-top: -30px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center;
  border: 4px solid #fff; box-shadow: 0 8px 20px -6px var(--c-primary-dark); }
.c-tb-fab svg { width: 27px; height: 27px; }
body.has-tabbar .stage { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }   /* bar (~67px) + room for the round My card button above it */
/* Rewards / Profile / My card open just above the bottom bar, which stays visible and usable (--tb-h is measured in tab-bar.php) */
body.has-tabbar #profile-overlay, body.has-tabbar .mc-overlay { bottom: calc(var(--tb-h, 62px) + env(safe-area-inset-bottom)); }
body.has-tabbar #profile-sheet, body.has-tabbar .mc-sheet { max-height: 94%; }
body.has-tabbar #profile-sheet .ps-body { padding-bottom: 34px; }   /* room under the round My card button */
body.has-tabbar .mc-sheet { padding-bottom: 40px; }
body.has-tabbar.ps-open .c-tabbar, body.has-tabbar.mc-open .c-tabbar { z-index: 10060; box-shadow: none; }
body.has-tabbar #wa-float-btn { bottom: calc(86px + env(safe-area-inset-bottom)) !important; }
.c-tb-toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); z-index: 9001;
  background: var(--c-ink); color: #fff; font-size: 13.5px; font-weight: 600; padding: 10px 16px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; }
.c-tb-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Social icon looks (Page design → Customise → Social icons) ── */
body.cust #social-btns > a, body.cust #social-btns > button { transition: transform .15s; }
body.cust #social-btns > a:active, body.cust #social-btns > button:active { transform: scale(.94); }
body.cust #social-btns.si-shop > *    { background: var(--c-primary) !important; color: #fff !important; border: 0 !important; box-shadow: 0 4px 12px -6px var(--c-primary-dark) !important; }
body.cust #social-btns.si-soft > *    { background: var(--c-primary-soft) !important; color: var(--c-primary-dark) !important; border: 0 !important; box-shadow: none !important; }
body.cust #social-btns.si-outline > * { background: #fff !important; color: var(--c-ink) !important; border: 1.5px solid var(--c-line) !important; box-shadow: none !important; }
body.cust #social-btns.si-dark > *    { background: var(--c-ink) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
/* one-colour looks: the Google "G" follows the icon colour too */
body.cust #social-btns:not(.si-brand) svg path[fill] { fill: currentColor; }

/* ── Social buttons: sizes (Page design → Social icon size) ── */
body.cust #social-btns { display: flex; }
#social-btns .si { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none;
  border: 0; padding: 0; cursor: pointer; font-family: var(--c-font-body); flex-shrink: 0; box-shadow: 0 2px 10px -4px rgba(0,0,0,.25); }
#social-btns .si svg { width: 20px; height: 20px; flex-shrink: 0; }
#social-btns .lbl { display: none; }
#social-btns.sz-s .si { width: 36px; height: 36px; }
#social-btns.sz-s .si svg { width: 17px; height: 17px; }
/* small / medium with names (Settings → icon + text) */
#social-btns.with-text .si { width: auto; padding: 0 14px; border-radius: 999px; gap: 7px; }
#social-btns.with-text.sz-s .si { padding: 0 11px; }
#social-btns.with-text .lbl { display: inline; }
#social-btns.with-text .lbl b { font-size: 13px; font-weight: 700; }
#social-btns.with-text .lbl small { display: none; }
/* large: tiles, 3 per row */
body.cust #social-btns.sz-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px !important; }
#social-btns.sz-l .si { width: auto; height: 86px; border-radius: var(--c-radius-sm); flex-direction: column; gap: 7px; }
#social-btns.sz-l .si svg { width: 28px; height: 28px; }
#social-btns.sz-l .lbl { display: block; text-align: center; }
#social-btns.sz-l .lbl b { font-size: 12.5px; font-weight: 700; }
#social-btns.sz-l .lbl small { display: none; }
/* extra large: boxes, 2 per row */
body.cust #social-btns.sz-xl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
#social-btns.sz-xl .si { width: auto; height: auto; min-height: 104px; border-radius: var(--c-radius); flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px; gap: 10px; text-align: left; }
#social-btns.sz-xl .si svg { width: 34px; height: 34px; }
#social-btns.sz-xl .lbl { display: block; min-width: 0; }
#social-btns.sz-xl .lbl b { display: block; font: 800 16px/1.2 var(--c-font-display); overflow-wrap: anywhere; }
#social-btns.sz-xl .lbl small { display: block; font-size: 12px; font-weight: 600; opacity: .85; margin-top: 2px; }

/* ── Simple page (no rewards) ── */
body.cust .c-simple { display: flex; flex-direction: column; gap: 14px; padding-bottom: 20px; }
body.cust .c-simple .c-fest { margin: 0; }
body.cust .c-simple .c-sec { margin-top: 4px; }
.sp-rate { background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 18px 16px; text-align: center; }
.sp-rate h2 { font: 800 20px/1.2 var(--c-font-display); margin: 0; color: var(--c-ink); }
.sp-rate > p { margin: 4px 0 10px; color: var(--c-muted); font-size: 14px; }
.sp-stars { display: flex; justify-content: center; gap: 6px; }
.sp-star { border: 0; background: none; padding: 2px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sp-star svg { width: 42px; height: 42px; display: block; }
.sp-star path { fill: #E6E2DA; transition: fill .15s; }
.sp-star.lit path { fill: #F5B301; }
.sp-out { margin-top: 14px; }
.sp-out[hidden], .sp-done[hidden] { display: none; }
.sp-out > p { margin: 0 0 10px; font-size: 14.5px; color: var(--c-ink); }
.sp-g { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: var(--c-btn-radius); background: #fff; border: 1.5px solid var(--c-line); font: 700 15px var(--c-font-body); color: #3c4043; text-decoration: none; }
.sp-fb { text-align: left; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.sp-chip { border: 1px solid var(--c-line); background: var(--c-bg); border-radius: 999px; padding: 7px 12px; font: 600 13px var(--c-font-body); color: var(--c-ink); cursor: pointer; }
.sp-chip[aria-pressed="true"] { background: var(--c-primary-soft); border-color: var(--c-primary); color: var(--c-primary-dark); }
.sp-fb label { display: block; font-size: 13px; font-weight: 600; color: var(--c-muted); margin-bottom: 5px; }
.sp-fb textarea { width: 100%; box-sizing: border-box; min-height: 70px; border: 1.5px solid var(--c-line); border-radius: var(--c-radius-sm); padding: 10px 12px; font: 16px var(--c-font-body); background: var(--c-bg); color: var(--c-ink); margin-bottom: 10px; }
.sp-done { color: #15803D; font-weight: 700; margin: 10px 0 0; }
.sp-wa { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 12px 14px; text-decoration: none; color: var(--c-ink); }
.sp-wa-ic { width: 46px; height: 46px; border-radius: 50%; background: #25D366; display: grid; place-items: center; flex-shrink: 0; }
.sp-call-ic { background: var(--c-primary, #2563EB); }

.sp-wa-t { min-width: 0; }
.sp-wa-t b { display: block; font: 700 16px var(--c-font-display); }
.sp-wa-t span { font-size: 13px; color: var(--c-muted); }
.sp-go { margin-left: auto; color: var(--c-muted); font-size: 24px; }

/* ── Card scanned: success state + notification ── */
.mc-sheet.done .mc-qr, .mc-sheet.done .mc-code, .mc-sheet.done .mc-timer, .mc-sheet.done .mc-hint, .mc-sheet.done .mc-today, .mc-sheet.done .mc-sub { display: none; }
.mc-done[hidden] { display: none; }
.mc-done { padding: 18px 0 8px; animation: mcPop .35s cubic-bezier(.3,1.4,.5,1); }
.mc-done-ic { width: 88px; height: 88px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 10px 24px -8px #15803D; }
.mc-done-ic svg { width: 46px; height: 46px; }
.mc-done-t { font: 800 26px var(--c-font-display); color: var(--c-ink); }
.mc-done-list { list-style: none; padding: 0; margin: 10px 0 0; }
.mc-done-list li { font-size: 16px; font-weight: 600; color: #15803D; margin-top: 4px; }
@keyframes mcPop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.c-tb-toast.ok { background: #15803D; font-size: 15px; padding: 12px 18px; }
@media (prefers-reduced-motion: reduce) { .mc-done { animation: none; } }
.c-tb-toast.ok { white-space: normal; max-width: calc(100% - 32px); text-align: center; }

/* ── Notification card (top of the screen) ── */
.c-notify { position: fixed; z-index: 10100; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top)); max-width: 456px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--c-line); border-left: 4px solid #16A34A;
  border-radius: var(--c-radius-sm, 12px); padding: 12px 10px 12px 14px; box-shadow: 0 14px 34px -12px rgba(20,16,40,.35);
  transform: translateY(-140%); opacity: 0; transition: transform .35s cubic-bezier(.3,1.3,.5,1), opacity .25s; pointer-events: none; }
.c-notify.show { transform: none; opacity: 1; pointer-events: auto; }
.c-notify-ic { width: 36px; height: 36px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.c-notify-ic svg { width: 20px; height: 20px; }
.c-notify-t { flex: 1; min-width: 0; padding-top: 1px; }
.c-notify-t b { display: block; font: 800 16px/1.25 var(--c-font-display); color: var(--c-ink); }
.c-notify-t span { display: block; font-size: 14px; color: var(--c-muted); margin-top: 2px; line-height: 1.35; }
.c-notify-x { border: 0; background: none; color: var(--c-muted); width: 32px; height: 32px; border-radius: 50%; font-size: 14px; cursor: pointer; flex-shrink: 0; }
.c-notify-x:hover { background: var(--c-bg); }
@media (prefers-reduced-motion: reduce) { .c-notify { transition: opacity .2s; transform: none; } }

/* Picture stamps / empty-circle styles on the classic stamp card (Page design → Cards → Stamp card) */
.c-st.art, .c-st-art { border: 0; display: grid; place-items: center; aspect-ratio: 1; }
.c-st.art img, .c-st-art img { width: 112%; height: 112%; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0,0,0,.25)); }
.c-st-art.new img { animation: stampPunch .5s cubic-bezier(.36,1.56,.64,1) both; }
.c-st.slotart { border: 0; position: relative; }
.c-st.slotart::before, .c-st-slot::before { content: ''; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: var(--slot-img) center / contain no-repeat; mask: var(--slot-img) center / contain no-repeat; pointer-events: none; }
.c-st.slotart.gift::before { opacity: 1; }
.c-st-slot { position: relative; aspect-ratio: 1; display: grid; place-items: center; color: var(--muted-2, #a19db0); font-size: 13px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .c-st-art.new img { animation: none; } }
/* Language switch (EN · हिं · मरा) — includes/i18n.php */
/* Language: a round globe button; tap → small list (मराठी · हिन्दी · English) */
.c-lang { position: relative; flex: none; }
.c-lang > summary { list-style: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--c-primary, #6938ef); background: rgba(255,255,255,.92); border: 1.5px solid var(--c-primary, #6938ef); box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.c-lang > summary::-webkit-details-marker { display: none; }
.c-lang[open] > summary { background: var(--c-primary-soft, #f3f0ff); }
.c-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(20,14,40,.16), 0 1px 3px rgba(20,14,40,.08); border: 1px solid rgba(20,14,40,.06); }
.c-lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; font: 500 16px/1.2 'Noto Sans Devanagari', var(--c-font-body), sans-serif; color: #2d2a3a; text-decoration: none; }
.c-lang-menu a:hover, .c-lang-menu a:focus-visible { background: #f6f4fb; }
.c-lang-menu a.on { color: var(--c-primary, #6938ef); font-weight: 700; }
.c-lang-menu a[lang="en"] { font-family: var(--c-font-body), sans-serif; }
.c-cover-tools .c-lang-menu { left: 0; right: auto; }   /* the globe sits top-left on the cover */
.c-cover:has(.c-lang[open]) { overflow: visible; z-index: 20; }   /* let the open menu spill over the logo */
.c-lang-bar { margin-left: auto; }
/* Booking pages: slim top row instead of the shop bar */
.c-toprow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.c-toprow .c-back { font-size: 14px; color: #6b6680; text-decoration: none; padding: 6px 0; min-height: 32px; display: inline-flex; align-items: center; }
/* "Book an appointment" / "Join the line" cards */
.c-book-cta{display:flex;align-items:center;gap:12px;margin:14px 0;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 2px 10px rgba(0,0,0,.05);text-decoration:none;color:inherit}
.c-book-ic{width:42px;height:42px;border-radius:13px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--primary,#6938ef);color:#fff}.c-book-ic svg{width:22px;height:22px}
.c-book-t{flex:1;min-width:0}.c-book-t b{display:block;font-size:15px}.c-book-t small{color:#6b6680;font-size:12.5px}.c-book-go{font-size:26px;color:#9a95a8;line-height:1}
.c-book-cta + .c-line-cta { margin-top: -6px; }
/* Highlight cards (includes/highlights.php) — a sideways row; tap = full-screen story */
.c-hl { margin: 6px 0 14px; }
.c-hl-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.c-hl-row::-webkit-scrollbar { display: none; }
/* 3 whole cards + a peek of the 4th, so it's clear the row scrolls */
.c-hl-wrap { position: relative; }
.c-hl-card { flex: 0 0 auto; width: calc((100% - 20px - 26px) / 3); scroll-snap-align: start; border: 2px solid var(--c-primary, #6938ef); border-radius: 18px; padding: 4px; background: var(--c-surface, #fff); cursor: pointer; text-align: left; font: inherit; color: inherit; }
.c-hl-img { display: flex; align-items: flex-end; aspect-ratio: 4 / 5; border-radius: 13px; padding: 10px 9px; background: linear-gradient(160deg, var(--c-primary, #6938ef), var(--c-primary-dark, #4c1d95)) center / cover no-repeat; position: relative; overflow: hidden; }
.c-hl-img::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.c-hl-img b { position: relative; z-index: 1; color: #fff; font: 700 13px/1.2 var(--c-font-display); text-shadow: 0 1px 3px rgba(0,0,0,.4); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-hl-st { display: block; font-size: 12px; font-weight: 700; padding: 6px 4px 2px; color: #15803D; }
.c-hl-card.st-few_left .c-hl-st { color: #B45309; }
.c-hl-card.st-sold_out .c-hl-st, .c-hl-card.st-unavailable .c-hl-st { color: #B91C1C; }
.c-hl-card.st-sold_out .c-hl-img, .c-hl-card.st-unavailable .c-hl-img { filter: grayscale(.7); }
.c-hl-arw { position: absolute; top: calc(50% - 30px); width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--c-ink, #1a1a1a); box-shadow: 0 2px 10px rgba(0,0,0,.22); -webkit-tap-highlight-color: transparent; }
.c-hl-arw[hidden] { display: none; }
.c-hl-arw.next { right: -6px; } .c-hl-arw.prev { left: -6px; }
.c-hl-arw:active { transform: scale(.92); }
.c-hl-card:focus-visible { outline: 3px solid var(--c-primary, #6938ef); outline-offset: 2px; }
/* story viewer */
.hl-story { position: fixed; inset: 0; z-index: 10000; background: #000; color: #fff; display: flex; flex-direction: column; touch-action: none; user-select: none; -webkit-user-select: none; }
.hl-story[hidden] { display: none; }
.hl-bars { display: flex; gap: 4px; padding: 10px 10px 0; padding-top: max(10px, env(safe-area-inset-top)); position: relative; z-index: 2; }
.hl-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.hl-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.hl-bars i.done b { width: 100%; }
.hl-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; position: relative; z-index: 2; }
.hl-head .lg { width: 34px; height: 34px; border-radius: 50%; background: #fff center / cover no-repeat; flex-shrink: 0; }
.hl-head b { flex: 1; font-size: 15px; }
.hl-x { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 20px; cursor: pointer; }
.hl-pic { position: absolute; inset: 0; background: #111 center / contain no-repeat; }
.hl-tap { position: absolute; top: 0; bottom: 0; width: 35%; z-index: 1; }
.hl-tap.l { left: 0; } .hl-tap.r { right: 0; width: 65%; }
.hl-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 60px 18px max(22px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.85)); pointer-events: none; }
.hl-info h3 { font: 800 22px/1.25 var(--c-font-display, system-ui); margin: 0 0 4px; }
.hl-info p { margin: 0 0 8px; font-size: 15px; opacity: .9; }
.hl-info .pr { font-size: 18px; font-weight: 800; margin-right: 8px; }
.hl-pill { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: #DCFCE7; color: #166534; }
.hl-pill.few_left { background: #FEF3C7; color: #92400E; } .hl-pill.sold_out, .hl-pill.unavailable { background: #FEE2E2; color: #991B1B; }
@media (prefers-reduced-motion: reduce) { .hl-bars i b { transition: none !important; } }
/* ═══ Game & coupon pages (spin, scratch, coupon): light top row, clear states, ticket coupon ═══ */
.c-pagetop { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 16px 0; max-width: 480px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.c-pagetop .c-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--c-muted); text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.c-pagetop .c-back span { font-size: 22px; line-height: 1; margin-top: -2px; }
body.cust .g-page { padding-top: 6px; }
.g-hero { text-align: center; margin: 4px 0 10px; }
.g-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; color: var(--c-primary-dark); background: var(--c-primary-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 8px; }
.g-title { font: 800 26px/1.2 var(--c-font-display); color: var(--c-ink); margin: 0; letter-spacing: -.01em; }
.g-title-sm { font-size: 22px; text-align: center; margin: 4px 0 14px; }
.g-sub { font-size: 14px; color: var(--c-muted); margin: 6px 0 0; }
.g-live { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 13px; color: var(--c-muted); }
.g-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
body.cust .spin-stage.g-wheel { background: none; padding: 6px 0 4px; }
.g-wheel.is-off .wheel-shell { filter: grayscale(.85); opacity: .55; }
.g-wheel.is-off .wheel-bulbs .bulb { animation: none; }
.g-go { margin-top: 14px; font-size: 17px; min-height: 54px; box-shadow: 0 12px 24px -12px var(--c-primary-dark, rgba(0,0,0,.4)); }
.g-go[hidden], .g-note[hidden], #g-state[hidden] { display: none; }
.g-note { text-align: center; font-size: 12.5px; color: var(--c-muted); margin: 10px 0 0; }
.g-state { text-align: center; margin: 14px 0 0; padding: 22px 18px; border-radius: var(--c-radius); background: #fff; border: 1px solid var(--c-line); }
.g-state .ico { width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: var(--c-primary-soft); }
.g-state .t { font: 800 19px/1.3 var(--c-font-display); color: var(--c-ink); }
.g-state .s { font-size: 14px; line-height: 1.5; color: var(--c-muted); margin-top: 6px; }
.g-state-sm { padding: 16px; } .g-state-sm .t { font-size: 16px; }
.g-retry { margin-top: 14px; }
body.cust .g-prizes { margin-top: 22px; }
body.cust .g-prizes.is-later { display: none; }
.g-after { margin-top: 18px; display: grid; gap: 10px; }
.g-after[hidden], .g-after [hidden] { display: none !important; }
.g-points { display: grid; gap: 3px; justify-items: center; text-align: center; margin: 4px 0 12px; padding: 12px 14px; border-radius: var(--c-radius-sm, 12px); background: var(--c-primary-soft); }
.g-points[hidden] { display: none; }
.g-points b { font-size: 14px; color: var(--c-primary-dark); }
.g-points span { font-size: 12.5px; color: var(--c-muted); }
.g-points-btn { margin-top: 8px; border: 0; border-radius: 999px; padding: 9px 18px; background: var(--c-primary); color: #fff; font: 700 13px var(--c-font-body); cursor: pointer; }
.g-points-btn[hidden] { display: none; }
.g-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9600; max-width: calc(100% - 32px); width: max-content;
  padding: 12px 16px; border-radius: 12px; background: #1f1b2e; color: #fff; font-size: 14px; font-weight: 600; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.g-toast[hidden] { display: none; }
.g-overlay { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10,8,20,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.g-overlay[hidden] { display: none; }
body.cust .g-win { width: 100%; max-width: 360px; max-height: calc(100vh - 40px); overflow-y: auto; position: relative; }
body.cust .g-win .head.sorry { background: linear-gradient(135deg, #64748b, #334155) !important; }
body.cust .g-win .when:empty, body.cust .g-win .what:empty, body.cust .g-win .amount:empty { display: none; }
body.cust .g-win .coupon-box[hidden], body.cust .g-win .btn[hidden] { display: none !important; }
body.cust .g-win .actions { display: grid; gap: 10px; }
body.cust .cp-rw-badge { display: flex; align-items: center; justify-content: center; line-height: 1; font-weight: 900; color: #fff; background: var(--rw-c, #7c3aed); }
body.cust .cp-rw-badge.emoji { color: inherit; }

/* Coupon: a ticket - prize on top, tear line, code below */
.cpn { position: relative; border-radius: calc(var(--c-radius) + 4px); background: #fff; box-shadow: 0 18px 40px -22px rgba(20,14,40,.45); border: 1px solid var(--c-line); overflow: hidden; }
.cpn-top { position: relative; padding: 22px 20px 24px; text-align: center; color: #fff; background: linear-gradient(150deg, var(--c-primary), var(--c-primary-dark, var(--c-primary))); overflow: hidden; }
.cpn-top::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 10%, rgba(255,255,255,.22), transparent 45%), radial-gradient(circle at 10% 100%, rgba(0,0,0,.14), transparent 50%); }
.cpn-shop { position: relative; z-index: 1; font-size: 13px; font-weight: 700; opacity: .9; }
.cpn-emoji { position: relative; z-index: 1; width: 58px; height: 58px; margin: 10px auto 6px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: rgba(255,255,255,.18); }
.cpn-value { position: relative; z-index: 1; font: 800 40px/1.1 var(--c-font-display); letter-spacing: -.02em; }
.cpn-value-sm { font-size: 26px; }
.cpn-desc { position: relative; z-index: 1; margin-top: 6px; font-size: 14px; line-height: 1.45; opacity: .95; }
.cpn-stamp { position: absolute; z-index: 2; top: 22px; right: -38px; transform: rotate(35deg); width: 160px; padding: 6px 0; text-align: center; background: #fff; color: #b91c1c; font: 800 12px/1 var(--c-font-body); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.cpn-tear { position: relative; height: 0; border-top: 2px dashed var(--c-line); margin: 0 18px; }
.cpn-tear::before, .cpn-tear::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-bg, #faf8f5); border: 1px solid var(--c-line); }
.cpn-tear::before { left: -31px; } .cpn-tear::after { right: -31px; }
.cpn-bot { padding: 18px; text-align: center; }
.cpn-label { font-size: 12.5px; font-weight: 600; color: var(--c-muted); }
.cpn-code-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.cpn-code { font: 800 26px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--c-ink); user-select: all; }
.cpn-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary-dark); font: 700 13px var(--c-font-body); cursor: pointer; }
.cpn-copy.ok { background: #dcfce7; border-color: #16a34a; color: #166534; }
.cpn-meta { margin-top: 12px; }
.cpn-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #dcfce7; color: #166534; }
.cpn-pill.used { background: #e2e8f0; color: #475569; } .cpn-pill.expired { background: #fee2e2; color: #991b1b; }
.cpn-used .cpn-top, .cpn-expired .cpn-top { filter: grayscale(1); opacity: .75; }
.cpn-used .cpn-code, .cpn-expired .cpn-code { color: var(--c-muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.cpn-instr { text-align: center; font-size: 14px; color: var(--c-muted); margin: 14px 0 12px; }
body.cust .cpn-wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; background: #25d366; color: #fff; border: 0; font-weight: 700; }
.cpn-link { display: block; text-align: center; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--c-primary-dark); }
.cpn-back { margin-top: 16px; }
body.cust .scratch-progress { margin-top: 16px; }
body.cust .scratch-progress[hidden] { display: none; }
body.cust .scratch-prize .emoji { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 28px; line-height: 1; }
/* Lucky draw: latest winner strip + ticket extras */
.ld-winner { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--c-radius-sm, 12px); background: #fff7e6; border: 1px solid #fde4b0; }
.ld-winner-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: #fff; }
.ld-winner-l { font-size: 12px; font-weight: 700; color: #92400e; }
.ld-winner-n { font-size: 14px; font-weight: 600; color: var(--c-ink); line-height: 1.35; }
.ld-in-badge { display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 13px; font-weight: 800; }
.ld-good { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--c-muted); }
.ld-date { font-family: var(--c-font-display); letter-spacing: 0; font-size: 22px; }
.ld-ticket .g-go { margin-top: 16px; }
.ld-lock { display: grid; justify-items: center; gap: 4px; padding: 6px 4px; }
.ld-lock span:first-child { font-size: 28px; }
.ld-lock b { font: 800 17px/1.3 var(--c-font-display); color: var(--c-ink); }
.ld-lock span:last-child { font-size: 13.5px; line-height: 1.5; color: var(--c-muted); }
#ld-in[hidden], #ld-join[hidden], #ld-after[hidden] { display: none; }

/* ═══ My cards (/mycards): every shop in one place ═══ */
a.ps-link { text-decoration: none; color: inherit; }
.mc-note { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--c-radius-sm, 12px); font-size: 14px; font-weight: 600; text-align: center; background: var(--c-primary-soft); color: var(--c-primary-dark); }
.mc-note.ok { background: #dcfce7; color: #166534; }
.mc-who { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border-radius: var(--c-radius-sm, 12px); background: #fff; border: 1px solid var(--c-line); }
.mc-who-av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary); color: #fff; font: 800 17px var(--c-font-display); }
.mc-who div { flex: 1; min-width: 0; display: grid; }
.mc-who small { font-size: 12px; color: var(--c-muted); }
.mc-who b { font-size: 14.5px; color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-out { flex: none; border: 1px solid var(--c-line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 700 13px var(--c-font-body); color: var(--c-muted); cursor: pointer; }
.mc-sec { margin: 0 0 22px; }
.mc-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 17px var(--c-font-display); color: var(--c-ink); }
.mc-h span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--c-primary); color: #fff; font: 800 12px/1.6 var(--c-font-body); text-align: center; }
.mc-ready { display: grid; gap: 8px; }
.mc-cp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--c-radius-sm, 12px); background: #fff; border: 1px solid color-mix(in srgb, #22c55e 35%, #fff); border-left: 4px solid #22c55e; text-decoration: none; color: inherit; }
.mc-cp-ic { font-size: 22px; flex: none; }
.mc-cp-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mc-cp-t b { font-size: 15px; color: var(--c-ink); }
.mc-cp-t small { font-size: 12.5px; color: var(--c-muted); }
.mc-go { flex: none; font-size: 22px; line-height: 1; color: var(--c-muted); }
.mc-list { display: grid; gap: 12px; }
.mcs { --mc: var(--c-primary); display: grid; gap: 12px; padding: 14px; border-radius: calc(var(--c-radius) + 2px); background: #fff; border: 1px solid var(--c-line); border-top: 4px solid var(--mc); box-shadow: 0 6px 18px -12px rgba(20,14,40,.25); text-decoration: none; color: inherit; }
.mcs:active { transform: scale(.99); }
.mcs-top { display: flex; align-items: center; gap: 12px; }
.mcs-logo { width: 48px; height: 48px; flex: none; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--mc); color: #fff; font: 800 20px var(--c-font-display); }
.mcs-logo img { width: 100%; height: 100%; object-fit: cover; }
.mcs-name { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mcs-name b { font: 700 16px/1.25 var(--c-font-display); color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcs-name small { font-size: 12.5px; color: var(--c-muted); }
.mcs-badge { flex: none; padding: 4px 9px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 12px; font-weight: 800; }
.mcs-stamp { display: grid; gap: 6px; }
.mcs-stamp-t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mcs-stamp-t b { font-size: 13.5px; color: var(--c-ink); }
.mcs-stamp-t small { font-size: 12.5px; color: var(--c-muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcs-bar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--mc) 14%, #fff); overflow: hidden; }
.mcs-bar i { display: block; height: 100%; border-radius: 99px; background: var(--mc); }
.mcs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mcs-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); font-size: 12.5px; font-weight: 700; color: var(--c-ink); }
.mcs-chip i { width: 9px; height: 9px; border-radius: 50%; background: #b45309; }
.mcs-chip.lv-silver i { background: #94a3b8; } .mcs-chip.lv-gold i { background: #d4a017; }
.mc-auth { padding: 18px 16px; border-radius: calc(var(--c-radius) + 2px); background: #fff; border: 1px solid var(--c-line); }
.mc-auth-h { margin: 0; font: 800 19px var(--c-font-display); color: var(--c-ink); text-align: center; }
.mc-auth-sub { margin: 6px 0 16px; font-size: 13.5px; line-height: 1.5; color: var(--c-muted); text-align: center; }
.mc-google { display: flex; justify-content: center; min-height: 44px; }
.mc-or { display: flex; align-items: center; gap: 10px; margin: 14px 0; font-size: 12.5px; color: var(--c-muted); }
.mc-or::before, .mc-or::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.mc-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); }
.mc-tab { flex: 1; min-height: 38px; border: 0; border-radius: 999px; background: none; font: 700 14px var(--c-font-body); color: var(--c-muted); cursor: pointer; }
.mc-tab.on { background: #fff; color: var(--c-ink); box-shadow: 0 1px 4px rgba(20,14,40,.12); }
.mc-form { display: grid; gap: 12px; }
.mc-field { display: grid; gap: 6px; }
.mc-field[hidden], .mc-link[hidden], .mc-msg[hidden] { display: none; }
.mc-field span { font-size: 13px; font-weight: 700; color: var(--c-ink); }
.mc-field small { font-weight: 500; color: var(--c-muted); }
.mc-field input { min-height: 48px; padding: 0 14px; border-radius: var(--c-radius-sm, 12px); border: 1.5px solid var(--c-line); background: #fff; font: 500 16px var(--c-font-body); color: var(--c-ink); box-sizing: border-box; width: 100%; }
.mc-field input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.mc-msg { padding: 10px 12px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 13.5px; font-weight: 600; }
.mc-msg.ok { background: #dcfce7; color: #166534; }
.mc-link { justify-self: center; border: 0; background: none; padding: 6px; font: 600 13.5px var(--c-font-body); color: var(--c-primary-dark); cursor: pointer; }
.mc-list, .mcs, .mcs-stamp, .mcs-stamp-t { min-width: 0; }
.mcs-stamp-t b { white-space: nowrap; }
.mcs-stamp-t small { flex: 1; min-width: 0; }
.c-cover-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.c-mycards { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; border: 2px solid rgba(255,255,255,.8); background: rgba(0,0,0,.32); color: #fff; font: 700 13px var(--c-font-body); text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.c-mycards:active { transform: scale(.96); }
.mc-install { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px; border-radius: calc(var(--c-radius) + 2px); background: linear-gradient(135deg, #2D2A6E, #4b3fb0); color: #fff; box-shadow: 0 10px 24px -14px rgba(45,42,110,.8); }
.mc-install[hidden] { display: none; }
.mc-install img { flex: none; border-radius: 12px; }
.mc-install-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mc-install-t b { font-size: 14.5px; line-height: 1.3; }
.mc-install-t small { font-size: 12.5px; line-height: 1.4; opacity: .85; }
.mc-install-go { flex: none; border: 0; border-radius: 999px; padding: 9px 16px; background: #fff; color: #2D2A6E; font: 800 13.5px var(--c-font-body); cursor: pointer; }
.mc-install-go[hidden] { display: none; }
.mc-install-x { flex: none; align-self: flex-start; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 12px; cursor: pointer; }

/* offers tick (never pre-ticked) and the privacy controls */
.c-optin { display: flex; gap: 10px; align-items: flex-start; margin: 4px 2px 14px; font-size: 13.5px; line-height: 1.4; color: var(--c-ink); cursor: pointer; text-align: left; }
.c-optin input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--c-primary); }
.c-optin small { display: block; color: var(--c-muted); font-size: 12px; margin-top: 2px; }
.c-consent a, #terms-note a { color: inherit; text-decoration: underline; }
.ps-erase { display: block; margin: 14px auto 0; border: 0; background: none; color: #B42318; font: 600 13px inherit; text-decoration: underline; cursor: pointer; }
/* owner-only "+ Add Instagram" placeholders (includes/social-links.php) — customers never see these */
#social-btns[class] a.si.si-add { position: relative; background: transparent !important; color: var(--c-muted, #6b6680) !important; border: 1.5px dashed #b9b4c7 !important; box-shadow: none !important; text-decoration: none; overflow: visible; }
#social-btns[class] a.si.si-add svg { opacity: .45; filter: grayscale(1); }
#social-btns[class] a.si.si-add .si-plus { position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-primary, #6938ef); color: #fff; font: 800 13px/18px system-ui, sans-serif; text-align: center; font-style: normal; box-shadow: 0 0 0 2px #fff; }
