/* =========================================================
   MAKI TAKI — native-style mobile web app (PWA mockup)
   ========================================================= */
html, body { height: 100%; }
body { margin: 0; background: #0a0908; color: var(--tx); overflow: hidden; -webkit-tap-highlight-color: transparent; }
button, a, .tap { -webkit-user-select: none; user-select: none; }

/* ---------- Presentation stage (desktop) ---------- */
.stage { position: fixed; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 48px; padding: 20px 40px; background: radial-gradient(900px 600px at 50% 110%, rgba(242,102,58,.16), transparent 60%), radial-gradient(700px 500px at 0% 0%, rgba(210,171,99,.08), transparent 60%), #0a0908; }
.side { align-self: center; max-width: 360px; }
.side.l { justify-self: end; }
.side.r { justify-self: start; }
.side .eyebrow { display: block; margin-bottom: 10px; }
.side h1 { font-family: var(--f-display); font-size: 38px; line-height: 1.05; }
.side p { color: var(--tx-2); font-size: 14.5px; margin-top: 12px; }
.jump { display: grid; gap: 4px; margin-top: 22px; max-height: 46vh; overflow-y: auto; padding-right: 6px; }
.jump button { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; text-align: left; font-size: 13.5px; font-weight: 600; color: var(--tx-2); transition: .15s; }
.jump button:hover { background: var(--ink-3); color: var(--tx); }
.jump button.on { background: var(--ink-4); color: var(--tx); }
.jump button span { font-family: var(--f-mono); font-size: 11px; color: var(--tx-3); width: 20px; }
.jump h6 { margin: 12px 12px 4px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--salmon); }
.ctrls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ctrls .btn { height: 36px; font-size: 12.5px; padding: 0 14px; }
.explain { padding: 24px; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); }
.explain h2 { font-family: var(--f-display); font-size: 28px; margin: 6px 0 10px; }
.explain p { color: var(--tx-2); font-size: 14.5px; }
.explain ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.explain li { display: flex; gap: 10px; font-size: 13.5px; color: var(--tx-2); }
.explain li::before { content: "✦"; color: var(--salmon); flex: none; }
.explain .try { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(210,171,99,.1); border: 1px solid rgba(210,171,99,.25); color: #f1d9a6; font-size: 13px; }
.explain .try b { color: #f5e6c8; }
.side-links { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.side-links a { font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--tx-2); }
.side-links a:hover { color: var(--tx); border-color: var(--tx-3); }

.device { position: relative; width: 414px; height: 868px; border-radius: 62px; padding: 12px; background: linear-gradient(145deg, #34302b, #0f0e0c 60%, #24211d); box-shadow: 0 0 0 1px #45403a, inset 0 0 0 2px #151311, 0 60px 120px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(242,102,58,.25); transform-origin: center center; flex: none; }
.device::after { content: ""; position: absolute; right: -3px; top: 190px; width: 4px; height: 90px; border-radius: 0 4px 4px 0; background: #2b2723; }
.island { position: absolute; z-index: 60; top: 23px; left: 50%; transform: translateX(-50%); width: 122px; height: 36px; border-radius: 22px; background: #000; transition: width .45s cubic-bezier(.2,.8,.2,1), height .45s cubic-bezier(.2,.8,.2,1); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; overflow: hidden; }
.island.live { width: 196px; }
.island .il { display: none; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; }
.island.live .il { display: flex; }
.island .il i { width: 8px; height: 8px; border-radius: 50%; background: var(--salmon); animation: pulse 1.6s infinite; }

@media (max-width: 1180px) { .side.r { display: none; } .stage { grid-template-columns: 1fr auto; } }
@media (max-width: 820px) { .side.l { display: none; } .stage { grid-template-columns: 1fr; justify-items: center; } }

/* ---------- Real phone: full screen, no frame ---------- */
@media (max-width: 520px) {
  .stage { display: block; padding: 0; background: var(--ink); }
  .side { display: none; }
  .device { width: 100%; height: 100%; border-radius: 0; padding: 0; background: none; box-shadow: none; transform: none !important; }
  .device::after, .island { display: none; }
  .app { border-radius: 0 !important; }
  .sbar { display: none !important; }
  .app { --top: env(safe-area-inset-top, 0px); }
}

/* ---------- App shell ---------- */
.app { --top: 50px; --bot: 26px; position: relative; width: 100%; height: 100%; border-radius: 50px; overflow: hidden; background: var(--ink); isolation: isolate; font-size: 15px; }
.app[dir="rtl"] { font-family: 'Noto Kufi Arabic', var(--f-ui); }
.sbar { position: absolute; z-index: 55; top: 0; left: 0; right: 0; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 40px; font-size: 15px; font-weight: 700; pointer-events: none; color: var(--tx); transition: color .3s; }
.sbar.dark { color: var(--ink); }
.sbar .r { display: flex; gap: 6px; align-items: center; }
.home-ind { position: absolute; z-index: 70; bottom: 8px; left: 50%; transform: translateX(-50%); width: 136px; height: 5px; border-radius: 3px; background: rgba(245,239,229,.85); pointer-events: none; }
@media (max-width: 520px) { .home-ind { display: none; } }

/* Screens stack */
.scr { position: absolute; inset: 0; background: var(--ink); display: flex; flex-direction: column; will-change: transform; }
.scr.enter { animation: sIn .42s cubic-bezier(.2,.85,.25,1) both; }
.scr.leave { animation: sOut .42s cubic-bezier(.2,.85,.25,1) both; }
.scr.under-in { animation: uIn .42s cubic-bezier(.2,.85,.25,1) both; }
.scr.under-out { animation: uOut .42s cubic-bezier(.2,.85,.25,1) both; }
.scr.fade { animation: fIn .35s ease both; }
.scr.up { animation: upIn .45s cubic-bezier(.2,.85,.25,1) both; }
@keyframes sIn { from { transform: translateX(100%); box-shadow: -30px 0 60px rgba(0,0,0,.5); } to { transform: none; } }
@keyframes sOut { to { transform: translateX(100%); } }
@keyframes uIn { from { transform: translateX(-28%); filter: brightness(.6); } to { transform: none; } }
@keyframes uOut { to { transform: translateX(-28%); filter: brightness(.6); } }
@keyframes fIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes upIn { from { transform: translateY(100%); } to { transform: none; } }
.app[dir="rtl"] .scr.enter { animation-name: sInR; }
@keyframes sInR { from { transform: translateX(-100%); } to { transform: none; } }

.body { flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; padding-bottom: 110px; }
.body::-webkit-scrollbar { display: none; }
.body.nopad { padding-bottom: 30px; }
.pad { padding: 0 20px; }

/* Nav bar */
.nav { flex: none; position: relative; z-index: 5; padding: calc(var(--top) + 4px) 14px 10px; display: flex; align-items: center; gap: 8px; min-height: 52px; background: rgba(13,12,11,.86); backdrop-filter: blur(20px) saturate(1.4); }
.nav.clear { background: transparent; backdrop-filter: none; position: absolute; left: 0; right: 0; }
.nav .tt { flex: 1; text-align: center; font-weight: 800; font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav .ib, .ib { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(39,35,31,.8); backdrop-filter: blur(10px); flex: none; transition: transform .15s; position: relative; }
.ib:active { transform: scale(.9); }
.ib .dotn { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--salmon); border: 2px solid var(--ink-3); }
.nav .sp { width: 40px; flex: none; }
.app[dir="rtl"] .back-ic { transform: scaleX(-1); }
.large { padding: 4px 20px 14px; }
.large h1 { font-family: var(--f-display); font-size: 34px; line-height: 1.08; }
.large p { color: var(--tx-2); font-size: 14px; margin-top: 4px; }

/* Tab bar */
.tabs { position: absolute; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; padding: 8px 10px calc(var(--bot) + 6px); background: rgba(21,19,17,.9); backdrop-filter: blur(22px) saturate(1.5); border-top: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.85,.25,1); }
.tabs.hide { transform: translateY(110%); }
.tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; font-size: 10.5px; font-weight: 700; color: var(--tx-3); position: relative; transition: color .2s; }
.tabs button.on { color: var(--tx); }
.tabs button.on svg { color: var(--salmon); }
.tabs button svg { transition: transform .25s; }
.tabs button:active svg { transform: scale(.85); }
.tabs .bd { position: absolute; top: 0; left: calc(50% + 5px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--salmon); color: #fff; font-size: 10px; display: grid; place-items: center; border: 2px solid #151311; }
.tabs .fab { margin-top: -26px; }
.tabs .fab .c { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #f0d08d, #a87c32); display: grid; place-items: center; color: #2a1c05; box-shadow: 0 10px 24px -8px rgba(210,171,99,.6), 0 0 0 5px #151311; font-size: 24px; }
.tabs .fab.on .c { animation: wiggle 1.2s ease; }
@keyframes wiggle { 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }

/* Cart bar (floating) */
.cartbar { position: absolute; z-index: 38; left: 14px; right: 14px; bottom: calc(var(--bot) + 76px); display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 8px 0 18px; border-radius: 20px; background: var(--salmon); color: #fff; font-weight: 800; box-shadow: 0 16px 34px -12px rgba(242,102,58,.7); transition: transform .35s cubic-bezier(.2,.85,.25,1), opacity .3s; }
.cartbar.hide { transform: translateY(160%); opacity: 0; pointer-events: none; }
.cartbar.solo { bottom: calc(var(--bot) + 10px); }
.cartbar .n { width: 30px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 14px; }
.cartbar .t { flex: 1; font-size: 15px; }
.cartbar .t small { display: block; font-size: 11px; font-weight: 600; opacity: .85; }
.cartbar .p { padding: 10px 14px; border-radius: 14px; background: rgba(13,12,11,.25); font-size: 15px; }
.cartbar.bump { animation: bump2 .5s ease; }
@keyframes bump2 { 30% { transform: scale(1.04) translateY(-4px); } 60% { transform: scale(.98); } }

/* ---------- Sheets ---------- */
.scrim { position: absolute; inset: 0; z-index: 80; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: absolute; z-index: 90; left: 0; right: 0; bottom: 0; max-height: calc(100% - var(--top) - 10px); display: flex; flex-direction: column; border-radius: 28px 28px 0 0; background: var(--ink-2); border-top: 1px solid var(--line-2); transform: translateY(105%); transition: transform .42s cubic-bezier(.2,.85,.25,1); box-shadow: 0 -20px 60px rgba(0,0,0,.5); }
.sheet.on { transform: none; }
.sheet.full { height: calc(100% - var(--top) - 10px); }
.sheet .grab { flex: none; padding: 10px 0 6px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet .grab i { width: 40px; height: 5px; border-radius: 3px; background: var(--tx-3); opacity: .6; }
.sheet .sb { flex: 1; overflow-y: auto; scrollbar-width: none; padding: 0 20px 20px; }
.sheet .sb::-webkit-scrollbar { display: none; }
.sheet .sf { flex: none; padding: 12px 20px calc(var(--bot) + 10px); border-top: 1px solid var(--line); background: var(--ink-2); }
.sheet h3 { font-family: var(--f-display); font-size: 26px; }
.sheet .hero-img { margin: -6px -20px 18px; height: 260px; position: relative; overflow: hidden; }
.sheet .hero-img img, .sheet .hero-img .tile { width: 100%; height: 100%; object-fit: cover; }
.sheet .hero-img .ib { position: absolute; top: 12px; right: 14px; }
.sheet.product .grab { position: absolute; z-index: 3; left: 0; right: 0; }
.sheet.product .grab i { background: #fff; opacity: .8; }

/* ---------- Push notification banner ---------- */
.push { position: absolute; z-index: 100; top: calc(var(--top) + 2px); left: 10px; right: 10px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 22px; background: rgba(40,36,32,.92); backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); transform: translateY(calc(-100% - 90px)); transition: transform .5s cubic-bezier(.2,.9,.25,1.1); cursor: pointer; }
.push.on { transform: none; }
.push .ico { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: #1b2a21; }
.push .ico svg { width: 30px; height: 30px; }
.push .tx { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.push .tx b { display: flex; justify-content: space-between; font-size: 13.5px; }
.push .tx b span { font-weight: 500; color: var(--tx-3); font-size: 12px; }
.push .tx p { color: var(--tx-2); }
.ptoast { position: absolute; z-index: 100; left: 50%; bottom: calc(var(--bot) + 90px); transform: translate(-50%, 20px); opacity: 0; padding: 11px 16px; border-radius: 14px; background: var(--tx); color: var(--ink); font-weight: 700; font-size: 13.5px; white-space: nowrap; transition: .3s; pointer-events: none; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow); max-width: calc(100% - 30px); }
.ptoast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Splash / onboarding / auth ---------- */
.splash { background: radial-gradient(circle at 50% 40%, #1f1914, var(--ink) 70%); align-items: center; justify-content: center; }
.splash .mark { width: 120px; height: 120px; animation: logoIn 1.1s cubic-bezier(.2,.9,.2,1.2) both; }
.splash .mark .r1 { transform-origin: center; animation: roll 1.4s cubic-bezier(.3,.8,.3,1) .2s both; }
@keyframes logoIn { from { transform: scale(.4) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes roll { from { transform: scale(0); } to { transform: none; } }
.splash h1 { font-family: var(--f-display); font-size: 40px; margin-top: 22px; animation: rise .8s .5s both; }
.splash p { color: var(--tx-3); letter-spacing: .3em; font-size: 11px; font-weight: 800; margin-top: 8px; animation: rise .8s .7s both; }
.splash .ld { position: absolute; bottom: 90px; width: 120px; height: 3px; border-radius: 3px; background: var(--ink-4); overflow: hidden; }
.splash .ld i { display: block; height: 100%; width: 40%; background: var(--salmon); border-radius: 3px; animation: load 1.2s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

.onb { background: var(--ink); }
.onb .slides { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.onb .slides::-webkit-scrollbar { display: none; }
.onb .sl { flex: none; width: 100%; scroll-snap-align: start; display: flex; flex-direction: column; }
.onb .sl .im { position: relative; height: 58%; overflow: hidden; }
.onb .sl .im img { width: 100%; height: 100%; object-fit: cover; }
.onb .sl .im::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 2%, transparent 50%); }
.onb .sl .im .chip-f { position: absolute; z-index: 2; padding: 10px 14px; border-radius: 16px; background: rgba(21,19,17,.85); backdrop-filter: blur(10px); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-soft); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.onb .sl .tx { padding: 8px 28px; }
.onb .sl h2 { font-family: var(--f-display); font-size: 34px; line-height: 1.08; }
.onb .sl h2 em { font-style: normal; color: var(--salmon); }
.onb .sl p { color: var(--tx-2); margin-top: 12px; font-size: 15px; }
.onb .foot { padding: 16px 24px calc(var(--bot) + 18px); display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 6px; flex: 1; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--ink-4); transition: .3s; }
.dots i.on { width: 26px; background: var(--salmon); }

.auth { padding: calc(var(--top) + 10px) 24px calc(var(--bot) + 20px); }
.auth h1 { font-family: var(--f-display); font-size: 34px; line-height: 1.08; margin: 18px 0 10px; }
.auth p { color: var(--tx-2); font-size: 15px; }
.phone-in { display: flex; align-items: center; gap: 10px; margin-top: 28px; height: 60px; padding: 0 16px; border-radius: 18px; background: var(--ink-3); border: 1.5px solid var(--salmon); font-size: 20px; font-weight: 700; }
.phone-in .cc { display: flex; align-items: center; gap: 6px; padding-right: 12px; border-right: 1px solid var(--line-2); font-size: 16px; }
.phone-in .num { flex: 1; letter-spacing: .04em; }
.phone-in .num .caret { display: inline-block; width: 2px; height: 22px; background: var(--salmon); vertical-align: middle; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fine { font-size: 12px; color: var(--tx-3); margin-top: 14px; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 13px; color: var(--tx-2); }
.cbx { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--tx-3); flex: none; display: grid; place-items: center; transition: .15s; }
.cbx.on { background: var(--salmon); border-color: var(--salmon); }
.cbx.on::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 900; }
.otp-boxes { display: flex; gap: 9px; margin-top: 30px; }
.otp-boxes div { flex: 1; height: 62px; border-radius: 16px; background: var(--ink-3); border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 26px; font-weight: 800; transition: .2s; }
.otp-boxes div.f { border-color: var(--salmon); background: rgba(242,102,58,.08); animation: pop .25s ease; }
.otp-boxes div.ok { border-color: var(--ok); background: rgba(63,174,122,.1); }
@keyframes pop { 50% { transform: scale(1.1); } }
.sms-sug { margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--ink-3); font-size: 13px; color: var(--tx-2); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.keypad button { height: 52px; border-radius: 14px; font-size: 22px; font-weight: 600; background: var(--ink-3); }
.keypad button:active { background: var(--ink-4); }

/* ---------- Home ---------- */
.h-top { padding: calc(var(--top) + 6px) 20px 6px; display: flex; align-items: center; gap: 12px; }
.h-top .who { flex: 1; min-width: 0; }
.h-top .who small { color: var(--tx-3); font-size: 12.5px; font-weight: 600; }
.h-top .who h2 { font-family: var(--f-display); font-size: 25px; line-height: 1.1; }
.loc { margin: 10px 20px 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); width: calc(100% - 40px); text-align: left; }
.loc .ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(242,102,58,.14); color: var(--salmon-2); display: grid; place-items: center; flex: none; }
.loc b { display: block; font-size: 14px; }
.loc span { font-size: 12px; color: var(--tx-3); }
.loc .seg2 { margin-left: auto; display: flex; padding: 3px; border-radius: 10px; background: var(--ink-4); font-size: 11.5px; font-weight: 800; }
.loc .seg2 i { font-style: normal; padding: 5px 9px; border-radius: 8px; color: var(--tx-3); }
.loc .seg2 i.on { background: var(--tx); color: var(--ink); }
.srch { margin: 12px 20px 0; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--ink-3); color: var(--tx-3); font-size: 14.5px; width: calc(100% - 40px); }
.active-order { margin: 16px 20px 0; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: linear-gradient(120deg, #2a1810, #1a130e); border: 1px solid rgba(242,102,58,.35); width: calc(100% - 40px); text-align: left; }
.active-order .ring { width: 46px; height: 46px; flex: none; }
.active-order b { display: block; font-size: 14.5px; }
.active-order span { font-size: 12.5px; color: var(--tx-2); }
.mcard { margin: 16px 20px 0; position: relative; border-radius: 22px; padding: 18px; overflow: hidden; color: #2a150b; background: linear-gradient(135deg, #ffd9c4, #f5a883 50%, #e8794f); display: grid; grid-template-columns: 1fr auto; gap: 8px; width: calc(100% - 40px); text-align: left; box-shadow: 0 20px 40px -20px rgba(242,102,58,.6); }
.mcard::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 110% 130%, rgba(255,255,255,.2) 0 2px, transparent 2px 20px); pointer-events: none; }
.mcard small { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; }
.mcard .pt { font-family: var(--f-display); font-size: 36px; line-height: 1; margin-top: 6px; }
.mcard .pt span { font-family: var(--f-ui); font-size: 13px; font-weight: 700; }
.mcard .nx { grid-column: 1 / -1; font-size: 12px; font-weight: 700; }
.mcard .bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(42,21,11,.18); overflow: hidden; }
.mcard .bar i { display: block; height: 100%; background: #2a150b; border-radius: 3px; }
.mcard .tk { align-self: start; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mcard .tk span { padding: 5px 10px; border-radius: 999px; background: rgba(42,21,11,.14); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; padding: 26px 20px 12px; }
.sec-h h3 { font-family: var(--f-display); font-size: 22px; }
.sec-h button { font-size: 13px; font-weight: 700; color: var(--salmon-2); }
.hs { display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 4px; scroll-snap-type: x mandatory; scroll-padding: 20px; scrollbar-width: none; }
.hs::-webkit-scrollbar { display: none; }
.hs > * { scroll-snap-align: start; flex: none; }
.usual { margin: 0 20px; display: flex; gap: 14px; padding: 12px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); align-items: center; }
.usual .th { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; position: relative; flex: none; }
.usual .th img { width: 100%; height: 100%; object-fit: cover; }
.usual .th img + img { position: absolute; width: 44px; height: 44px; right: -4px; bottom: -4px; border-radius: 12px; border: 3px solid var(--ink-2); }
.usual b { display: block; font-size: 15px; }
.usual span { font-size: 12.5px; color: var(--tx-3); }
.cchip { width: 76px; text-align: center; font-size: 12px; font-weight: 700; color: var(--tx-2); }
.cchip .c { width: 76px; height: 76px; border-radius: 22px; overflow: hidden; margin-bottom: 7px; border: 1px solid var(--line); }
.cchip .c img, .cchip .c .tile { width: 100%; height: 100%; object-fit: cover; font-size: 26px; }
.promo { width: 300px; height: 168px; border-radius: 22px; overflow: hidden; position: relative; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; text-align: left; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,12,11,.92) 15%, rgba(13,12,11,.1) 75%); }
.promo .badge { align-self: flex-start; }
.promo h4 { font-family: var(--f-display); font-size: 22px; margin-top: 8px; }
.promo p { font-size: 12.5px; color: var(--tx-2); }
.pcard { width: 164px; border-radius: 20px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); text-align: left; position: relative; }
.pcard .im { height: 124px; position: relative; }
.pcard .im img, .pcard .im .tile { width: 100%; height: 100%; object-fit: cover; }
.pcard .im .badge { position: absolute; top: 8px; left: 8px; font-size: 9.5px; }
.pcard .tx { padding: 10px 12px 12px; }
.pcard b { display: block; font-size: 14px; line-height: 1.25; height: 35px; overflow: hidden; }
.pcard .row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.pcard .row span { font-weight: 800; }
.plus { width: 32px; height: 32px; border-radius: 50%; background: var(--salmon); color: #fff; display: grid; place-items: center; transition: transform .2s; flex: none; }
.plus:active { transform: scale(.85); }
.game-t { margin: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.game-t button { border-radius: 20px; padding: 16px; text-align: left; min-height: 150px; display: flex; flex-direction: column; position: relative; overflow: hidden; border: 1px solid var(--line); }
.game-t b { font-family: var(--f-display); font-size: 20px; margin-top: auto; }
.game-t span { font-size: 12px; color: var(--tx-2); }
.game-t .big { font-size: 34px; }

/* ---------- Menu ---------- */
.m-head { flex: none; padding: calc(var(--top) + 4px) 0 0; background: rgba(13,12,11,.92); backdrop-filter: blur(20px); z-index: 5; border-bottom: 1px solid var(--line); }
.m-head .r1 { display: flex; align-items: center; gap: 10px; padding: 0 16px 10px; }
.m-head h1 { font-family: var(--f-display); font-size: 28px; flex: 1; }
.m-head .brs { font-size: 12px; color: var(--tx-3); font-weight: 600; }
.ctabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; }
.ctabs::-webkit-scrollbar { display: none; }
.ctabs button { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--tx-2); background: var(--ink-3); transition: .2s; }
.ctabs button.on { background: var(--tx); color: var(--ink); }
.mcat { padding: 22px 16px 0; scroll-margin-top: 10px; }
.mcat h2 { font-family: var(--f-display); font-size: 23px; }
.mcat > p { font-size: 12.5px; color: var(--tx-3); margin: 2px 0 10px; }
.mi { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; align-items: stretch; }
.mi .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mi b { font-size: 15.5px; }
.mi .d { font-size: 12.5px; color: var(--tx-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mi .pr { margin-top: auto; font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.mi .pr .badge { font-size: 9.5px; }
.mi .im { width: 108px; height: 108px; border-radius: 18px; overflow: hidden; position: relative; flex: none; }
.mi .im img, .mi .im .tile { width: 100%; height: 100%; object-fit: cover; font-size: 30px; }
.mi .im .plus { position: absolute; right: 6px; bottom: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.mi .im .q { position: absolute; left: 6px; top: 6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 8px; background: var(--tx); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.mi.sold { opacity: .5; }
.mi.sold .im img { filter: grayscale(1); }
.fchips { display: flex; gap: 6px; overflow-x: auto; padding: 12px 16px 0; scrollbar-width: none; }
.fchips::-webkit-scrollbar { display: none; }
.fchips button { flex: none; height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; color: var(--tx-2); }
.fchips button.on { border-color: var(--salmon); color: var(--salmon-2); background: rgba(242,102,58,.1); }

/* Product sheet options */
.opt-g { margin-top: 20px; }
.opt-g .gh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.opt-g .gh b { font-size: 15.5px; }
.opt-g .gh span { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tx-3); padding: 3px 8px; border-radius: 6px; background: var(--ink-3); }
.opt-g .gh span.req { color: var(--salmon-2); background: rgba(242,102,58,.12); }
.opt-g .gh span.done { color: #8fe0b6; background: rgba(63,174,122,.12); }
.o { display: flex; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; font-size: 15px; }
.o:last-child { border-bottom: 0; }
.o .rd, .o .cb { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--tx-3); flex: none; display: grid; place-items: center; transition: .15s; }
.o .cb { border-radius: 7px; }
.o.on .rd { border-color: var(--salmon); }
.o.on .rd::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--salmon); }
.o.on .cb { background: var(--salmon); border-color: var(--salmon); }
.o.on .cb::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 900; }
.o em { margin-left: auto; font-style: normal; color: var(--tx-3); font-size: 13.5px; font-weight: 700; }
.vseg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vseg button { padding: 12px 6px; border-radius: 14px; border: 1.5px solid var(--line-2); text-align: center; transition: .15s; }
.vseg button b { display: block; font-size: 15px; }
.vseg button span { font-size: 12px; color: var(--tx-3); }
.vseg button.on { border-color: var(--salmon); background: rgba(242,102,58,.08); }
.allg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.allg span { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--ink-3); color: var(--tx-2); }
.addrow { display: flex; gap: 10px; align-items: center; }
.stp { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 16px; background: var(--ink-3); flex: none; }
.stp button { width: 38px; height: 38px; border-radius: 12px; font-size: 20px; font-weight: 700; display: grid; place-items: center; }
.stp button:active { background: var(--ink-4); }
.stp b { min-width: 22px; text-align: center; }
.stp.sm button { width: 30px; height: 30px; font-size: 17px; }
.stp.sm { border-radius: 12px; }

/* ---------- Cart / checkout ---------- */
.ci2 { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ci2 .th { width: 62px; height: 62px; border-radius: 14px; overflow: hidden; flex: none; }
.ci2 .th img, .ci2 .th .tile { width: 100%; height: 100%; object-fit: cover; font-size: 22px; }
.ci2 .tx { flex: 1; min-width: 0; }
.ci2 b { display: block; font-size: 14.5px; }
.ci2 small { display: block; font-size: 12px; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci2 .pp { font-weight: 800; font-size: 14px; margin-top: 3px; }
.card-s { margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); }
.card-s h4 { font-size: 14.5px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.rowx { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font-size: 14px; }
.rowx .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--ink-3); }
.rowx .t { flex: 1; min-width: 0; }
.rowx .t b { display: block; font-size: 14.5px; }
.rowx .t small { display: block; font-size: 12px; color: var(--tx-3); }
.rowx + .rowx { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.chev { color: var(--tx-3); flex: none; }
.app[dir="rtl"] .chev { transform: scaleX(-1); }
.sw2 { width: 50px; height: 30px; border-radius: 999px; background: var(--ink-4); position: relative; flex: none; transition: .2s; }
.sw2::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: .25s cubic-bezier(.2,.85,.25,1.2); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.sw2.on { background: var(--ok); }
.sw2.on::after { left: 23px; }
.app[dir="rtl"] .sw2::after { left: auto; right: 3px; }
.app[dir="rtl"] .sw2.on::after { right: 23px; }
.thr { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(242,102,58,.08); border: 1px solid rgba(242,102,58,.25); font-size: 13px; }
.thr p { margin-bottom: 8px; }
.thr b { color: var(--salmon-2); }
.pbar { height: 7px; border-radius: 4px; background: var(--ink-4); overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--salmon), var(--salmon-2)); transition: width .5s cubic-bezier(.2,.85,.25,1); }
.pbar.g i { background: linear-gradient(90deg, #4d8c43, var(--wasabi)); }
.pbar.au i { background: linear-gradient(90deg, #b88c3e, #f0d08d); }
.upc { width: 132px; padding: 8px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); text-align: left; font-size: 12px; }
.upc .tile, .upc img { width: 100%; height: 70px; border-radius: 10px; object-fit: cover; font-size: 22px; }
.upc b { display: block; font-size: 12.5px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upc div { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.upc .plus { width: 26px; height: 26px; }
.sumx { display: grid; gap: 8px; font-size: 14px; }
.sumx div { display: flex; justify-content: space-between; color: var(--tx-2); }
.sumx .g { color: #8fe0b6; }
.sumx .t { color: var(--tx); font-weight: 800; font-size: 18px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.earnx { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: #f1d9a6; }
.codein { display: flex; gap: 8px; }
.codein input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink-3); padding: 0 12px; font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; outline: 0; color: var(--tx); }
.codein input:focus { border-color: var(--salmon); }
.ok2 { margin-top: 8px; font-size: 12.5px; color: #8fe0b6; display: flex; gap: 6px; align-items: center; }
.bad2 { margin-top: 8px; font-size: 12.5px; color: #f3a39b; }
.bottom-cta { flex: none; padding: 12px 20px calc(var(--bot) + 12px); background: rgba(21,19,17,.95); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.bottom-cta .rowt { display: flex; justify-content: space-between; font-size: 13px; color: var(--tx-3); margin-bottom: 10px; }
.bottom-cta .rowt b { color: var(--tx); font-size: 15px; }
.slots2 { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.slots2::-webkit-scrollbar { display: none; }
.slots2 button { flex: none; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 700; color: var(--tx-2); }
.slots2 button.on { border-color: var(--salmon); color: var(--tx); background: rgba(242,102,58,.1); }
.paym { display: grid; gap: 8px; }
.paym button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); text-align: left; font-size: 14px; font-weight: 700; }
.paym button small { display: block; font-weight: 500; color: var(--tx-3); font-size: 12px; }
.paym button.on { border-color: var(--salmon); background: rgba(242,102,58,.08); }
.paym .rd { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--tx-3); display: grid; place-items: center; }
.paym button.on .rd { border-color: var(--salmon); }
.paym button.on .rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--salmon); }
.paylogo { width: 44px; height: 30px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 900; flex: none; }

.hold { position: relative; width: 100%; height: 58px; border-radius: 18px; background: var(--salmon); color: #fff; font-weight: 800; font-size: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; touch-action: none; }
.hold .fill { position: absolute; inset: 0; background: var(--salmon-deep); transform-origin: left; transform: scaleX(0); }
.hold.go .fill { transform: scaleX(1); transition: transform 1s linear; }
.hold span { position: relative; display: flex; align-items: center; gap: 10px; }
.hold small { font-size: 11.5px; font-weight: 600; opacity: .85; }

/* Paying overlay / success */
.paying { align-items: center; justify-content: center; text-align: center; background: var(--ink); }
.spinner { width: 70px; height: 70px; border-radius: 50%; border: 4px solid var(--ink-4); border-top-color: var(--salmon); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.paying h2 { font-family: var(--f-display); font-size: 26px; margin-top: 26px; }
.paying p { color: var(--tx-3); margin-top: 6px; font-size: 13.5px; }
.succ { align-items: center; text-align: center; padding: calc(var(--top) + 40px) 26px calc(var(--bot) + 20px); background: radial-gradient(circle at 50% 30%, rgba(63,174,122,.2), transparent 55%), var(--ink); }
.check-anim { width: 110px; height: 110px; }
.check-anim circle { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw .7s ease forwards; }
.check-anim path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .45s .6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.succ h1 { font-family: var(--f-display); font-size: 34px; margin-top: 22px; }
.succ p { color: var(--tx-2); margin-top: 8px; }
.succ .gain { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 28px; }
.succ .gain div { padding: 14px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); text-align: left; }
.succ .gain b { display: block; font-family: var(--f-display); font-size: 24px; }
.succ .gain span { font-size: 12px; color: var(--tx-3); }

/* Tracking */
.trk-map { position: relative; height: 46%; flex: none; overflow: hidden; background: #151311; }
.trk-map svg { width: 100%; height: 100%; }
.trk-map .nav { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(rgba(13,12,11,.8), transparent); backdrop-filter: none; }
.trk-panel { flex: 1; margin-top: -26px; position: relative; z-index: 3; border-radius: 26px 26px 0 0; background: var(--ink-2); border-top: 1px solid var(--line-2); display: flex; flex-direction: column; overflow: hidden; }
.trk-panel .grab { padding: 10px 0 2px; display: grid; place-items: center; }
.trk-panel .grab i { width: 40px; height: 5px; border-radius: 3px; background: var(--tx-3); opacity: .5; }
.eta2 { display: flex; justify-content: space-between; align-items: flex-end; padding: 6px 20px 12px; }
.eta2 h2 { font-family: var(--f-display); font-size: 30px; line-height: 1; }
.eta2 span { font-size: 13px; color: var(--tx-2); }
.eta2 .st { text-align: right; font-size: 12px; color: var(--tx-3); }
.steps4 { display: flex; gap: 5px; padding: 0 20px 14px; }
.steps4 i { flex: 1; height: 5px; border-radius: 3px; background: var(--ink-4); overflow: hidden; position: relative; }
.steps4 i.d { background: var(--salmon); }
.steps4 i.n::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--salmon), transparent); animation: shimmer 1.6s linear infinite; background-size: 200% 100%; }
.courier { margin: 0 20px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--ink-3); }
.courier .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #3a5a8c, #1d2f4c); display: grid; place-items: center; font-weight: 800; flex: none; }
.courier b { display: block; font-size: 14.5px; }
.courier span { font-size: 12px; color: var(--tx-3); }
.courier .ib { background: var(--ink-4); margin-left: auto; }
.tl2 { padding: 16px 20px 0; }
.tl2 .it { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; position: relative; padding-bottom: 16px; }
.tl2 .it::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--ink-4); }
.tl2 .it:last-child::before { display: none; }
.tl2 .it.d::before { background: var(--ok); }
.tl2 .dt { width: 28px; height: 28px; border-radius: 50%; background: var(--ink-4); display: grid; place-items: center; z-index: 1; color: #fff; }
.tl2 .it.d .dt { background: var(--ok); }
.tl2 .it.n .dt { background: var(--salmon); animation: pulse 1.6s infinite; }
.tl2 b { font-size: 14px; display: block; }
.tl2 span { font-size: 12px; color: var(--tx-3); }
.tl2 time { font-family: var(--f-mono); font-size: 11.5px; color: var(--tx-3); }

/* ---------- Rewards ---------- */
.flip { margin: 6px 20px 0; perspective: 1200px; height: 212px; cursor: pointer; }
.flip .in { position: relative; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.2,.85,.25,1); transform-style: preserve-3d; }
.flip.on .in { transform: rotateY(180deg); }
.flip .f, .flip .b { position: absolute; inset: 0; border-radius: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.flip .f { padding: 20px; color: #2a150b; background: linear-gradient(135deg, #ffd9c4, #f5a883 45%, #e8794f); box-shadow: 0 24px 50px -24px rgba(242,102,58,.7); display: flex; flex-direction: column; }
.flip .f::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 110% 130%, rgba(255,255,255,.2) 0 2px, transparent 2px 20px); }
.flip .f .sh { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 45%, transparent 60%); background-size: 250% 100%; animation: shimmer 5s linear infinite; mix-blend-mode: overlay; }
.flip .f .tn { font-family: var(--f-display); font-size: 26px; margin-top: 4px; }
.flip .f .pp { font-family: var(--f-display); font-size: 46px; line-height: 1; margin-top: auto; }
.flip .f .pp small { font-family: var(--f-ui); font-size: 13px; font-weight: 700; }
.flip .f .k { position: absolute; right: 18px; top: 10px; font-family: var(--f-display); font-size: 64px; opacity: .16; }
.flip .f .hint { position: absolute; right: 18px; bottom: 16px; font-size: 11px; font-weight: 800; opacity: .7; display: flex; gap: 4px; align-items: center; }
.flip .b { transform: rotateY(180deg); background: #fffdf9; color: var(--tl); display: flex; align-items: center; gap: 18px; padding: 20px; }
.flip .b .qr { width: 150px; height: 150px; flex: none; }
.flip .b b { font-family: var(--f-display); font-size: 20px; display: block; }
.flip .b span { font-size: 12.5px; color: var(--tl-2); }
.flip .b .mono { display: block; margin-top: 10px; font-size: 13px; color: var(--tl); letter-spacing: .08em; }
.rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 20px; }
.rt { padding: 14px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); text-align: left; display: flex; flex-direction: column; gap: 2px; min-height: 112px; }
.rt .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; margin-bottom: auto; font-size: 17px; }
.rt b { font-family: var(--f-display); font-size: 22px; margin-top: 10px; }
.rt span { font-size: 12px; color: var(--tx-3); }
.wal { width: 260px; border-radius: 20px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); text-align: left; display: flex; flex-direction: column; }
.wal .im { height: 96px; position: relative; }
.wal .im img, .wal .im .tile { width: 100%; height: 100%; object-fit: cover; font-size: 30px; }
.wal .im .badge { position: absolute; top: 10px; left: 10px; }
.wal .tx { padding: 12px 14px 14px; border-top: 2px dashed var(--ink); flex: 1; display: flex; flex-direction: column; }
.wal b { font-size: 15px; }
.wal p { font-size: 12px; color: var(--tx-3); margin: 3px 0 10px; }
.wal .ft { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.wal .ex { font-size: 11.5px; font-weight: 700; color: #f1bd55; }
.chal2 { margin: 0 20px 10px; padding: 14px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.chal2 .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex: none; }
.chal2 .tx { flex: 1; min-width: 0; }
.chal2 b { font-size: 14.5px; display: block; }
.chal2 small { font-size: 12px; color: var(--tx-3); display: block; margin: 2px 0 8px; }
.chal2 .rw { font-size: 11.5px; color: #f1d9a6; margin-top: 6px; display: block; }
.chal2 .pc { font-weight: 800; font-size: 13px; }
.tierrow { display: flex; gap: 10px; padding: 0 20px; overflow-x: auto; scrollbar-width: none; }
.tierrow::-webkit-scrollbar { display: none; }
.tr2 { flex: none; width: 210px; padding: 16px; border-radius: 20px; }
.tr2 h4 { font-family: var(--f-display); font-size: 20px; margin: 6px 0 2px; }
.tr2 small { font-size: 11.5px; opacity: .75; }
.tr2 ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: 12.5px; display: grid; gap: 5px; }
.tr2 li::before { content: "✦ "; color: var(--salmon); }
.ledger2 .row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ledger2 .row .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--ink-3); flex: none; font-size: 15px; }
.ledger2 .row .t { flex: 1; min-width: 0; }
.ledger2 .row b { font-size: 13.5px; display: block; }
.ledger2 .row small { font-size: 11.5px; color: var(--tx-3); }
.ledger2 .row .v { font-weight: 800; font-variant-numeric: tabular-nums; }
.ledger2 .row .v.p { color: #8fe0b6; } .ledger2 .row .v.m { color: #f3a39b; }
.cat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 20px; }
.cr2 { border-radius: 18px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); text-align: left; }
.cr2 .im { height: 100px; position: relative; }
.cr2 .im img { width: 100%; height: 100%; object-fit: cover; }
.cr2 .tx { padding: 10px 12px 12px; }
.cr2 b { font-size: 13.5px; display: block; line-height: 1.25; }
.cr2 .c { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12.5px; font-weight: 800; color: #f1d9a6; }
.cr2.lock { opacity: .5; }

/* Passport */
.pp-hero { margin: 0 20px; padding: 18px; border-radius: 22px; background: radial-gradient(circle at 100% 0%, rgba(141,179,107,.25), transparent 55%), #121712; border: 1px solid rgba(141,179,107,.3); }
.pp-hero h3 { font-family: var(--f-display); font-size: 24px; }
.pp-hero .cnt { font-family: var(--f-display); font-size: 30px; }
.pp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; margin-top: 18px; }
.pst { text-align: center; font-size: 11.5px; color: var(--tx-2); }
.pst .c { aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; border: 2px dashed rgba(255,255,255,.2); margin-bottom: 6px; display: grid; place-items: center; }
.pst .c img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.35); }
.pst .c .q { position: absolute; font-family: var(--f-display); font-size: 22px; color: rgba(255,255,255,.45); }
.pst.g .c { border: 3px solid var(--matcha); }
.pst.g .c img { filter: none; }
.pst .hk { position: absolute; inset: 16%; border: 2px solid rgba(255,107,94,.9); border-radius: 50%; display: grid; place-items: center; color: #ff6b5e; font-family: var(--f-display); font-size: 22px; font-weight: 800; transform: rotate(-14deg); background: rgba(13,12,11,.25); animation: stampIn .5s cubic-bezier(.2,.9,.3,1.4) both; }
@keyframes stampIn { from { transform: scale(2.2) rotate(-30deg); opacity: 0; } to { transform: rotate(-14deg); opacity: 1; } }

/* Lucky */
.lucky2 { background: radial-gradient(circle at 50% 55%, rgba(242,102,58,.22), transparent 55%), radial-gradient(circle at 50% 0%, rgba(210,171,99,.14), transparent 50%), var(--ink); }
.lucky2 .ttl { text-align: center; padding: 0 24px; }
.lucky2 .ttl h1 { font-family: var(--f-display); font-size: 34px; }
.lucky2 .ttl h1 em { font-style: normal; color: var(--gold); }
.lucky2 .ttl p { color: var(--tx-2); font-size: 13.5px; margin-top: 6px; }
.wheel2 { position: relative; width: 330px; height: 330px; margin: 22px auto 0; }
.wheel2 #wheel { width: 100%; height: 100%; transition: transform 5.2s cubic-bezier(.12,.72,.08,1); }
.wheel2 .ptr { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 38px; z-index: 3; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.wheel2 .hub { position: absolute; inset: 36%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3a2f24, #120e0b); border: 3px solid var(--gold); display: grid; place-items: center; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.6); font-family: var(--f-display); font-weight: 800; font-size: 20px; color: #f5e6c8; text-align: center; line-height: 1.1; }
.wheel2 .hub small { display: block; font-family: var(--f-ui); font-size: 9.5px; letter-spacing: .14em; color: var(--gold); margin-top: 3px; }
.toks { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.toks i { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #f0d08d, #a87c32); display: grid; place-items: center; font-style: normal; font-size: 16px; box-shadow: 0 6px 14px -6px rgba(210,171,99,.6); transition: .4s; }
.toks i.u { background: var(--ink-4); box-shadow: none; filter: grayscale(1); opacity: .5; }
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 8px; height: 13px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(1000px) rotate(720deg); } }
.win2 { text-align: center; padding-top: 6px; }
.win2 .bst { width: 110px; height: 110px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 56px; background: radial-gradient(circle, rgba(210,171,99,.45), transparent 70%); animation: pop .6s ease; }
.win2 h3 { margin: 6px 0; }
.win2 p { color: var(--tx-2); font-size: 14px; }
.win2 .terms { text-align: left; margin: 16px 0; padding: 12px; border-radius: 12px; background: var(--ink-3); font-size: 12px; color: var(--tx-3); }

/* Orders */
.ord { margin: 0 20px 10px; padding: 14px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); display: block; width: calc(100% - 40px); text-align: left; }
.ord .top { display: flex; align-items: center; gap: 12px; }
.ord .th { display: flex; }
.ord .th img, .ord .th .tile { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 2px solid var(--ink-2); font-size: 16px; }
.ord .th > * + * { margin-left: -14px; }
.ord .t { flex: 1; min-width: 0; }
.ord .t b { display: block; font-size: 14.5px; }
.ord .t small { font-size: 12px; color: var(--tx-3); }
.ord .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.stt { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; letter-spacing: .03em; }
.stt.ok { background: rgba(63,174,122,.14); color: #8fe0b6; }
.stt.live { background: rgba(242,102,58,.16); color: var(--salmon-2); }
.stt.bad { background: rgba(226,85,75,.14); color: #f3a39b; }
.segc { display: flex; margin: 4px 20px 16px; padding: 4px; border-radius: 14px; background: var(--ink-3); }
.segc button { flex: 1; height: 36px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--tx-3); }
.segc button.on { background: var(--ink-4); color: var(--tx); box-shadow: 0 2px 8px rgba(0,0,0,.3); }

/* Account */
.prof { display: flex; align-items: center; gap: 14px; padding: 0 20px 6px; }
.prof .av { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--salmon), #8c2f14); display: grid; place-items: center; font-weight: 800; font-size: 22px; flex: none; }
.prof b { font-family: var(--f-display); font-size: 24px; display: block; }
.prof span { font-size: 13px; color: var(--tx-3); }
.grp2 { margin: 14px 20px 0; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
.grp2 .gt { padding: 14px 16px 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); }
.li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; width: 100%; text-align: left; font-size: 14.5px; border-top: 1px solid var(--line); }
.grp2 .gt + .li { border-top: 0; }
.li .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.li .t { flex: 1; min-width: 0; }
.li .t small { display: block; font-size: 12px; color: var(--tx-3); }
.li .v { font-size: 13px; color: var(--tx-3); }

/* Inbox */
.msg { display: flex; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; position: relative; }
.msg.unread::before { content: ""; position: absolute; left: 8px; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--salmon); }
.msg .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; font-size: 20px; }
.msg .t { flex: 1; min-width: 0; }
.msg b { display: flex; justify-content: space-between; font-size: 14px; gap: 8px; }
.msg b span { font-weight: 500; font-size: 11.5px; color: var(--tx-3); flex: none; }
.msg p { font-size: 13px; color: var(--tx-2); margin-top: 2px; }
.msg .img { margin-top: 10px; height: 110px; border-radius: 14px; overflow: hidden; }
.msg .img img { width: 100%; height: 100%; object-fit: cover; }

/* Refer */
.ref2 { margin: 0 20px; padding: 22px; border-radius: 24px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(210,171,99,.25), transparent 60%), linear-gradient(160deg, #221c15, #120f0c); border: 1px solid rgba(210,171,99,.3); }
.ref2 .gift { font-size: 54px; }
.ref2 h2 { font-family: var(--f-display); font-size: 28px; margin: 6px 0; }
.ref2 p { color: var(--tx-2); font-size: 13.5px; }
.codebox { margin: 18px 0 14px; padding: 14px; border-radius: 16px; border: 1.5px dashed var(--gold); font-family: var(--f-mono); font-size: 22px; font-weight: 600; letter-spacing: .1em; color: #f1d9a6; display: flex; align-items: center; justify-content: center; gap: 12px; }
.fnl { display: grid; gap: 8px; }
.fnl div { display: grid; grid-template-columns: 90px 1fr 30px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--tx-2); }
.fnl .br { height: 22px; border-radius: 6px; background: var(--ink-3); overflow: hidden; }
.fnl .br i { display: block; height: 100%; border-radius: 6px; }
.fnl b { text-align: right; color: var(--tx); }
.sharesheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.sharesheet button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--tx-2); }
.sharesheet button i { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-style: normal; font-size: 24px; }

/* Branch sheet */
.brx { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line-2); width: 100%; text-align: left; margin-bottom: 8px; }
.brx.on { border-color: var(--salmon); background: rgba(242,102,58,.07); }
.brx .t { flex: 1; min-width: 0; }
.brx b { display: block; font-size: 15px; }
.brx small { font-size: 12px; color: var(--tx-3); }
.brx .s { font-size: 11.5px; font-weight: 800; }
.brx .s.open { color: #6fd39f; } .brx .s.busy { color: #f1bd55; } .brx .s.closed { color: #ef7a70; }
.brx:disabled { opacity: .5; }

/* Rating sheet */
.stars2 { display: flex; justify-content: center; gap: 10px; margin: 18px 0; }
.stars2 button { font-size: 40px; color: var(--ink-4); transition: .15s; line-height: 1; }
.stars2 button.on { color: var(--gold); transform: scale(1.12); }
.tagsel { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tagsel button { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--tx-2); }
.tagsel button.on { border-color: var(--salmon); color: var(--tx); background: rgba(242,102,58,.1); }

.empty2 { text-align: center; padding: 60px 30px; color: var(--tx-3); }
.empty2 .k { font-family: var(--f-display); font-size: 64px; color: var(--ink-4); }
.note2 { margin-top: 14px; display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--ink-3); font-size: 12.5px; color: var(--tx-2); }
.note2 svg { flex: none; margin-top: 1px; }

/* Illustrated tile for dishes without photography */
.tile { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--f-display); font-size: 30px; color: rgba(255,255,255,.88); background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.14), transparent 55%), var(--tile, linear-gradient(135deg, #3b2a1d, #1a1411)); }
.flip .f .hint { top: 20px; bottom: auto; }
.flip .f .k { top: 36px; }
.tabs { background: rgba(21,19,17,.97); }
.loc > span:nth-child(2) { min-width: 0; }
.loc b, .loc span span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Real phone: use the device's own safe areas instead of the mock status bar */
@media (max-width: 520px) {
  .app { --top: max(env(safe-area-inset-top), 14px); --bot: max(env(safe-area-inset-bottom), 10px); }
}

/* Phone-only showcase: no side panels */
.stage { grid-template-columns: 1fr; justify-items: center; gap: 0; padding: 0; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: -40px; background: url(../img/hero-platter.jpg) center/cover; filter: blur(40px) brightness(.28) saturate(1.2); transform: scale(1.1); }
.stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(10,9,8,.85) 100%); }
.device { z-index: 1; }
@media (max-width: 520px) { .stage::before, .stage::after { display: none; } }

/* =========================================================
   Normal web app / PWA: no mock phone frame, status bar or notch.
   Phone: full screen. Wider screens: centred full-height app column.
   ========================================================= */
.stage { display: flex; justify-content: center; align-items: stretch; padding: 0; }
.device { width: 100%; max-width: 480px; height: 100vh; height: 100dvh; border-radius: 0; padding: 0; background: none; transform: none !important; box-shadow: 0 0 0 1px rgba(255,244,228,.06), 0 0 120px rgba(0,0,0,.7); }
.device::after, .island, .sbar, .home-ind { display: none !important; }
.app { border-radius: 0; --top: max(env(safe-area-inset-top), 12px); --bot: max(env(safe-area-inset-bottom), 8px); }
