/* Guest app (mobile-first). Accent color comes from the restaurant's brand color. */
:root {
  --accent: #8b5cf6;
  --accent-rgb: 139, 92, 246;
  --bg: #0b0a10;
  --bg-2: #121019;
  --card: #17151f;
  --card-2: #1e1b28;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f2f8;
  --muted: #a09bb0;
  --faint: #6f6a80;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  background:
    radial-gradient(600px 300px at 50% -80px, rgba(var(--accent-rgb), 0.22), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--bg);
  background-attachment: fixed;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.shell { max-width: 480px; margin: 0 auto; min-height: 100dvh; position: relative; padding-bottom: 150px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px 12px;
  background: linear-gradient(var(--bg) 70%, rgba(11, 10, 16, 0));
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { height: 30px; width: 30px; border-radius: 8px; object-fit: cover; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.chip-ai {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 5px; padding: 6px 2px;
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); position: relative;
}
.icon-btn .dot { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }

/* ---------- Loading ---------- */
.skeleton { padding: 8px 18px; }
.sk-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.sk-bar { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #1c1926, #262233, #1c1926); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.sk-bar.sm { height: 8px; margin-top: 8px; opacity: 0.6; }
@keyframes shimmer { to { background-position: -200% 0; } }
.loading-bar { position: fixed; left: 50%; bottom: 46px; transform: translateX(-50%); width: min(300px, 70vw); text-align: center; color: var(--muted); font-size: 12px; }
.loading-bar .track { height: 4px; background: var(--card-2); border-radius: 4px; overflow: hidden; margin-top: 8px; }
.loading-bar .fill { height: 100%; width: 30%; background: var(--accent); border-radius: 4px; animation: load 1.6s ease-in-out infinite; }
@keyframes load { 0% { width: 10%; } 70% { width: 85%; } 100% { width: 95%; } }

/* ---------- Banners ---------- */
.banner {
  margin: 0 18px 12px; padding: 12px 14px; border-radius: 14px; display: flex; gap: 12px; align-items: center;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.08));
  border: 1px solid rgba(var(--accent-rgb), 0.4); font-size: 13.5px;
}
.banner .grow { flex: 1; min-width: 0; }
.banner b { display: block; font-size: 14px; }
.banner .muted { color: var(--muted); }
.banner .btn { padding: 8px 14px; font-size: 13px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent); }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* ---------- Menu ---------- */
.hero { padding: 6px 18px 10px; }
.hero h1 { margin: 0; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.hero p { margin: 6px 0 0; color: var(--muted); }
.cats {
  position: sticky; top: 60px; z-index: 15; display: flex; gap: 8px; overflow-x: auto; padding: 8px 18px 12px;
  scrollbar-width: none; background: linear-gradient(var(--bg) 75%, rgba(11, 10, 16, 0));
}
.cats::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); background: var(--bg-2); }
.cat-chip.on { background: var(--text); color: #111; border-color: var(--text); font-weight: 600; }

.section { padding: 6px 18px 4px; scroll-margin-top: 110px; }
.section h2 { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 18px 0 2px; }
.item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item .info { flex: 1; min-width: 0; }
.item .name { font-weight: 650; font-size: 15.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.item .desc { color: var(--muted); font-size: 13px; margin-top: 2px; }
.item .side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.item .price { font-weight: 700; }
.item.unavailable { opacity: 0.45; }
.tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.tag.GF { color: #86efac; border-color: rgba(134, 239, 172, 0.35); }
.tag.V, .tag.VG { color: #a7f3d0; border-color: rgba(167, 243, 208, 0.35); }
.tag.S { color: #fca5a5; border-color: rgba(252, 165, 165, 0.35); }
.tag.fav { color: var(--accent); border-color: rgba(var(--accent-rgb), 0.5); }
.add {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--text);
  transition: transform 0.15s, background 0.15s;
}
.add:active { transform: scale(0.9); }
.add.has { background: var(--accent); border-color: var(--accent); font-weight: 700; font-size: 13px; }

/* ---------- Bottom dock: cart + ask bar ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; pointer-events: none; }
.dock-inner { max-width: 480px; margin: 0 auto; padding: 0 14px calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; background: linear-gradient(rgba(11, 10, 16, 0), var(--bg) 40%); padding-top: 26px; }
.dock-inner > * { pointer-events: auto; }
.cart-pill {
  display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-radius: 16px;
  background: var(--accent); color: #fff; font-weight: 650; box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.4);
  animation: rise 0.25s ease-out;
}
.cart-pill .count { background: rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 1px 9px; margin-right: 8px; font-size: 13px; }
.ask {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.06);
}
.ask:focus-within { border-color: rgba(var(--accent-rgb), 0.7); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15); }
.ask .spark { color: var(--accent); flex: none; }
.ask input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 6px 0; font-size: 15px; }
.ask input::placeholder { color: var(--faint); }
.send { width: 34px; height: 34px; border-radius: 50%; background: var(--card-2); display: grid; place-items: center; color: var(--muted); flex: none; transition: background 0.15s; }
.send.ready { background: var(--text); color: #111; }
@keyframes rise { from { transform: translateY(10px); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; transition: transform 0.12s, opacity 0.15s; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn-white { background: var(--text); color: #111; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--muted); }
.btn-block { width: 100%; }
.link-btn { color: var(--muted); text-decoration: underline; font-size: 13px; padding: 8px; }

/* ---------- Overlays & sheets ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(5, 4, 9, 0.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 22px; animation: dim 0.2s; }
@keyframes fade { from { opacity: 0; } }
@keyframes dim { from { background-color: rgba(5, 4, 9, 0); } }
.modal {
  width: 100%; max-width: 400px; background: linear-gradient(180deg, #1d1928, #15131d); border: 1.5px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 24px; padding: 30px 24px 22px; text-align: center; box-shadow: var(--shadow), 0 0 60px rgba(var(--accent-rgb), 0.2);
  animation: pop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes pop { from { transform: scale(0.85) translateY(10px); } }
.eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.modal h3 { margin: 10px 0 0; font-size: 18px; font-weight: 500; }
.modal .big { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; margin: 2px 0; }
.modal .sub { color: var(--muted); margin-bottom: 20px; }
.modal .actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.gift { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--text); }

.page { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; animation: slide 0.28s ease-out; }
.page .inner { max-width: 480px; margin: 0 auto; padding: 18px 20px 40px; min-height: 100%; display: flex; flex-direction: column; }
@keyframes slide { from { transform: translateY(24px); } }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; padding: 6px 0; margin-bottom: 8px; }
.page h2 { font-size: 26px; letter-spacing: -0.02em; margin: 6px 0 4px; }
.page .lead { color: var(--muted); margin: 0 0 22px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.input-wrap { position: relative; }
.input, select.input, textarea.input {
  width: 100%; padding: 14px 44px 14px 16px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--line-2); outline: 0; font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.input { padding-right: 16px; min-height: 110px; resize: vertical; }
.input:focus { border-color: rgba(var(--accent-rgb), 0.8); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15); }
.input-wrap .ok { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; opacity: 0; transition: opacity 0.2s; }
.input-wrap.valid .ok { opacity: 1; }
.row2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 4px 0 18px; text-align: left; }
.consent input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin-top: 1px; }
.error { color: var(--bad); font-size: 13.5px; margin: -4px 0 12px; min-height: 1em; }
.fine { color: var(--faint); font-size: 11.5px; text-align: center; margin-top: 14px; }

/* ---------- Reward ticket ---------- */
.ticket {
  position: relative; border-radius: 22px; padding: 26px 20px 22px; text-align: center;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.05)); border: 1.5px solid rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.15);
}
.ticket::before, .ticket::after { content: ''; position: absolute; top: 58%; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1.5px solid rgba(var(--accent-rgb), 0.55); }
.ticket::before { left: -12px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -12px; clip-path: inset(0 50% 0 0); }
.ticket .ring { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; border: 2px solid var(--text); display: grid; place-items: center; }
.ticket .ring::after { content: ''; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--text); }
.ticket .title { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.ticket .for { color: var(--muted); font-size: 13px; margin-top: 2px; }
.ticket .cut { border-top: 1.5px dashed rgba(255, 255, 255, 0.2); margin: 18px -4px 14px; }
.ticket .code { font-size: 32px; font-weight: 800; letter-spacing: 0.06em; color: var(--accent); font-variant-numeric: tabular-nums; filter: brightness(1.25); }
.ticket .state { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.ticket .state.usable { background: rgba(52, 211, 153, 0.15); color: var(--good); }
.ticket.small { padding: 18px 16px 16px; text-align: left; display: flex; gap: 14px; align-items: center; }
.ticket.small::before, .ticket.small::after { display: none; }
.ticket.small .title { font-size: 16px; }
.ticket.small .code { font-size: 20px; }
.ticket.muted { filter: grayscale(1); opacity: 0.55; }
.validity { display: flex; align-items: center; gap: 14px; margin: 26px 4px 0; }
.validity .n { font-size: 44px; font-weight: 800; line-height: 1; }
.validity .lbl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.validity .lbl b { display: block; color: var(--accent); font-size: 15px; letter-spacing: 0.05em; }
.dots { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 4px 0; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); opacity: 0.85; animation: dot 0.4s backwards; }
@keyframes dot { from { transform: scale(0); } }

/* ---------- Chat ---------- */
.chat { position: fixed; inset: 0; z-index: 35; background: var(--bg); display: flex; flex-direction: column; animation: slide 0.22s ease-out; }
.chat .top { position: static; border-bottom: 1px solid var(--line); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 16px 150px; max-width: 480px; width: 100%; margin: 0 auto; }
.msg-user { display: flex; justify-content: flex-end; margin: 6px 0 14px; }
.msg-user span { background: var(--text); color: #111; padding: 10px 15px; border-radius: 18px 18px 4px 18px; max-width: 82%; font-size: 14.5px; }
.msg-ai { margin: 4px 0 20px; animation: rise 0.25s; }
.msg-ai .who { font-size: 12px; color: var(--accent); font-weight: 650; display: flex; align-items: center; gap: 5px; margin-bottom: 6px; }
.msg-ai .text { font-size: 15px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--card); border-radius: 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 50% { transform: translateY(-4px); opacity: 0.4; } }
.steps { list-style: none; padding: 0; margin: 4px 0; font-size: 13.5px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 8px; padding: 3px 0; animation: rise 0.25s backwards; }
.steps li svg { color: var(--accent); }
.mini-items { margin-top: 8px; }
.mini-items .item { padding: 10px 0; }
.pick-label { color: var(--accent); font-weight: 650; font-size: 14px; margin: 14px 0 8px; }
.top-pick { border: 1.5px solid rgba(var(--accent-rgb), 0.7); border-radius: 14px; padding: 12px 14px; position: relative; background: rgba(var(--accent-rgb), 0.08); }
.top-pick .badge { position: absolute; top: -9px; right: 12px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; background: var(--bg); border: 1px solid rgba(var(--accent-rgb), 0.7); color: var(--accent); padding: 2px 8px; border-radius: 999px; }
.top-pick .item { border: 0; padding: 0; }
.add-order { margin-top: 10px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.suggestions button { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); background: var(--bg-2); }

/* ---------- Cart ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 45; background: rgba(5, 4, 9, 0.6); display: flex; align-items: flex-end; justify-content: center; animation: dim 0.2s; }
.sheet { width: 100%; max-width: 480px; max-height: 88dvh; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); animation: up 0.28s ease-out; }
@keyframes up { from { transform: translateY(40px); } }
.grabber { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 14px; }
.sheet h3 { margin: 0 0 4px; font-size: 21px; }
.line { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line .grow { flex: 1; min-width: 0; }
.line .note { width: 100%; margin-top: 6px; background: transparent; border: 0; border-bottom: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; padding: 3px 0; outline: 0; }
.qty { display: flex; align-items: center; gap: 2px; background: var(--card); border-radius: 999px; border: 1px solid var(--line); }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; font-size: 18px; color: var(--muted); }
.qty span { min-width: 18px; text-align: center; font-weight: 650; }
.totals { margin: 14px 0; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.totals .grand { color: var(--text); font-weight: 750; font-size: 17px; padding-top: 8px; }
.totals .disc { color: var(--good); }
.reward-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed rgba(var(--accent-rgb), 0.6); margin: 12px 0 4px; background: rgba(var(--accent-rgb), 0.06); }
.reward-toggle input { width: 20px; height: 20px; accent-color: var(--accent); }
.reward-toggle .hint { color: var(--muted); font-size: 12.5px; }

/* ---------- Order status ---------- */
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.check-ring { width: 96px; height: 96px; border-radius: 50%; border: 2.5px solid var(--accent); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.35); animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1); }
.check-ring svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.5s 0.25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.progress { display: flex; justify-content: space-between; width: 100%; max-width: 320px; margin: 28px auto 10px; position: relative; }
.progress::before { content: ''; position: absolute; top: 7px; left: 8%; right: 8%; height: 2px; background: var(--line-2); }
.progress div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; color: var(--faint); width: 25%; }
.progress div i { width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.progress div.on { color: var(--text); }
.progress div.on i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6); }
.receipt { width: 100%; text-align: left; background: var(--card); border-radius: 16px; padding: 8px 16px; margin-top: 18px; border: 1px solid var(--line); font-size: 14px; }
.receipt .r { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); }
.receipt .r:last-child { border: 0; font-weight: 700; }

/* ---------- Feedback ---------- */
.stars { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.stars button { width: 48px; height: 48px; transition: transform 0.15s; }
.stars button:active { transform: scale(0.85); }
.stars svg { width: 100%; height: 100%; }
.stars .on path { fill: #c4b5fd; stroke: #c4b5fd; filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.7)); }
.stars path { fill: transparent; stroke: var(--line-2); stroke-width: 1.5; transition: fill 0.2s; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.quick button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.quick button.on { border-color: var(--accent); color: var(--text); background: rgba(var(--accent-rgb), 0.15); }

/* ---------- Wallet ---------- */
.points-card { border-radius: 22px; padding: 22px; background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.35), rgba(var(--accent-rgb), 0.08)); border: 1px solid rgba(var(--accent-rgb), 0.45); margin-bottom: 20px; }
.points-card .n { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.points-card .bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); margin: 16px 0 8px; overflow: hidden; }
.points-card .bar i { display: block; height: 100%; background: var(--text); border-radius: 8px; transition: width 0.8s; }
.points-card .muted { color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.list-title { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 24px 0 10px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.refer { border-radius: 22px; padding: 22px; text-align: center; border: 1.5px solid rgba(var(--accent-rgb), 0.55); background: var(--card); margin-top: 22px; }
.refer .people { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 8px 0 14px; color: var(--text); }
.refer .people span { width: 30px; height: 2px; background: currentColor; }
.refer h3 { margin: 0; font-size: 22px; text-transform: uppercase; font-weight: 800; }

.toast { position: fixed; left: 50%; bottom: 130px; transform: translateX(-50%); z-index: 90; background: var(--text); color: #111; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); animation: toastin 0.2s; max-width: calc(100% - 40px); text-align: center; }
.empty { text-align: center; color: var(--muted); padding: 50px 20px; }
.powered { text-align: center; color: var(--faint); font-size: 11px; padding: 30px 0 10px; }
.powered a { color: var(--faint); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition: none !important; } }
@keyframes toastin { from { transform: translate(-50%, 10px); } }
