@font-face{font-family:"Archivo";font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter.woff2) format("woff2")}

:root{
  --char:#1b201f; --char-2:#242a29; --char-3:#2f3635;
  --sage:#6c9392; --sage-dk:#4d7170; --sage-lt:#a8c6c0; --mint:#bfe2d6;
  --cream:#f4efe6; --kraft:#e6d8bf; --paper:#fbf8f3;
  --ink:#1b201f; --muted:#5d6664; --line:rgba(27,32,31,.12);
  --open:#1f7a52; --closed:#a8441f;
  --radius:18px; --radius-sm:12px;
  --display:"Archivo", "Arial Narrow", system-ui, sans-serif;
  --body:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tab:64px;
  --hex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1.2'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1.2'/%3E%3C/svg%3E");
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%;background:#cfc3aa}
html{-webkit-text-size-adjust:100%}
body{
  font-family:var(--body);
  font-size:15px;
  line-height:1.45;
  color:var(--ink);
  background:#d9cbb0;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
button,input{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

#app{
  width:min(100%,430px);
  min-height:100dvh;
  min-height:100vh;
  margin:0 auto;
  background:var(--paper);
  position:relative;
  display:flex;
  flex-direction:column;
  box-shadow:0 0 0 1px rgba(27,32,31,.08), 0 18px 50px rgba(27,32,31,.18);
}
@media (min-width:500px){
  body{padding:24px 0;background:#c9b894}
  #app{min-height:calc(100vh - 48px);border-radius:28px;overflow:hidden}
}

.top{
  position:sticky;top:0;z-index:20;
  display:flex;align-items:center;gap:10px;
  min-height:56px;padding:8px 16px;
  background:var(--char);
  color:#fff;
  background-image:var(--hex);
}
.top__logo{width:34px;height:38px;object-fit:contain;flex:none}
.top__name{
  font-family:var(--display);
  font-stretch:70%;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.01em;
  line-height:.9;
  font-size:15px;
}
.top__name span{display:block;font-family:var(--body);font-weight:600;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--sage-lt);margin-top:3px}

.screens{flex:1;position:relative;overflow:hidden}
.screen{
  position:absolute;inset:0;
  overflow:auto;
  padding:16px 16px calc(var(--tab) + 18px);
  -webkit-overflow-scrolling:touch;
}
.screen.is-off{visibility:hidden;pointer-events:none}

h1,.display{
  font-family:var(--display);
  font-stretch:68%;
  font-weight:850;
  text-transform:uppercase;
  line-height:.92;
  letter-spacing:-.005em;
  margin:0;
}
.greet{font-size:34px;margin:2px 0 14px}
.eyebrow{
  margin:0 0 8px;
  font:650 11.5px/1 var(--body);
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--sage-dk);
}
.sec-title{font-size:22px;margin:22px 0 10px}
.note{
  margin:8px 0 0;
  font-size:12.5px;
  color:var(--muted);
  line-height:1.4;
}

.points{
  position:relative;
  overflow:hidden;
  background:var(--char) var(--hex);
  color:#fff;
  border-radius:var(--radius);
  padding:18px 18px 16px;
}
.points__label{font:650 11px/1 var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--sage-lt);margin:0 0 8px}
.points__row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.points__bal{font-family:var(--display);font-stretch:68%;font-weight:850;font-size:52px;line-height:.85;letter-spacing:-.02em}
.points__bal small{display:block;font-size:14px;margin:8px 0 0;letter-spacing:.04em;text-transform:none}
.points__next{font-size:13px;color:rgba(255,255,255,.78);text-align:right;max-width:46%}
.bar{height:8px;border-radius:99px;background:rgba(255,255,255,.14);margin:14px 0 8px;overflow:hidden}
.bar>i{display:block;height:100%;width:var(--p,40%);background:var(--mint);border-radius:99px}
.points__rate{margin:0;font-size:11.5px;color:rgba(255,255,255,.62)}

.usual{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  text-align:left;
  width:100%;
  padding:0;
}
.usual img{width:92px;height:100%;min-height:108px;object-fit:cover}
.usual__body{padding:12px 14px 12px 12px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.usual__body b{font-family:var(--display);font-stretch:72%;font-weight:800;text-transform:uppercase;font-size:16px;line-height:1;margin:2px 0 4px}
.usual__body p{margin:0 0 10px;font-size:13px;color:var(--muted)}
.chip-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:0 14px;
  border-radius:999px;
  background:var(--char);color:#fff;
  font:650 13px/1 var(--body);
}

.sites{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.site{
  position:relative;
  display:block;width:100%;padding:0;
  border-radius:16px;overflow:hidden;
  border:1.5px solid var(--line);
  background:#fff;
  text-align:left;
  color:inherit;
}
.site.is-on{border-color:var(--char);box-shadow:0 0 0 1px var(--char)}
.site img{width:100%;height:86px;object-fit:cover}
.site__meta{padding:8px 10px 10px}
.site__meta b{display:block;font:700 13.5px/1.15 var(--body)}
.site__meta span{display:block;margin-top:2px;font-size:11.5px;color:var(--muted)}
.site__note{display:block;margin-top:5px;font-size:10.5px;line-height:1.3;color:var(--muted)}
.badge{
  position:absolute;top:8px;left:8px;
  height:20px;padding:0 8px;
  border-radius:999px;
  font:700 10px/20px var(--body);
  letter-spacing:.04em;
  text-transform:uppercase;
  background:var(--mint);color:var(--char);
}
.badge.soon{background:rgba(27,32,31,.78);color:#fff}

.order-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:12px}
.order-head h1{font-size:26px}
.cats{
  position:sticky;top:-16px;z-index:5;
  display:flex;gap:6px;
  margin:0 -16px 14px;
  padding:8px 16px;
  background:linear-gradient(var(--paper) 70%, rgba(251,248,243,0));
  overflow-x:auto;scrollbar-width:none;
}
.cats::-webkit-scrollbar{display:none}
.cat{
  flex:none;
  height:32px;padding:0 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font:650 13px/32px var(--body);
  color:var(--ink);
}
.cat.is-on{background:var(--char);color:#fff;border-color:var(--char)}

.menu-sec{margin:0 0 18px}
.menu-sec h2{font-size:20px;margin:0 0 8px}

.item{
  display:grid;
  grid-template-columns:1fr 86px;
  gap:10px;
  width:100%;
  margin:0 0 8px;
  padding:10px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  text-align:left;
  align-items:stretch;
  position:relative;
}
.item__txt{display:flex;flex-direction:column;min-width:0;padding:2px 2px 0}
.item__txt b{font:650 14.5px/1.2 var(--body)}
.item__txt p{margin:4px 0 0;font-size:12px;color:var(--muted);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.price{margin-top:auto;padding-top:8px;font:700 14px/1 var(--body)}
.item__pic{position:relative;width:86px;height:86px;border-radius:12px;overflow:hidden;background:var(--cream)}
.item__pic img{width:100%;height:100%;object-fit:cover}
.add{
  position:absolute;right:6px;bottom:6px;
  width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;
  background:#fff;color:var(--char);
  box-shadow:0 2px 8px rgba(0,0,0,.2);
  font:750 18px/1 var(--body);
}
.qty{
  position:absolute;right:6px;bottom:6px;
  display:flex;align-items:center;gap:0;
  height:28px;border-radius:999px;background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.2);
  overflow:hidden;
}
.qty button{width:26px;height:28px;display:grid;place-items:center;font-weight:700}
.qty span{font:700 12px/1 var(--body);min-width:14px;text-align:center}

.basket{
  margin:8px -4px 0;
  padding:14px 14px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 8px 24px rgba(27,32,31,.06);
}
.basket h2{font-size:18px;margin:0 0 10px}
.line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;font-size:13.5px}
.line b{font-weight:650}
.line .muted{color:var(--muted);font-weight:400}
.toggle{
  display:flex;align-items:flex-start;gap:10px;
  margin:8px 0;
  padding:10px 10px;
  border-radius:14px;
  background:var(--cream);
  text-align:left;width:100%;
}
.toggle__sw{
  flex:none;width:40px;height:24px;border-radius:999px;
  background:rgba(27,32,31,.22);position:relative;margin-top:1px;
  transition:background .15s;
}
.toggle__sw i{
  position:absolute;top:2px;left:2px;
  width:20px;height:20px;border-radius:50%;background:#fff;
  transition:left .15s;
  box-shadow:0 1px 4px rgba(0,0,0,.2);
}
.toggle.is-on .toggle__sw{background:var(--open)}
.toggle.is-on .toggle__sw i{left:18px}
.toggle b{display:block;font:650 13.5px/1.25 var(--body)}
.toggle span{display:block;margin-top:2px;font-size:12px;color:var(--muted)}

.earn{margin:4px 0 10px;font-size:12.5px;color:var(--muted)}
.slots-label{margin:0 0 8px;font:650 11.5px/1 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--sage-dk)}
.slots{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 0 12px;padding-bottom:2px}
.slots::-webkit-scrollbar{display:none}
.slot{
  flex:none;height:36px;padding:0 12px;
  border-radius:999px;border:1px solid var(--line);
  background:var(--paper);font:650 13px/36px var(--body);
}
.slot.is-on{background:var(--char);color:#fff;border-color:var(--char)}
.tot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
.tot b{font-family:var(--display);font-stretch:72%;font-weight:800;font-size:22px;text-transform:uppercase}
.cta{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-height:48px;margin-top:10px;
  border-radius:999px;background:var(--char);color:#fff;
  font:650 15px/1 var(--body);
}
.cta[disabled]{opacity:.45;cursor:not-allowed}
.soon-panel{
  margin:24px 0;
  padding:28px 18px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.soon-panel h2{font-size:28px;margin:0 0 8px}
.soon-panel p{margin:0;color:var(--muted)}

.tier{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;align-items:center;
  padding:12px;
  margin:0 0 8px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
}
.tier__pts{
  width:54px;height:54px;border-radius:14px;
  display:grid;place-content:center;text-align:center;
  background:var(--cream);
  font-family:var(--display);font-stretch:72%;font-weight:850;font-size:18px;line-height:.9;
}
.tier__pts img{display:block;width:22px;height:22px;margin:0 auto 2px}
.tier__pts small{display:block;font-family:var(--body);font-weight:650;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:2px}
.tier b{display:block;font:650 14.5px/1.2 var(--body)}
.tier p{margin:3px 0 0;font-size:12px;color:var(--muted)}
.pill{
  height:22px;padding:0 8px;border-radius:999px;
  font:700 10.5px/22px var(--body);letter-spacing:.04em;text-transform:uppercase;
  background:var(--kraft);color:var(--char);
}
.pill.ready{background:var(--mint)}

.hist{list-style:none;margin:0;padding:0}
.hist li{
  display:flex;justify-content:space-between;gap:12px;
  padding:11px 0;
  border-top:1px solid var(--line);
  font-size:13.5px;
}
.hist li:first-child{border-top:0}
.hist .muted{color:var(--muted);font-size:12px;margin-top:2px}
.hist .plus{color:var(--open);font-weight:700}
.hist .minus{color:var(--closed);font-weight:700}

.card{
  background:var(--char) var(--hex);
  color:#fff;
  border-radius:22px;
  padding:20px 18px 18px;
  text-align:center;
}
.card img.logo{width:64px;height:70px;object-fit:contain;margin:0 auto 8px}
.card h1{font-size:22px;margin:0 0 2px}
.card .who{margin:0 0 14px;color:rgba(255,255,255,.75);font-size:13.5px}
.card .qr{
  width:200px;height:200px;margin:0 auto;
  padding:10px;border-radius:16px;background:#fbf8f3;
}
.card .qr img{width:100%;height:100%;object-fit:contain}
.card .warn{
  margin:14px 0 0;
  font-size:12px;
  color:var(--mint);
  line-height:1.4;
}

.acct-list{margin:18px 0 0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.acct-row{
  display:flex;justify-content:space-between;align-items:center;
  width:100%;padding:13px 14px;text-align:left;
  border-top:1px solid var(--line);
  font-size:14px;
}
.acct-row:first-child{border-top:0}
.acct-row span{color:var(--muted);font-size:13px}

.toast{
  position:fixed;left:50%;bottom:calc(var(--tab) + 16px);
  transform:translateX(-50%) translateY(20px);
  max-width:min(360px, calc(100% - 32px));
  padding:12px 16px;border-radius:14px;
  background:var(--char);color:#fff;
  font-size:13.5px;line-height:1.35;
  opacity:0;pointer-events:none;
  transition:opacity .2s, transform .2s;
  z-index:40;
  box-shadow:0 10px 30px rgba(27,32,31,.3);
}
.toast.on{opacity:1;transform:translateX(-50%) translateY(0)}

.tabs{
  position:sticky;bottom:0;z-index:25;
  display:grid;grid-template-columns:repeat(4,1fr);
  height:var(--tab);
  margin-top:auto;
  background:rgba(251,248,243,.96);
  border-top:1px solid var(--line);
  backdrop-filter:blur(10px);
  padding:0 4px env(safe-area-inset-bottom,0);
}
.tab{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  color:var(--muted);font:650 10.5px/1 var(--body);
}
.tab svg{width:22px;height:22px}
.tab.is-on{color:var(--char)}
.tab .dot{
  display:none;position:absolute;
}

/* Screenshot helpers: lock a phone-sized frame and hide page chrome */
html.shot,html.shot body{background:#fff;padding:0;width:390px;height:844px;overflow:hidden}
html.shot #app{width:390px;height:844px;min-height:844px;border-radius:0;box-shadow:none;overflow:hidden}
html.shot .screen{overflow:hidden}
html.shot .toast{display:none}

html.shot-order #screen-order{display:flex;flex-direction:column;padding-bottom:calc(var(--tab) + 8px)}
html.shot-order #order-live{display:flex;flex-direction:column;flex:1;min-height:0}
html.shot-order #menu{flex:none}
html.shot-order .basket{margin-top:8px}
html.shot-order .cats{top:0}

.cats,.basket{flex-shrink:0}

html.shot .screen{padding:12px 16px calc(var(--tab) + 14px)}
html.shot .greet{font-size:30px;margin:0 0 10px}
html.shot .sec-title{margin:12px 0 8px;font-size:20px}
html.shot .points{padding:14px 16px 12px}
html.shot .points__bal{font-size:44px}
html.shot .points__next{font-size:12.5px}
html.shot .bar{margin:12px 0 8px}
html.shot .usual img{min-height:96px}
html.shot .site img{height:64px}
html.shot .site__meta{padding:6px 9px 8px}
html.shot .eyebrow{margin:0 0 6px}

html.shot-order .cats{position:static;margin:0 0 8px;padding:0;background:none}
html.shot-order .item{padding:8px;margin-bottom:6px}
html.shot-order .item__pic{width:76px;height:76px}
html.shot-order .item__txt p{-webkit-line-clamp:1}
html.shot-order .menu-sec h2{font-size:18px;margin:0 0 6px}
html.shot-order .basket{padding:12px 12px 10px;margin-top:4px}
html.shot-order .cta{min-height:44px;margin-top:8px}
html.shot-order .earn{margin:2px 0 8px}
html.shot-order .order-head{margin-bottom:8px}

html.shot #screen-rewards .note{margin:0 0 8px}
html.shot .tier{padding:8px 10px;margin-bottom:6px}
html.shot .tier__pts{width:48px;height:48px;font-size:16px}
html.shot .hist li{padding:8px 0}
html.shot .hist li:nth-child(n+3){display:none}

html.shot .card{padding:16px 16px 14px}
html.shot .card .qr{width:180px;height:180px}
html.shot .card img.logo{width:52px;height:58px;margin-bottom:4px}

/* Live app additions */
.deal{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 14px;border-radius:16px;background:var(--mint,#bfe2d6);color:#1b201f}
.deal b{display:block;font-family:var(--display);font-stretch:72%;font-weight:850;text-transform:uppercase;font-size:22px;line-height:1}
.deal span{font-size:13px;line-height:1.35}
.deal .pct{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:0;background:transparent;padding:0}
.deal .pct img{width:54px;height:54px;display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border:0;border-radius:999px;background:#1b201f;color:#fff;font-weight:700;font-size:15px;text-decoration:none;cursor:pointer}
.btn.light{background:#fff;color:#1b201f;border:1px solid rgba(27,32,31,.16)}
.btn.block{width:100%}
.signin{margin:14px 0 0;padding:16px;border-radius:16px;background:#fff;border:1px solid rgba(27,32,31,.1)}
.signin p{margin:0 0 12px;font-size:14px;color:#5d6664}
.thanksbox{margin:0 0 14px;padding:14px 16px;border-radius:16px;background:#1b201f;color:#fff}
.thanksbox b{display:block;font:850 22px/1 var(--display);font-stretch:72%;text-transform:uppercase;color:#bfe2d6;margin-bottom:4px}
.thanksbox p{margin:0;font-size:14px;color:rgba(255,255,255,.85)}
.ex{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.14);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.card .qr canvas,.card .qr svg{width:100%;height:100%}
.err{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#fbe9e4;color:#a8441f;font-size:14px}
a.site{text-decoration:none;color:inherit}

/* B.R.G Tycoon tile on the home screen (opens /app-afpbi8/tycoon, inside the app) */
.game{display:flex;align-items:center;gap:12px;margin:14px 0 4px;padding:12px 14px;border-radius:16px;background:var(--char) var(--hex);color:#fff;text-decoration:none}
.game__icon{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:12px;background:#120a1c}
.game__text{flex:1;min-width:0;font-size:13px;line-height:1.35;color:var(--sage-lt)}
.game__text b{display:block;font-family:var(--display);font-stretch:72%;font-weight:850;text-transform:uppercase;font-size:22px;line-height:1;color:#fff;margin-bottom:3px}
.game__go{flex:none;font-size:30px;line-height:1;color:var(--mint)}
