:root{/* Kairos online palette: deep teal primary, cream background, sage secondary. Change colors here only. */
  --teal:#1F5F5B;--teal-dark:#174744;--teal-tint:#E6F0EE;--teal-tint-2:#D3E4E1;
  --sage:#4F6F55;--sage-tint:#E4ECE5;--orange:#E07A3F;
  --bg:#FAF7F0;--card:#FFFFFF;--ink:#1B2B2A;--muted:#4D5E5C;--line:#D5E2DF;--on-teal:#FFFFFF;--on-teal-muted:#D6E8E5;
  --danger-bg:#F8DCDC;--danger:#8A1C1C;--shadow:#0000001a;--scrim:#00000070;
  --brown:var(--teal);--accent:var(--teal);--ok:var(--sage)}
/* Scrolling: the page uses natural document scrolling (momentum on iOS). No fixed body, no scroll/touch handlers. */
html{-webkit-text-size-adjust:100%;scroll-behavior:auto}html.lock{overflow:hidden}
*{box-sizing:border-box}body{margin:0;font:16px/1.35 -apple-system,system-ui,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--ink);padding-bottom:90px}
.top{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:var(--brown);color:var(--on-teal)}
.brand{font-weight:800;font-size:19px}.brand small{display:block;font-weight:400;font-size:13px;opacity:.8}
.cartbtn{background:var(--card);color:var(--teal);border:0;border-radius:20px;padding:8px 14px;font-weight:700;font-size:15px}.cartbtn b{background:var(--teal);color:var(--on-teal);border-radius:10px;padding:0 7px;margin-left:4px}
.tabs{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y;padding:12px 16px;position:sticky;top:var(--toph,58px);background:var(--bg);z-index:4;scrollbar-width:none}
.tabs button{flex:none;border:1px solid var(--line);background:var(--card);border-radius:18px;padding:7px 13px;font-size:14px;color:var(--ink)}.tabs button.on{background:var(--brown);color:var(--on-teal);border-color:var(--brown)}
h2{font-size:18px;margin:18px 16px 8px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px}
.card{background:var(--card);border-radius:14px;overflow:hidden;box-shadow:0 1px 3px var(--shadow);border:0;padding:0;text-align:left;color:inherit;font:inherit}
.card img,.card .ph{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center 20%;display:block;background:var(--teal-tint)}
.card .ph{display:flex;align-items:center;justify-content:center;font-size:34px}
.card .t{padding:8px 10px 10px}.card .n{font-weight:700;font-size:15px}.card .p{color:var(--muted);font-size:14px}
.card.out{opacity:.45}.badge{font-size:13px;background:var(--teal-tint);border-radius:6px;padding:1px 6px;margin-left:4px}
.bar{position:fixed;left:0;right:0;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fffffff2;border-top:1px solid var(--line);z-index:6}
.btn{width:100%;border:0;border-radius:14px;padding:15px;font-size:17px;font-weight:800;background:var(--accent);color:var(--on-teal)}.btn:hover,.mini.fill:hover{background:var(--teal-dark)}.cartbtn:hover{background:var(--teal-tint)}.btn:active,.mini.fill:active{background:var(--teal-dark)}.btn:disabled{opacity:.5}
.btn.sec{background:var(--card);color:var(--brown);border:2px solid var(--brown)}.btn.dark{background:var(--brown)}
.sheet{position:fixed;inset:0;background:var(--scrim);z-index:10;display:flex;align-items:flex-end;cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top)}.sheet.hidden{display:none}
.panel{cursor:auto;position:relative;transition:transform .15s ease-out;background:var(--card);width:100%;max-height:92vh;max-height:92dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;border-radius:20px 20px 0 0;padding:0 0 100px}
.panel img{width:100%;max-height:220px;object-fit:cover}.panel .in{padding:14px 16px}
.panel h3{margin:4px 0 2px;font-size:22px}.grab{position:sticky;top:0;z-index:3;height:52px;display:flex;align-items:center;justify-content:center;background:var(--card);border-radius:20px 20px 0 0;touch-action:none;cursor:grab}
.handle{width:44px;height:5px;border-radius:3px;background:var(--line)}
.x{position:absolute;right:10px;top:4px;width:44px;height:44px;border:0;border-radius:50%;background:var(--teal-tint);color:var(--teal-dark);font-size:22px;font-weight:700;line-height:44px;padding:0;cursor:pointer;touch-action:manipulation}
.grp{margin:16px 0 4px;font-weight:800}.grp small{font-weight:400;color:var(--muted)}
.opt{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:12px;margin:6px 0}
.opt.on{border-color:var(--accent);background:var(--teal-tint)}.opt.dis{opacity:.4}
.qty{display:flex;align-items:center;gap:14px;margin:16px 0}.qty button{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--card);font-size:20px}
.sec-box{background:var(--card);border-radius:14px;margin:12px 16px;padding:14px;box-shadow:0 1px 3px var(--shadow)}
.sec-box h4{margin:0 0 8px;font-size:16px}
.line{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--line)}.line:last-child{border:0}.line small{display:block;color:var(--muted)}
input,select,textarea{width:100%;font:inherit;padding:12px;border:1px solid var(--line);border-radius:10px;margin:4px 0 8px;background:var(--card)}
.tips{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.tip{border:2px solid var(--line);background:var(--card);border-radius:12px;padding:10px 4px;text-align:center;color:var(--ink)}.tip b{display:block;font-size:22px}.tip small{font-size:13px;color:var(--muted)}
.tip.on{border-color:var(--teal);background:var(--teal-tint);color:var(--teal-dark)}.tip.on small{color:var(--teal-dark)}
.rw{background:linear-gradient(135deg,var(--teal-dark),var(--teal));color:var(--on-teal)}.rw h4{color:var(--on-teal)}
.rw .btn{background:var(--accent)}.beans{font-size:30px;font-weight:900}
.small{font-size:13px;color:var(--muted);line-height:1.35}.rw .small{color:var(--on-teal-muted)}
.check{font-size:13px;margin:6px 0 2px;text-align:center}
.reward{display:flex;justify-content:space-between;align-items:center;padding:10px;border-radius:10px;background:#ffffff1a;margin:6px 0}
.reward button{border:0;border-radius:10px;padding:8px 12px;font-weight:700;background:var(--card);color:var(--brown)}.reward button:disabled{opacity:.4}.reward.on{outline:2px solid var(--on-teal)}
.tot{font-weight:800;font-size:18px}.disc{color:var(--ok)}
#card-container{min-height:90px}.mockcard{border:1px solid var(--line);border-radius:10px;padding:14px;color:var(--muted);display:flex;justify-content:space-between}
.toast{position:fixed;left:16px;right:16px;bottom:100px;background:var(--ink);color:var(--on-teal);padding:12px 14px;border-radius:12px;z-index:20}.toast.hidden{display:none}
.done{text-align:center;padding:30px 20px}.done .big{font-size:60px}
.demo{background:var(--teal-tint);color:var(--teal-dark);font-size:13px;text-align:center;padding:4px}
.hdr{display:flex;gap:8px;align-items:center}.acctbtn{background:#ffffff22;color:var(--on-teal);border:0;border-radius:50%;width:38px;height:38px;font-size:18px}
.row{display:flex;gap:10px;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y;padding:0 16px 4px;scrollbar-width:none}.row .card{flex:0 0 140px}.why{display:inline-block;font-size:13px;background:var(--teal-tint);color:var(--teal-dark);border-radius:6px;padding:1px 6px;margin-top:3px}
.sub{margin:-4px 16px 8px;font-size:13px;color:var(--muted)}.new{background:var(--ok);color:var(--on-teal)}
.notice{background:var(--teal-tint);color:var(--teal-dark);border-left:4px solid var(--teal);border-radius:12px;margin:12px 16px;padding:10px 12px;font-size:14px}
.chip{display:inline-block;font-size:13px;border-radius:10px;padding:2px 8px;background:var(--teal-tint);color:var(--ink)}.chip.ready{background:var(--sage-tint);color:#3E5A44}.chip.in_progress{background:var(--teal-tint);color:var(--teal-dark)}.chip.canceled{background:var(--danger-bg);color:var(--danger)}
.hist{padding:10px 0;border-bottom:1px solid var(--line)}.hist:last-child{border:0}.hist .acts{display:flex;gap:8px;margin-top:8px}
.mini{border:1px solid var(--brown);background:var(--card);color:var(--brown);border-radius:10px;padding:7px 12px;font-weight:700;font-size:14px}.mini.fill{background:var(--accent);border-color:var(--accent);color:var(--on-teal)}
.savedcard{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;margin:6px 0}.savedcard.on{border-color:var(--accent);background:var(--teal-tint)}.savedcard .grow{flex:1}
.savedcard input{width:auto;margin:0}.cb{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin-top:10px}.cb input{width:22px;height:22px;margin:0;flex:none}
.osteps{display:grid;grid-template-columns:repeat(4,1fr);margin:18px 0 6px;padding:0;position:relative;list-style:none}
.osteps:before{content:'';position:absolute;top:15px;left:12.5%;right:12.5%;height:4px;border-radius:2px;background:var(--line);z-index:0}
.osteps .ost-fill{position:absolute;bottom:auto;display:block;padding:0;margin:0;top:15px;left:12.5%;height:4px;border-radius:2px;background:var(--ok);z-index:0;transition:width .3s}
.ostep{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;min-width:0;padding:0 2px;text-align:center;font-size:12.5px;line-height:1.2;color:var(--muted);white-space:nowrap}
.ostep i{display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin-bottom:6px;border-radius:50%;background:var(--card);border:3px solid var(--line);font-style:normal;font-weight:800;box-sizing:border-box;flex:none}
.ostep.fin i{background:var(--ok);border-color:var(--ok);color:var(--on-teal)}.ostep.cur i{background:var(--accent);border-color:var(--accent);color:var(--on-teal)}.ostep.cur{color:var(--ink);font-weight:800}
.bigst{font-size:26px;font-weight:900;text-align:center;margin:8px 0 2px}
.tip.notip{display:block;width:100%;margin-top:8px;padding:12px 4px}.tip.notip b{font-size:18px}
#custom b{font-size:18px;line-height:26px}
.li{display:flex;gap:10px;align-items:center;min-width:0}.th{width:44px;height:44px;flex:0 0 44px;border-radius:10px;object-fit:cover;background:var(--line)}
.th.ph0{background:linear-gradient(135deg,var(--teal-tint),var(--teal-tint-2))}.thumbs{display:flex;gap:6px;margin:6px 0}.th.sm{width:36px;height:36px;flex-basis:36px;border-radius:8px}

a{color:var(--teal)}a:hover{color:var(--teal-dark)}
:focus-visible{outline:3px solid var(--teal);outline-offset:2px}.top :focus-visible,.rw :focus-visible{outline-color:var(--on-teal)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--teal);border-color:var(--teal)}
input[type=checkbox],input[type=radio]{accent-color:var(--teal)}
.rw .btn{background:var(--card);color:var(--teal)}.reward button{color:var(--teal)}

/* Cart: Keep shopping (secondary teal outline) */
.carthead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px 0}.carthead h2{margin:0;font-size:22px}
.btn.keep{width:auto;padding:10px 14px;font-size:15px;min-height:44px;color:var(--teal);border-color:var(--teal)}
.bar.two{display:flex;gap:10px}.bar.two .keep{flex:0 0 auto}.bar.two #toPay{flex:1}
.sec-box.empty{text-align:center}.sec-box.empty .btn{margin-top:14px}

/* Loyalty sign-in strip under the header (menu) */
.loyal{background:var(--teal-tint);padding:10px 16px 6px}.btn.loyalbtn{min-height:44px;padding:11px;font-size:16px;background:var(--teal);color:var(--on-teal)}
.demo-line{font-size:13px;color:var(--muted);text-align:center;margin-top:5px}

/* Signed-in last order: compact one-line pill, tap to reorder */
.lo-wrap{padding:10px 16px 0}.lo-wrap:empty{display:none}
.lastorder{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:5px 6px 5px 6px;background:var(--card);border:1px solid var(--teal-tint);border-radius:999px;font:inherit;font-size:14px;color:inherit;text-align:left;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.lastorder img{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none;background:var(--line)}
.lastorder .lo-txt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:4px}
.lastorder .lo-txt small{color:var(--muted);font-size:12px;margin-right:2px}
.lastorder .lo-go{flex:none;background:var(--teal-dark);color:#fff;border-radius:999px;padding:6px 12px;font-size:13px}

/* Sticky rewards bar: second row of the sticky header, so it never covers the header or cart */
.top{flex-wrap:wrap}#rwbar{flex:0 0 calc(100% + 32px);margin:10px -16px -12px}
.rwbar{display:block;width:100%;min-height:44px;border:0;background:var(--sage-tint);color:var(--sage);padding:8px 16px 9px;text-align:left;font:600 14px/1.3 inherit;font-family:inherit}
.rwbar.ready{background:var(--sage);color:#fff}.rwbar.out{background:var(--teal-tint);color:var(--teal-dark)}
.rwprog{display:block;height:5px;border-radius:3px;background:rgba(79,111,85,.22);margin-top:6px;overflow:hidden}.rwbar.ready .rwprog{background:rgba(255,255,255,.3)}
.rwprog i{display:block;height:100%;background:var(--teal);border-radius:3px}.rwbar.ready .rwprog i{background:#fff}
#app h2[id^="c-"]{scroll-margin-top:calc(var(--toph,58px) + 64px)}
/* Task C: clear the Netlify badge (bottom-right, ~60px), 44px tap targets, min 13px text, add-to-cart confirmation */
body{padding-bottom:calc(160px + env(safe-area-inset-bottom))}
.bar{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
.panel{padding-bottom:calc(120px + env(safe-area-inset-bottom))} /* item popup: clear the sticky Add bar (bar = 12+~52+70 Netlify pad) */
#sheet .panel .bar{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
/* item popup: Add bar height (measured) + iOS toolbar overlap + safe area + 40px so − 1 + always scrolls clear of the bar */
#sheet .panel{padding-bottom:calc(var(--barh, 76px) + var(--tbh, 0px) + env(safe-area-inset-bottom) + 40px)}
/* heart/comment rail scrolls away with the photo/video and can never paint over the sticky header or the X */
#sheet .media{z-index:0;isolation:isolate}#sheet .grab{z-index:5}#sheet .grab .x{z-index:6}
.toast{bottom:calc(150px + env(safe-area-inset-bottom))}
.tabs button,.cartbtn,.reward button,.mini{min-height:44px}
.acctbtn{width:44px;height:44px}.qty button{width:44px;height:44px}
a.tap{display:inline-flex;align-items:center;min-height:44px;padding:0 6px}
.badge,.why,.demo-line{font-size:13px}
.addconf{position:fixed;left:12px;right:12px;bottom:calc(150px + env(safe-area-inset-bottom));z-index:21;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px #0003;padding:10px 12px;max-width:520px;margin:0 auto}
.addconf.hidden{display:none}.ac-top{display:flex;justify-content:space-between;align-items:center;color:var(--teal-dark)}
.ac-x{border:0;background:none;font-size:18px;min-width:44px;min-height:44px;color:var(--muted)}
.ac-sug{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:8px}
.ac-sug img,.ac-ph{width:48px;height:48px;border-radius:10px;object-fit:cover;flex:none;display:flex;align-items:center;justify-content:center;background:var(--teal-tint)}
.ac-n{flex:1;font-weight:700;font-size:15px}.ac-n small{display:block;font-weight:500;color:var(--muted);font-size:13px}
.ac-add{min-height:44px;border:0;border-radius:12px;padding:0 14px;font-weight:800;background:var(--accent);color:var(--on-teal)}

.step{display:inline-flex;align-items:center;gap:6px;margin:6px 0}.step button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--card);font-size:20px;color:inherit}.step button:disabled{opacity:.35}.step b{min-width:22px;text-align:center}
.ac-qty{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}.ac-qty .step{margin:0}
.incart{display:inline-block;margin-top:4px;font-size:12px;font-weight:600;color:var(--teal)}

.upgrid{grid-template-columns:repeat(2,1fr);margin:12px 0 0;padding:0}.upgrid .card img{height:220px;max-height:none}.upadd{margin-top:6px;font-weight:700;color:var(--teal);min-height:40px}.freeb{color:var(--teal)}

/* Kiosk-style checkout (mirrors App.tsx: cart panel rows, black tip screen, sage pill pay button). */
:root{--k-sage:#4F6F55;--k-ink:#2F3A33;--k-muted:#6B746D;--k-line:#E8E2D6;--k-dark:#3A3A3C}
.korder h4,.ktip h4{font-size:22px;font-weight:600;color:var(--k-ink)}
.kline{align-items:center;border-bottom:1px solid var(--k-line)}.kline b{font-size:18px;font-weight:600;color:var(--k-ink)}.kline small{color:var(--k-muted);font-size:15px}
.kprice{display:block;color:var(--k-muted);font-size:16px;margin-top:2px}.kctl{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.kctl .step button{border-radius:50%;width:44px;height:44px;border:1px solid var(--k-line);background:#fff;font-size:22px}
.ksub{font-size:22px;border:0}.ksub b{font-weight:700}
.ktip{background:#000;color:#fff;border:0;border-radius:20px;padding:22px 18px}.ktip h4{color:#fff;font-weight:800;font-size:24px;margin:18px 0 6px}
.khero{font-size:56px;font-weight:900;letter-spacing:-1.5px;line-height:1.05}.ksubl{color:#aaa;font-size:16px;margin-top:4px}.krw{color:#ddd;font-size:15px;margin-top:6px}
.ktip .tips{display:flex;flex-direction:column;gap:10px}.ktip .tip,.ktip .tip.notip{width:100%;min-height:64px;border:0;border-radius:16px;background:var(--k-dark);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0}
.ktip .tip.notip{margin-top:10px}.ktip .tip b{font-size:24px;font-weight:800;color:inherit}.ktip .tip small{font-size:15px;color:#C7C7CC}
.ktip .tip.on{background:#fff;color:#000;box-shadow:none}.ktip .tip.on small{color:var(--k-dark)}.ktip .small{color:#aaa}
.kbar .btn:not(.sec){background:var(--k-sage);border-radius:999px;min-height:60px;font-size:18px;font-weight:800}.kbar .btn.sec{border-radius:999px;border-color:var(--k-sage);color:var(--k-sage)}

/* Lunch-only items before 10:30 pickup */
.card.later{opacity:.55;filter:grayscale(.6)}.lunchnote{font-size:13px;font-weight:700;color:var(--muted);margin-top:2px}.notice.lunchn{margin:8px 0}
.notiplink{display:block;margin:6px auto 0;min-height:44px;min-width:120px;padding:10px 16px;background:none;border:0;font-size:15px;color:#F2F2F7;font-weight:500;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.notiplink[aria-pressed=true]{color:#F2F2F7}.notiplink:focus-visible{outline:2px solid #8a8a8e;outline-offset:2px;border-radius:8px}

.crew{display:flex;align-items:center;gap:8px;font-size:14px;opacity:.9;margin:-2px 0 10px;min-height:40px}
.crew .faces{display:flex}.crew .face{width:28px;height:28px;border-radius:50%;object-fit:cover;border:2px solid #000;margin-left:-6px;flex:none}
.crew .face:first-child{margin-left:0}.crew .ini{display:inline-flex;align-items:center;justify-content:center;background:#c8a27a;color:#3b2414;font-weight:700;font-size:13px}
.crew .teamph{width:100%;border-radius:10px;margin-bottom:6px;display:block}

.phonein{background:#fff;border:1px solid #d9e3dd;border-radius:14px;padding:12px 14px;margin:10px 0;display:flex;flex-direction:column;gap:8px}
.phonein.ok{flex-direction:row;align-items:center;justify-content:space-between;background:#eef6f1}
.phonein .row2{display:flex;gap:8px}.phonein input{flex:1;font-size:17px;padding:10px 12px;border:1px solid #c9d3cd;border-radius:10px;min-width:0}
.phonein .btn.sm{width:auto;padding:10px 16px;font-size:15px;margin:0}.linkbtn{background:none;border:0;color:#2c5a46;text-decoration:underline;font-size:14px;padding:4px 0;cursor:pointer;text-align:left}

.wallets{display:flex;flex-direction:column;gap:10px;margin-bottom:6px}.wallets:empty{display:none}
.applepay{-webkit-appearance:-apple-pay-button;-apple-pay-button-type:plain;-apple-pay-button-style:black;height:48px;width:100%;border-radius:10px;cursor:pointer}
#google-pay-button{min-height:48px}

.vslot{width:100%;background:#1c1c1c;display:flex;justify-content:center}.vwrap{position:relative;height:min(55vh,460px);aspect-ratio:9/16;max-width:100%;background:#1c1c1c;overflow:hidden}
.vwrap video{width:100%;height:100%;object-fit:contain;display:block;background:#1c1c1c}
.vsnd{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.6);color:#fff;border:0;border-radius:16px;padding:6px 10px;font-size:13px}

.need{outline:2px solid #c62828!important;outline-offset:2px;border-radius:10px}.needmsg{color:#c62828;font-size:14px;font-weight:600;margin:6px 2px 10px}
.picks{margin:4px 0 8px}.picks h2{margin-top:8px}
.usual{display:flex;align-items:center;gap:12px;background:#fff7ec;border:1px solid #ecd9bf;border-radius:14px;padding:12px;margin:6px 0 10px}
.usual .ph{font-size:28px}.usual .ut{flex:1;min-width:0}.usual .ut b{display:block;font-size:16px}
.notyou{margin:6px 2px 0}.notyou .linkbtn{font-size:14px}
.usual .btn{width:auto!important;flex:none;white-space:nowrap;padding:10px 14px}
/* likes + comments */
.soc{display:flex;gap:10px;align-items:center;font-size:12px;color:#8a7f76;margin:4px 0 2px}
.soc span{display:inline-flex;align-items:center;gap:3px}.soc svg{width:13px;height:13px}.soc .on{color:#ff2d55}
.media{position:relative}.media.none{height:0}.media.none .rail{top:12px;bottom:auto;right:56px;flex-direction:row}
.media.none .rb{color:#5a4a3f;text-shadow:none;filter:none}
.rail{position:absolute;right:10px;bottom:18px;display:flex;flex-direction:column;gap:14px;z-index:3}
.rb{background:none;border:0;padding:0;color:#fff;display:flex;flex-direction:column;align-items:center;gap:2px;font:600 12px/1 system-ui,sans-serif;text-shadow:0 1px 3px rgba(0,0,0,.6);filter:drop-shadow(0 1px 3px rgba(0,0,0,.45));cursor:pointer}
.rb svg{width:34px;height:34px}.rb.pop svg{animation:hpop .45s cubic-bezier(.3,1.6,.5,1)}
@keyframes hpop{0%{transform:scale(1)}35%{transform:scale(1.35)}100%{transform:scale(1)}}
#csheet{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,0);pointer-events:none;transition:background .2s}
#csheet.open{background:rgba(0,0,0,.35);pointer-events:auto}
.cpanel{position:absolute;left:0;right:0;bottom:0;max-height:70vh;display:flex;flex-direction:column;background:#fff;border-radius:16px 16px 0 0;transform:translateY(100%);transition:transform .25s ease}
#csheet.open .cpanel{transform:none}
.chead{display:flex;justify-content:center;align-items:center;padding:14px;border-bottom:1px solid #eee;position:relative}.chead .x{position:absolute;right:10px;top:8px;background:none;border:0;font-size:18px}
.clist{overflow:auto;padding:6px 16px;flex:1}.cempty{padding:24px 0;text-align:center}
.cm{padding:10px 0;border-bottom:1px solid #f3efea}.cwho{display:flex;align-items:center;gap:6px;font-size:13px}.cwho .small{margin-left:auto}
.plat{width:16px;height:16px;flex:none}.cbody{font-size:14px;margin-top:3px;word-wrap:break-word}
.cin{display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eee;align-items:center}
.cin input{flex:1;min-width:0;padding:10px 12px;border:1px solid #ddd;border-radius:20px;font-size:16px}.cin .btn{width:auto!important;flex:none;padding:9px 14px}
.cin.signin span{flex:1}

/* New / Picked rows: every card image the same square box, top-aligned, so photos sit evenly */
.row{align-items:flex-start}.row .card{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;align-self:stretch}.card>img,.card>.ph{flex:none;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:center 20%}
.row .card img,.row .card .ph{width:100%;height:auto;aspect-ratio:1/1;flex:none;object-fit:cover;object-position:center 20%;margin:0;vertical-align:top}
/* Loading skeleton while the menu loads */
.skel{padding:16px}.skel-msg{color:var(--muted);font-weight:600;margin:4px 0 14px}
.skel i{display:block;border-radius:14px;background:linear-gradient(90deg,var(--teal-tint) 25%,#f4f1ec 50%,var(--teal-tint) 75%);background-size:200% 100%;animation:skel 1.2s infinite linear}
.skel-row{display:flex;gap:10px;margin-bottom:18px}.skel-row i{flex:0 0 140px;height:180px}
.skel-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.skel-grid i{height:200px}
@keyframes skel{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.skel i{animation:none}}
/* double-tap heart */
.hburst{position:absolute;width:96px;height:96px;margin:-48px 0 0 -48px;pointer-events:none;z-index:3;animation:hb .8s ease-out forwards}.hburst svg{width:100%;height:100%;filter:drop-shadow(0 4px 10px #0005)}
@keyframes hb{0%{transform:scale(.3);opacity:0}25%{transform:scale(1.15);opacity:1}60%{transform:scale(1);opacity:1}100%{transform:scale(1.1) translateY(-30px);opacity:0}}
.opt:focus-visible,.qty button:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
/* customer posts */
.cambtn{background:#ffffff22;color:var(--on-teal);border:0;border-radius:50%;width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center}.cambtn svg{width:22px;height:22px}
.ph2{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-right:16px}.ph2 h2{margin-right:auto}
.sharelink{border:0;background:none;color:var(--teal);font-weight:800;font-size:14px;display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0}.sharelink svg{width:18px;height:18px}
.prow{padding-bottom:8px;align-items:stretch}
.pcard{flex:0 0 220px;width:220px;height:322px;background:var(--card);border-radius:14px;overflow:hidden;box-shadow:0 1px 3px var(--shadow);display:flex;flex-direction:column;border:0;padding:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
.phead{flex:none;height:46px;display:flex;align-items:center;gap:8px;padding:0 10px;font-size:14px;overflow:hidden;white-space:nowrap}.phead b{overflow:hidden;text-overflow:ellipsis}
.pmine{margin-left:auto;font-size:12px;background:var(--teal-tint);color:var(--teal-dark);border-radius:8px;padding:1px 7px;font-weight:700}
.pmedia{position:relative;flex:none;width:220px;height:220px;background:var(--teal-tint);overflow:hidden}.pmedia img,.pmedia video{width:100%;height:100%;object-fit:cover;display:block}
.pplay{position:absolute;inset:0;margin:auto;width:44px;height:44px;border-radius:50%;background:#0008;color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;pointer-events:none}
.pav{flex:none;width:30px;height:30px;border-radius:50%;background:var(--teal);color:#fff;border:2px solid var(--teal-tint-2);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}
.pcap{flex:none;height:56px;padding:8px 10px 0;font-size:13.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#pviewer{position:fixed;inset:0;z-index:9;background:#000;display:none}#pviewer.open{display:block}
.pvscroll{position:absolute;inset:0;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}.pvscroll::-webkit-scrollbar{display:none}
.pslide{position:relative;height:100vh;height:100dvh;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;overflow:hidden}
.pslide img,.pslide video{width:100%;height:100%;object-fit:cover}
.pvshade{position:absolute;inset:auto 0 0 0;height:55%;background:linear-gradient(transparent,#000c);pointer-events:none}
.pvx{position:absolute;left:12px;top:calc(12px + env(safe-area-inset-top));z-index:3;width:44px;height:44px;border-radius:50%;border:0;background:#0006;color:#fff;font-size:20px;font-weight:700}
.pvrail{bottom:calc(150px + env(safe-area-inset-bottom));gap:20px}.pvrail .rb svg{width:34px;height:34px}.pvrail .rb{font-size:13px;min-width:44px}.rb.pop svg{animation:hpop .3s}
.pvinfo{position:absolute;left:16px;right:72px;bottom:calc(22px + env(safe-area-inset-bottom));color:#fff;z-index:2;display:flex;flex-direction:column;gap:8px}
.pvwho{display:flex;align-items:center;gap:8px;font-size:16px}.pvwho .small{color:#ddd}.pvcap{font-size:15px;line-height:1.35;text-shadow:0 1px 3px #0008}
.ptagbtn{align-self:flex-start;display:flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding:8px 14px;border:0;border-radius:22px;background:#fffffff2;color:var(--ink);font:inherit;font-size:14px;font-weight:700;box-shadow:0 2px 8px #0005}
.ptagbtn span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ptagbtn b{color:var(--teal)}.ptagbtn .bag{font-size:16px}
.pvhint{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#0007;color:#fff;font-size:19px;pointer-events:none;transition:opacity .4s}.pvhint.out{opacity:0}
.pvarrow{font-size:56px;line-height:.6;animation:pvup 1.1s ease-in-out infinite}
@keyframes pvup{0%{transform:translateY(24px);opacity:0}40%{opacity:1}100%{transform:translateY(-24px);opacity:0}}
@keyframes hpop{50%{transform:scale(1.3)}}
@media (prefers-reduced-motion:reduce){.pvarrow{animation:none}}
.compose h3{margin-top:0}.pick{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:12px 0 4px;min-height:180px;border:2px dashed var(--teal-tint-2);border-radius:14px;background:var(--teal-tint);color:var(--teal-dark);cursor:pointer;position:relative;overflow:hidden;text-align:center;padding:16px}
.pick.has{padding:0;border-style:solid;max-height:360px}.pick.has img,.pick.has video{width:100%;max-height:360px;object-fit:cover;display:block}
.pick .chg{position:absolute;right:8px;bottom:8px;background:#000a;color:#fff;border-radius:10px;padding:4px 10px;font-size:13px;font-weight:700}
.camic svg{width:40px;height:40px}.plist{max-height:240px;overflow-y:auto;border-radius:12px}.plist .opt{width:100%;background:var(--card);font:inherit;color:inherit;text-align:left}
.ptagsel .mini{min-height:36px}.pnote{margin:12px 0 0}
/* posts: usernames, avatars, review state */
.pav.pimg{object-fit:cover;padding:0}.pav.sm{width:26px;height:26px;font-size:11px}.pav.lg{width:48px;height:48px;font-size:17px}
.cm{display:flex;gap:9px;align-items:flex-start}.cm .cmt{flex:1;min-width:0}
.ppend{margin-left:auto;font-size:11px;background:#fff4d6;color:#8a5a00;border-radius:8px;padding:1px 7px;font-weight:800}
.pcard{position:relative}.pveil{position:absolute;left:8px;right:8px;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.62);color:#fff;font-weight:800;font-size:13px;border-radius:10px;padding:8px;text-align:center}
.pvpend{position:absolute;left:12px;right:12px;top:58px;z-index:3;background:rgba(255,244,214,.95);color:#5c3d00;border-radius:12px;padding:10px 12px;font-size:14px;font-weight:700;text-align:center}
.avrow{display:flex;align-items:center;gap:12px;margin:12px 0}.avrow .grow{flex:1}
.avpick{position:relative;flex:none;width:72px;height:72px;border-radius:50%;background:var(--teal);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800;cursor:pointer}
.avpick img{width:100%;height:100%;border-radius:50%;object-fit:cover}.avpick i{position:absolute;right:-2px;bottom:-2px;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--teal-dark);display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.25)}.avpick i svg{width:16px;height:16px}
.uwrap{display:flex;align-items:center;border:1.5px solid #ddd;border-radius:12px;padding:0 12px;background:#fff}.uwrap span{font-weight:800;color:#888}.uwrap input{border:0;outline:0;flex:1;padding:12px 6px;font-size:17px;background:transparent}
.umsg{margin-top:6px}.umsg.good{color:#1c7c3a;font-weight:700}.umsg.bad{color:#b3261e;font-weight:700}
.pslide .pav.pimg{position:static;width:34px;height:34px;object-fit:cover}

/* imported social posts */
.pwho{display:flex;flex-direction:column;min-width:0;line-height:1.15}.pwho b{overflow:hidden;text-overflow:ellipsis}.pvia{font-size:11px;color:var(--muted,#777);font-weight:600}
.pavw{position:relative;flex:none;display:inline-flex}.plogo{width:18px;height:18px;flex:none;vertical-align:middle}.plogo.badge{position:absolute;right:-4px;bottom:-3px;width:15px;height:15px;border-radius:50%;box-shadow:0 0 0 2px #fff}.plogo.sm{width:16px;height:16px}
.pclaim{margin-left:auto;font-size:11px;font-weight:800;color:var(--teal-dark,#0b5d5b);border:1.5px solid currentColor;border-radius:999px;padding:1px 8px;cursor:pointer}
.pvclaim{margin-left:4px;font-size:12px;font-weight:800;background:#fff;color:#111;border:0;border-radius:999px;padding:4px 10px;cursor:pointer}
.pvsrc{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:13px;color:#eee;text-shadow:0 1px 3px #0008}.pvsrc a,.pvsrc .linkbtn{color:#fff;font-weight:700;text-decoration:underline;background:none;border:0;padding:0;font-size:13px;cursor:pointer}
.compose h3 .plogo{width:22px;height:22px;margin-right:4px;vertical-align:-4px}
.soon{margin:12px 0 8px;padding:10px 12px;border-radius:10px;background:#f3f1ec;font-weight:700;font-size:14px}.okbox{margin:12px 0;padding:12px;border-radius:10px;background:var(--teal-tint,#e3f3f1);color:var(--teal-dark,#0b5d5b);font-weight:600}
.compose textarea,.compose select,.compose input#clH,.compose input#clN,.compose input#rmC{width:100%;box-sizing:border-box;font:inherit;font-size:16px;padding:10px 12px;border:1px solid #ccc;border-radius:10px}

.pemb{position:absolute;inset:0;overflow:hidden;background:#fff}.pemb iframe{border:0;width:350px;height:560px;transform:scale(.6286);transform-origin:0 0;pointer-events:none}.pemb.instagram iframe{margin-top:-56px}
.pslide.hasemb{background:#111;align-items:flex-start}.pvemb{width:min(100%,400px);height:calc(100dvh - 300px);margin-top:72px;overflow:auto;background:#fff;border-radius:10px}.pvemb iframe{border:0;width:100%;height:100%}

.clink{display:inline;font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;font-weight:800;text-decoration:underline;text-decoration-color:var(--teal,#2bb3a3);text-decoration-thickness:2px;text-underline-offset:2px;cursor:pointer}
.pvcap .clink{color:#fff;text-decoration-color:#7fe0d4}
.pvwho{flex-wrap:wrap;row-gap:6px;min-width:0}.pvwho .small{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pvclaim{white-space:nowrap;flex:none}
.pslide.hasemb .pvcap{max-height:5.4em;overflow:auto}
.pslide.hasemb .pvemb{height:calc(100dvh - 390px)}.pslide.hasemb .pvcap{max-height:4.1em}
.pretired{margin:6px 10px 0;font-size:12px;font-weight:700;color:var(--muted)}.ptagbtn.retired{cursor:default;opacity:.92}.ptagbtn.retired b{font-size:13px;font-weight:700}

.pclaim.soon,.pvclaim.soon{opacity:.6;cursor:not-allowed;border-style:dashed}
.pemb.tiktok iframe,.pvemb iframe[src*='tiktok']{background:#000}
/* TikTok player v1 (autoplay/muted/loop): fills the card/slide, no scaling */
.pemb.tt1{background:#000}.pemb.tt1 iframe{width:100%;height:100%;transform:none}
.pvemb.tt1{background:#000;overflow:hidden}.pvemb.tt1 iframe{width:100%;height:100%;border:0}
.pmedia video{width:100%;height:100%;object-fit:cover}
.pvmute{position:absolute;left:12px;top:72px;z-index:3;border:0;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font:600 13px system-ui;padding:6px 10px}
/* TikTok-style full-bleed viewer */
.pslide,.pslide.hasemb{height:100vh;height:100dvh;width:100%;align-items:stretch;background:#000}
.pvemb,.pslide.hasemb .pvemb{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0;overflow:hidden;background:#000}
.pvemb iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none}
.pslide video,.pslide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pvtap{position:absolute;inset:0;z-index:1;background:transparent;touch-action:pan-y}
.pvinfo{flex-direction:column-reverse}
.pvcap,.pslide.hasemb .pvcap{max-height:none;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;cursor:pointer}
.pvcap.open{display:block;max-height:40dvh;overflow:auto}
.pvinfo .ptagbtn{align-self:flex-start}
.pvrail{z-index:2}
.psbadge{position:absolute;left:12px;top:calc(68px + env(safe-area-inset-top));z-index:3;border:0;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font:600 12px system-ui;padding:5px 9px}
/* TikTok: hide the frame (spinner) until it is really rendering, so sound never runs ahead of the picture */
.pvemb.tt1:not(.ttready) iframe,.pemb.tt1:not(.ttready) iframe{opacity:0}
.pvemb.tt1:not(.ttready)::after,.pemb.tt1:not(.ttready)::after{content:"";position:absolute;left:50%;top:50%;width:36px;height:36px;margin:-18px;border:3px solid #fff5;border-top-color:#fff;border-radius:50%;animation:ttspin .8s linear infinite}
.pemb.tt1{position:relative}@keyframes ttspin{to{transform:rotate(360deg)}}
/* TikTok cover: our own first frame over the player until it is really playing (time > 0) */
.ttcover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;pointer-events:none;transition:opacity .2s}
.ttready>.ttcover{opacity:0}
.pvemb.tt1:not(.ttready)::after,.pemb.tt1:not(.ttready)::after{z-index:1}
.ttplay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;border:0;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font:700 16px system-ui;padding:12px 20px}
.ttplay[hidden]{display:none}

.consent .ctext{background:#f6f1ea;border-radius:12px;padding:12px;margin:12px 0;font-size:14px;line-height:1.45;color:#3b2a1e}
.consent .cbox{display:flex;gap:10px;align-items:flex-start;margin:8px 0;font-weight:600;font-size:14px}
.consent .cbox input{width:22px;height:22px;flex:none;margin-top:1px}
.consent .btn{width:100%;margin-top:8px}
.paudio{margin-top:6px;font-size:12px;opacity:.85}
.panel.consent{padding:18px 20px 24px}
.pcard .psbadge,.pcard [data-pmute]{display:none!important}

/* ===== Design refresh (dz1): matches kairospemoscoffeeshop.com — sunny yellow, black ink, chunky Prompt headings,
   black-outlined "sticker" cards and pill buttons with hard offset shadows, neon green / red starburst accents. ===== */
:root{--yellow:#FFCC37;--yellow-2:#FFDA22;--neon:#5AFF24;--red:#FF2524;--blk:#000;
  --teal:#000;--teal-dark:#222;--teal-tint:#FFF1C2;--teal-tint-2:#FFE79A;--sage:#000;--sage-tint:#D9FFC9;
  --bg:var(--yellow);--card:#fff;--ink:#000;--muted:#3a3a3a;--line:#000;--on-teal:#fff;--on-teal-muted:#ffe9a6;
  --shadow:#000;--hard:3px 3px 0 #000;--hard-lg:5px 5px 0 #000;
  --brown:#000;--accent:#000;--ok:#000}
body{font-family:Inter,-apple-system,system-ui,Segoe UI,Roboto,sans-serif;background:var(--bg)}
h1,h2,h3,h4,.brand,.grp,.beans,.tot,.btn,.cartbtn,.tabs button,.mini,.done .big+*{font-family:Prompt,Inter,sans-serif}
h2{font-weight:900;text-transform:uppercase;font-size:22px;letter-spacing:.2px}
.panel h3{font-weight:900;text-transform:uppercase}
.top{background:var(--yellow);color:#000;border-bottom:2px solid #000}
.brand{font-weight:900;text-transform:uppercase;letter-spacing:.3px}.brand small{font-family:Inter;text-transform:none;font-weight:500;opacity:1}
.acctbtn,.cambtn{background:#fff!important;color:#000!important;border:2px solid #000!important;box-shadow:var(--hard)}
.cartbtn{background:#000;color:#fff;border:2px solid #000;border-radius:999px;text-transform:uppercase;font-weight:800;box-shadow:3px 3px 0 #fff,3px 3px 0 2px #000}
.cartbtn b{background:var(--neon);color:#000}.cartbtn:hover{background:#222}
.tabs{background:var(--yellow)}
.tabs button{border:2px solid #000;border-radius:999px;font-weight:700;text-transform:uppercase;font-size:13px;box-shadow:2px 2px 0 #000}
.tabs button.on{background:#000;color:#fff}
.card,.sec-box{border:2px solid #000!important;box-shadow:var(--hard-lg);border-radius:16px}
.card img,.card .ph{border-bottom:2px solid #000}
.card:active{transform:translate(2px,2px);box-shadow:var(--hard)}
.card .n{font-family:Prompt,Inter,sans-serif;font-weight:800;text-transform:uppercase;font-size:14px;line-height:1.2}
.card .p{color:#000;font-weight:700}
.badge,.why,.new,.chip{border:1.5px solid #000;font-weight:700}
.new{background:var(--neon)!important;color:#000!important;text-transform:uppercase;font-size:11px;display:inline-block;transform:rotate(-4deg)}
.btn{border-radius:999px;border:2px solid #000;background:#000;color:#fff;text-transform:uppercase;font-weight:900;letter-spacing:.3px;box-shadow:4px 4px 0 var(--red)}
.btn:hover,.mini.fill:hover{background:#222}.btn:active{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--red)}
.btn.sec{background:#fff;color:#000;border:2px solid #000;box-shadow:var(--hard)}
.mini{border:2px solid #000;border-radius:999px;color:#000;box-shadow:2px 2px 0 #000}.mini.fill{background:#000;color:#fff}
.bar{background:var(--yellow);border-top:2px solid #000}
.panel{border:2px solid #000;border-bottom:0}.grab{background:#fff}.handle{background:#000}
.x{background:var(--yellow);color:#000;border:2px solid #000}
.opt,.savedcard,input,select,textarea,.tip,.qty button,.mockcard{border:2px solid #000}
.opt.on,.savedcard.on,.tip.on{background:var(--teal-tint);box-shadow:var(--hard)}
.rw{background:#000!important;color:#fff;position:relative;overflow:visible}
.rw h4{color:var(--yellow);font-family:Prompt;font-weight:900;text-transform:uppercase}
.rw .btn{background:var(--yellow);color:#000;border-color:var(--yellow);box-shadow:4px 4px 0 var(--neon)}
.rw .small{color:#f3f3f3}.beans{color:var(--neon)}
.reward{background:#ffffff1f;border:1.5px solid #fff3}.reward button{background:var(--yellow);color:#000}
.notice{background:#fff;border:2px solid #000;border-left:8px solid var(--red);color:#000}
.demo{background:#000;color:var(--yellow);font-weight:700}
.toast{background:#000;border:2px solid var(--yellow)}
.small{color:#2b2b2b}
/* starburst sticker on the rewards card, like the home page's "We roast in our shop" stickers */
.sec-box.rw::after{content:"EARN BEANS!";position:absolute;right:-8px;top:-18px;width:74px;height:74px;display:flex;align-items:center;justify-content:center;text-align:center;
  font:900 12px/1 Prompt,sans-serif;color:#000;background:var(--neon);transform:rotate(12deg);pointer-events:none;
  clip-path:polygon(50% 0,61% 13%,77% 6%,79% 23%,96% 25%,89% 41%,100% 50%,89% 59%,96% 75%,79% 77%,77% 94%,61% 87%,50% 100%,39% 87%,23% 94%,21% 77%,4% 75%,11% 59%,0 50%,11% 41%,4% 25%,21% 23%,23% 6%,39% 13%)}
@media (min-width:900px){main#app{max-width:1100px;margin:0 auto}.grid{grid-template-columns:repeat(4,1fr);gap:18px}}
.top{flex-wrap:nowrap;gap:8px}.brand{font-size:17px;line-height:1.1;min-width:0}.brand small{font-size:12px}
.hdr{flex:none;gap:6px}.acctbtn,.cambtn{width:38px;height:38px;padding:0}.cartbtn{padding:7px 12px;font-size:14px}
.loyal{background:var(--yellow-2);border-bottom:2px solid #000}
.phonein{border:2px solid #000;box-shadow:var(--hard-lg)}.phonein.ok{background:#D9FFC9}
.phonein b{font-family:Prompt,Inter,sans-serif;font-weight:800;text-transform:uppercase;font-size:15px}
.lo-go{background:#000;border:2px solid #000}
:root{--k-sage:#000;--k-ink:#000;--k-muted:#3a3a3a;--k-line:#000;--k-dark:#000}

/* Bottom tab bar (dz6): floating frosted pill like Peter's reference; cart button floats just above it */
.tabbar{position:fixed;left:12px;right:12px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:8;display:flex;gap:4px;padding:6px;border-radius:30px;background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);border:1px solid rgba(0,0,0,.12);box-shadow:0 6px 24px rgba(0,0,0,.18)}
.tabbar[hidden]{display:none}
.tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;border:0;border-radius:24px;background:none;color:#000;font:600 12px/1.1 Inter,system-ui,sans-serif;padding:4px 2px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s}
.tabbar svg{width:26px;height:26px;fill:none;stroke:#000;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tabbar button.on{background:#FFCC37;font-weight:800}
.tabbar button:active{transform:scale(.96)}
html.lock .tabbar{display:none}
html.has-tabs{--tabh:calc(82px + env(safe-area-inset-bottom))}
html.has-tabs body{padding-bottom:calc(var(--tabh) + 100px)}
html.has-tabs #app>.bar{bottom:var(--tabh);left:12px;right:12px;padding:0 0 8px;background:none;border:0;box-shadow:none}
html.has-tabs #app>.bar .btn{border-radius:999px}
html.has-tabs .addconf{bottom:calc(var(--tabh) + 76px)}
html.has-tabs .toast{bottom:calc(var(--tabh) + 76px)}
/* Send Gift (preview) */
.gift-hero{text-align:center;font-size:52px;padding:8px 16px 0}.gift-hero p{font-size:16px;margin:6px 0 0}
.gift-opt{display:block;width:calc(100% - 32px);margin:12px 16px;text-align:left;background:#fff;border:2px solid #000;border-radius:18px;padding:16px;box-shadow:4px 4px 0 #000;font:inherit;color:#000;cursor:pointer}
.gift-opt b{display:block;font-size:19px;margin-bottom:4px}.gift-opt span{font-size:14px}
.gift-amts,.gift-via{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.gift-via{grid-template-columns:1fr 1fr;margin:10px 0 8px}
.gift-item.on{outline:4px solid #000}
.gift-card{background:linear-gradient(135deg,#FFCC37,#ffb000);border:2px solid #000;border-radius:16px;padding:16px;margin:4px 0 12px;box-shadow:4px 4px 0 #000}
.gc-top{font-weight:900;letter-spacing:.04em;display:flex;justify-content:space-between}.gc-top small{font-weight:600}
.gc-big{font-size:30px;font-weight:900;margin-top:22px}
.gift-code{font:800 22px/1 ui-monospace,monospace;letter-spacing:.08em;text-align:center;border:2px dashed #000;border-radius:12px;padding:12px;margin:10px 0;background:#fff}
#gMsg{width:100%;min-height:70px;box-sizing:border-box;border-radius:12px;padding:10px;font:inherit}
.homemenu{padding:8px 16px 20px}
.tabbar button{min-width:0}.tabbar span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.tabbar:has(> button:nth-child(6)){gap:2px;padding:5px;left:8px;right:8px}.tabbar:has(> button:nth-child(6)) button{font-size:11px;padding:4px 0;border-radius:20px}.tabbar:has(> button:nth-child(6)) svg{width:24px;height:24px}
@media (max-width:360px){.tabbar:has(> button:nth-child(6)) button{font-size:10px;letter-spacing:-.2px}.tabbar:has(> button:nth-child(6)){left:4px;right:4px}}

/* hf1: header = logo left, buttons right; beans pill on its own full-width row */
.top{flex-wrap:wrap;row-gap:0}.top .brand{flex:1 1 0;min-width:0;overflow-wrap:anywhere}.top .hdr{flex:none;margin-left:auto}
#rwbar{flex:0 0 calc(100% + 32px);max-width:calc(100% + 32px);order:3;margin:10px -16px -12px;box-sizing:border-box;overflow:hidden}
#rwbar .rwbar{box-sizing:border-box;max-width:100%;white-space:normal}
.gcsplit{margin:10px 0;padding:10px 12px;border-radius:12px;background:#fff7d6;border:1px solid #f2d36b;font-size:14px;line-height:1.4}
/* follow / updates preview */
#tabbar button{position:relative!important}#tabbar .tbadge{position:absolute;top:2px;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#d33;color:#fff;font:700 10px/16px system-ui;font-style:normal;text-align:center}
.tbadge.in{position:static;display:inline-block;margin-left:8px;padding:0 7px;border-radius:9px;background:#d33;color:#fff;font:700 11px/18px system-ui;font-style:normal}
.fhead{display:flex;align-items:center;justify-content:space-between}
.frow{display:flex;gap:8px;align-items:center}.frow input{flex:1;min-width:0}.frow .btn{width:auto;flex:none;padding:0 16px}.frow .at{font-weight:700;opacity:.6}
.fperson,.fitem{display:flex;gap:10px;align-items:center;padding:10px 0;border-top:1px solid rgba(0,0,0,.07);width:100%;text-align:left;background:none;border-left:0;border-right:0;border-bottom:0;font:inherit;color:inherit}
.fperson>span:nth-child(2),.fitem>div{flex:1;min-width:0;display:flex;flex-direction:column}.fitem span,.fitem i{font-size:14px;opacity:.85}.fperson small,.fitem small{font-size:12px;opacity:.6}
.fav{width:36px;height:36px;border-radius:50%;background:#efe5d8;display:grid;place-items:center;font-weight:700;flex:none}
.fbtn{width:auto!important;padding:6px 14px!important;min-height:0!important;font-size:13px}.fok{color:#2a7a3b;font-weight:700;font-size:13px}.fperson.on{background:#f3fbf4;border-radius:10px;padding:10px}
.gift-code.sm{font-size:16px;padding:6px 10px;margin:6px 0}.chk{display:flex;gap:8px;align-items:flex-start;margin-top:10px;font-size:14px}.chk input{width:auto;margin-top:3px}
#folBox h5{margin:14px 0 4px;font-size:13px;opacity:.7}

/* pb1: page bottom padding = measured height of the fixed action bar (+ tab bar), so the last controls are never under Pay/Back */
body{padding-bottom:max(calc(90px + env(safe-area-inset-bottom)),calc(var(--barh,0px) + 24px))}
html.has-tabs body{padding-bottom:calc(var(--tabh) + var(--barh,0px) + 24px)}
#useGC.notiplink{color:#1a1a1a;font-weight:600}
.gwait{display:flex;flex-direction:column;gap:2px;width:calc(100% - 32px);margin:12px 16px;padding:14px 16px;border:2px solid #000;border-radius:16px;background:#fff3c4;font:inherit;text-align:left;box-shadow:3px 3px 0 #000}.gwait b{font-size:17px}.gwait span{font-size:13px;opacity:.7}
.fperson.pick{cursor:pointer;border:2px solid #000;border-radius:14px;padding:10px 12px;margin-top:10px;background:#fff;box-shadow:2px 2px 0 #000}.fperson.pick.on{background:#e9f8ec;border-color:#2a7a3b}.fperson.pick .fok{color:#555}.fperson.pick.on .fok{color:#2a7a3b}
.fnone{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#fdecec;color:#8a1c1c;font-size:14px;font-weight:600}
/* sp10: compact account bubble, inline errors, clear the tab bar on Gift */
.fperson.pick{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px;width:100%;min-height:0!important;height:auto!important;padding:8px 12px!important;margin-top:10px;text-align:left!important;line-height:1.2}
.fperson.pick>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.fperson.pick .fav{flex:0 0 32px;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f2e6c9;font-weight:800}
.fperson.pick b{font-size:15px}.fperson.pick small{font-size:12px}.fperson.pick .fok{font-size:12px;white-space:nowrap}
.ferr{margin:6px 2px 0;color:#b3261e;font-size:13px;font-weight:600}
.gpad{height:calc(var(--tabh,72px) + 48px + env(safe-area-inset-bottom))}
.gift-via{display:flex;gap:8px}.gift-via .tip{flex:1 1 0;min-width:0;white-space:normal;overflow:visible;height:auto;min-height:48px;padding:8px 6px;line-height:1.15}.gift-via .tip b{white-space:normal;font-size:15px}

/* cr1: portrait videos in square-ish cards keep faces in frame (Peter 10/26) */
.pmedia video{object-position:center 18%}
/* Follow creators from posts + account notifications (fo1) */
.pfslot{flex:none;margin-left:auto}.pfslot:empty{display:none}.pclaim~.pfslot,.ppend~.pfslot{margin-left:4px}.phead .pwho{min-width:0;overflow:hidden}
.pfol{display:inline-block;font-size:12px;font-weight:800;line-height:1;padding:6px 11px;border-radius:999px;background:var(--teal-dark,#0b5d5b);color:#fff;border:1.5px solid var(--teal-dark,#0b5d5b);cursor:pointer;white-space:nowrap}
.pfol.on{background:transparent;color:var(--teal-dark,#0b5d5b)}
.pfslot.big{margin-left:2px}.pfol.big{font-size:13px;padding:7px 14px;background:#fff;color:#111;border-color:#fff}.pfol.big.on{background:#0006;color:#fff;border-color:#fffa}
.fcounts{display:flex;gap:10px;text-align:center}.fcounts>div{flex:1;padding:6px 0}.fcounts b{display:block;font-size:22px}.fcounts span{font-size:13px;color:#666}
.fitem.ntf{cursor:default}.fitem.ntf.unread{background:#e8f5f4}
.fhint{margin:6px 0 10px;padding:8px 12px;border-radius:10px;background:#e8f5f4;color:#0b5d5b;font-weight:700;font-size:14px}
.pvwho .pfslot.big{flex:none}

/* up1: upsell continue bar always visible */
#sheet .panel.up{padding-bottom:0}#sheet .panel.up .in{padding-bottom:16px}.upbar{position:sticky;bottom:0;z-index:4;background:var(--card);padding:10px 16px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -4px 12px rgba(0,0,0,.12)}.upbar .btn{width:100%;margin:0}
.grid .card{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}.grid .card>img,.grid .card>.ph{flex:none;width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center 20%}.grid .card>.t{flex:1 1 auto}
/* eq1: every item card identical size (Peter) */
.grid{grid-auto-rows:1fr;align-items:stretch}
.grid .card,.row .card{display:flex;flex-direction:column;height:100%;box-sizing:border-box}
.grid .card>.t,.row .card>.t{flex:none;height:122px;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;min-height:0}
.grid .card .n,.row .card .n{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.25;min-height:2.5em;flex:none}
.grid .card .n.long,.row .card .n.long{font-size:13px}.grid .card .n.xlong,.row .card .n.xlong{font-size:12px}
.grid .card .t>:not(.n):not(.p):not(.soc):not(.csoc),.row .card .t>:not(.n):not(.p):not(.soc):not(.csoc){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:none;max-width:100%}
.grid .card .t>:nth-child(2),.row .card .t>:nth-child(2){margin-top:auto}
.upgrid .card img{height:auto}
/* cards2: likes/comments on every card; bigger photo, less empty white (Peter) */
.grid .card,.row .card{position:relative}
.grid .card>img,.grid .card>.ph,.row .card>img,.row .card>.ph{aspect-ratio:4/5!important;height:auto!important;flex:none!important;width:100%;object-fit:cover;object-position:center 20%}
.grid .card>.t,.row .card>.t{height:auto;flex:none;padding:6px 9px 7px;gap:0}
.grid .card .n,.row .card .n{min-height:2.4em;line-height:1.2}
.grid .card .soc,.row .card .soc{margin:3px 0 1px;flex:none}
.grid .card .t>:nth-child(2),.row .card .t>:nth-child(2){margin-top:0}
.grid .card .p,.row .card .p{flex:none;line-height:1.25}
/* extra lines (lunch note, in-cart, tags) become chips over the photo so card height stays equal */
.grid .card .t>:not(.n):not(.p):not(.soc),.row .card .t>:not(.n):not(.p):not(.soc){position:absolute;left:8px;top:8px;z-index:2;background:#fff;border:1.5px solid #000;border-radius:8px;padding:2px 7px;font-size:12px;max-width:calc(100% - 16px);margin:0}
.grid .card .n .badge,.row .card .n .badge{position:absolute;right:8px;top:8px;z-index:2;background:#fff;margin:0}
.grid .card.out>img{filter:grayscale(.5)}
.grid .card>.t,.row .card>.t{height:80px;overflow:hidden;box-sizing:border-box}
.grid .card .n.long,.row .card .n.long{font-size:13px}.grid .card .n.xlong,.row .card .n.xlong{font-size:11.5px}

/* QA sweep 10/26 */
.card{position:relative}.card .sobadge{position:absolute;top:8px;left:8px;z-index:2;margin:0;box-shadow:0 1px 4px #0006}
.pvhint{inset:auto;left:50%;bottom:auto;top:38%;transform:translateX(-50%);background:#000b;border-radius:999px;padding:8px 16px;width:auto;height:auto;white-space:nowrap;pointer-events:none;flex-direction:row;gap:8px}
.soc{color:#6b6058}.pvsrc{color:#fff}
.pclaim{min-height:24px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:2px 10px;font-size:12px}
.pvsrc .linkbtn,[data-prm]{min-height:24px;display:inline-flex;align-items:center}
#sheet .panel.up .grab{height:24px}#sheet .panel.up h3{margin-top:0}
.rwintro{margin:-4px 16px 10px;font-size:15px}
/* rewards oct27: toast at the top in checkout so it never covers reward rows; double-beans badge */
.toast{color:#fff}.toast.top{top:calc(env(safe-area-inset-top) + 12px)!important;bottom:auto!important;z-index:60}
.dblbeans{margin:8px 0;padding:8px 10px;border-radius:10px;background:var(--yellow,#ffd43b);color:#000;font-weight:800;font-size:14px;line-height:1.3}
.reward button{white-space:nowrap}

/* rewards fix 10/27: checkout sign-in sheet + square-mode redeem note */
.signov{position:fixed;inset:0;z-index:30;background:var(--scrim);display:flex;align-items:flex-end;padding-top:env(safe-area-inset-top)}.signov.hidden{display:none}.signpanel{background:var(--bg,#fff);width:100%;max-height:92vh;overflow:auto;border-radius:18px 18px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.signhead{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 0}.signhead .x{background:none;border:0;font-size:20px;padding:6px 10px;color:inherit}.rwnote{margin-top:10px}

/* reward rows: room between rows so Use never lands on the neighbour (10/27 demo mis-tap) */
.rw .reward{margin:12px 0;padding:12px}.rw .reward button{min-height:48px;min-width:96px}

/* never over rewards Use buttons (10/27) */
.addconf.rwhide{display:none}

/* Double beans banner: pinned at the very bottom, below the floating tab bar (Peter 10/27); tab bar lifts by --dbh. app.js sets --dbh (0 when hidden/dismissed); --tabh grows by it so cart bar, toasts and page padding move up too. */
.dbb{position:fixed;left:12px;right:12px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:8;display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 34px 6px 12px;background:#fff;color:#000;font-size:12.5px;font-weight:600;line-height:1.25;text-align:center;border:2px solid #000;border-radius:16px;box-shadow:0 4px 14px rgba(0,0,0,.18)}
html.has-tabs .dbb{bottom:calc(8px + env(safe-area-inset-bottom))}
html.has-tabs .tabbar{bottom:calc(8px + env(safe-area-inset-bottom) + var(--dbh))}
html.lock .dbb{display:none}
html:not(.has-tabs) .dbb{display:none} /* cart/checkout/pay/done have a bottom action bar and no tab bar: never cover it */
html{--dbh:0px}
html.has-tabs{--tabh:calc(82px + env(safe-area-inset-bottom) + var(--dbh))}
body{padding-bottom:calc(160px + env(safe-area-inset-bottom) + var(--dbh))}
html.has-tabs body{padding-bottom:calc(var(--tabh) + 100px)}
.dbb[hidden]{display:none}
.dbb b{font-weight:800}
.dbb small{display:block;font-size:11.5px;font-weight:700;opacity:.8;margin-top:1px}
.dbb .db-ic{font-size:16px}
.dbb .db-x{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;background:transparent;font-size:20px;line-height:1;color:inherit;cursor:pointer}
.dbb.on{background:#000;color:var(--yellow)}
@media (max-width:480px){.dbb .db-ic{display:none}}
@media (min-width:768px){.dbb{font-size:14px;padding:7px 40px;max-width:720px;margin:0 auto}.dbb small{font-size:12.5px}}
.dbad-wrap{margin:10px 16px 14px}.dbad{width:100%;box-sizing:border-box;display:flex;align-items:center;gap:14px;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:0 1px 3px var(--shadow);color:var(--ink);cursor:default;user-select:text}
.dbad-ic{flex:none;width:52px;height:52px;display:flex;align-items:center;justify-content:center;font-size:26px;border-radius:12px;background:var(--sage-tint,#EEF4EF)}.dbad-txt{flex:1;min-width:0;font-weight:800;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
@media (max-width:430px){.dbad{gap:10px;padding:10px}.dbad-ic{width:46px;height:46px;font-size:22px;border-radius:11px}.dbad-txt{font-size:16px}}
@media (max-width:340px){.dbad-ic{width:40px;height:40px;font-size:19px}.dbad-txt{font-size:15px}}
