/* app.css — Walaa customer app. Calm luxury: soft surfaces, one accent, generous spacing. RTL-first (logical properties). */
@font-face { font-family: 'UI'; src: url(../fonts/manrope.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-024F, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
@font-face { font-family: 'UI'; src: url(../fonts/plex-ar-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'UI'; src: url(../fonts/plex-ar-500.woff2) format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'UI'; src: url(../fonts/plex-ar-600.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'UI'; src: url(../fonts/plex-ar-700.woff2) format('woff2'); font-weight: 700 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Display'; src: url(../fonts/instserif.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-024F, U+20AC; }
@font-face { font-family: 'Display'; src: url(../fonts/plex-ar-600.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Readex'; src: url(../fonts/readex-latin-400.woff2) format('woff2'); font-weight: 400; unicode-range: U+0000-024F; }
@font-face { font-family: 'Readex'; src: url(../fonts/readex-latin-600.woff2) format('woff2'); font-weight: 600 700; unicode-range: U+0000-024F; }
@font-face { font-family: 'Readex'; src: url(../fonts/readex-arabic-400.woff2) format('woff2'); font-weight: 400; unicode-range: U+0600-06FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Readex'; src: url(../fonts/readex-arabic-600.woff2) format('woff2'); font-weight: 600 700; unicode-range: U+0600-06FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Tajawal'; src: url(../fonts/tajawal-la-400.woff2) format('woff2'); font-weight: 400; unicode-range: U+0000-024F; }
@font-face { font-family: 'Tajawal'; src: url(../fonts/tajawal-la-700.woff2) format('woff2'); font-weight: 600 700; unicode-range: U+0000-024F; }
@font-face { font-family: 'Tajawal'; src: url(../fonts/tajawal-ar-400.woff2) format('woff2'); font-weight: 400; unicode-range: U+0600-06FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Tajawal'; src: url(../fonts/tajawal-ar-700.woff2) format('woff2'); font-weight: 600 700; unicode-range: U+0600-06FF, U+FB50-FDFF, U+FE70-FEFF; }
:root {
  --bg: #f6f1ea; --surface: #fff; --surface2: #f1ebe3; --ink: #2a211c; --ink2: rgba(42, 33, 28, .66); --ink3: rgba(42, 33, 28, .45); --line: rgba(46, 36, 32, .1);
  --brand: #2e2420; --brandink: #f7f1e8; --card: #2e2420; --accent: #a27b52; --accentraw: #b0875a; --accentink: #fff; --accentsoft: rgba(176, 135, 90, .14); --brandsoft: rgba(46, 36, 32, .06);
  --primary: #2e2420; --primaryink: #f7f1e8; --glass: rgba(246, 241, 234, .8); --shadow: 0 1px 2px rgba(46, 36, 32, .06), 0 6px 20px rgba(46, 36, 32, .07);
  --ok: #3f8f5b; --warn: #b7791f; --bad: #c8553d;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px); --tabh: 62px; --r: 18px;
  --f: 'UI', system-ui, -apple-system, 'Segoe UI', sans-serif; --fd: 'Display', 'UI', Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1); --dirx: 1;
}
[dir=rtl] { --dirx: -1; }
html.font-b { --f: 'Readex', system-ui, sans-serif; --fd: 'Readex', serif; }
html.font-c { --f: 'Tajawal', system-ui, sans-serif; --fd: 'Tajawal', serif; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { font-family: var(--f); font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior: none; }
[dir=rtl] body { line-height: 1.55; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accentraw); outline-offset: 2px; border-radius: 10px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir=rtl] .flip { transform: scaleX(-1); }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .02em; direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--ink2); } .center { text-align: center; } .tiny { font-size: 12px; } .small { font-size: 13.5px; }
.h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 6px; } .lead { color: var(--ink2); font-size: 15.5px; }
.pad { padding: 16px 0; } .pad-s { padding: 14px 16px; } .pad-x { padding: 0; }
.grp { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); margin: 10px 4px -4px; }
[dir=rtl] .grp { text-transform: none; letter-spacing: 0; font-size: 13px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin: 8px 2px -4px; }
.sec-h h3 { font-size: 17px; font-weight: 700; } .sec-h a { font-size: 13.5px; color: var(--accent); font-weight: 600; }
#stage { height: 100%; display: flex; justify-content: center; }
#device { width: 100%; height: 100%; position: relative; }
#app { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--bg); isolation: isolate; }
.pitch { display: none; }
@media (min-width: 1024px) {
  body { background: radial-gradient(1200px 700px at 15% 10%, var(--accentsoft), transparent 60%), radial-gradient(900px 700px at 90% 100%, var(--brandsoft), transparent 60%), var(--bg); }
  html.dark body { background: radial-gradient(1200px 700px at 15% 10%, rgba(255,255,255,.04), transparent 60%), var(--bg); }
  #stage { align-items: center; gap: clamp(40px, 6vw, 110px); padding: 24px; }
  #device { width: 404px; height: min(868px, calc(100vh - 48px)); flex: none; border-radius: 58px; padding: 12px; background: linear-gradient(145deg, #2b2b2e, #0c0c0e); box-shadow: 0 0 0 1.5px #3a3a3e inset, 0 40px 80px -20px rgba(0,0,0,.45), 0 18px 36px -18px rgba(0,0,0,.4); }
  #app { border-radius: 46px; --st: 44px; --sb: 18px; }
  #app::after { content: ''; position: absolute; top: 11px; left: 50%; width: 118px; height: 33px; margin-left: -59px; background: #050505; border-radius: 20px; z-index: 200; pointer-events: none; }
  .pitch { display: block; width: 380px; flex: none; }
}
@media (min-width: 1024px) and (max-height: 700px) { #device { height: calc(100vh - 24px); } }
.pt-in { display: flex; flex-direction: column; gap: 18px; }
.pt-brand { display: flex; gap: 14px; align-items: center; } .pt-brand b { display: block; font-size: 18px; } .pt-brand small { color: var(--ink2); }
.pitch h2 { font-family: var(--fd); font-weight: 400; font-size: 44px; line-height: 1.05; letter-spacing: -.01em; }
[dir=rtl] .pitch h2 { font-family: var(--f); font-weight: 700; font-size: 36px; line-height: 1.25; }
.pitch p { color: var(--ink2); font-size: 16px; }
.pt-f { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .pt-f li { display: flex; gap: 12px; align-items: center; } .pt-f .ic { color: var(--accent); }
.pt-qr { display: flex; gap: 16px; align-items: center; background: var(--surface); padding: 12px; border-radius: 18px; box-shadow: var(--shadow); }
.pt-qr .qr { width: 96px; height: 96px; border-radius: 8px; } .pt-qr b { display: block; } .pt-qr small { color: var(--ink2); }
.pt-btns, .pt-lang { display: flex; gap: 8px; flex-wrap: wrap; }
#splash { position: absolute; inset: 0; z-index: 150; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--sp-bg, var(--bg)); transition: opacity .45s ease, transform .45s var(--ease); }
#splash b { font-size: 18px; letter-spacing: .02em; color: var(--sp-fg, var(--ink)); min-height: 1em; }
html.dark #splash b { color: #f3efe9; }
#splash .logo { animation: spIn .7s var(--ease) both; }
#splash .sp-bar { width: 38px; height: 3px; border-radius: 2px; background: var(--accentsoft); overflow: hidden; position: relative; margin-top: 18px; }
#splash .sp-bar::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--accentraw); border-radius: 2px; animation: spBar 1s ease-in-out infinite; }
#splash.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
@keyframes spIn { from { opacity: 0; transform: scale(.86); } }
@keyframes spBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.logo { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 30%; object-fit: cover; }
.logo.mono { background: var(--card); color: var(--accentraw); font-family: var(--fd); font-size: 22px; line-height: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.logo.xs { width: 22px; height: 22px; font-size: 13px; } .logo.sm { width: 30px; height: 30px; font-size: 17px; } .logo.lg { width: 56px; height: 56px; font-size: 30px; } .logo.xl { width: 88px; height: 88px; font-size: 48px; border-radius: 28%; }
/* ---------- screens / stack ---------- */
#stack { position: absolute; inset: 0; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.screen.leaving { pointer-events: none; }
.a-push-in { animation: pushIn .38s var(--ease) both; z-index: 3; box-shadow: 0 0 40px rgba(0,0,0,.12); }
.a-push-out { animation: pushOut .38s var(--ease) both; z-index: 1; }
.a-pop-in { animation: popIn .36s var(--ease) both; z-index: 1; }
.a-pop-out { animation: popOut .36s var(--ease) both; z-index: 3; box-shadow: 0 0 40px rgba(0,0,0,.12); }
.screen.swiped.a-pop-out { animation: none; opacity: 0; }
.a-tab-in { animation: tabIn .22s ease both; z-index: 2; } .a-tab-out { opacity: 0; transition: opacity .12s; }
@keyframes pushIn { from { transform: translateX(calc(100% * var(--dirx))); } }
@keyframes pushOut { to { transform: translateX(calc(-28% * var(--dirx))); filter: brightness(.94); } }
@keyframes popIn { from { transform: translateX(calc(-28% * var(--dirx))); filter: brightness(.94); } }
@keyframes popOut { to { transform: translateX(calc(100% * var(--dirx))); } }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } }
.bar { flex: none; position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; height: calc(52px + var(--st)); padding: var(--st) 8px 0; transition: background .2s, box-shadow .2s; }
.bar.scrolled { background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); }
.bar-s { justify-self: start; display: flex; align-items: center; min-width: 0; } .bar-e { justify-self: end; display: flex; gap: 2px; align-items: center; }
.bar-t { font-size: 16.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56vw; text-align: center; }
@media (min-width: 1024px) { .bar-t { max-width: 220px; } }
.bar.has-large .bar-t { opacity: 0; transform: translateY(4px); transition: opacity .18s, transform .18s; }
.bar.has-large.scrolled .bar-t { opacity: 1; transform: none; }
.root .bar-t { font-weight: 700; }
.home .bar .bar-t { display: none; }
.brandlead { display: flex; align-items: center; gap: 9px; padding-inline: 8px; min-width: 0; } .brandlead b { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.large-t { padding: 2px 20px 6px; max-width: 760px; margin: 0 auto; width: 100%; } .large-t h1 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
html:not([dir=rtl]) .large-t h1 { font-family: var(--fd); font-weight: 400; font-size: 38px; letter-spacing: -.01em; }
.large-t p { color: var(--ink2); font-size: 14px; margin-top: 2px; }
html.hdr-compact .large-t { display: none; } html.hdr-compact .bar.has-large .bar-t { opacity: 1; transform: none; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; padding-bottom: calc(var(--tabh) + var(--sb) + 28px); scrollbar-width: none; position: relative; outline: none; }
.scroll::-webkit-scrollbar { display: none; }
.screen.notabs .scroll { padding-bottom: calc(var(--sb) + 24px); }
.content { display: flex; flex-direction: column; gap: 14px; padding: 6px 16px 0; max-width: 760px; margin: 0 auto; width: 100%; }
.icbtn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink); transition: background .15s, transform .1s; flex: none; }
.icbtn:active { transform: scale(.92); background: var(--brandsoft); } .icbtn.sm { width: 34px; height: 34px; }
.bdg { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; line-height: 1; box-shadow: 0 0 0 2px var(--bg); }
.bdg.static { position: static; box-shadow: none; } .bdg[hidden] { display: none; }
/* ---------- tab bar ---------- */
#tabs { position: absolute; z-index: 20; inset-inline: 0; bottom: 0; height: calc(var(--tabh) + var(--sb)); padding-bottom: var(--sb); display: flex; justify-content: center; background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); box-shadow: 0 -1px 0 var(--line); transition: transform .3s var(--ease); }
body.notabs #tabs { transform: translateY(115%); }
.tab { flex: 1; max-width: 120px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink3); font-size: 11px; font-weight: 600; transition: color .2s; position: relative; }
.tab-i { position: relative; display: grid; place-items: center; width: 44px; height: 30px; border-radius: 15px; transition: background .25s, transform .15s; }
.tab:active .tab-i { transform: scale(.9); }
.tab .bdg { top: -3px; inset-inline-end: 2px; }
.tab.on { color: var(--ink); } .tab.on .ic { stroke-width: 2.1; }
.tab.on .tab-i { background: var(--accentsoft); } .tab.on .ic { color: var(--accent); }
html.dark .tab.on .ic { color: var(--accentraw); }
.tab-l { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
html.tb-b #tabs { inset-inline: 14px; bottom: calc(var(--sb) + 10px); height: 64px; padding: 0; border-radius: 24px; background: var(--surface); box-shadow: 0 10px 30px rgba(0,0,0,.14), 0 0 0 1px var(--line); }
html.tb-b .scroll { padding-bottom: calc(var(--tabh) + var(--sb) + 40px); }
html.tb-c .t-card .tab-i { width: 54px; height: 54px; border-radius: 50%; margin-top: -26px; background: var(--primary); color: var(--primaryink); box-shadow: 0 8px 20px rgba(0,0,0,.2), 0 0 0 5px var(--bg); }
html.tb-c .t-card .ic { color: var(--primaryink) !important; } html.tb-c .t-card.on .tab-i { background: var(--primary); }
html.tb-d .tab:not(.on) .tab-l { opacity: 0; height: 0; } html.tb-d .tab.on .tab-i { width: 58px; }
@media (min-width: 700px) and (max-width: 1023px) { #tabs { padding-inline: calc((100% - 600px) / 2); } }
/* ---------- buttons, fields, controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 14px; font-weight: 650; font-size: 15px; background: var(--surface2); color: var(--ink); transition: transform .1s, filter .15s, background .15s; white-space: nowrap; user-select: none; }
.btn:active { transform: scale(.97); } .btn[disabled] { opacity: .45; pointer-events: none; }
.btn.primary { background: var(--primary); color: var(--primaryink); box-shadow: 0 6px 16px -8px rgba(0,0,0,.45); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); } .btn.link { background: none; color: var(--accent); padding: 0 6px; height: 36px; }
.btn.danger { color: var(--bad); } .btn.primary.danger { background: var(--bad); color: #fff; }
.btn.lg { height: 54px; font-size: 16px; border-radius: 16px; } .btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 11px; } .btn.block { width: 100%; } .btn.grow { flex: 1; }
.btn .ic { width: 19px; height: 19px; }
.btns { display: flex; flex-direction: column; gap: 10px; } .btns.row2 { flex-direction: row; } .btns.row2 .btn { flex: 1; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.field { display: block; margin-bottom: 12px; } .field > span { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink2); margin: 0 2px 6px; }
.field > small { display: block; color: var(--ink3); font-size: 12px; margin: 5px 2px 0; } .field .cnt { text-align: end; }
.field input, .field select, .field textarea, .inline input { width: 100%; min-height: 48px; border-radius: 13px; border: 1px solid var(--line); background: var(--bg); padding: 11px 14px; font-size: 16px; outline: none; transition: border .15s, box-shadow .15s; }
.field textarea { resize: none; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus, .inline input:focus { border-color: var(--accentraw); box-shadow: 0 0 0 3px var(--accentsoft); }
input.err, textarea.err { border-color: var(--bad) !important; box-shadow: 0 0 0 3px rgba(200, 85, 61, .15) !important; }
.inline { display: flex; gap: 8px; align-items: center; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input.plain { border: 0; background: none; outline: none; width: 100%; font-size: 16px; padding: 0; min-height: 30px; }
.amt { width: 110px; min-height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); padding: 0 10px; text-align: end; font-size: 16px; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 34px !important; }
[dir=rtl] select { background-position: 18px 52%, 13px 52%; }
.row-e select { min-height: 36px; border-radius: 10px; border: 1px solid var(--line); background-color: var(--bg); padding: 0 12px; font-size: 14px; }
.times input { border: 1px solid var(--line); background: var(--bg); border-radius: 9px; padding: 4px 6px; font-size: 14px; }
.sw { position: relative; flex: none; } .sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.sw i { display: block; width: 48px; height: 29px; border-radius: 15px; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; position: relative; }
html.dark .sw i { background: rgba(255,255,255,.14); }
.sw i::after { content: ''; position: absolute; top: 2.5px; inset-inline-start: 2.5px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .22s var(--ease); }
.sw input:checked + i { background: var(--ok); } .sw input:checked + i::after { transform: translateX(calc(19px * var(--dirx))); }
.sw input:focus-visible + i { outline: 2px solid var(--accentraw); outline-offset: 2px; }
.seg { display: flex; background: var(--surface2); border-radius: 13px; padding: 3px; gap: 2px; }
html.dark .seg { background: rgba(255,255,255,.06); }
.seg button { flex: 1; min-width: 0; height: 36px; border-radius: 10px; font-size: 13.5px; font-weight: 650; color: var(--ink2); transition: background .2s, color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
html.dark .seg button.on { background: rgba(255,255,255,.12); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; scroll-padding-inline: 16px; } .chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; }
.chips.sticky { position: sticky; top: 0; z-index: 4; background: var(--bg); padding-block: 8px; margin-block: -8px; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink2); white-space: nowrap; transition: background .2s, color .2s; }
.chip.on { background: var(--primary); color: var(--primaryink); box-shadow: none; } .chip .ic { width: 16px; height: 16px; }
.ochip { position: relative; display: inline-flex; } .ochip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ochip span { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; transition: all .15s; }
.ochip small { color: var(--ink3); font-weight: 500; } .ochip input:checked + span { background: var(--primary); color: var(--primaryink); box-shadow: none; } .ochip input:checked + span small { color: inherit; opacity: .7; }
.ochip input:focus-visible + span { outline: 2px solid var(--accentraw); outline-offset: 2px; }
.opt { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; } .opt legend { font-size: 13px; font-weight: 700; color: var(--ink2); margin-bottom: 8px; padding: 0; } .optrow { display: flex; flex-wrap: wrap; gap: 8px; }
.opt .row.tgl { padding-inline: 0; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--surface2); border-radius: 14px; padding: 4px; flex: none; }
.stepper button { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.06); } .stepper b { min-width: 26px; text-align: center; font-size: 16px; }
.stepper.sm button { width: 30px; height: 30px; border-radius: 9px; } .stepper.sm .ic { width: 17px; height: 17px; }
html.dark .stepper { background: rgba(255,255,255,.06); } html.dark .stepper button { background: rgba(255,255,255,.1); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 25px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-weight: 700; background: var(--surface2); color: var(--ink2); white-space: nowrap; flex: none; }
html.dark .pill { background: rgba(255,255,255,.08); }
.pill.tiny { height: 19px; font-size: 10.5px; padding: 0 7px; margin-inline-start: 6px; vertical-align: 2px; }
.pill.accent { background: var(--accentsoft); color: var(--accent); } .pill.ok, .pill.s-ready, .pill.s-confirmed, .pill.s-today { background: rgba(63,143,91,.13); color: #2f7a4b; }
.pill.s-received, .pill.s-requested, .pill.s-accepted, .pill.s-preparing { background: rgba(183,121,31,.13); color: #94621a; } .pill.s-x { background: rgba(200,85,61,.12); color: var(--bad); }
html.dark .pill.accent { color: var(--accentraw); }
html.dark .pill.ok, html.dark .pill.s-ready, html.dark .pill.s-confirmed, html.dark .pill.s-today { color: #7fcf9b; } html.dark .pill.s-received, html.dark .pill.s-requested, html.dark .pill.s-accepted, html.dark .pill.s-preparing { color: #e9b866; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--brandsoft); color: var(--ink2); font-size: 13.5px; } .note .ic { width: 19px; height: 19px; margin-top: 1px; color: var(--accent); }
.note.warn { background: rgba(183,121,31,.1); }
/* ---------- cards, rows ---------- */
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
html.cards-border .card, html.cards-border .offer, html.cards-border .pcard, html.cards-border .svc, html.cards-border .upnext, html.cards-border .mitem, html.cards-border .post, html.cards-border .quick a > .ic { box-shadow: none !important; border: 1px solid var(--line); }
html.cards-flat .card, html.cards-flat .offer, html.cards-flat .pcard, html.cards-flat .svc, html.cards-flat .upnext, html.cards-flat .mitem, html.cards-flat .post, html.cards-flat .quick a > .ic { box-shadow: none !important; background: var(--surface2); }
.list { overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 11px 16px; text-align: start; color: inherit; position: relative; }
.list > * + * { box-shadow: 0 -1px 0 var(--line); }
button.row:active, a.row:active { background: var(--brandsoft); }
.row-i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brandsoft); color: var(--ink); flex: none; } .row-i .ic { width: 19px; height: 19px; }
html.dark .row-i { background: rgba(255,255,255,.07); }
.row-i.neg { color: var(--ink3); }
.row-t { flex: 1; min-width: 0; } .row-t b { display: block; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; } .row-t small { display: block; font-size: 12.5px; color: var(--ink2); margin-top: 1px; overflow-wrap: anywhere; }
.row-e { color: var(--ink2); font-size: 14px; flex: none; display: flex; align-items: center; gap: 6px; }
.chev { width: 18px; height: 18px; color: var(--ink3); }
.row.dim { opacity: .55; } .row.accent .row-i { background: var(--accentsoft); color: var(--accent); } .row.danger b { color: var(--bad); }
.row.tgl { cursor: pointer; } .okc { color: var(--ok); }
/* ---------- placeholders ---------- */
.ph { position: relative; overflow: hidden; border-radius: 14px; background: linear-gradient(150deg, color-mix(in srgb, var(--ph) 30%, var(--surface)) 0%, color-mix(in srgb, var(--ph) 62%, var(--surface)) 100%); color: color-mix(in srgb, var(--ph) 40%, #000); width: 100%; flex: none; }
html.dark .ph { background: linear-gradient(150deg, color-mix(in srgb, var(--ph) 30%, var(--bg)) 0%, color-mix(in srgb, var(--ph) 55%, var(--bg)) 100%); color: rgba(255,255,255,.85); }
.ph::after { content: ''; position: absolute; inset: 7px; border-radius: 9px; border: 1px dashed rgba(255,255,255,.55); pointer-events: none; }
html.dark .ph::after { border-color: rgba(255,255,255,.18); }
.ph-art { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; }
.ph-l { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px; text-align: center; }
.ph-l .ic { width: 20px; height: 20px; opacity: .75; } .ph-l b { font-size: 12px; font-weight: 700; line-height: 1.25; max-width: 90%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ph-l i { font-style: normal; font-size: 10px; opacity: .65; direction: ltr; }
.mi-ph .ph-l b, .sv-ph .ph-l b, .pcard .ph-l b, .gallery .ph-l i { display: none; } .mi-ph .ph-l i, .sv-ph .ph-l i { font-size: 9px; }
.hero-ph { margin-inline: -16px; width: calc(100% + 32px); border-radius: 0 0 24px 24px; margin-top: -6px; } .hero-ph::after { border-radius: 0 0 18px 18px; }
@media (min-width: 700px) and (max-width: 1023px) { .hero-ph { margin-inline: 0; width: 100%; border-radius: 22px; } }
/* ---------- home ---------- */
.greet { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 4px; }
.greet p { font-size: 14px; } .greet h2 { font-size: 23px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
html:not([dir=rtl]) .greet h2 { font-family: var(--fd); font-weight: 400; font-size: 29px; }
.status { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 12.5px; font-weight: 700; flex: none; white-space: nowrap; background: rgba(63,143,91,.12); color: #2f7a4b; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(63,143,91,.18); }
.status.soon { background: rgba(183,121,31,.12); color: #94621a; } .status.closed { background: var(--brandsoft); color: var(--ink2); } .status.closed i { box-shadow: none; opacity: .6; }
html.dark .status.open { color: #7fcf9b; } html.dark .status.soon { color: #e9b866; }
.live { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--accentsoft); }
.live span:nth-child(2) { flex: 1; } .live b { display: block; font-size: 14.5px; } .live small { color: var(--ink2); font-size: 12.5px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accentraw); flex: none; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accentsoft); } 100% { box-shadow: 0 0 0 12px transparent; } }
.lcard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 22px; color: var(--brandink); background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accentraw) 34%, transparent) 0%, transparent 55%), radial-gradient(80% 80% at 0% 100%, rgba(255,255,255,.07), transparent 60%), var(--card); box-shadow: 0 18px 34px -18px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.07); }
html.lc-light .lcard { background: radial-gradient(120% 90% at 100% 0%, var(--accentsoft), transparent 60%), var(--surface); color: var(--ink); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
html.lc-light .lcard .stamps i:not(.on) { border-color: var(--line); } html.lc-light .lcard .lc-bot, html.lc-light .lcard .lc-name small { color: var(--ink2); } html.lc-light .lcard .lc-tier { background: var(--accentsoft); } html.lc-light .stamps i.on { color: #fff; }
.lcard.big { aspect-ratio: 1.586; min-height: 210px; justify-content: space-between; padding: 20px; }
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .lc-brand { display: flex; align-items: center; gap: 9px; min-width: 0; } .lc-brand b { font-size: 15px; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard .logo.mono { background: rgba(255,255,255,.08); }
.lc-tier { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.1); color: var(--accentraw); flex: none; } .lc-tier .ic { width: 15px; height: 15px; }
.lc-name small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; } .lc-name b { font-size: 19px; font-weight: 600; }
[dir=rtl] .lc-name small { letter-spacing: 0; font-size: 12px; }
.lc-bot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; opacity: .9; } .lc-bot b { font-family: var(--fd); font-weight: 400; font-size: 24px; white-space: nowrap; } .lc-bot b small { font-family: var(--f); font-size: 12px; }
.lc-bot > span:first-child { min-width: 0; }
.lc-shine { position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.09) 50%, transparent 58%); animation: shine 6s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 55% { transform: translateX(-40%); } 100% { transform: translateX(40%); } }
.stamps { display: grid; grid-template-columns: repeat(var(--c), minmax(0, 1fr)); gap: 8px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.3); display: grid; place-items: center; position: relative; }
.stamps i .ic { width: 55%; height: 55%; } .stamps i.on { background: var(--accentraw); border: 0; color: var(--card); box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.stamps i.last:not(.on) { border-style: solid; border-color: var(--accentraw); color: var(--accentraw); }
.stamps.sm { gap: 6px; } .stamps.sm i { max-width: 34px; } .stamps.big { max-width: 420px; }
.stamps i.pop { animation: stampPop .7s var(--ease) both; } .stamps i.pop::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accentraw); animation: ring .8s ease-out both; animation-delay: inherit; }
@keyframes stampPop { 0% { transform: scale(0) rotate(-30deg); opacity: 0; } 60% { transform: scale(1.25) rotate(8deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; text-align: center; color: var(--ink); min-width: 0; }
.quick a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick a > .ic { width: 56px; height: 56px; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); color: var(--accent); stroke-width: 1.6; transition: transform .12s; }
html.dark .quick a > .ic { color: var(--accentraw); }
.quick a:active > .ic { transform: scale(.93); } .quick .bdg { top: -4px; inset-inline-end: calc(50% - 34px); }
.upnext { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.un-d { width: 52px; height: 56px; border-radius: 14px; background: var(--accentsoft); color: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; line-height: 1.05; }
.un-d b { font-family: var(--fd); font-weight: 400; font-size: 24px; } .un-d small { font-size: 11.5px; font-weight: 700; } .un-d.lg { width: 66px; height: 72px; } .un-d.lg b { font-size: 30px; }
html.dark .un-d { color: var(--accentraw); }
.un-t { flex: 1; min-width: 0; } .un-t small { color: var(--ink2); font-size: 12px; display: block; } .un-t b { display: block; font-size: 15px; } .un-t span { color: var(--ink2); font-size: 13px; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 14px; scroll-padding-inline: 16px; scrollbar-width: none; } .hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: none; }
.offer { position: relative; width: 80%; max-width: 330px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.offer .ofr-ph { border-radius: 0; } .offer .ofr-ph::after { border-radius: 10px; }
.ofr-b { position: absolute; top: 12px; inset-inline-start: 12px; height: 28px; padding: 0 11px; border-radius: 14px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 800; background: var(--surface); color: var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.ofr-t { padding: 12px 14px 14px; } .ofr-t b { display: block; font-size: 15.5px; } .ofr-t small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink2); font-size: 13px; margin-top: 2px; }
.offer.wide { width: 100%; max-width: none; } .olist { display: grid; gap: 14px; }
.pcard { position: relative; width: 140px; padding: 8px 8px 10px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-align: start; display: flex; flex-direction: column; gap: 3px; }
.pcard .ph { border-radius: 12px; margin-bottom: 6px; } .pcard b { font-size: 13.5px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } .pcard span { font-size: 13px; color: var(--ink2); }
.add { position: absolute; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: var(--primaryink); display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.2); font-style: normal; }
.add .ic { width: 18px; height: 18px; stroke-width: 2.2; } .pcard .add { bottom: 9px; inset-inline-end: 9px; }
.feed { display: grid; gap: 12px; }
.post { display: block; padding: 14px 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.post-k { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--accent); margin-bottom: 6px; } .post-k .ic { width: 15px; height: 15px; }
.post-h { display: flex; align-items: center; gap: 8px; font-size: 13px; } .post-h time { color: var(--ink3); margin-inline-start: auto; font-size: 12px; }
.post strong { display: block; font-size: 15.5px; margin: 8px 0 2px; } .post p { color: var(--ink2); font-size: 14px; }
.revsum, .promo { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.revsum > span:nth-child(2), .promo > span { flex: 1; min-width: 0; } .rs-n { font-family: var(--fd); font-size: 36px; line-height: 1; }
.revsum small, .promo small { display: block; color: var(--ink2); font-size: 12.5px; }
.promo > .ic:first-child { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--accentsoft); color: var(--accent); }
.promo.soft { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.stars { display: inline-flex; gap: 1px; } .stars i { color: var(--line); display: inline-grid; } .stars i .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; } .stars i.on { color: var(--accentraw); } .stars.sm i .ic { width: 13px; height: 13px; }
html.dark .stars i { color: rgba(255,255,255,.15); } html.dark .stars i.on { color: var(--accentraw); }
.foot-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink3); font-size: 12px; margin-top: 6px; text-align: center; }
.codebox { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px dashed var(--accentraw); background: var(--accentsoft); margin: 14px 0; }
.codebox small { color: var(--ink2); } .codebox b { flex: 1; font-family: ui-monospace, Menlo, monospace; font-size: 19px; letter-spacing: .08em; direction: ltr; text-align: center; overflow-wrap: anywhere; } .codebox.big b { font-size: 22px; }
/* ---------- menu ---------- */
.msearch { display: flex; align-items: center; gap: 10px; height: 0; overflow: hidden; border-radius: 14px; background: var(--surface); padding: 0 14px; transition: height .25s var(--ease), margin .25s; margin-bottom: -14px; color: var(--ink3); }
.msearch.show { height: 48px; margin-bottom: 0; box-shadow: inset 0 0 0 1px var(--line); } .msearch input { flex: 1; border: 0; background: none; outline: none; font-size: 16px; color: var(--ink); min-width: 0; }
.msec { scroll-margin-top: 60px; } .msec-h { font-size: 18px; font-weight: 700; margin: 6px 2px 10px; }
html:not([dir=rtl]) .msec-h { font-family: var(--fd); font-weight: 400; font-size: 24px; }
.mlist { display: grid; gap: 10px; }
.mitem { position: relative; display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); text-align: start; width: 100%; }
.mitem:active { transform: scale(.99); }
.mi-t { flex: 1; min-width: 0; } .mi-t b { display: block; font-size: 15px; font-weight: 650; } .mi-t small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink2); font-size: 13px; margin: 2px 0 6px; }
.price { font-weight: 700; font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mi-ph { width: 92px; border-radius: 14px; } .mitem .add { bottom: 6px; inset-inline-end: 6px; width: 30px; height: 30px; }
.cartbar { position: absolute; z-index: 15; inset-inline: 12px; bottom: calc(var(--tabh) + var(--sb) + 10px); height: 56px; border-radius: 18px; padding-block: 0; padding-inline: 16px 10px; display: flex; align-items: center; gap: 12px; background: var(--primary); color: var(--primaryink); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); animation: up .35s var(--ease) both; max-width: 728px; margin-inline: auto; }
html.tb-b .cartbar { bottom: calc(var(--tabh) + var(--sb) + 26px); }
.cartbar b { flex: 1; } .cartbar > span:last-child { font-weight: 800; padding-inline-end: 8px; } .cb-n { min-width: 30px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-weight: 800; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.itemsheet .sh-body { padding-top: 0; } .is-ph { border-radius: 18px; }
.cline { display: flex; align-items: center; gap: 12px; padding: 12px 16px; } .cl-t { flex: 1; min-width: 0; } .cl-t b { display: block; font-weight: 600; } .cl-t small { display: block; color: var(--ink2); font-size: 12.5px; } .cl-t .price { display: block; margin-top: 2px; font-size: 13.5px; }
.cline.ro .price { font-size: 14px; } .cl-q { font-weight: 700; color: var(--accent); min-width: 26px; } .cline.tot b { font-size: 16px; }
.totals { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; } .totals div { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; } .totals .ok { color: var(--ok); } .totals .big { font-size: 18px; font-weight: 800; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 2px; }
.stickybtn { position: sticky; z-index: 6; bottom: calc(var(--tabh) + var(--sb) + 10px); padding-top: 8px; }
.screen.notabs .stickybtn { bottom: calc(var(--sb) + 10px); }
.stickybtn::before { content: ''; position: absolute; inset: -18px -16px -40px; background: linear-gradient(to bottom, transparent, var(--bg) 40%); z-index: -1; pointer-events: none; }
.ostat { text-align: center; padding: 10px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; } .ostat h2 { font-size: 22px; } .ostat p { max-width: 300px; }
.os-ring { --p: 0; width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accentraw) calc(var(--p) * 1%), var(--line) 0); margin-bottom: 6px; position: relative; }
.os-ring span { width: 98px; height: 98px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--accent); } .os-ring .ic { width: 40px; height: 40px; stroke-width: 1.5; }
html.dark .os-ring span { color: var(--accentraw); }
.ostat.s-preparing .os-ring span .ic { animation: bob 1.4s ease-in-out infinite; } .ostat.s-ready .os-ring span { background: var(--accentraw); color: var(--card); }
@keyframes bob { 50% { transform: translateY(-4px) rotate(-4deg); } }
.pickup-code { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; } .pickup-code b { font-family: var(--fd); font-size: 38px; font-weight: 400; } .pickup-code .qr { width: 150px; height: 150px; border-radius: 12px; }
.tl { list-style: none; margin: 0; padding: 0; } .tl li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; position: relative; padding-bottom: 16px; }
.tl li:last-child { padding-bottom: 0; } .tl li:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 12px; top: 26px; bottom: 2px; width: 2px; background: var(--line); border-radius: 1px; }
.tl li.done::before { background: var(--accentraw) !important; }
.tl i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; background: var(--surface); } .tl i .ic { width: 14px; height: 14px; stroke-width: 3; }
.tl li.done i { background: var(--accentraw); border-color: var(--accentraw); color: #fff; } .tl li.now i { border-color: var(--accentraw); box-shadow: 0 0 0 4px var(--accentsoft); }
.tl li.now:last-child i { background: var(--accentraw); color: #fff; }
.tl b { display: block; font-size: 14.5px; } .tl small { color: var(--ink3); font-size: 12.5px; } .tl li:not(.done):not(.now) b { color: var(--ink3); font-weight: 500; } .tl li.x { opacity: .4; }
/* ---------- card tab ---------- */
.qrbox { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); text-align: start; width: 100%; }
.lc-qr { width: 112px; height: 112px; flex: none; } .qr { width: 100%; height: 100%; display: block; border-radius: 10px; }
.qr-t { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; } .qr-t b { font-size: 16px; } .qr-t small { color: var(--ink2); font-size: 12.5px; } .qr-t .btn { margin-top: 4px; }
.qr-sec { font-variant-numeric: tabular-nums; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .kpis > div { background: var(--surface); box-shadow: var(--shadow); border-radius: 16px; padding: 12px 8px; text-align: center; min-width: 0; }
.kpis b { display: block; font-family: var(--fd); font-weight: 400; font-size: 28px; line-height: 1.1; } .kpis small { color: var(--ink2); font-size: 12px; }
.tb-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; } .tb-h small { color: var(--ink2); font-size: 12.5px; text-align: end; }
.bar-p { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; display: flex; } .bar-p i { display: block; height: 100%; border-radius: 4px; background: var(--accentraw); }
.reward-goal { display: flex; gap: 14px; align-items: center; } .rg-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accentsoft); color: var(--accent); display: grid; place-items: center; flex: none; }
.reward-goal small { display: block; color: var(--ink2); font-size: 12.5px; } .reward-goal b { display: block; }
.wallet { display: grid; gap: 10px; }
.wcard { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; text-align: start; width: 100%; color: var(--brandink); background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--accentraw) 30%, transparent), transparent 60%), var(--card); box-shadow: 0 14px 26px -16px rgba(0,0,0,.5); animation: up .4s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.wc-ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.1); color: var(--accentraw); display: grid; place-items: center; flex: none; }
.wc-t { flex: 1; min-width: 0; } .wc-t b { display: block; font-size: 15.5px; } .wc-t small { opacity: .7; font-size: 12.5px; } .wcard .pill { background: var(--accentraw); color: var(--card); }
.cplist { display: grid; gap: 12px; }
.coupon { display: flex; align-items: stretch; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.coupon::before, .coupon::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); inset-inline-start: 79px; } .coupon::before { top: -9px; } .coupon::after { bottom: -9px; }
.cp-l { width: 88px; flex: none; display: grid; place-items: center; background: var(--accentsoft); color: var(--accent); border-inline-end: 2px dashed var(--line); padding: 8px; text-align: center; } .cp-l b { font-family: var(--fd); font-weight: 400; font-size: 21px; text-align: center; line-height: 1.1; overflow-wrap: anywhere; }
html.dark .cp-l { color: var(--accentraw); }
.cp-t { flex: 1; min-width: 0; padding: 12px 14px; } .cp-t b { display: block; font-size: 14.5px; } .cp-t small { display: block; color: var(--ink2); font-size: 12.5px; } .cp-t .mono { font-size: 12px; color: var(--ink3); }
.cp-a { display: flex; align-items: center; padding-inline-end: 12px; } .coupon.used { opacity: .5; }
.qr-big { width: min(280px, 80%); margin: 6px auto 14px; padding: 12px; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); } .qr-big .qr { border-radius: 0; }
.qr-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; } .qr-mid .qr { width: 160px; height: 160px; } .qr-mid small { color: var(--ink2); }
.countdown { text-align: center; font-family: var(--fd); font-size: 40px; font-variant-numeric: tabular-nums; }
/* ---------- booking ---------- */
.svlist { display: grid; gap: 10px; }
.svc { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.sv-ph { width: 72px; border-radius: 14px; } .sv-t { flex: 1; min-width: 0; } .sv-t b { display: block; font-size: 15px; } .sv-t small { display: block; color: var(--ink2); font-size: 13px; }
.sv-m { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink2); margin-top: 4px; font-weight: 600; } .sv-m span { display: inline-flex; align-items: center; gap: 4px; } .sv-m .ic { width: 15px; height: 15px; }
.svhead .pad { padding: 12px 2px 0; }
.av { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accentsoft); color: var(--accent); font-weight: 800; flex: none; object-fit: cover; text-transform: uppercase; }
.av.xs { width: 22px; height: 22px; font-size: 11px; } .av.sm { width: 34px; height: 34px; font-size: 14px; } .av.lg { width: 58px; height: 58px; font-size: 22px; } .av.xl { width: 96px; height: 96px; font-size: 38px; }
html.dark .av { color: var(--accentraw); }
.chip.on .av { background: rgba(255,255,255,.2); color: inherit; }
.days { gap: 8px; padding-bottom: 6px; }
.day { width: 60px; height: 78px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.15; }
.day small { font-size: 11.5px; color: var(--ink2); font-weight: 600; } .day b { font-size: 21px; font-family: var(--fd); font-weight: 400; }
.day.on { background: var(--primary); color: var(--primaryink); box-shadow: none; } .day.on small { color: inherit; opacity: .75; } .day.off { opacity: .35; pointer-events: none; }
.slotgrp small { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink3); margin: 0 2px 8px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot { height: 44px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-variant-numeric: tabular-nums; transition: all .15s; }
.slot:active { background: var(--primary); color: var(--primaryink); } .slot[disabled] { opacity: .32; text-decoration: line-through; box-shadow: none; background: transparent; }
.sum { margin-bottom: 14px; } .sum .row { padding-block: 9px; min-height: 0; }
.bhead { display: flex; gap: 16px; align-items: center; padding-top: 6px; } .bhead > div { min-width: 0; } .bhead .h2 { margin: 0; } .bhead p { font-size: 13.5px; margin: 2px 0 6px; }
.checkin { display: flex; align-items: center; justify-content: space-between; gap: 14px; } .checkin b { display: block; } .checkin small { color: var(--ink2); font-size: 12.5px; } .checkin .qr { width: 92px; height: 92px; flex: none; }
/* ---------- notifications ---------- */
.permcard { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--accentsoft); text-align: start; width: 100%; }
.permcard > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 13px; background: var(--surface); color: var(--accent); } .permcard > span:nth-child(2) { flex: 1; min-width: 0; } .permcard b { display: block; } .permcard small { color: var(--ink2); font-size: 12.5px; }
.list-tools { display: flex; justify-content: flex-end; margin: -8px 0 -10px; }
.nlist { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.nitem { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; text-align: start; width: 100%; position: relative; } .nitem + .nitem { box-shadow: 0 -1px 0 var(--line); }
.nitem.unread { background: color-mix(in srgb, var(--accentraw) 7%, transparent); } .nitem:active { background: var(--brandsoft); }
.ni-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--brandsoft); color: var(--ink); } .ni-ic .ic { width: 19px; height: 19px; }
.ni-ic.c-offers { background: rgba(176,135,90,.15); color: #8a6436; } .ni-ic.c-orders { background: rgba(63,143,91,.13); color: #2f7a4b; } .ni-ic.c-bookings { background: rgba(70,110,160,.13); color: #3d6491; } .ni-ic.c-loyalty { background: rgba(183,121,31,.14); color: #94621a; } .ni-ic.c-reminders { background: rgba(140,90,150,.13); color: #7a4f86; } .ni-ic.c-chat { background: rgba(60,130,140,.13); color: #2f7680; }
html.dark .ni-ic { filter: brightness(1.7) saturate(.8); }
.ni-t { flex: 1; min-width: 0; } .ni-t b { display: block; font-size: 14.5px; } .ni-t span { display: block; color: var(--ink2); font-size: 13.5px; } .ni-t small { display: block; color: var(--ink3); font-size: 12px; margin-top: 3px; }
.nitem:not(.unread) b { font-weight: 550; } .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accentraw); flex: none; margin-top: 6px; }
.perm-status { display: flex; align-items: center; gap: 12px; padding: 14px 16px; } .perm-status > span:nth-child(2) { flex: 1; min-width: 0; } .perm-status b { display: block; } .perm-status small { color: var(--ink2); font-size: 12.5px; }
.ps-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--brandsoft); flex: none; } .perm-status.granted .ps-ic { background: rgba(63,143,91,.13); color: var(--ok); }
.pre .sh-body { padding-top: 0; } .pre-art { position: relative; width: 84px; margin: 8px auto 14px; } .pre-art .logo { width: 84px; height: 84px; font-size: 44px; border-radius: 26%; }
.pre-bell { position: absolute; top: -8px; inset-inline-end: -12px; width: 38px; height: 38px; border-radius: 50%; background: var(--bad); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--surface); animation: ring2 1.8s ease-in-out infinite; } .pre-bell .ic { width: 20px; height: 20px; }
@keyframes ring2 { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-14deg); } }
.pre h2 { font-size: 21px; margin-bottom: 6px; } .pre-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.pre-list li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--bg); font-size: 14.5px; } .pre-list .ic { color: var(--accent); }
/* ---------- sheets ---------- */
#sheets { position: absolute; inset: 0; z-index: 60; pointer-events: none; }
.sheet-wrap { position: absolute; inset: 0; pointer-events: auto; }
.scrim { position: absolute; inset: 0; background: rgba(10, 8, 6, .42); opacity: 0; transition: opacity .3s; }
.sheet { position: absolute; bottom: 0; inset-inline: 0; margin-inline: auto; width: min(100%, 600px); max-height: 92%; display: flex; flex-direction: column; background: var(--surface); border-radius: 24px 24px 0 0; transform: translateY(105%); transition: transform .34s cubic-bezier(.2,.9,.25,1); box-shadow: 0 -10px 40px rgba(0,0,0,.18); padding-bottom: var(--sb); }
html.dark .sheet { background: color-mix(in srgb, var(--bg) 86%, #fff); }
.sheet-wrap.in .scrim { opacity: 1; } .sheet-wrap.in .sheet { transform: none; }
.grab { padding: 8px 0 2px; display: grid; place-items: center; cursor: grab; touch-action: none; } .grab i { width: 38px; height: 5px; border-radius: 3px; background: var(--line); }
html.dark .grab i { background: rgba(255,255,255,.2); }
.sh-head { display: flex; align-items: center; gap: 8px; padding-block: 2px 6px; padding-inline: 20px 10px; touch-action: none; }
.sh-head h2 { flex: 1; font-size: 18px; font-weight: 700; min-width: 0; overflow-wrap: anywhere; } .sh-x { background: var(--surface2); width: 32px; height: 32px; } .sh-x .ic { width: 17px; height: 17px; }
html.dark .sh-x { background: rgba(255,255,255,.08); }
.sh-body { overflow-y: auto; overflow-x: hidden; padding: 6px 20px 16px; overscroll-behavior: contain; } .sh-body .card { box-shadow: none; background: var(--bg); }
.sh-foot { display: flex; gap: 10px; padding: 12px 20px 14px; box-shadow: 0 -1px 0 var(--line); align-items: center; } .sh-foot .btn { flex: 1; min-width: 0; } .sh-foot .stepper { flex: none; }
.qrsheet .sh-body { text-align: center; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mode-c { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; } .mode-c.on { box-shadow: inset 0 0 0 2px var(--accentraw); }
.mc-prev { width: 100%; aspect-ratio: .75; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 5px; background: #f6f1ea; } .mc-prev i { height: 8px; border-radius: 4px; background: rgba(0,0,0,.12); } .mc-prev i:first-child { height: 22px; background: #2e2420; }
.mc-prev.m-dark { background: #151210; } .mc-prev.m-dark i { background: rgba(255,255,255,.14); } .mc-prev.m-dark i:first-child { background: #b0875a; }
.mc-prev.m-system { background: linear-gradient(135deg, #f6f1ea 50%, #151210 50%); }
.steps { margin: 10px 0; padding-inline-start: 22px; display: grid; gap: 10px; } .steps li { padding-inline-start: 4px; }
/* ---------- toasts & banners ---------- */
#toasts { position: absolute; z-index: 80; inset-inline: 0; bottom: calc(var(--tabh) + var(--sb) + 16px); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
body.notabs #toasts { bottom: calc(var(--sb) + 84px); }
.toast { display: flex; align-items: center; gap: 10px; min-height: 46px; max-width: 100%; padding-block: 8px; padding-inline: 16px 8px; border-radius: 23px; background: #1d1a18; color: #f7f2ea; font-size: 14px; font-weight: 550; box-shadow: 0 12px 30px rgba(0,0,0,.3); opacity: 0; transform: translateY(14px) scale(.97); transition: all .28s var(--ease); pointer-events: auto; }
html.dark .toast { background: #f3ede4; color: #1d1a18; }
.toast:not(:has(.toast-a)) { padding-inline: 18px; } .toast.in { opacity: 1; transform: none; } .toast .ic { width: 19px; height: 19px; color: var(--accentraw); } .toast.err .ic { color: var(--bad); }
.toast-a { height: 32px; padding: 0 12px; border-radius: 16px; background: rgba(255,255,255,.14); font-weight: 700; font-size: 13px; color: inherit; flex: none; } html.dark .toast-a { background: rgba(0,0,0,.08); }
#banners { position: absolute; z-index: 90; top: calc(var(--st) + 6px); inset-inline: 8px; pointer-events: none; }
.nbanner { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px 14px; border-radius: 22px; text-align: start; background: color-mix(in srgb, var(--surface) 90%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 16px 40px rgba(0,0,0,.2), 0 0 0 1px var(--line); transform: translateY(-140%); transition: transform .45s cubic-bezier(.2,1.1,.3,1); pointer-events: auto; color: var(--ink); }
.nbanner.in, .nbanner.static { transform: none; } .nbanner.static { pointer-events: none; }
.nb-ic .logo { border-radius: 9px; } .nb-t { flex: 1; min-width: 0; } .nb-h { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink2); } .nb-h b { font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .nb-h i { font-style: normal; }
.nb-t strong { display: block; font-size: 14.5px; margin-top: 1px; overflow-wrap: anywhere; } .nb-t > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; color: var(--ink2); }
#netbar { position: absolute; z-index: 85; top: calc(var(--st) + 54px); left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 16px; background: #1d1a18; color: #f7f2ea; box-shadow: 0 6px 16px rgba(0,0,0,.2); font-size: 12.5px; font-weight: 600; pointer-events: none; white-space: nowrap; max-width: 92%; }
body.offline #netbar:not(:empty) { display: flex; } #netbar .ic { width: 16px; height: 16px; }
.ptr { position: absolute; top: 4px; left: 50%; margin-left: -17px; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); box-shadow: 0 4px 14px rgba(0,0,0,.14); display: grid; place-items: center; opacity: 0; z-index: 3; color: var(--accent); pointer-events: none; }
.ptr .ic { width: 18px; height: 18px; } .ptr.ready { color: var(--ok); } .ptr.spin .ic { animation: spin .7s linear infinite; }
/* ---------- skeleton ---------- */
.skel { display: flex; flex-direction: column; gap: 14px; } .sk { display: block; border-radius: 12px; background: linear-gradient(90deg, var(--surface2) 0%, var(--surface) 50%, var(--surface2) 100%); background-size: 200% 100%; animation: sk 1.1s linear infinite; }
html.dark .sk { background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.1), rgba(255,255,255,.05)); background-size: 200% 100%; }
@keyframes sk { to { background-position: -200% 0; } }
.sk-hero { height: 150px; border-radius: 22px; } .sk-card { height: 110px; border-radius: 18px; } .sk-chips { display: flex; gap: 8px; } .sk-c { width: 72px; height: 72px; border-radius: 18px; }
.sk-row { display: flex; gap: 12px; align-items: center; } .sk-row > span { flex: 1; display: flex; flex-direction: column; gap: 8px; } .sk-av { width: 56px; height: 56px; border-radius: 14px; flex: none; } .sk-l { height: 12px; } .w70 { width: 70%; } .w40 { width: 40%; }
/* ---------- account / info ---------- */
.mehead { display: flex; align-items: center; gap: 14px; padding: 14px 16px; } .mehead > span:nth-child(2) { flex: 1; min-width: 0; } .mehead b { display: block; font-size: 17px; } .mehead small { display: block; font-size: 13px; color: var(--ink2); }
.avpick { position: relative; display: inline-block; cursor: pointer; } .avcam { position: absolute; bottom: 0; inset-inline-end: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--primaryink); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg); } .avcam .ic { width: 17px; height: 17px; }
.ihead { display: flex; gap: 14px; align-items: center; } .ihead > div { min-width: 0; } .ihead .h2 { margin: 0; } .ihead p { font-size: 13.5px; margin-bottom: 6px; }
.contact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .contact-row a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; min-width: 0; text-align: center; }
.contact-row .ic { width: 52px; height: 52px; padding: 15px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); color: var(--accent); }
html.dark .contact-row .ic { color: var(--accentraw); }
.map { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); } .map svg { width: 100%; height: 100%; display: block; }
.m-bg { fill: color-mix(in srgb, var(--surface2) 88%, var(--accentraw)); } .m-water { fill: color-mix(in srgb, #8fb3c9 40%, var(--surface2)); } .m-road { stroke: var(--surface); stroke-width: 7; fill: none; } .m-road.b { stroke-width: 11; } .m-road.s { stroke-width: 3; opacity: .8; }
.m-blk { fill: color-mix(in srgb, var(--ink) 8%, var(--surface2)); } .m-park { fill: color-mix(in srgb, #7fa37f 35%, var(--surface2)); }
html.dark .m-road { stroke: rgba(255,255,255,.14); } html.dark .m-water { fill: #1d2b33; } html.dark .m-bg { fill: #1a1816; }
.m-pin { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); padding: 5px; border-radius: 50%; background: var(--surface); box-shadow: 0 8px 18px rgba(0,0,0,.25); animation: drop .6s var(--ease) both .2s; }
.m-pin::after { content: ''; position: absolute; left: 50%; bottom: -7px; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--surface); border-bottom: 0; }
@keyframes drop { from { transform: translate(-50%, -140%); opacity: 0; } }
.m-lbl { position: absolute; bottom: 10px; inset-inline: 10px; display: flex; align-items: center; gap: 4px 8px; padding: 8px 12px; border-radius: 12px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; flex-wrap: wrap; } .m-lbl small { width: 100%; color: var(--ink3); font-weight: 500; font-size: 11.5px; } .m-lbl .ic { width: 17px; height: 17px; color: var(--accent); }
.hours .row { min-height: 44px; padding-block: 9px; } .hours .today { background: var(--accentsoft); } .hours .today b, .hours .today .row-e { color: var(--accent); font-weight: 700; }
html.dark .hours .today b, html.dark .hours .today .row-e { color: var(--accentraw); }
.hours .row-e { font-variant-numeric: tabular-nums; direction: ltr; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .gallery .ph { border-radius: 14px; }
.about h3 { font-size: 16px; margin-bottom: 6px; }
.revhead { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 16px; } .rh-n { text-align: center; } .rh-n b { display: block; font-family: var(--fd); font-weight: 400; font-size: 48px; line-height: 1; } .rh-n small { display: block; color: var(--ink2); font-size: 12px; margin-top: 4px; }
.rh-d { display: grid; gap: 5px; } .rh-d div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink2); } .rh-d i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; display: flex; } .rh-d b { display: block; height: 100%; background: var(--accentraw); border-radius: 3px; }
.revs { display: grid; gap: 10px; } .rev { padding: 14px 16px; } .rev header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .rev header > span:nth-child(2) { flex: 1; min-width: 0; } .rev header b { display: block; font-size: 14.5px; } .rev header small { color: var(--ink3); font-size: 12px; }
.rev p { color: var(--ink2); font-size: 14px; overflow-wrap: anywhere; } .reply { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 13.5px; }
.starpick { display: flex; justify-content: center; gap: 6px; margin: 4px 0 16px; } .starpick button { color: var(--line); } .starpick .ic { width: 38px; height: 38px; fill: currentColor; stroke: none; } .starpick button.on { color: var(--accentraw); }
.chatscr .scroll { display: flex; flex-direction: column; padding-bottom: 0; } .chatscr .content { flex: 1; gap: 10px; }
.chat-info { display: flex; justify-content: center; } .chat-info .status { height: 26px; font-size: 12px; }
.msgs { display: flex; flex-direction: column; gap: 6px; flex: 1; justify-content: flex-end; }
.msg { max-width: 82%; align-self: flex-start; display: flex; flex-direction: column; gap: 2px; animation: up .25s var(--ease); }
.msg p { padding: 10px 14px; border-radius: 20px; border-end-start-radius: 6px; background: var(--surface); box-shadow: var(--shadow); font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; } .msg.me p { background: var(--primary); color: var(--primaryink); border-radius: 20px; border-end-end-radius: 6px; }
.msg time { font-size: 10.5px; color: var(--ink3); padding: 0 8px; } .msg.me time { text-align: end; }
.typing p { display: flex; gap: 4px; padding: 14px 16px; } .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink3); animation: typ 1s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-quick { display: flex; gap: 8px; overflow-x: auto; margin-inline: -16px; padding: 4px 16px; scrollbar-width: none; } .chat-quick::-webkit-scrollbar { display: none; }
.composer { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: center; padding-block: 8px calc(var(--sb) + 10px); background: var(--bg); margin-inline: -16px; padding-inline: 12px; box-shadow: 0 -1px 0 var(--line); }
.composer input { flex: 1; min-width: 0; height: 46px; border-radius: 23px; border: 1px solid var(--line); background: var(--surface); padding: 0 18px; font-size: 16px; outline: none; } .composer input:focus { border-color: var(--accentraw); }
.icbtn.send { width: 46px; height: 46px; background: var(--primary); color: var(--primaryink); } .icbtn.send .ic { width: 20px; height: 20px; }
.refer-hero, .inst-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 4px; }
.refer-hero > .ic { width: 76px; height: 76px; padding: 20px; border-radius: 26px; background: var(--accentsoft); color: var(--accent); } .refer-hero p, .inst-hero p { max-width: 340px; }
.isteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.isteps li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.is-n { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--primaryink); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.isteps li > span:nth-child(2) { flex: 1; min-width: 0; } .isteps b { display: block; font-size: 15px; } .isteps small { color: var(--ink2); font-size: 12.5px; }
.is-art { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; color: #0a84ff; flex: none; } .is-art.share { box-shadow: inset 0 0 0 2px #0a84ff; }
.prose p + p { margin-top: 10px; } .prose { color: var(--ink2); }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 48px 20px; color: var(--ink2); }
.empty > .ic { width: 56px; height: 56px; padding: 14px; border-radius: 20px; background: var(--brandsoft); color: var(--ink3); margin-bottom: 4px; } .empty h3 { color: var(--ink); font-size: 17px; } .empty p { max-width: 280px; font-size: 14px; } .empty .btn { margin-top: 8px; }
/* ---------- onboarding ---------- */
.welcome .bar { position: absolute; opacity: 0; pointer-events: none; } .welcome .scroll { padding: 0; background: var(--card); color: var(--brandink); } .welcome .content { padding: 0; max-width: none; min-height: 100%; }
.ob { min-height: 100%; flex: 1; display: flex; flex-direction: column; padding: calc(var(--st) + 14px) 0 calc(var(--sb) + 18px); background: radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--accentraw) 26%, transparent), transparent 70%), radial-gradient(70% 50% at 0% 100%, rgba(255,255,255,.06), transparent 70%), var(--card); }
.ob-lang { display: flex; justify-content: center; gap: 6px; padding: 0 16px; } .ob-lang .chip { background: rgba(255,255,255,.08); color: var(--brandink); box-shadow: none; height: 32px; } .ob-lang .chip.on { background: var(--accentraw); color: var(--card); }
.ob-brand { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 28px 16px 8px; } .ob-brand .logo { background: rgba(255,255,255,.07); } .ob-brand h1 { font-size: 26px; font-weight: 700; }
html:not([dir=rtl]) .ob-brand h1 { font-family: var(--fd); font-weight: 400; font-size: 36px; } .ob-brand p { opacity: .7; }
.ob-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 250px; } .ob-track::-webkit-scrollbar { display: none; }
.ob-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px 34px; gap: 10px; }
.ob-art { width: 104px; height: 104px; border-radius: 34px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--accentraw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); margin-bottom: 8px; } .ob-art .ic { width: 46px; height: 46px; stroke-width: 1.4; }
.ob-slide h2 { font-size: 22px; } .ob-slide p { opacity: .72; max-width: 320px; }
.ob-dots { display: flex; justify-content: center; gap: 6px; margin: 8px 0 18px; } .ob-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.25); transition: all .3s; } .ob-dots i.on { width: 22px; background: var(--accentraw); }
.ob-cta { display: flex; flex-direction: column; gap: 6px; padding: 0 20px; max-width: 480px; margin: 0 auto; width: 100%; } .ob-cta .btn.primary { background: var(--accentraw); color: var(--card); } .ob-cta .btn.link { color: var(--brandink); opacity: .7; }
/* ---------- admin ---------- */
.adm-banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--card); color: var(--brandink); } .adm-banner .ic { color: var(--accentraw); } .adm-banner b { display: block; } .adm-banner small { opacity: .7; font-size: 12.5px; }
.kgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kp { background: var(--surface); box-shadow: var(--shadow); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; } .kp small { color: var(--ink2); font-size: 12px; } .kp b { font-family: var(--fd); font-weight: 400; font-size: 30px; line-height: 1.15; } .kp em { font-style: normal; font-size: 12px; color: var(--ink3); font-weight: 600; } .kp em.up { color: var(--ok); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding-top: 18px; } .bars span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; } .bars small { font-size: 11px; color: var(--ink3); }
.bars i { width: 100%; max-width: 34px; border-radius: 8px 8px 3px 3px; background: linear-gradient(to top, var(--accentraw), color-mix(in srgb, var(--accentraw) 55%, var(--surface))); position: relative; min-height: 6px; animation: grow .6s var(--ease) both; transform-origin: bottom; } .bars span:last-child i { background: var(--primary); }
.bars em { position: absolute; top: -17px; left: -6px; right: -6px; text-align: center; font-size: 10.5px; font-style: normal; color: var(--ink2); font-weight: 700; }
@keyframes grow { from { transform: scaleY(0); } }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); min-width: 0; } .tile > .ic { width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; } .tile b { font-size: 14.5px; } .tile small { color: var(--ink2); font-size: 12px; }
html.dark .tile > .ic { color: var(--accentraw); } .tile .bdg { top: 12px; inset-inline-end: 12px; box-shadow: none; }
.npreview { border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, var(--card), color-mix(in srgb, var(--card) 60%, var(--accentraw))); padding: 14px 10px 18px; }
.np-lock small { display: block; text-align: center; color: rgba(255,255,255,.85); font-family: var(--fd); font-size: 40px; margin-bottom: 8px; }
.qitem { padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; } .qi-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .qi-h b { min-width: 0; } .qitem small { font-size: 13px; } .qi-a { display: flex; justify-content: flex-end; margin-top: 8px; }
.viewfinder { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; margin: 0 auto; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #2a2a2a, #0b0b0b); display: grid; place-items: center; transition: box-shadow .3s; }
.viewfinder video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .viewfinder.hit { box-shadow: 0 0 0 4px var(--ok) inset; }
.vf-frame { position: relative; width: 62%; aspect-ratio: 1; } .vf-frame i { position: absolute; width: 28%; height: 28%; border: 3.5px solid #fff; }
.vf-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0; } .vf-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 16px 0 0; } .vf-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 16px; } .vf-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 16px 0; }
.vf-line { position: absolute; left: 6%; right: 6%; height: 2px; background: var(--accentraw); box-shadow: 0 0 12px var(--accentraw); animation: scanl 2.2s ease-in-out infinite; } @keyframes scanl { 0%, 100% { top: 8%; } 50% { top: 90%; } }
.vf-t { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 13px; padding: 0 12px; }
.cust { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; } .cust > span:nth-child(2) { min-width: 0; } .cust b { display: block; font-size: 17px; } .cust small { display: block; color: var(--ink2); font-size: 12.5px; }
.presets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preset { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: 18px; text-align: start; background: var(--pg); color: var(--pb); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); min-width: 0; }
.preset.on { box-shadow: inset 0 0 0 2.5px var(--pa); } .preset b { font-size: 14.5px; } .preset small { font-size: 11.5px; opacity: .7; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--pb); color: var(--pa); display: grid; place-items: center; margin-bottom: 4px; } .pr-sw { position: absolute; top: 14px; inset-inline-end: 14px; display: flex; } .pr-sw i { width: 14px; height: 14px; border-radius: 50%; background: var(--pb); } .pr-sw i + i { background: var(--pa); margin-inline-start: -4px; }
.palettes { display: flex; flex-wrap: wrap; gap: 10px; } .pal { display: flex; padding: 5px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); } .pal i { width: 22px; height: 34px; } .pal i:first-child { border-radius: 10px 0 0 10px; } .pal i:last-child { border-radius: 0 10px 10px 0; }
.pal.on { box-shadow: inset 0 0 0 2px var(--accentraw); } .pal.reset { padding: 0 14px; height: 44px; align-items: center; font-size: 13px; font-weight: 600; }
.logo-ph { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1.5px dashed var(--line); } .logo-ph > span { min-width: 0; } .logo-ph b { display: block; font-size: 14px; } .logo-ph small { color: var(--ink2); font-size: 12px; }
.gsec h3 { font-size: 17px; margin-bottom: 8px; } .gsec ul { margin: 0 0 10px; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--ink2); font-size: 14.5px; } .gsec li { overflow-wrap: anywhere; }
.code { direction: ltr; text-align: left; font-size: 11.5px; line-height: 1.5; padding: 12px; border-radius: 12px; background: #1d1a18; color: #efe6da; overflow-x: auto; margin: 0 0 10px; white-space: pre; max-width: 100%; }
/* ---------- tablet & desktop ---------- */
@media (min-width: 700px) and (max-width: 1023px) {
  .content { padding-inline: 24px; } .chips, .hscroll, .chat-quick { margin-inline: -24px; padding-inline: 24px; } .composer { margin-inline: -24px; }
  .quick a > .ic { width: 64px; height: 64px; padding: 19px; } .offer { width: 46%; }
  .olist, .mlist, .svlist, .feed { grid-template-columns: 1fr 1fr; } .kgrid, .tiles { grid-template-columns: repeat(3, 1fr); } .presets { grid-template-columns: repeat(4, 1fr); }
  .lcard.big { max-width: 560px; width: 100%; align-self: center; }
}
@media (hover: hover) { .btn:hover { filter: brightness(1.05); } .chip:hover:not(.on) { color: var(--ink); } .icbtn:hover { background: var(--brandsoft); } a.row:hover, button.row:hover { background: var(--brandsoft); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } .lc-shine { display: none; } }
/* fixes after first visual review */
.lcard.big { aspect-ratio: auto; min-height: 214px; }
.lcard.big .stamps { gap: 10px; } .lcard.big .stamps i { width: 100%; max-width: 50px; justify-self: center; }
html.dark .lcard { box-shadow: 0 18px 34px -18px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.12); }
/* user-generated text (announcements, reviews, chat) gets its own direction, so Latin text in RTL keeps its punctuation in place */
.nb-t strong, .nb-t > span:last-child, .ni-t b, .ni-t span, .msg p, .rev p, .reply, .post b, .post p, #pvt, #pvb, .feed b, .feed p, .h2, .lead { unicode-bidi: plaintext; }
