
/* ==== Round 7 · the S$1 by PayNow, how we'll pay, order photos, ✦ matching (additions) ====
   Tokens first; aliases on :root and every [data-theme] so they re-resolve in dark.
   Hard rule: no dashboards. Badges are words. Nothing here draws a total, a meter, a counter or a number badge. */
:root,[data-theme]{
--hp-own-edge:var(--line-strong);--hp-own-ink:var(--ink-2);
--hp-treat:var(--kopi-soft);--hp-treat-ink:var(--kopi);
--hp-even:var(--paper-sunk);--hp-even-ink:var(--ink);--hp-even-edge:var(--line-strong);
--hp-items-edge:var(--kopi);--hp-items-ink:var(--ink);
--sug:var(--helper-spark);--sug-soft:var(--helper-fill);
--ord-edge:var(--line-strong);--ord-wait:var(--paper-sunk);
--fee-flag:var(--maybe-soft);--fee-flag-ink:var(--maybe);
--r-hp:8px;--r-order:10px;--ord-th:72px;
}
/* how we'll pay: four word badges. Shape carries the difference (outline · filled warm · filled plain · dashed); colour only helps */
.hp{height:26px;padding:0 10px 0 8px;border-radius:var(--r-hp);display:inline-flex;align-items:center;gap:6px;font:600 13px/1 var(--font-body);white-space:nowrap;flex:none;border:1.5px solid transparent;letter-spacing:0}
.hp .ic{width:15px;height:15px;flex:none}
.hp.own{border-color:var(--hp-own-edge);color:var(--hp-own-ink)}
.hp.treat{background:var(--hp-treat);color:var(--hp-treat-ink)}
.hp.even{background:var(--hp-even);color:var(--hp-even-ink);border-color:var(--hp-even-edge)}
.hp.items{border-style:dashed;border-color:var(--hp-items-edge);color:var(--hp-items-ink)}
.hp.lg{height:32px;font-size:15px;padding:0 12px 0 10px;border-radius:10px}.hp.lg .ic{width:17px;height:17px}
.hpx{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap}
.hpx .t-sub{text-wrap:pretty}
.snap7{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;border:1.5px dashed var(--hp-items-edge);font-size:15px;line-height:1.4;color:var(--ink)}
.snap7 .ic{flex:none;margin-top:1px;color:var(--kopi)}
/* the S$1 sheet: the owner's QR card, three steps, one honest button */
.nkav{width:40px;height:40px;border-radius:20px;background:var(--paper-sunk);display:grid;place-items:center;flex:none}
.st7{display:flex;flex-direction:column;gap:6px;counter-reset:s;padding:0;margin:0;list-style:none}
.st7 li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:center;font-size:var(--t-sub);color:var(--ink);line-height:1.35}
.st7 li:before{counter-increment:s;content:counter(s);width:24px;height:24px;border-radius:12px;background:var(--paper-sunk);display:grid;place-items:center;font:700 12px var(--font-body);color:var(--ink)}
.alt7{align-self:center;height:44px;padding:0 8px;font:600 15px var(--font-body);color:var(--ink-2);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-strong)}
.flag7{background:var(--fee-flag);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.45;color:var(--ink);text-wrap:pretty}
.flag7 b{font-weight:600}
/* /admin → Fees: a list to tick off, not a ledger */
.fee{display:grid;grid-template-columns:40px minmax(0,1.5fr) 72px 104px minmax(0,1fr) 220px;gap:14px;align-items:center;padding:14px 20px;border-top:1px solid var(--line)}
.fee .n{font:600 16px/1.3 var(--font-body);color:var(--ink)}.fee .s{font-size:var(--t-cap);color:var(--ink-2);line-height:1.35}
.fee .amt{font:600 16px var(--font-body);font-variant-numeric:tabular-nums}.fee .ref{font:500 14px var(--font-mono);color:var(--ink)}.fee .w{font-size:14px;color:var(--ink-2)}
.fee .acts{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.fee .note7{grid-column:2/-1;font-size:14px;line-height:1.4;color:var(--ink);text-wrap:pretty}
.fee.flag{background:var(--fee-flag)}
/* order photos: square, edged, in their own card. Moments are 3:4 and live in the strip */
.ord .orow{display:flex;gap:8px;flex-wrap:wrap}
.oth{width:var(--ord-th);height:var(--ord-th);border-radius:var(--r-order);overflow:hidden;position:relative;flex:none;padding:0;display:block;box-shadow:0 0 0 1px var(--ord-edge)}
.oth>.img{position:absolute;inset:0;height:auto;font-size:8.5px;padding:5px;line-height:1.25;align-items:flex-start}
.oth.add{box-shadow:none;border:1.5px dashed var(--line-strong);display:grid;place-items:center;color:var(--kopi)}
.oth.wait{box-shadow:none;background:var(--ord-wait);border:1.5px dashed var(--line-strong);display:grid;place-items:center;color:var(--ink-3)}
.oth.sm{--ord-th:40px;border-radius:8px}.oth.sm>.img{font-size:0;padding:0}
.plab{height:20px;padding:0 7px;border-radius:6px;background:var(--paper-sunk);font:500 11px/20px var(--font-mono);color:var(--ink);white-space:nowrap}
.mgrid{display:flex;gap:8px;flex-wrap:wrap}
/* ✦ matching: a guess is marked, a decision isn't */
.sg{color:var(--sug);font-size:14px;line-height:1;flex:none}
.al .who.sug .stk .av{outline:1.5px dashed var(--sug);outline-offset:1px}
.al .why{grid-column:1/-1;display:flex;gap:6px;align-items:flex-start;font-size:13px;line-height:1.35;color:var(--ink);text-wrap:pretty}
.pick2{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap;padding:2px 0 4px}
.pick2 button{height:40px;padding:0 12px 0 5px;border-radius:20px;background:var(--paper-raised);border:1px solid var(--line-strong);display:inline-flex;align-items:center;gap:7px;font:600 14px var(--font-body);color:var(--ink)}
.pick2 button.else{padding-left:12px}
.tray .ostrip{display:flex;align-items:center;gap:6px;padding:0 6px}
.tray .ostrip .l{font:600 13px var(--font-body);color:var(--ink-2);margin-right:auto}
.tray .ostrip a{font:600 13px var(--font-body);padding:0 4px}
.btn.q7{background:transparent;border:1.5px solid var(--line);color:var(--ink-3)}
.pr .sg{font-size:12px;margin-left:2px}
/* share preview and the chat line (drawn plainly) */
.share7{background:var(--paper-sunk);border-radius:18px 18px 18px 6px;padding:12px 14px;font-size:16px;line-height:1.45;color:var(--ink);text-wrap:pretty}
.share7 a{font-weight:600}
@media (prefers-reduced-motion:reduce){.hp{transition:none}}
/* round 7 · C: our own square camera for "what you ordered" */
.cam7{position:fixed;inset:0;z-index:90;background:#000;display:flex;flex-direction:column}
.cam7 video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cam7 .sq{position:absolute;left:50%;top:44%;width:min(86vw,420px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:22px;box-shadow:0 0 0 100vmax rgba(0,0,0,.55);outline:2px solid rgba(255,255,255,.9)}
.cam7 .pill{position:absolute;left:50%;top:-44px;transform:translateX(-50%);white-space:nowrap;padding:6px 14px;border-radius:999px;background:rgba(251,248,242,.92);color:#1B2F45;font:600 14px var(--font-body)}
.cam7 .bar{position:absolute;left:0;right:0;bottom:calc(env(safe-area-inset-bottom,0px) + 28px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 28px}
.cam7 .bar .iconbtn{color:#fff;background:rgba(255,255,255,.14)}
.cam7 .shut{width:74px;height:74px;border-radius:50%;background:#fff;border:5px solid rgba(255,255,255,.45);background-clip:padding-box}
.cam7 .thumb{justify-self:end;width:56px;height:56px;border-radius:12px;border:2px solid #fff;background-size:cover;background-position:center}
