/* Coruja — app da equipe (celular do garçom). Escuro como o caixa: funciona a noite toda no salão. */
:root {
  --bg: #0f0e0d;
  --panel: #171513;
  --card: #201d1a;
  --card-2: #29251f;
  --line: #312c26;
  --text: #f4efe8;
  --muted: #9d948a;
  --dim: #8d847b; /* texto terciário: 4,5:1 sobre os cartões (era #6d655c, 3,2:1) */
  --orange: #ff8a00;
  --red: #f0484c;
  --green: #34c27a;
  --blue: #4aa3ff;
  --yellow: #ffc53d;
  --f: 'Inter', system-ui, sans-serif;
  --f-display: 'Alfa Slab One', serif;
  --hd: 58px;
  --nav: calc(62px + env(safe-area-inset-bottom));
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body { font-family: var(--f); background: var(--bg); color: var(--text); font-size: 15px; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.ic { width: 18px; height: 18px; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--card-2); border-radius: 12px; padding: 10px 14px; font-weight: 700; }
.btn:disabled { opacity: .45; }
a.btn { color: var(--text); text-decoration: none; }
.btn-lg { padding: 14px 18px; font-size: 16px; }
.btn-sm { padding: 7px 11px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); border-color: var(--orange); color: #1b0f00; }
.btn-green { background: var(--green); border-color: var(--green); color: #04210f; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost.on { border-color: var(--orange); color: var(--orange); }
.in { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; outline: none; }
.in:focus { border-color: var(--orange); }
.empty { color: var(--dim); text-align: center; padding: 34px 12px; border: 1px dashed var(--line); border-radius: 14px; margin: 0; }

/* Entrada (QR / nome / acesso encerrado) */
.gate { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 22px; max-width: 420px; margin: 0 auto; }
.g-logo { width: 72px; height: 72px; margin-bottom: 14px; }
.gate h1 { font-family: var(--f-display); font-weight: 400; font-size: 30px; margin: 0 0 8px; }
.gate h1 span, .hd-t b span { color: var(--orange); }
.gate h2 { margin: 6px 0 8px; font-size: 22px; }
.gate p { color: var(--muted); margin: 0 0 22px; line-height: 1.5; }
.g-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--orange); }
.g-ic .ic { width: 26px; height: 26px; }
.gate.vencido .g-ic, .gate.bloqueado .g-ic { color: var(--red); }
.gate.conectando .g-ic .ic { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.g-form { width: 100%; display: grid; gap: 12px; text-align: left; }
.g-form label span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.g-form input { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 17px; outline: none; }
.g-form input:focus { border-color: var(--orange); }
.g-foot { color: var(--dim); margin-top: 18px; }
.g-why { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: rgba(255, 197, 61, .1); border: 1px solid rgba(255, 197, 61, .35); color: var(--yellow); border-radius: 12px; padding: 11px 13px; margin: -6px 0 16px; font-size: 14px; line-height: 1.4; }
.g-why .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.g-pass { position: relative; display: block; }
.g-form .g-pass input { padding-right: 52px; }
.g-pass button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.g-pass button .ic { width: 20px; height: 20px; }
.g-demo { margin-top: 16px; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px; }
.g-demo b { color: var(--text); }

/* Topo e navegação */
.hd { position: sticky; top: 0; z-index: 20; height: var(--hd); display: flex; align-items: center; gap: 10px; padding: 0 14px; background: rgba(15, 14, 13, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd img { width: 32px; height: 32px; }
.hd-t { position: relative; display: grid; line-height: 1.15; min-width: 0; }
/* Troca de unidade: o seletor nativo fica invisível por cima do nome (toque abre a lista do celular) */
.hd-unit { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.hd-t:has(.hd-unit) b::after { content: ' ▾'; font-size: .7em; color: var(--muted); }
.hd-t:has(.hd-unit:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.hd-t b { font-family: var(--f-display); font-weight: 400; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-t small { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; }
.hd-t small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.hd-t small.ao-vivo { color: var(--green); }
.hd-t small.ao-vivo::before { background: var(--green); animation: pulse 2s ease-in-out infinite; }
.hd-t small.erro { color: var(--yellow); }
.hd-t small.erro::before { background: var(--yellow); }
@keyframes pulse { 50% { opacity: .35; } }
.me { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 0; border-radius: 99px; background: var(--card-2); color: var(--text); font-weight: 700; font-size: 13px; max-width: 50%; white-space: nowrap; }
.me span { overflow: hidden; text-overflow: ellipsis; }
.me .ic { width: 15px; height: 15px; color: var(--orange); flex: none; }
.me .ic:last-child { color: var(--muted); margin-left: 2px; }
/* Celular estreito: o nome do app e o ícone do usuário saem para o nome da casa caber inteiro */
@media (max-width: 420px) {
  .hd-sub { display: none; }
  .me .ic:first-child { display: none; }
}
@media (max-width: 360px) {
  .hd { gap: 8px; padding: 0 12px; }
  .me { padding: 6px 9px; }
  .me .ic:first-child { display: none; }
}
main { padding: 14px 14px calc(var(--nav) + 84px); max-width: 640px; margin: 0 auto; }
.nav { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; height: var(--nav); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3, 1fr); background: var(--panel); border-top: 1px solid var(--line); }
.nav button { position: relative; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--dim); font-size: 12px; font-weight: 700; }
.nav button .ic { width: 22px; height: 22px; }
.nav button.on { color: var(--orange); }
.nav button i { position: absolute; top: 7px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-style: normal; font-size: 11px; display: grid; place-items: center; }

/* Mesas */
.sec-h { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 10px; flex-wrap: wrap; }
.sec-h h2 { margin: 0; font-size: 19px; }
.sec-h small { color: var(--muted); }
.tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tbl { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 12px 8px 10px; display: grid; gap: 3px; text-align: center; }
.tbl .n { font-family: var(--f-display); font-size: 26px; line-height: 1; }
.tbl .s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl.busy { border-color: color-mix(in srgb, var(--orange) 45%, transparent); background: color-mix(in srgb, var(--orange) 8%, transparent); }
.tbl.busy .s { color: var(--orange); font-weight: 700; }
.tbl.ready { border-color: var(--green); background: rgba(52, 194, 122, .12); }
.tbl.ready .s { color: var(--green); font-weight: 700; }
.tbl.calling { border-color: var(--yellow); background: rgba(255, 197, 61, .14); animation: ring 1.4s ease-in-out infinite; }
.tbl.calling .s { color: var(--yellow); font-weight: 700; }
@keyframes ring { 50% { box-shadow: 0 0 0 4px rgba(255, 197, 61, .18); } }
.tbl { position: relative; }
.tbl .cmd { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; color: var(--text); background: var(--card-2); border-radius: 6px; padding: 2px 5px; }
.tbl .cmd .ic { width: 12px; height: 12px; color: var(--orange); }
.cmd-on { display: flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--orange) 10%, transparent); border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent); border-radius: 12px; padding: 10px 12px; margin: 14px 0 4px; }
.cmd-on > .ic { width: 22px; height: 22px; color: var(--orange); flex: none; }
.cmd-on span { display: grid; line-height: 1.3; }
.cmd-on small { color: var(--muted); font-size: 12px; }
.cmd-in { display: grid; gap: 6px; margin: 14px 0 4px; }
.cmd-in > span { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cmd-in > span .ic { width: 16px; height: 16px; color: var(--orange); }
.cmd-in i { font-style: normal; font-weight: 500; color: var(--dim); }
.cmd-in .in { font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.tables.sm { grid-template-columns: repeat(4, 1fr); }
.tables.sm .tbl { padding: 12px 4px; }
.tables.sm .tbl.on { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 15%, transparent); color: var(--orange); }
.calls { display: grid; gap: 8px; margin-bottom: 16px; }
.call { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 14px; background: rgba(255, 197, 61, .12); border: 1px solid rgba(255, 197, 61, .5); }
.call > .ic { color: var(--yellow); width: 22px; height: 22px; }
.call div { display: grid; flex: 1; min-width: 0; }
.call small { color: var(--muted); font-size: 12.5px; }

/* Lançar */
.dest { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--orange) 50%, transparent); background: color-mix(in srgb, var(--orange) 10%, transparent); text-align: left; margin-bottom: 12px; }
.dest > .ic { color: var(--orange); width: 22px; height: 22px; }
.dest span { display: grid; flex: 1; line-height: 1.2; }
.dest small { font-size: 12px; color: var(--muted); }
.dest b { font-size: 18px; }
.dest em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--orange); }
.dest.none { border-style: dashed; animation: ring 1.6s ease-in-out infinite; }
.search { display: flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
.search .ic { color: var(--dim); }
.search input { flex: 1; border: 0; background: none; padding: 12px 0; outline: none; min-width: 0; }
.cats { display: flex; gap: 7px; overflow-x: auto; margin: 10px -14px 4px; padding: 0 14px 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 7px 13px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cats button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.items { display: grid; gap: 6px; margin-top: 8px; }
.it { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 12px; }
.it-n { flex: 1; font-weight: 600; display: flex; align-items: center; gap: 8px; min-width: 0; }
.it-q { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--orange); color: #1b0f00; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.it-p { font-weight: 700; white-space: nowrap; }
.it-p s { color: var(--dim); font-weight: 500; font-size: 12px; }
.it.out { opacity: .45; }
.it.out .it-p { color: var(--red); font-size: 12px; }
.cartbar { position: fixed; z-index: 24; left: 0; right: 0; bottom: var(--nav); padding: 10px 14px; background: linear-gradient(transparent, var(--bg) 30%); }
.cartbar button { width: 100%; max-width: 612px; margin: 0 auto; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 14px; padding: 14px 16px; background: var(--orange); color: #1b0f00; font-weight: 700; box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--orange) 60%, transparent); }
.cartbar span:nth-child(2) { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-n { min-width: 26px; height: 26px; border-radius: 99px; background: #1b0f00; color: var(--orange); display: grid; place-items: center; font-size: 13px; }

/* Folha de baixo (item, comanda, mesa) */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; max-height: 88dvh; display: flex; flex-direction: column; background: var(--panel); border-radius: 20px 20px 0 0; border-top: 1px solid var(--line); transform: translateY(105%); transition: transform .24s cubic-bezier(.2, .8, .2, 1); max-width: 640px; margin: 0 auto; padding-bottom: env(safe-area-inset-bottom); }
.sheet.on { transform: none; }
.sh-h { display: flex; align-items: flex-start; gap: 10px; padding: 16px 16px 10px; }
.sh-h div { flex: 1; min-width: 0; }
.sh-h h3 { margin: 0; font-size: 19px; }
.sh-h small { color: var(--muted); }
.x { border: 0; background: var(--card-2); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; flex: none; }
.sh-b { padding: 0 16px 12px; overflow-y: auto; }
.sh-b h4 { margin: 12px 0 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.sh-b h4:first-child { margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 8px 12px; font-size: 13.5px; font-weight: 600; }
.chip small { color: var(--muted); font-weight: 500; }
.chip.on { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 15%, transparent); color: var(--orange); }
.chip.on small { color: inherit; }
.sh-f { display: flex; gap: 10px; align-items: center; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.sh-f .btn-lg { flex: 1; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.qty button { border: 0; background: var(--card-2); border-radius: 9px; width: 38px; height: 38px; display: grid; place-items: center; }
.qty b { min-width: 28px; text-align: center; font-size: 17px; }
.qty.sm button { width: 32px; height: 32px; }
.qty.sm b { min-width: 22px; font-size: 15px; }
.tot { display: grid; line-height: 1.1; }
.tot small { color: var(--muted); font-size: 12px; }
.tot b { font-size: 20px; }
.lines { display: grid; gap: 8px; }
.ln { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.ln-t { display: grid; grid-column: 1 / -1; }
.ln-t small { color: var(--muted); font-size: 12.5px; }
.ln-t .ln-obs { color: var(--yellow); }
.ln .qty { justify-self: start; }
.ln-p { font-weight: 700; text-align: right; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.two label span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.two label i { font-style: normal; color: var(--dim); font-weight: 500; }

/* Pedidos */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; }
.seg button { border: 0; background: none; border-radius: 10px; padding: 10px 6px; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.seg button.on { background: var(--text); color: var(--bg); }
.seg i { font-style: normal; background: var(--green); color: #04210f; border-radius: 99px; padding: 1px 7px; font-size: 12px; margin-left: 4px; }
.seg small { color: inherit; opacity: .85; margin-left: 4px; }
.ocs { display: grid; gap: 9px; }
.oc { padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 8px; }
.oc.pronto { border-color: var(--green); background: rgba(52, 194, 122, .08); }
.oc.entregue, .oc.cancelado { opacity: .6; }
.oc-h { display: flex; align-items: center; gap: 8px; }
.oc-h b { font-size: 17px; }
.oc-h small { margin-left: auto; color: var(--dim); }
.where { font-weight: 700; color: var(--orange); }
.st { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--card-2); color: var(--muted); }
.st.preparo { background: color-mix(in srgb, var(--orange) 15%, transparent); color: var(--orange); }
.st.pronto { background: rgba(52, 194, 122, .18); color: var(--green); }
.st.novo { background: rgba(74, 163, 255, .15); color: var(--blue); }
.oc-it { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.oc-it em { font-style: normal; color: var(--yellow); }

/* App do motoboy (entregador.html) */
.nav.two { grid-template-columns: repeat(2, 1fr); }
.g-ic.ok { color: var(--green); margin-bottom: 4px; }
.g-two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px; }
.g-form input.up { text-transform: uppercase; }
.mb-state { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(52, 194, 122, .5); background: rgba(52, 194, 122, .1); margin-bottom: 16px; }
.mb-state span { display: grid; line-height: 1.3; }
.mb-state small { color: var(--muted); font-size: 12.5px; }
.mb-state.pause { border-color: rgba(255, 197, 61, .5); background: rgba(255, 197, 61, .1); }
.gps { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: -4px 0 10px; }
.gps i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.gps.on { color: var(--green); }
.gps.on i { background: var(--green); animation: pulse 2s ease-in-out infinite; }
.gps.off { color: var(--yellow); }
.gps.off i { background: var(--yellow); }
.dvs { display: grid; gap: 10px; }
.dv { padding: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 10px; }
.dv.go { border-color: rgba(74, 163, 255, .5); background: rgba(74, 163, 255, .06); }
.dv-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dv-h b { font-size: 18px; }
.dv-h small { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.st.rota { background: rgba(74, 163, 255, .16); color: var(--blue); }
.dv-addr { display: flex; gap: 10px; align-items: flex-start; }
.dv-addr > .ic { color: var(--orange); width: 20px; height: 20px; margin-top: 2px; }
.dv-addr div { display: grid; line-height: 1.35; min-width: 0; }
.dv-addr b { font-size: 16px; }
.dv-addr small { color: var(--muted); font-size: 13px; }
.dv-addr .ref { color: var(--yellow); }
.dv-who { display: flex; align-items: center; gap: 8px; }
.dv-who > .ic { color: var(--muted); }
.dv-who b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-who .btn { width: 40px; height: 40px; padding: 0; }
.pay { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; }
.pay > .ic { width: 22px; height: 22px; flex: none; }
.pay span { display: grid; line-height: 1.3; }
.pay small { font-size: 12.5px; opacity: .85; }
.pay.ok { background: rgba(52, 194, 122, .12); color: var(--green); }
.pay.due { background: rgba(255, 197, 61, .12); color: var(--yellow); }
.pay.sm { padding: 8px 10px; font-size: 13.5px; font-weight: 700; }
.pay.sm > .ic { width: 18px; height: 18px; }
.dv-go { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dv-go .btn { text-decoration: none; font-size: 14px; }
.dv-wait { display: flex; align-items: center; gap: 6px; color: var(--dim); font-size: 12.5px; }
.dv-wait .ic { width: 15px; height: 15px; }
.dv-note { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 8px 0 0; }
.code-in { display: grid; gap: 8px; }
.code-in span { font-size: 13px; color: var(--muted); font-weight: 600; }
.code-in input { width: 100%; text-align: center; font-size: 34px; font-weight: 800; letter-spacing: .5em; padding: 12px 0 12px .5em; background: var(--card); border: 1px solid var(--line); border-radius: 14px; outline: none; }
.code-in input:focus { border-color: var(--green); }
.chk { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.chk input { width: 22px; height: 22px; accent-color: var(--green); flex: none; }
.kp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kp div { padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; }
.kp small { color: var(--muted); font-size: 12px; font-weight: 600; }
.kp b { font-size: 21px; }
.kp .hl { border-color: color-mix(in srgb, var(--orange) 45%, transparent); background: color-mix(in srgb, var(--orange) 10%, transparent); }
.kp .hl b { color: var(--orange); }
.dv-list { display: grid; gap: 6px; margin-top: 12px; }
.dv-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.dv-row span { display: grid; line-height: 1.3; min-width: 0; }
.dv-row small { color: var(--muted); font-size: 12px; }
.dv-row em { font-style: normal; font-weight: 700; color: var(--green); }
.prof { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.prof div { display: grid; gap: 2px; min-width: 0; }
.prof div:first-child { grid-column: 1 / -1; }
.prof small { color: var(--muted); font-size: 12px; }
.plate { font-family: ui-monospace, Consolas, monospace; letter-spacing: .05em; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--nav) + 16px); transform: translate(-50%, 20px); opacity: 0; width: max-content; max-width: calc(100vw - 32px); background: var(--text); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; pointer-events: none; transition: .2s; display: flex; gap: 8px; align-items: center; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .7); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Troca de aba: a tela nova entra com um fade curto subindo 6px (C.enter). A regra de "reduzir movimento" logo abaixo desliga. */
.enter { animation: viewIn .22s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }
/* Aba escolhida na barra de baixo: o ícone dá um pulinho */
.nav button.on .ic { animation: tabPop .34s cubic-bezier(.2, .8, .2, 1); }
@keyframes tabPop { 45% { transform: scale(1.16) translateY(-1px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}

/* ===== Motoboy: foto e Perfil ===== */
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; display: inline-grid; place-items: center; background: var(--card-2); color: var(--orange); font-weight: 800; font-size: 16px; border: 1px solid var(--line); }
.av .ic { width: 50%; height: 50%; }
.av.xs { width: 24px; height: 24px; font-size: 11px; }
.av.sm { width: 30px; height: 30px; font-size: 13px; }
.av.lg { width: 64px; height: 64px; font-size: 24px; }
.av.xl { width: 88px; height: 88px; font-size: 34px; border-width: 2px; border-color: var(--orange); }
.me .av { border: 0; }
.ph-pick { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed var(--line); border-radius: 14px; background: var(--card); cursor: pointer; text-align: left; }
.ph-pick > span:last-child { display: grid; gap: 3px; }
.ph-pick small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.ph-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ph-btns .btn { cursor: pointer; min-height: 40px; }
.ph-btns .btn .ic { width: 16px; height: 16px; }
div.ph-pick { cursor: default; }
.g-by { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 8px 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.pf-top { display: flex; align-items: center; gap: 16px; margin: 4px 0 20px; }
.pf-top > div { display: grid; gap: 4px; min-width: 0; }
.pf-top b { font-size: 20px; }
.pf-top small { color: var(--muted); font-size: 13px; }
.pf-top .pf-warn { display: flex; gap: 6px; align-items: flex-start; color: var(--yellow); line-height: 1.4; }
.pf-warn .ic { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.pf-box { padding: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.pf-box input { background: var(--bg); }
.pf-link { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.pf-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.pf-refs { display: grid; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.pf-refs > small { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pf-ref { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pf-ref b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-ref em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--yellow); }
.pf-ref em.ok { color: var(--green); }
.pf-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.pf-seg button { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 13.5px; padding: 9px 4px; border-radius: 9px; }
.pf-seg button.on { background: var(--card-2); color: var(--orange); }
.pf-top { margin-bottom: 14px; }

/* Ganhos: barras dos últimos 7 dias */
.wk { display: grid; gap: 6px; margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.wk-r { display: grid; grid-template-columns: 54px 1fr 74px 22px; align-items: center; gap: 8px; font-size: 13px; }
.wk-r span { display: grid; font-weight: 700; color: var(--text); text-transform: capitalize; }
.wk-r span small { color: var(--dim); font-weight: 600; font-size: 11px; }
.wk-r i { height: 10px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.wk-r em { display: block; height: 100%; border-radius: 99px; background: color-mix(in srgb, var(--orange) 70%, transparent); }
.wk-r.today em { background: var(--orange); }
.wk-r b { text-align: right; }
.wk-r > small { color: var(--muted); text-align: right; }
.kp div small + small { font-size: 12px; }

/* Corridas: oferta com prazo, avisos */
.mb-notif { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 197, 61, .4); background: rgba(255, 197, 61, .08); color: var(--text); font: inherit; cursor: pointer; }
.mb-notif .ic { width: 22px; height: 22px; color: var(--yellow); flex: none; }
.mb-notif span { display: grid; gap: 2px; }
.mb-notif small { color: var(--muted); }
.dv.offer { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 8px 24px rgba(255, 138, 0, .15); }
.dv.offer.open { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.of-t { margin-left: auto; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.of-sum { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; }
.of-sum > .ic { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 2px; }
.of-sum span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.of-sum span small { color: var(--muted); line-height: 1.5; }
.of-sum em { font-style: normal; font-weight: 800; font-size: 20px; color: var(--green); text-align: right; display: grid; }
.of-sum em small { font-size: 11px; font-weight: 600; color: var(--muted); }
.of-bar { display: block; height: 4px; border-radius: 99px; background: var(--card-2); overflow: hidden; margin: 10px 0 0; }
.of-bar em { display: block; height: 100%; background: var(--orange); transform-origin: left; animation: ofbar linear forwards; }
@keyframes ofbar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.of-act { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 12px; }

/* Leitor de QR / código de barras (câmera em tela cheia) */
html.scanning, html.scanning body { overflow: hidden; }
.scan-ov { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; }
.scan-ov video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; left: 50%; top: 46%; width: min(68vw, 300px); aspect-ratio: 1; transform: translate(-50%, -50%); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); border-radius: 18px; }
.scan-frame i { position: absolute; width: 34px; height: 34px; border: 4px solid var(--orange); }
.scan-frame i:nth-child(1) { left: -2px; top: -2px; border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0; }
.scan-frame i:nth-child(2) { right: -2px; top: -2px; border-left: 0; border-bottom: 0; border-radius: 0 16px 0 0; }
.scan-frame i:nth-child(3) { left: -2px; bottom: -2px; border-right: 0; border-top: 0; border-radius: 0 0 0 16px; }
.scan-frame i:nth-child(4) { right: -2px; bottom: -2px; border-left: 0; border-top: 0; border-radius: 0 0 16px 0; }
.scan-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 14px) 16px 14px; background: linear-gradient(rgba(0, 0, 0, .7), transparent); }
.scan-top b { font-size: 17px; }
.scan-x { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 18px; cursor: pointer; }
.scan-bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px calc(env(safe-area-inset-bottom) + 26px); background: linear-gradient(transparent, rgba(0, 0, 0, .75)); text-align: center; }
.scan-msg { margin: 0; font-size: 15px; line-height: 1.4; }
.scan-msg.bad { color: var(--yellow); font-weight: 700; }
.hd-scan { margin-left: auto; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--card-2); color: var(--orange); flex: none; cursor: pointer; }
.hd-scan .ic { width: 20px; height: 20px; }
.hd-scan + .me { margin-left: 0; }
.hd-scan + .hd-som { margin-left: 0; }
@media (max-width: 420px) { .hd-som + .me .ic:first-child, .hd:has(.hd-scan + .hd-som) > img { display: none; } }
@media (max-width: 360px) { .hd:has(.hd-som) > img { display: none; } }
.hd-som.off { color: var(--dim); position: relative; }
.hd-som.off::after { content: ''; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; background: var(--dim); transform: rotate(-45deg); }
.scan-cta { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; margin: 0 0 12px; padding: 9px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--orange) 50%, transparent); background: color-mix(in srgb, var(--orange) 9%, transparent); color: var(--text); font: inherit; cursor: pointer; }
.scan-cta .ic { width: 26px; height: 26px; color: var(--orange); flex: none; }
.scan-cta span { display: grid; gap: 2px; }
.scan-cta small { color: var(--muted); }
.cmd-row { display: flex; gap: 8px; }
.cmd-row .in { flex: 1; min-width: 0; }
.cmd-row .btn { flex: none; padding: 0 14px; }
.cmd-in > .cmd-row { align-items: stretch; }
.cmd-in > .cmd-row .btn .ic { width: 22px; height: 22px; color: inherit; }
/* Mesas: todas na tela, sem rolar */
.tables:not(.sm) { grid-template-columns: repeat(4, 1fr); gap: 7px; }
.tables:not(.sm) .tbl { padding: 8px 3px 7px; border-radius: 12px; min-width: 0; }
.tables:not(.sm) .tbl .n { font-size: 21px; }
.tables:not(.sm) .tbl .s { font-size: 11px; }
.tables:not(.sm) .tbl .cmd { top: -5px; right: -3px; padding: 1px 5px; font-size: 10px; background: var(--card-2, var(--card)); border: 1px solid var(--line); z-index: 1; }
.tables:not(.sm) .tbl .cmd .ic { display: none; }
.cb-t { display: grid; line-height: 1.2; min-width: 0; }
.cb-t b, .cb-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-t small { font-size: 12px; font-weight: 600; opacity: .8; }
.qr-ok { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(52, 194, 122, .12); border: 1px solid rgba(52, 194, 122, .45); color: var(--text); margin-bottom: 12px; }
.qr-ok .ic { width: 26px; height: 26px; color: var(--green); flex: none; }
.qr-ok span { display: grid; gap: 2px; }
.qr-ok small { color: var(--muted); }

/* ===== Motoboy: acabamento para a rua (uma olhada, botão grande, contraste no sol, pouco scroll) ===== */
.mb button, .mb .btn { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.mb .btn, .mb .mb-state, .mb .mb-notif { transition: transform 140ms cubic-bezier(.23, 1, .32, 1), background-color .15s, border-color .15s; }
.mb .btn:active, .mb .mb-state:active, .mb .mb-notif:active { transform: scale(.97); }
.mb .btn { min-height: 44px; }
.mb .btn-sm { min-height: 40px; }
.mb .btn-lg { min-height: 52px; }
.mb .x { width: 40px; height: 40px; }
.mb .g-foot, .mb .dv-wait { color: var(--muted); }
.mb main { padding-bottom: calc(var(--nav) + 20px); }
.mb .sec-h { margin: 0 0 10px; }
.mb .sec-h h2 { font-size: 17px; }
.mb .sec-h small { font-size: 12.5px; }
.mb .sec-h.gap, .mb .mb-tabs.gap { margin-top: 16px; }
.mb .nav button { color: var(--muted); }
.mb .nav button.on { color: var(--orange); }
.mb .nav button .ic { box-sizing: content-box; padding: 4px 16px; border-radius: 99px; transition: background-color .15s; }
.mb .nav button.on .ic { background: color-mix(in srgb, var(--orange) 16%, transparent); }
.mb .nav button i { left: calc(50% + 12px); top: 5px; }
/* disponível / em pausa: um interruptor de verdade */
.mb-state { padding: 10px 14px; margin-bottom: 12px; color: var(--text); }
.mb-state span { flex: 1; min-width: 0; }
.sw { position: relative; flex: none; width: 46px; height: 28px; border-radius: 99px; background: var(--green); transition: background-color .2s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 21px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .2s cubic-bezier(.23, 1, .32, 1); }
.mb-state.pause .sw { background: var(--dim); }
.mb-state.pause .sw::after { left: 3px; }
.mb .mb-notif { margin-bottom: 12px; padding: 10px 14px; }
/* abas de Entregas */
.mb-tabs.pf-seg { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
.mb-tabs button { min-height: 42px; }
.mb-tabs i { display: inline-block; min-width: 20px; margin-left: 6px; padding: 1px 6px; border-radius: 99px; background: var(--line); color: var(--text); font-style: normal; font-size: 12px; }
.mb-tabs i.hot { background: var(--green); color: #04210f; }
/* mais de um pedido: um cartão por vez, o próximo aparece na beirada */
.rail { display: flex; align-items: stretch; gap: 10px; margin: 0 -14px; padding: 2px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 14px; overscroll-behavior-x: contain; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > .dv { flex: 0 0 calc(100% - 22px); min-width: 0; display: flex; flex-direction: column; scroll-snap-align: start; }
.rail > .dv > :last-child { margin-top: auto; }
.rail-nav { display: none; }
@media (hover: hover) and (pointer: fine) {
  .rail-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
  .rail-nav button { width: 36px; height: 36px; flex: none; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card-2); color: var(--orange); cursor: pointer; transition: border-color .15s, transform .1s; }
  .rail-nav button svg { width: 18px; height: 18px; }
  .rail-nav button:hover:not(:disabled) { border-color: var(--orange); }
  .rail-nav button:active:not(:disabled) { transform: scale(.94); }
  .rail-nav button:disabled { color: var(--muted); opacity: .45; cursor: default; }
  .rail-nav span { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; }
  .rail-nav i { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width .2s, background .2s; }
  .rail-nav i.on { width: 20px; background: var(--orange); }
}
.mb .dv-who .btn { width: 44px; height: 44px; }
.mb .pay small b { font-weight: 800; }
.mb-empty { display: grid; justify-items: center; gap: 4px; padding: 30px 18px; text-align: center; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.mb-empty span { width: 54px; height: 54px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 50%; background: var(--card-2); color: var(--orange); }
.mb-empty .ic { width: 26px; height: 26px; }
.mb-empty small { color: var(--muted); font-size: 13.5px; line-height: 1.45; text-wrap: balance; }
/* corrida: prazo, valor e os dois botões saltam primeiro */
.mb .of-sum, .mb .of-bar, .mb .of-act { margin: 0; }
.mb .dv.offer { box-shadow: 0 0 0 1px var(--orange); }
.mb .dv.offer.open { box-shadow: 0 0 0 1px var(--yellow); }
.mb .dv-h .of-t { font-size: 20px; line-height: 1; color: var(--orange); transition: color .2s; }
.mb .dv-h .of-t.low { color: var(--red); }
.mb .of-act .btn { min-height: 52px; }
/* perfil e ganhos */
.mb .pf-top .ph-btns { margin-top: 4px; }
.mb .pf-top b { font-size: 19px; overflow-wrap: anywhere; }
.wk-r.zero { opacity: .5; }
.pf-moto { margin-top: 10px; }
.dv-end { display: flex; gap: 8px; }
.dv-end .btn { flex: 1; min-width: 0; }
.dv-end .dv-iss { flex: none; padding: 0 12px; color: var(--yellow); font-size: 14px; }
.dv-end.three .btn { padding-inline: 6px; font-size: 14px; gap: 5px; }
.dv-end.three .dv-iss { width: 46px; padding: 0; }
.dv-end.three .dv-iss span { display: none; }
.mb-back { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(240, 72, 76, .5); background: rgba(240, 72, 76, .1); }
.mb-back > .ic { width: 22px; height: 22px; flex: none; color: var(--red); }
.mb-back span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.mb-back small { color: var(--muted); font-size: 12.5px; }
.mb .iss-note { display: block; margin-top: 12px; font-size: 16px; }
.iss-photo { display: flex; width: 100%; margin-top: 10px; cursor: pointer; }
.iss-photo img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.pf-act { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.pf-res { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.pf-res > .ic { width: 20px; height: 20px; flex: none; }
.pf-res span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.pf-res small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.pf-res.wait { border-color: rgba(255, 197, 61, .45); }
.pf-res.wait > .ic { color: var(--yellow); }
.pf-res.ok { border-color: rgba(52, 194, 122, .45); }
.pf-res.ok > .ic { color: var(--green); }
.pf-res.no { border-color: rgba(240, 72, 76, .45); }
.pf-res.no > .ic { color: var(--red); }
/* motoboy: chip do perfil no topo (5/11/2026) */
.mb .me { height: 38px; padding: 0 13px 0 4px; gap: 8px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.me-av { position: relative; flex: none; display: grid; }
.mb .me .av.xs { width: 30px; height: 30px; font-size: 14px; background: var(--orange); color: #141009; }
.me-av::after { content: ''; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--card-2); transition: background-color .2s; }
.me-av.off::after { background: var(--yellow); }
/* motoboy: Disponível / Em pausa */
.mb .mb-state { gap: 12px; padding: 12px 14px 12px 12px; border-radius: 18px; }
.mb .mb-state b { font-size: 16px; }
.st-ic { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 194, 122, .18); color: var(--green); transition: background-color .2s, color .2s; }
.st-ic .ic { width: 24px; height: 24px; }
.st-ic::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: st-ring 2.4s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes st-ring { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.mb-state.pause .st-ic { background: rgba(255, 197, 61, .16); color: var(--yellow); }
.mb-state.pause .st-ic::before { animation: none; }
.mb .sw { width: 52px; height: 32px; }
.mb .sw::after { top: 3px; left: 23px; width: 26px; height: 26px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.mb .mb-state.pause .sw::after { left: 3px; }
@media (prefers-reduced-motion: reduce) { .st-ic::before { animation: none; } }
/* motoboy: esperando corrida (5/11/2026) — radar, movimento e gráfico, sem pilha de cartões */
.wait { display: grid; justify-items: center; gap: 4px; padding: 14px 12px 20px; text-align: center; }
.wait > b { font-size: 18px; margin-top: 10px; }
.wait > small { color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 300px; text-wrap: balance; }
.radar { position: relative; width: 112px; height: 112px; display: grid; place-items: center; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--orange) 60%, transparent); opacity: 0; animation: radar 3s cubic-bezier(.23, 1, .32, 1) infinite; }
.radar i:nth-child(2) { animation-delay: 1s; }
.radar i:nth-child(3) { animation-delay: 2s; }
.radar span { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--orange); background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--orange) 26%, var(--card-2)), var(--card)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--orange) 35%, transparent), 0 10px 30px color-mix(in srgb, var(--orange) 22%, transparent); }
.radar .ic { width: 30px; height: 30px; }
@keyframes radar { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.2); opacity: 0; } }
.wait.off .radar i { animation: none; }
.wait.off .radar span { color: var(--yellow); background: var(--card-2); box-shadow: 0 0 0 1px rgba(255, 197, 61, .35); }
@media (prefers-reduced-motion: reduce) { .radar i { animation: none; opacity: .25; transform: scale(.9); } }

/* franja de números: uma linha, divisórias finas, sem cartões */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip > div { display: grid; gap: 3px; padding: 12px 10px; min-width: 0; }
.strip > div + div { border-left: 1px solid var(--line); }
.strip small { color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip b { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 2px; background: var(--dim); }
.lv.hi { color: var(--green); } .lv.hi::before { background: var(--green); }
.lv.mid { color: var(--yellow); } .lv.mid::before { background: var(--yellow); }
.lv.lo, .lv.off { color: var(--muted); }

/* gráfico de colunas */
.ch { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; align-items: end; height: 132px; padding-top: 18px; }
.ch-c { position: relative; height: 100%; display: grid; grid-template-rows: 1fr 16px; align-items: end; }
.ch-c i { display: block; width: 100%; max-width: 26px; justify-self: center; border-radius: 5px 5px 2px 2px; background: color-mix(in srgb, var(--text) 16%, transparent); transition: height .4s cubic-bezier(.23, 1, .32, 1); }
.ch-c.hi i { background: var(--orange); }
.ch-c.now i { outline: 1.5px solid var(--text); outline-offset: 2px; }
.ch-c small { font-size: 11px; color: var(--dim); text-align: center; white-space: nowrap; line-height: 16px; }
.ch-c.now small { color: var(--text); font-weight: 700; }
.ch-c em { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(16px + var(--h, 0%)); font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
.ch-c:has(em) { grid-template-rows: auto 1fr 16px; }
.ch-c:has(em) em { position: static; transform: none; text-align: center; margin-bottom: 3px; }
.ch-c:has(em) i { align-self: end; }

/* número grande do topo */
.big { display: grid; gap: 2px; padding: 4px 2px 14px; }
.big small { color: var(--muted); font-size: 13px; font-weight: 600; }
.big b { font-size: 34px; line-height: 1.1; letter-spacing: -.02em; color: var(--orange); font-variant-numeric: tabular-nums; }
.dl { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.dl.up { color: var(--green); }
.dl.down { color: #ff7a6b; }

/* a conta: taxa − tarifa = você recebe */
.acc { display: grid; border-top: 1px solid var(--line); }
.acc > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.acc span { display: grid; line-height: 1.3; font-size: 14px; }
.acc span small { color: var(--muted); font-size: 12px; }
.acc b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.acc b.neg { color: var(--muted); font-weight: 600; }
.acc .tot span { font-weight: 800; }
.acc .tot b { font-size: 18px; color: var(--green); }
.acc .cash { border-bottom: 0; margin-top: 8px; padding: 11px 12px; border-radius: 12px; background: rgba(255, 197, 61, .1); }
.acc .cash b { color: var(--yellow); }

/* atalho para Ganhos */
.today-lnk { width: 100%; margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 2px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--text); text-align: left; }
.today-lnk span { flex: 1; display: grid; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.today-lnk b { font-size: 17px; color: var(--text); }
.today-lnk small { color: var(--muted); font-size: 13px; }
.today-lnk .ic { width: 18px; height: 18px; color: var(--orange); }
.lnk { border: 0; background: none; padding: 0; color: var(--orange); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.g-seg { grid-template-columns: repeat(4, 1fr); }
.g-seg button { padding: 9px 2px; font-size: 13px; }

/* Garçom: estado de cada item da mesa (na cozinha · pronto · na mesa) e "Servir tudo junto" (5/11/2026) */
.oc-its { display: grid; gap: 4px; }
.oc-i { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; font-size: 14px; line-height: 1.35; }
.oc-i span { min-width: 0; }
.oc-i small { display: block; color: var(--muted); font-size: 12px; }
.oc-i em { color: var(--muted); font-style: normal; }
.oc-i i { flex: none; display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--card-2); color: var(--muted); }
.oc-i i .ic { width: 12px; height: 12px; }
.oc-i.ready i { background: rgba(52, 194, 122, .18); color: var(--green); }
.oc-i.served span { color: var(--dim); text-decoration: line-through; }
.oc-tj { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.oc-tj .ic { width: 15px; height: 15px; }
.tj { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; margin: 12px 0; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.tj span { flex: 1; display: grid; line-height: 1.3; }
.tj small { color: var(--muted); font-size: 12.5px; }
.tj:not(.on) .sw { background: var(--dim); }
.tj:not(.on) .sw::after { left: 3px; }

/* ---------- REPLAX-GO (7/11/2026): o app do motoboy é produto da REPLAX-ONE, em preto puro e branco em qualquer cliente.
   Vale por cima da marca do restaurante (core.js põe --orange e --lk-* no :root; aqui o body ganha). Verde, amarelo e vermelho seguem só para estado. */
body.mb { --bg: #000; --panel: #0b0b0b; --card: #141414; --card-2: #1d1d1d; --line: #2b2b2b; --text: #fff; --muted: #a6a6a6; --dim: #8c8c8c;
  --orange: #fff; --lk-bg: #000; --lk-accent: #fff; --lk-glow: #fff; --lk-ink: #000; }
.mb .hd { background: rgba(0, 0, 0, .92); }
.mb .btn-orange { color: #000; }
.mb .gate { background: radial-gradient(70% 40% at 50% -10%, rgba(255, 255, 255, .09), transparent 70%), #000; }
.go-word { font-family: Inter, system-ui, sans-serif; font-weight: 900; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.go-word i { font-style: normal; display: inline-block; margin-left: .16em; padding: 0 .26em; border-radius: .22em; background: #fff; color: #000; }
.gate h1 .go-word { font-size: 34px; }
.mb .hd-t .go-word { font-family: Inter, system-ui, sans-serif; font-weight: 900; font-size: 17px; overflow: visible; }
.go-logo { width: 72px; height: 72px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 22px; background: #fff; color: #000; }
.go-logo .ic { width: 42px; height: 42px; stroke-width: 1.6; }
.go-badge { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #fff; color: #000; }
.go-badge .ic { width: 21px; height: 21px; }
@media (max-width: 520px) { .go-logo { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 10px; } .go-logo .ic { width: 34px; height: 34px; } .gate h1 .go-word { font-size: 28px; } }
@media (max-width: 360px) { .hd:has(.hd-som) > .go-badge { display: none; } }
.mb .ch-c i { background: rgba(255, 255, 255, .42); }
.mb .ch-c.hi i { background: #fff; }

/* REPLAX-GO: termos, emergência, cadastro em análise, dinheiro da loja, espera, carteira e documentos */
.go-ov { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center; background: rgba(0, 0, 0, .72); padding: 12px; }
.go-ov-c { width: 100%; max-width: 480px; max-height: 86dvh; overflow: auto; overscroll-behavior: contain; background: var(--panel, #0b0b0b); border: 1px solid var(--line); border-radius: 20px; padding: 18px; animation: goUp .22s ease-out; }
@keyframes goUp { from { transform: translateY(16px); opacity: 0; } }
@media (min-width: 700px) { .go-ov { place-items: center; } }
@media (prefers-reduced-motion: reduce) { .go-ov-c { animation: none; } }
.go-terms { display: grid; gap: 12px; text-align: left; margin: 12px 0 16px; max-height: 46dvh; overflow: auto; padding-right: 4px; }
.go-ov .go-terms { max-height: none; }
.go-terms b { font-size: 14px; }
.go-terms p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.go-terms small { color: var(--dim); font-size: 11px; }
.g-terms { text-align: left; font-size: 13px; }
.g-terms .lnk { font: inherit; color: var(--text); text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.go-sos { display: grid; gap: 8px; margin-top: 12px; }
.go-sos .btn { justify-content: flex-start; }
.go-sos-lnk { display: inline-flex; align-items: center; gap: 6px; margin: 12px auto 0; padding: 8px 12px; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.go-sos-lnk .ic { width: 15px; height: 15px; }
.go-wait, .go-cash, .go-st { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 12px; }
.go-wait > .ic, .go-st > .ic { width: 22px; height: 22px; flex: none; color: #ffc53d; }
.go-st.ativo > .ic { color: #3ddc84; }
.go-wait span, .go-st span { flex: 1; display: grid; gap: 2px; }
.go-wait small, .go-st small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.go-cash { display: grid; gap: 8px; }
.go-cash > span { display: flex; align-items: center; gap: 8px; }
.go-cash > span .ic { width: 18px; height: 18px; }
.go-cash i { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.go-cash i em { display: block; height: 100%; background: #fff; border-radius: inherit; }
.go-cash.full { border-color: #ffc53d; }
.go-cash.full i em { background: #ffc53d; }
.go-cash small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.st.go-net { background: #fff; color: #000; margin-left: 6px; }
.go-at { margin-bottom: 8px; }
.go-esp { color: var(--text); }
.go-sacar { margin-top: 12px; }
.go-sacar:disabled { opacity: .45; }
.go-doc { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 10px; }
.go-doc img, .go-doc-ph { width: 76px; height: 54px; flex: none; border-radius: 8px; object-fit: cover; background: var(--card-2); display: grid; place-items: center; color: var(--dim); }
.go-doc > span { flex: 1; display: grid; gap: 4px; justify-items: start; }
.go-doc small { color: var(--muted); font-size: 12px; }
.go-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.pf-seg:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.pf-seg:has(> :nth-child(4)) button { font-size: 13px; padding-inline: 2px; }

/* ================= REPLAX-GO · visual Glacier (preto + ciano gelo, isotipo Ruta; escolhido em 7/11/2026) =================
   Verde, amarelo e vermelho continuam só para estados. Vale em qualquer cliente: ganha de brand.color e de painel. */
body.mb { --bg: #050708; --panel: #0c1012; --card: #121719; --card-2: #1a2023; --line: rgba(255, 255, 255, .085); --text: #f3f7f8; --muted: #9aa5a9; --dim: #6c777b;
  --orange: #67e8f9; --cy: #67e8f9; --cy-ink: #031417; --lk-bg: #050708; --lk-accent: #67e8f9; --lk-glow: #67e8f9; --lk-ink: #031417;
  --f: 'Manrope', 'Inter', system-ui, sans-serif; --glass: linear-gradient(180deg, rgba(30, 36, 39, .94), rgba(13, 17, 19, .96));
  --nav: calc(84px + env(safe-area-inset-bottom));
  background: radial-gradient(90% 50% at 15% -5%, rgba(103, 232, 249, .08), transparent 60%), var(--bg); min-height: 100dvh; font-family: var(--f); }
body.mb .btn { border-radius: 16px; border-color: var(--line); background: var(--card-2); font-family: var(--f); }
body.mb .btn-orange, body.mb .gate .btn-orange { background: var(--cy); border-color: var(--cy); color: var(--cy-ink); font-weight: 800; box-shadow: 0 10px 30px -8px rgba(103, 232, 249, .45); }
body.mb .btn-orange:disabled { box-shadow: none; }
body.mb .btn.go-sec { background: linear-gradient(180deg, #1b2124, #111517); color: var(--text); }
body.mb .btn.btn-arm { background: #fff; color: #000; border-color: #fff; }
body.mb .go-word i { background: var(--cy); color: var(--cy-ink); }
body.mb .go-logo { background: linear-gradient(160deg, #2a3236, #12171a); color: var(--cy); border: 1px solid rgba(255, 255, 255, .1); }
body.mb .go-logo .ic { stroke-width: 2.6; }
body.mb .go-badge { background: var(--cy); color: var(--cy-ink); }
body.mb .go-eye { display: block; color: var(--cy); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.mb .go-pill { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(103, 232, 249, .12); color: var(--cy); font-weight: 800; font-size: 13px; white-space: nowrap; }
body.mb .gl-card { background: var(--glass); border: 1px solid var(--line); border-radius: 24px; padding: 16px; }
body.mb .gl-list { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
body.mb .gl-list > * { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 15px 16px; background: none; border: 0; color: var(--text); font: inherit; text-align: left; margin: 0; }
body.mb .gl-list > * + * { border-top: 1px solid var(--line); }
body.mb .gl-list em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text); font-size: 14px; white-space: nowrap; }
body.mb .gl-list em.ok { color: var(--cy); }
body.mb .gl-list em i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
body.mb .gl-list em .ic { width: 17px; height: 17px; }
body.mb .go-back, body.mb .go-ibtn, body.mb .tp-btn { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); color: var(--text); cursor: pointer; padding: 0; }
body.mb .go-back .ic { transform: rotate(90deg); width: 22px; height: 22px; }

/* ---------- Entrar, cadastro e análise ---------- */
body.mb .gate.go-g { align-items: stretch; text-align: left; justify-content: flex-start; padding-top: max(28px, env(safe-area-inset-top)); padding-bottom: 32px; gap: 0; }
body.mb .gate.go-g > .go-logo { width: 74px; height: 74px; border-radius: 22px; margin: 18px 0 22px; }
body.mb .gate.go-g h1, body.mb .gate.go-g h2 { font-family: var(--f); text-transform: none; }
body.mb .gate.go-g h1 span { text-transform: none; }
body.mb .gate.go-g .go-hero { font-size: 34px; line-height: 1.06; font-weight: 800; letter-spacing: -.025em; margin: 0 0 10px; max-width: 12ch; }
body.mb .gate.go-g .go-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 4px; }
body.mb .gate.go-g .go-lead { color: var(--muted); font-size: 15px; margin: 0 0 18px; max-width: none; }
body.mb .go-for { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--dim); }
body.mb .go-for .go-word { font-size: 12px; color: var(--muted); }
body.mb .gate.go-g .g-form { padding: 0; background: none; border: 0; box-shadow: none; gap: 14px; max-width: none; width: 100%; }
body.mb .gate.go-g .g-form label > span:first-child, body.mb .g-lbl { color: var(--text); font-weight: 700; font-size: 14px; margin-bottom: 8px; display: block; text-transform: none; letter-spacing: 0; }
body.mb .g-form label span i, body.mb .g-lbl i { font-style: normal; color: var(--dim); font-weight: 500; }
body.mb .gate.go-g .g-form input:not([type=checkbox]):not([type=file]) { height: 56px; border-radius: 18px; background: rgba(255, 255, 255, .035); border-color: var(--line); font-family: var(--f); }
body.mb .gate.go-g .g-form input:focus { border-color: var(--cy); box-shadow: 0 0 0 3px rgba(103, 232, 249, .18); }
body.mb .gate.go-g .g-form .btn-orange { height: 58px; border-radius: 20px; font-size: 17px; margin-top: 6px; }
body.mb .go-tel { display: grid; grid-template-columns: 64px 1fr; gap: 10px; margin: 0; }
body.mb .go-tel em { display: grid; place-items: center; height: 56px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); font-style: normal; font-weight: 800; }
body.mb .go-safe { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; text-align: left; }
body.mb .go-safe .ic { color: var(--cy); width: 22px; height: 22px; flex: none; }
body.mb .go-safe small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
body.mb .gate.go-g .go-new { text-align: center; color: var(--muted); margin: 22px 0 10px; max-width: none; }
body.mb .go-new .lnk { color: var(--cy); background: none; border: 0; font: inherit; font-weight: 800; cursor: pointer; padding: 0; }
body.mb .gate.go-g .g-demo { margin-top: 12px; }
body.mb .go-steps-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
body.mb .go-steps-h small { color: var(--muted); font-weight: 700; }
body.mb .go-prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
body.mb .go-prog i { height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .12); }
body.mb .go-prog i.on { background: var(--cy); }
body.mb .go-veic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
body.mb .go-veic button { height: 56px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
body.mb .go-veic button.on { border-color: var(--cy); box-shadow: inset 0 0 0 1px var(--cy); background: rgba(103, 232, 249, .06); }
body.mb .go-files > label { cursor: pointer; }
body.mb .go-files span { display: grid; gap: 2px; min-width: 0; }
body.mb .go-files small { color: var(--muted); font-size: 12.5px; }
body.mb .go-files em { color: var(--cy); }
body.mb .gate.go-g .g-terms { background: none; border: 0; padding: 4px 0; margin: 0; color: var(--muted); font-size: 14px; }
body.mb .gate.go-g .g-terms input { accent-color: var(--cy); }
body.mb .go-meanwhile { display: grid; gap: 4px; margin: 4px 0 14px; text-align: left; }
body.mb .go-meanwhile small { color: var(--muted); font-size: 14px; line-height: 1.45; }
body.mb .go-an { text-align: center; display: grid; justify-items: center; gap: 6px; margin: 10px 0 16px; }
body.mb .an-ring { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 10px; }
body.mb .an-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
body.mb .an-ring circle { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .08); stroke-width: 3; }
body.mb .an-ring circle.v { fill: none; stroke: var(--cy); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .6s ease-out; }
body.mb .an-ring b { font-size: 34px; font-weight: 800; }
body.mb .go-an h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0; font-family: var(--f); text-transform: none; }
body.mb .go-an p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 14px; max-width: 34ch; }
body.mb .go-an .gl-list { width: 100%; text-align: left; }
body.mb .go-full { padding-top: 4px; display: grid; gap: 10px; }
body.mb .go-full .go-meanwhile { margin: 0; }
body.mb .go-full .btn { text-decoration: none; }

/* ---------- Casca: mapa no fundo, barra de cima e menu flutuante ---------- */
body.mb .go-map { position: fixed; inset: 0; z-index: 0; display: none; background: #0a0d0e; }
body.mb.on-map .go-map { display: block; }
body.mb .go-map .maplibregl-ctrl-attrib { background: rgba(5, 7, 8, .6); color: #6f7e83; font-size: 10px; }
body.mb .go-map .maplibregl-ctrl-attrib a { color: #8b969a; }
body.mb .go-map .maplibregl-ctrl-attrib-button { filter: invert(1) opacity(.5); }
body.mb .go-map .maplibregl-ctrl-top-right { top: calc(env(safe-area-inset-top) + 74px); }
body.mb .mp { display: grid; place-items: center; }
body.mb .mp.store { width: 44px; height: 44px; border-radius: 13px; background: #fff; color: #000; box-shadow: 0 8px 22px rgba(0, 0, 0, .6); }
body.mb .mp.store .ic { width: 22px; height: 22px; }
body.mb .mp.me { width: 22px; height: 22px; border-radius: 50%; background: var(--cy); border: 4px solid #050708; box-shadow: 0 0 0 10px rgba(103, 232, 249, .2); }
body.mb .mp.to { width: 16px; height: 16px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 0 6px rgba(103, 232, 249, .22); }
body.mb .mp.to.soft { background: rgba(103, 232, 249, .55); }
body.mb .go-top { position: fixed; z-index: 22; top: 0; left: 0; right: 0; display: flex; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 14px 0; max-width: 640px; margin: 0 auto; pointer-events: none; }
body.mb .go-top[hidden] { display: none; }
body.mb .go-top > * { pointer-events: auto; }
body.mb .tp-pill { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font: inherit; text-align: left; backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); cursor: pointer; }
body.mb .tp-pill > i { width: 10px; height: 10px; border-radius: 50%; background: var(--cy); flex: none; box-shadow: 0 0 0 4px rgba(103, 232, 249, .18); }
body.mb .tp-pill.off > i { background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 197, 61, .16); }
body.mb .tp-pill span { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
body.mb .tp-pill span b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mb .tp-pill span small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mb .tp-pill em { font-style: normal; display: grid; text-align: right; line-height: 1.25; flex: none; }
body.mb .tp-pill em small { color: var(--muted); font-size: 12px; }
body.mb .tp-pill em b { font-size: 16px; }
body.mb .tp-btn { width: 56px; height: auto; min-height: 56px; border-radius: 20px; backdrop-filter: blur(12px); }
body.mb .tp-btn.sos { font-weight: 800; font-size: 14px; letter-spacing: .02em; color: #fff; font-family: var(--f); }
body.mb .tp-btn.hd-som.off { color: var(--dim); }
body.mb main { position: relative; z-index: 1; padding-bottom: calc(var(--nav) + 40px); }
body.mb.on-map main { min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(env(safe-area-inset-top) + 96px); pointer-events: none; }
body.mb.on-map main > * { pointer-events: auto; }
body.mb.on-map .hd { display: none; }
body.mb .nav.go-nav { left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 68px; padding: 6px; max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  border: 1px solid var(--line); border-radius: 26px; background: rgba(14, 18, 20, .92); backdrop-filter: blur(14px); box-shadow: 0 12px 34px rgba(0, 0, 0, .55); }
body.mb .go-nav button { position: relative; border-radius: 20px; color: var(--muted); gap: 0; }
body.mb .go-nav button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.mb .go-nav button .ic { width: 25px; height: 25px; }
body.mb .go-nav button.on { background: rgba(255, 255, 255, .07); color: var(--cy); }
body.mb .go-nav button i { top: 6px; }

/* ---------- Corridas: cartões por cima do mapa ---------- */
body.mb .go-sheet { display: grid; gap: 10px; }
body.mb .go-sheet .dv, body.mb .dv.go-trip, body.mb .dv.go-offer, body.mb .dv.go-idle { background: var(--glass); border: 1px solid var(--line); border-radius: 28px; padding: 18px; gap: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); backdrop-filter: blur(14px); }
body.mb .dv.offer.go-offer { box-shadow: 0 0 0 1px rgba(103, 232, 249, .35), 0 18px 50px rgba(0, 0, 0, .6), 0 0 60px -20px rgba(103, 232, 249, .35); }
body.mb .dv.offer.go-offer.open { box-shadow: 0 0 0 1px rgba(255, 197, 61, .45), 0 18px 50px rgba(0, 0, 0, .6); }
body.mb .go-offer.open .go-eye { color: var(--yellow); }
body.mb .of-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
body.mb .of-v { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-top: 6px; }
body.mb .of-sub { color: var(--muted); font-size: 13px; }
body.mb .of-ring { position: relative; width: 62px; height: 62px; flex: none; display: grid; place-items: center; }
body.mb .of-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
body.mb .of-ring circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 4; }
body.mb .of-ring circle.v { stroke: var(--cy); stroke-linecap: round; stroke-dashoffset: 0; animation-name: goRingOut; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes goRingOut { to { stroke-dashoffset: 125.66; } }
body.mb .of-ring b { font-size: 16px; font-weight: 800; }
body.mb .of-ring b.low { color: var(--yellow); }
body.mb .of-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.mb .of-chips span { padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-weight: 700; font-size: 14px; }
body.mb .of-chips span.due { background: rgba(255, 197, 61, .14); color: var(--yellow); }
body.mb .go-route { position: relative; display: grid; gap: 14px; padding-left: 26px; }
body.mb .go-route::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 26px; width: 2px; background: rgba(255, 255, 255, .22); }
body.mb .go-route > div { position: relative; display: grid; gap: 1px; }
body.mb .go-route > div > i { position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; border-radius: 3px; background: #fff; }
body.mb .go-route .r-b > i { border-radius: 50%; background: var(--cy); }
body.mb .go-route b { font-size: 16px; }
body.mb .go-route small { color: var(--muted); font-size: 13.5px; }
body.mb .of-act { display: grid; grid-template-columns: 2fr 3fr; gap: 10px; }
body.mb .of-act .btn { height: 56px; border-radius: 20px; }
body.mb .go-stp { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
body.mb .go-stp b:first-child { color: var(--cy); }
body.mb .go-stp b:last-child { color: var(--dim); }
body.mb .go-stp.s2 b:last-child { color: var(--cy); }
body.mb .go-stp i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
body.mb .go-stp i em { display: block; height: 100%; width: 50%; background: var(--cy); border-radius: inherit; }
body.mb .go-stp.s2 i em { width: 100%; }
body.mb .tr-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
body.mb .tr-h > div:first-child { display: grid; gap: 2px; min-width: 0; }
body.mb .tr-h b { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
body.mb .tr-h small { color: var(--muted); font-size: 14px; }
body.mb .tr-h small.ref { color: var(--yellow); }
body.mb .tr-num { flex: none; display: grid; justify-items: center; padding: 8px 14px; border-radius: 16px; background: rgba(103, 232, 249, .1); }
body.mb .tr-num small { color: var(--muted); font-size: 12px; font-weight: 700; }
body.mb .tr-num b { color: var(--cy); font-size: 22px; }
body.mb .tr-note { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: 14px; line-height: 1.45; }
body.mb .tr-note b { color: var(--text); }
body.mb .tr-note b.ok { color: var(--green); }
body.mb .tr-act { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
body.mb .tr-act .btn { height: 50px; text-decoration: none; font-size: 14.5px; gap: 7px; padding: 0 6px; }
body.mb .tr-act .btn .ic { width: 19px; height: 19px; }
body.mb .tr-waze { justify-self: center; margin-top: -6px; color: var(--muted); font-size: 13px; }
body.mb .tr-waze a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
body.mb .tr-act .btn-nav { background: var(--cy); border-color: var(--cy); color: var(--cy-ink); font-weight: 800; }
body.mb .tr-end { display: flex; gap: 10px; }
body.mb .tr-end .btn { flex: 1; height: 56px; border-radius: 20px; }
body.mb .tr-end .btn.go-sec { flex: .6; }
body.mb .go-trip .btn-block { height: 58px; border-radius: 20px; font-size: 17px; }
body.mb .go-sheet .gps { margin: 0; justify-self: center; background: rgba(5, 7, 8, .8); padding: 6px 12px; border-radius: 999px; }
body.mb .go-sheet .mb-tabs { margin: 0; background: rgba(12, 16, 18, .92); backdrop-filter: blur(12px); }
body.mb .go-sheet .rail > .dv { box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
body.mb .go-idle .idle-h { display: flex; gap: 14px; align-items: center; }
body.mb .go-idle .idle-h > span:last-child { display: grid; gap: 2px; }
body.mb .go-idle .idle-h b { font-size: 18px; }
body.mb .go-idle .idle-h small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
body.mb .radar-s { position: relative; width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 18px; background: rgba(103, 232, 249, .1); color: var(--cy); }
body.mb .radar-s .ic { width: 28px; height: 28px; stroke-width: 2.4; }
body.mb .radar-s i { position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(103, 232, 249, .5); animation: goPing 2.2s ease-out infinite; }
body.mb .radar-s.off { background: rgba(255, 197, 61, .1); color: var(--yellow); }
body.mb .radar-s.off i { display: none; }
@keyframes goPing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { body.mb .radar-s i { animation: none; } }
body.mb .go-idle .strip { border: 0; background: rgba(255, 255, 255, .04); border-radius: 16px; }
body.mb .go-sheet .go-wait, body.mb .go-sheet .go-cash, body.mb .go-sheet .mb-notif, body.mb .go-sheet .mb-back { margin: 0; background: var(--glass); border-radius: 20px; backdrop-filter: blur(12px); }

/* ---------- Confirmar entrega e problema: tela cheia ---------- */
body.mb .sheet.full { top: 0; max-height: none; height: 100dvh; border-radius: 0; border: 0; background: radial-gradient(90% 40% at 80% 0%, rgba(103, 232, 249, .07), transparent 60%), var(--bg); padding-top: env(safe-area-inset-top); }
body.mb .sheet.full .sh-b { flex: 1; display: grid; align-content: start; gap: 14px; padding: 0 18px 16px; }
body.mb .sheet.full .sh-f { border: 0; padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); }
body.mb .sheet.full .sh-f .btn { height: 58px; border-radius: 20px; font-size: 17px; }
body.mb .fs-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 4px; }
body.mb .fs-t { padding: 10px 18px 14px; display: grid; gap: 4px; }
body.mb .fs-t h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-family: var(--f); }
body.mb .fs-cust { display: flex; align-items: center; gap: 14px; }
body.mb .fs-cust div { display: grid; gap: 2px; min-width: 0; }
body.mb .fs-cust b { font-size: 18px; }
body.mb .fs-cust small { color: var(--muted); }
body.mb .pf-ini { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 17px; background: linear-gradient(160deg, #2a3236, #161b1e); border: 1px solid var(--line); font-weight: 800; font-size: 18px; overflow: hidden; }
body.mb .pf-ini img { width: 100%; height: 100%; object-fit: cover; }
body.mb .otp { position: relative; display: block; }
body.mb .otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; z-index: 1; }
body.mb .otp span { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
body.mb .otp i { height: 74px; display: grid; place-items: center; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-style: normal; font-size: 32px; font-weight: 800; }
body.mb .otp i.on { border-color: var(--cy); box-shadow: inset 0 0 0 1px var(--cy); background: #0b1012; }
body.mb .otp input:focus + span i:not(.on) { border-color: rgba(103, 232, 249, .35); }
body.mb .fs-more > button { cursor: pointer; font-weight: 700; }
body.mb .fs-more > button span { display: flex; align-items: center; gap: 10px; }
body.mb .fs-more > button span .ic { width: 19px; height: 19px; color: var(--muted); }
body.mb .fs-more > button > .ic { width: 18px; height: 18px; transform: rotate(-90deg); color: var(--muted); }
body.mb .sheet.full .chk { margin: 0; background: var(--glass); border-radius: 18px; }

/* ---------- Perfil, ganhos e carteira ---------- */
body.mb .go-pg { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 14px; font-family: var(--f); }
body.mb .go-pg-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
body.mb .go-pg-h .go-pg { margin: 0; flex: 1; }
body.mb .go-pg-h small { font-size: 11.5px; color: var(--muted); }
body.mb .pf-hd { display: flex; align-items: center; gap: 14px; margin: 6px 0 16px; }
body.mb .pf-hd > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
body.mb .pf-hd b { font-size: 22px; font-weight: 800; }
body.mb .pf-hd small { color: var(--muted); font-size: 14px; }
body.mb .pf-hd .pf-ini { width: 62px; height: 62px; border-radius: 20px; font-size: 20px; }
body.mb .pf-earn { display: grid; gap: 10px; }
body.mb .pe-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
body.mb .pe-h small, body.mb .go-saldo small { color: var(--muted); font-size: 14px; }
body.mb .pe-h b, body.mb .go-saldo .sl-h b { display: block; font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 4px; }
body.mb .go-seg2 { display: flex; padding: 4px; gap: 2px; border-radius: 16px; background: rgba(255, 255, 255, .05); flex: none; }
body.mb .go-seg2 button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 12px; cursor: pointer; }
body.mb .go-seg2 button.on { background: rgba(255, 255, 255, .1); color: var(--text); }
body.mb .pf-earn .ch { height: 150px; }
body.mb .ch-c i { background: rgba(255, 255, 255, .16); }
body.mb .pf-earn .ch-c i { background: rgba(255, 255, 255, .13); border-radius: 9px; }
body.mb .ch-c.hi i, body.mb .pf-earn .ch-c.hi i { background: var(--cy); box-shadow: 0 0 22px rgba(103, 232, 249, .35); }
body.mb .pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
body.mb .pf-stats div { display: grid; gap: 2px; padding: 14px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); min-width: 0; }
body.mb .pf-stats b { font-size: 21px; font-weight: 800; white-space: nowrap; }
body.mb .pf-stats small { color: var(--muted); font-size: 13px; }
body.mb .go-saldo { display: grid; gap: 12px; }
body.mb .sl-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
body.mb .sl-to { color: var(--muted); font-size: 13.5px; margin-top: -6px; }
body.mb .sl-last { display: flex; justify-content: space-between; align-items: center; }
body.mb .sl-last b { font-size: 16px; }
body.mb .go-saldo .btn-lg { height: 58px; border-radius: 20px; font-size: 17px; }
body.mb .go-saldo .btn:disabled { background: var(--card-2); border-color: var(--line); color: var(--muted); box-shadow: none; opacity: 1; }
@media (max-width: 360px) {
  body.mb .of-v { font-size: 34px; } body.mb .gate.go-g .go-hero { font-size: 29px; } body.mb .tr-act .btn { font-size: 13px; gap: 5px; }
  body.mb .pf-stats b { font-size: 18px; } body.mb .pf-stats div { padding: 12px 10px; } body.mb .otp i { height: 64px; }
  body.mb .pe-h b, body.mb .go-saldo .sl-h b { font-size: 30px; } body.mb .tp-pill { padding: 10px 12px; gap: 10px; } body.mb .tp-pill span b { font-size: 15px; }
}
body.mb .gate.go-g .btn-block + .btn-block, body.mb .go-full .btn + .btn { margin-top: 2px; } body.mb .gate.go-g > .btn-block + .btn-block { margin-top: 10px; }
@media (max-width: 360px) { body.mb .tr-h b { font-size: 19px; } body.mb .tr-num { padding: 6px 10px; } body.mb .tr-num b { font-size: 19px; } body.mb .of-act .btn, body.mb .tr-end .btn { font-size: 15px; padding: 0 8px; } }

/* ================= REPLAX-GO · Início, Online por deslizar, resumo ao segurar e Pagamentos (7/11/2026) ================= */
body.mb .cnt, body.mb .pe-h b, body.mb .pf-stats b, body.mb .go-saldo b, body.mb .big b { font-variant-numeric: tabular-nums; }
/* menu com nome embaixo do ícone */
body.mb .nav.go-nav { height: 72px; }
body.mb .go-nav button { display: grid; justify-items: center; align-content: center; gap: 3px; }
body.mb .go-nav button span { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 11.5px; font-weight: 700; }
body.mb .go-nav button .ic { width: 23px; height: 23px; }
body.mb .go-nav button.on { background: none; }
body.mb .go-nav button.on .ic { color: var(--cy); filter: drop-shadow(0 0 8px rgba(103, 232, 249, .45)); }
body.mb .go-nav button i { top: 4px; left: calc(50% + 6px); right: auto; }
/* barras crescem ao abrir a tela */
body.mb .grow .ch-c i { animation: goGrow .7s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom; }
body.mb .grow .ch-c:nth-child(2n) i { animation-delay: .05s; } body.mb .grow .ch-c:nth-child(3n) i { animation-delay: .1s; }
@keyframes goGrow { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { body.mb .grow .ch-c i { animation: none; } }

/* ---------- Início ---------- */
body.mb .hm-hd { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; }
body.mb .hm-hd > div { flex: 1; min-width: 0; display: grid; }
body.mb .hm-hd small { color: var(--muted); font-size: 13.5px; }
body.mb .hm-hd b { font-size: 19px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mb .hm-hd .pf-ini { position: relative; overflow: visible; border-radius: 50%; width: 52px; height: 52px; font-size: 17px; }
body.mb .hm-hd .pf-ini img { border-radius: 50%; }
body.mb .hm-hd .pf-ini i { position: absolute; right: -1px; bottom: -1px; width: 15px; height: 15px; border-radius: 50%; background: var(--dim); border: 3px solid var(--bg); }
body.mb .hm-hd .pf-ini i.on { background: var(--green); }
body.mb .hm-hd .go-ibtn { border-radius: 50%; width: 46px; height: 46px; }
body.mb .hm-hd .go-ibtn b { font-size: 18px; }
body.mb .hm-hd .go-ibtn.off { color: var(--dim); }

/* Online: trilho escuro com o puxador de vidro fosco; o brilho ciano acompanha o puxador */
body.mb .go-sw { --sw: 0; position: relative; height: 78px; border-radius: 39px; margin-bottom: 14px; background: #080b0c; border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 3px 12px rgba(0, 0, 0, .75), 0 1px 0 rgba(255, 255, 255, .04); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
body.mb .go-sw.on { --sw: 1; }
body.mb .go-sw:focus-visible { box-shadow: inset 0 3px 12px rgba(0, 0, 0, .75), 0 0 0 3px rgba(103, 232, 249, .5); }
body.mb .sw-glow { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(103, 232, 249, .02), rgba(103, 232, 249, .28) 55%, rgba(103, 232, 249, .75));
  clip-path: inset(0 calc((1 - var(--sw)) * 100% + 18px) 0 0 round 39px); opacity: calc(.25 + var(--sw) * .75); transition: clip-path .22s ease-out, opacity .22s; }
body.mb .go-sw.drag .sw-glow, body.mb .go-sw.drag .sw-k { transition: none; }
body.mb .sw-txt { position: absolute; top: 0; bottom: 0; display: grid; align-content: center; gap: 1px; left: calc(42% + 22px); right: 18px; transition: opacity .2s; }
body.mb .go-sw.on .sw-txt { left: 26px; right: calc(42% + 14px); }
body.mb .sw-txt b { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
body.mb .go-sw.on .sw-txt b { color: #e9fdff; text-shadow: 0 0 18px rgba(103, 232, 249, .6); }
body.mb .sw-txt small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
body.mb .go-sw.on .sw-txt small { color: rgba(233, 253, 255, .75); }
body.mb .go-sw.drag .sw-txt { opacity: .35; }
body.mb .sw-k { position: absolute; top: 6px; bottom: 6px; left: 6px; width: 42%; border-radius: 33px; display: grid; grid-template-columns: repeat(3, 6px); gap: 8px 9px; place-content: center;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 7px), linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -8px 16px rgba(0, 0, 0, .18), 0 8px 20px rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
body.mb .go-sw.on .sw-k { left: auto; right: 6px; }
body.mb .sw-k i { width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .35) 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
body.mb .go-sw.on .sw-k i { background: radial-gradient(circle at 35% 30%, #fff, rgba(103, 232, 249, .7) 70%); }
body.mb .go-sw.nudge .sw-k { animation: swNudge .5s ease-out; }
@keyframes swNudge { 30% { translate: 14px; } 60% { translate: -4px; } }
body.mb .go-sw.on.nudge .sw-k { animation-name: swNudgeL; }
@keyframes swNudgeL { 30% { translate: -14px; } 60% { translate: 4px; } }
@media (prefers-reduced-motion: reduce) { body.mb .go-sw.nudge .sw-k { animation: none; } }

body.mb .hm-bn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 12px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
body.mb .hm-bn > .ic:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 13px; background: rgba(255, 197, 61, .12); color: var(--yellow); flex: none; }
body.mb .hm-bn.ride > .ic:first-child { background: rgba(103, 232, 249, .12); color: var(--cy); }
body.mb .hm-bn span { flex: 1; min-width: 0; display: grid; }
body.mb .hm-bn b { font-size: 15.5px; }
body.mb .hm-bn small { color: var(--muted); font-size: 13px; }
body.mb .hm-bn > .ic:last-child { transform: rotate(-90deg); width: 18px; color: var(--muted); }
body.mb .hm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.mb .hm-c { position: relative; display: grid; align-content: end; gap: 2px; min-height: 148px; padding: 16px; border-radius: 26px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font: inherit; text-align: left; cursor: pointer;
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; transition: transform .15s ease-out; }
body.mb .hm-c:active { transform: scale(.97); }
body.mb .hm-c.hl { background: linear-gradient(160deg, #8ef0fb, #4fd3ea); border-color: transparent; color: #031417; box-shadow: 0 16px 40px -14px rgba(103, 232, 249, .6); }
body.mb .hm-i { position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .07); }
body.mb .hm-c.hl .hm-i { background: rgba(3, 20, 23, .1); }
body.mb .hm-i .ic { width: 21px; height: 21px; }
body.mb .hm-go { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
body.mb .hm-c.hl .hm-go { background: #031417; color: #fff; }
body.mb .hm-go .ic { width: 18px; height: 18px; transform: rotate(-45deg); }
body.mb .hm-c small { color: var(--muted); font-size: 13.5px; font-weight: 600; }
body.mb .hm-c.hl small { color: rgba(3, 20, 23, .7); }
body.mb .hm-c b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mb .hm-sum { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 6px; }
body.mb .hm-sum > div { display: grid; justify-items: center; gap: 4px; }
body.mb .hm-sum > div + div { border-left: 1px solid var(--line); }
body.mb .hm-sum small { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
body.mb .hm-sum small i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
body.mb .hm-sum small i.ok { background: var(--green); } body.mb .hm-sum small i.cy { background: var(--cy); }
body.mb .hm-sum b { font-size: 20px; font-weight: 800; }

/* Resumo ao segurar um cartão: folha flutuante que sobe de baixo, compacta. Enquanto o dedo está no cartão,
   a folha não recebe toques (.hold) e nada da tela é selecionado. Arrastar para baixo fecha. */
body.mb .hm-grid, body.mb .hm-hd, body.mb .go-sw, body.mb.holding { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.go-peek { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); background: rgba(2, 4, 5, .52); animation: pkFade .2s ease-out; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.go-peek.out { animation: pkFade .18s ease-in reverse forwards; }
.go-peek.hold .pk-c { pointer-events: none; }
.go-peek .pk-c { position: relative; width: min(100%, 460px); display: grid; gap: 14px; padding: 10px 16px 16px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(28, 34, 37, .94), rgba(11, 14, 16, .97)); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 -18px 60px -10px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .07); color: #f3f7f8; font-family: 'Manrope', system-ui, sans-serif;
  animation: pkUp .34s cubic-bezier(.2, .9, .25, 1); touch-action: none; }
.go-peek.out .pk-c { animation: pkDown .2s ease-in forwards; }
.go-peek .pk-c::before { content: ''; position: absolute; inset: 0 30% auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .55), transparent); }
@keyframes pkFade { from { opacity: 0; } }
@keyframes pkUp { from { transform: translateY(110%); } }
@keyframes pkDown { to { transform: translateY(110%); } }
@media (prefers-reduced-motion: reduce) { .go-peek, .go-peek .pk-c, .go-peek.out, .go-peek.out .pk-c { animation-duration: .01s; } }
.go-peek .pk-grab { justify-self: center; width: 38px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.go-peek .pk-hd { display: flex; align-items: center; gap: 12px; min-width: 0; }
.go-peek .pk-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: rgba(103, 232, 249, .1); border: 1px solid rgba(103, 232, 249, .22); color: #67e8f9; }
.go-peek .pk-ic svg { width: 22px; height: 22px; }
.go-peek .pk-hd > div { flex: 1; min-width: 0; display: grid; gap: 1px; }
.go-peek .go-eye { color: #67e8f9; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.go-peek .pk-sub { color: #9aa5a9; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go-peek .pk-name { font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go-peek .pk-big { flex: none; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.go-peek .pk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.go-peek .pk-stats > div { min-width: 0; display: grid; gap: 3px; padding: 11px 12px; border-radius: 17px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .06); }
.go-peek .pk-stats small { color: #8b969a; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go-peek .pk-stats b { font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.go-peek .pk-spark { display: flex; align-items: flex-end; gap: 4px; height: 38px; padding: 0 2px; }
.go-peek .pk-spark i { flex: 1; min-height: 3px; border-radius: 4px 4px 2px 2px; background: rgba(103, 232, 249, .28); }
.go-peek .pk-spark i.now { background: #67e8f9; box-shadow: 0 0 12px rgba(103, 232, 249, .5); }
.go-peek .btn { height: 50px; margin: 0; border-radius: 17px; background: #67e8f9; border-color: #67e8f9; color: #031417; font-weight: 800; font-family: inherit; font-size: 15.5px; }
@media (max-width: 360px) { .go-peek .pk-big { font-size: 25px; } .go-peek .pk-stats > div { padding: 9px 10px; } .go-peek .pk-stats b { font-size: 14px; } }

/* ---------- Pagamentos ---------- */
body.mb .py-tot { display: grid; justify-items: end; }
body.mb .py-tot small { color: var(--muted); font-size: 12.5px; }
body.mb .py-tot b { font-size: 19px; font-weight: 800; }
body.mb .py-m { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 10px; }
body.mb .py-m button { height: 38px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; }
body.mb .py-m button.on { background: #f3f7f8; color: #050708; }
body.mb .py-d { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; margin: 0 -16px 12px; padding-inline: 16px; scroll-snap-type: x proximity; }
body.mb .py-d::-webkit-scrollbar { display: none; }
body.mb .py-d button { flex: 0 0 60px; height: 76px; display: grid; justify-items: center; align-content: center; gap: 1px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font: inherit; cursor: pointer; scroll-snap-align: center; }
body.mb .py-d button b { font-size: 21px; font-weight: 800; }
body.mb .py-d button small { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: capitalize; }
body.mb .py-d button span { display: flex; gap: 3px; height: 6px; }
body.mb .py-d button span i { width: 5px; height: 5px; border-radius: 50%; }
body.mb .py-d i.ok { background: var(--green); } body.mb .py-d i.pend { background: var(--yellow); }
body.mb .py-d button.on { background: linear-gradient(160deg, #8ef0fb, #4fd3ea); border-color: transparent; color: #031417; box-shadow: 0 10px 26px -10px rgba(103, 232, 249, .6); }
body.mb .py-d button.on small { color: rgba(3, 20, 23, .7); }
body.mb .py-d button.on i.ok, body.mb .py-d button.on i.pend { background: #031417; }
body.mb .py-d button.off { opacity: .35; pointer-events: none; }
body.mb .go-seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); margin-bottom: 12px; }
body.mb .go-seg3 button { height: 40px; border: 0; border-radius: 14px; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
body.mb .go-seg3 button.on { background: rgba(255, 255, 255, .1); color: var(--text); }
body.mb .py-list { display: grid; gap: 10px; margin-bottom: 10px; }
body.mb .py-it { display: grid; gap: 10px; padding: 14px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); }
body.mb .py-a { display: flex; align-items: center; gap: 12px; }
body.mb .py-a > div:nth-child(2) { flex: 1; min-width: 0; display: grid; }
body.mb .py-a b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mb .py-a small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mb .py-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .07); }
body.mb .py-ic .ic { width: 20px; height: 20px; }
body.mb .py-v { display: grid; justify-items: end; flex: none; }
body.mb .py-v b { font-size: 17px; font-weight: 800; }
body.mb .py-v small { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 12.5px; }
body.mb .py-v small i { width: 7px; height: 7px; border-radius: 50%; }
body.mb .py-v small.ok { color: var(--green); } body.mb .py-v small.ok i { background: var(--green); }
body.mb .py-v small.pend { color: var(--yellow); } body.mb .py-v small.pend i { background: var(--yellow); }
body.mb .py-id { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
body.mb .py-id small { color: var(--muted); font-size: 13px; }
body.mb .py-id b { font-size: 13.5px; }
body.mb .py-cart { width: 100%; display: flex; align-items: center; gap: 12px; color: var(--text); font: inherit; text-align: left; cursor: pointer; margin-top: 4px; }
body.mb .py-cart > .ic:first-child { width: 22px; height: 22px; color: var(--cy); }
body.mb .py-cart span { flex: 1; display: grid; }
body.mb .py-cart small { color: var(--muted); font-size: 13px; }
body.mb .py-cart em { font-style: normal; font-weight: 800; }
body.mb .py-cart > .ic:last-child { transform: rotate(-90deg); width: 18px; color: var(--muted); }

/* ---------- Carteira ---------- */
body.mb .sl-wk { display: grid; justify-items: end; }
body.mb .go-saldo .sl-wk b { font-size: 16px; font-weight: 800; margin-top: 4px; }
body.mb .sl-btns { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
body.mb .sl-btns .btn { height: 56px; border-radius: 18px; font-size: 16px; }
body.mb .go-saldo .sl-to { margin-top: 0; }
body.mb .go-mov em.in { color: var(--cy); }
body.mb .go-mov em.out { color: var(--text); }
@media (max-width: 360px) {
  body.mb .hm-c { min-height: 132px; padding: 14px; } body.mb .hm-c b { font-size: 21px; } body.mb .hm-i, body.mb .hm-go { width: 36px; height: 36px; }
  body.mb .sw-txt b { font-size: 17px; } body.mb .sw-txt small { font-size: 11.5px; } body.mb .py-d button { flex-basis: 54px; }
  body.mb .go-nav button span { font-size: 10.5px; }
}
body.mb .go-mov em { background: none; border: 0; padding: 0; box-shadow: none; font-weight: 800; } body.mb .sl-btns .btn { margin: 0; }

/* Foto do Início: é um botão que abre o Perfil */
body.mb button.pf-ini { padding: 0; color: var(--text); font-family: inherit; cursor: pointer; transition: transform .12s; }
body.mb button.pf-ini:active { transform: scale(.94); }
body.mb button.pf-ini:focus-visible { outline: 2px solid #67e8f9; outline-offset: 3px; }

/* Ofertas no mapa: deslizar para comparar, a melhor por km primeiro */
body.mb .of-hint { justify-self: center; width: max-content; margin: 0 auto 8px; padding: 6px 12px; border-radius: 99px; background: rgba(5, 7, 8, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); color: #c9d1d4; font-size: 12.5px; font-weight: 700; }
body.mb .of-n { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
body.mb .of-n span { color: var(--muted); font-size: 12.5px; font-weight: 700; }
body.mb .of-n em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12px; font-weight: 800; color: #031417; background: #67e8f9; padding: 4px 10px 4px 8px; border-radius: 99px; }
body.mb .of-n em svg { width: 13px; height: 13px; fill: currentColor; }
body.mb .mp.me { animation: mpMe 2.4s ease-out infinite; }
@keyframes mpMe { 0% { box-shadow: 0 0 0 0 rgba(103, 232, 249, .45); } 100% { box-shadow: 0 0 0 18px rgba(103, 232, 249, 0); } }
@media (prefers-reduced-motion: reduce) { body.mb .mp.me { animation: none; } }

/* Início: gráfico de desempenho (ganhos dos 7 dias ou melhores horários) */
body.mb .hm-ch { display: grid; gap: 12px; padding: 14px 14px 10px; }
body.mb .go-seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
body.mb .go-seg2 button { height: 36px; border: 0; border-radius: 12px; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
body.mb .go-seg2 button.on { background: rgba(255, 255, 255, .1); color: var(--text); }
body.mb .hc-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
body.mb .hc-h > div { display: grid; min-width: 0; }
body.mb .hc-h small { color: var(--muted); font-size: 13px; font-weight: 600; }
body.mb .hc-h b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body.mb .hc-h .dl { flex: none; font-size: 12.5px; font-weight: 800; padding: 5px 9px; border-radius: 99px; background: rgba(255, 255, 255, .06); }
body.mb .hc-lv { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: var(--muted); }
body.mb .hc-lv i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
body.mb .hc-lv.hi i { background: var(--green); } body.mb .hc-lv.mid i { background: var(--yellow); } body.mb .hc-lv.lo i { background: #67e8f9; }
body.mb .hm-ch .ch { height: 132px; margin: 0; }
body.mb .hm-ch .ch-c i { background: rgba(103, 232, 249, .22); max-width: 30px; }
body.mb .hm-ch .ch-c.hi i { background: #67e8f9; box-shadow: 0 0 16px -2px rgba(103, 232, 249, .55); }
body.mb .hm-ch .ch-c.now i { outline-color: rgba(255, 255, 255, .7); }
body.mb .hm-ch .ch-c em { color: #c9d1d4; font-weight: 700; }
body.mb .hc-more { display: flex; align-items: center; justify-content: center; gap: 4px; height: 40px; border: 0; border-top: 1px solid var(--line); background: none; color: #67e8f9; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; margin: 0 -14px; }
body.mb .hc-more svg { width: 16px; height: 16px; transform: rotate(-90deg); }

/* Pagamentos: total em destaque, dias menores e cada corrida abre os detalhes */
body.mb .py-hero { display: grid; gap: 2px; padding: 16px 18px; margin-bottom: 12px; }
body.mb .py-hero small { color: var(--muted); font-size: 13px; font-weight: 600; }
body.mb .py-hero b { font-size: 40px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
body.mb .py-hero span { color: var(--muted); font-size: 13.5px; }
body.mb .py-d { gap: 6px; }
body.mb .py-d button { flex: 0 0 46px; height: 58px; border-radius: 15px; }
body.mb .py-d button b { font-size: 17px; }
body.mb .py-d button small { font-size: 10.5px; }
body.mb .py-d button span { height: 5px; }
body.mb .py-d button span i { width: 4px; height: 4px; }
body.mb details.py-it { padding: 0; gap: 0; }
body.mb details.py-it summary { list-style: none; cursor: pointer; padding: 14px; border-radius: 22px; }
body.mb details.py-it summary::-webkit-details-marker { display: none; }
body.mb details.py-it summary:focus-visible { outline: 2px solid #67e8f9; outline-offset: -2px; }
body.mb .py-chev { flex: none; display: grid; place-items: center; width: 22px; color: var(--dim); transition: transform .2s; }
body.mb .py-chev svg { width: 16px; height: 16px; }
body.mb details[open] .py-chev { transform: rotate(180deg); }
body.mb .py-more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
body.mb .py-more > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); min-width: 0; }
body.mb .py-more small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mb .py-more b { font-size: 14.5px; font-weight: 800; }
@keyframes pyOpen { from { opacity: 0; transform: translateY(-4px); } }
/* Carteira: quando receber */
body.mb .go-freq { display: grid; gap: 10px; padding: 14px; margin-bottom: 12px; }
body.mb .fq-h { display: grid; gap: 1px; }
body.mb .fq-h b { font-size: 15.5px; }
body.mb .fq-h small { color: var(--muted); font-size: 13px; }
body.mb .fq-o { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
body.mb .fq-o button { height: 40px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; padding: 0 2px; }
body.mb .fq-o button.on { background: #67e8f9; border-color: #67e8f9; color: #031417; }
@media (max-width: 360px) { body.mb .py-hero b { font-size: 34px; } body.mb .fq-o button { font-size: 12px; } }

/* Nota do motoboy (clientes e restaurantes) */
body.mb .hm-rate { justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
body.mb .hm-rate svg { width: 14px; height: 14px; fill: #fcd34d; }
body.mb .hm-rate small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
body.mb .go-stars { display: inline-flex; gap: 2px; }
body.mb .go-stars i { position: relative; width: 16px; height: 16px; }
body.mb .go-stars svg { width: 100%; height: 100%; fill: rgba(255, 255, 255, .14); }
body.mb .go-stars i.on svg { fill: #fcd34d; }
body.mb .go-stars i.half svg { fill: rgba(255, 255, 255, .14); }
body.mb .go-stars i.half::after { content: ''; position: absolute; inset: 0; width: 50%; overflow: hidden; background: #fcd34d; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.3L12 17.1l-5.7 3.1 1.2-6.3L2.8 9.5l6.4-.8z'/%3E%3C/svg%3E") left / 200% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.3L12 17.1l-5.7 3.1 1.2-6.3L2.8 9.5l6.4-.8z'/%3E%3C/svg%3E") left / 200% 100% no-repeat; }
body.mb .pf-rate { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px; margin-bottom: 12px; }
body.mb .pr-a { display: grid; justify-items: center; gap: 4px; padding-right: 16px; border-right: 1px solid var(--line); }
body.mb .pr-a > b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
body.mb .pr-a small { color: var(--muted); font-size: 12px; white-space: nowrap; }
body.mb .pr-b { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; min-width: 0; }
body.mb .pr-b > div { display: grid; }
body.mb .pr-b small { color: var(--muted); font-size: 12.5px; }
body.mb .pr-b b { font-size: 18px; font-weight: 800; }
body.mb .pr-b p { grid-column: 1 / -1; margin: 0; color: var(--dim); font-size: 12px; line-height: 1.35; }
@media (max-width: 360px) { body.mb .go-seg3 button { font-size: 12.5px; white-space: nowrap; } }

/* ---------- Navegação dentro do app (navegacao.js + entregador.js): mapa inteiro, manobra em cima, chegada embaixo ---------- */
body.mb.navegando .go-top, body.mb.navegando main, body.mb.navegando .go-nav { display: none !important; }
body.mb.navegando .go-map .maplibregl-ctrl-top-right { top: auto; bottom: calc(env(safe-area-inset-bottom) + 150px); }
body.mb .gn { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; gap: 8px; padding: max(12px, env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; pointer-events: none; }
body.mb .gn[hidden] { display: none; }
body.mb .gn > * { pointer-events: auto; }
body.mb .gn-top { display: grid; gap: 0; border-radius: 24px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0, 0, 0, .55); backdrop-filter: blur(12px); }
body.mb .gn-man { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
body.mb .gn-ar { width: 60px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 18px; background: var(--cy); color: var(--cy-ink); }
body.mb .gn-man.ok .gn-ar { background: var(--green, #4ade80); color: #04140a; }
body.mb .gn-ar svg { width: 38px; height: 38px; }
body.mb .gn-man > div { min-width: 0; display: grid; line-height: 1.2; }
body.mb .gn-d { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; font-family: var(--f); }
body.mb .gn-t { font-size: 18px; font-weight: 700; }
body.mb .gn-man small { color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mb .gn-then { display: flex; align-items: center; gap: 8px; padding: 9px 16px; background: rgba(255, 255, 255, .04); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
body.mb .gn-then span { font-weight: 700; color: var(--text); }
body.mb .gn-then svg { width: 20px; height: 20px; color: var(--cy); flex: none; }
body.mb .gn-then small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
body.mb .gn-notes { display: grid; gap: 6px; justify-items: start; }
body.mb .gn-notes small { padding: 7px 12px; border-radius: 12px; background: rgba(5, 7, 8, .82); border: 1px solid var(--line); color: var(--text); font-size: 13.5px; backdrop-filter: blur(8px); }
body.mb .gn-side { margin-top: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
body.mb .gn-side:empty { display: none; }
body.mb .gn-fab { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font: inherit; font-weight: 700; font-size: 14.5px; backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); cursor: pointer; }
body.mb .gn-fab .ic { width: 20px; height: 20px; color: var(--cy); }
body.mb .gn-rua { align-self: center; max-width: 100%; padding: 8px 16px; border-radius: 14px; background: rgba(5, 7, 8, .88); border: 1px solid var(--line); color: var(--text); font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(8px); }
body.mb .gn-side:empty + .gn-rua { margin-top: auto; }
body.mb .gn-bot { display: grid; gap: 10px; padding: 12px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 -6px 30px rgba(0, 0, 0, .45); backdrop-filter: blur(12px); }
body.mb .gn-side:empty + .gn-bot { margin-top: auto; }
body.mb .gn-arr { display: flex; gap: 8px; }
body.mb .gn-arr .btn { flex: 1; }
body.mb .gn-row { display: flex; align-items: center; gap: 8px; }
body.mb .gn-eta { flex: 1; min-width: 0; display: grid; line-height: 1.2; padding-left: 6px; }
body.mb .gn-eta b { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; font-family: var(--f); }
body.mb .gn-eta small { color: var(--muted); font-size: 14px; }
body.mb .gn-btn { min-width: 56px; height: 56px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--text); font: inherit; font-weight: 800; font-size: 15px; display: grid; place-items: center; cursor: pointer; }
body.mb .gn-btn svg { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.mb .gn-btn.off { color: var(--dim); }
body.mb .gn-btn.sair { background: #3a0f12; border-color: rgba(255, 90, 90, .35); color: #ffd7d7; }
body.mb .gn button:active { transform: scale(.97); }
body.mb .gn button:focus-visible { outline: 2px solid var(--cy); outline-offset: 2px; }
body.mb .mp.navme { width: 44px; height: 44px; display: grid; place-items: center; }
body.mb .mp.navme svg { width: 40px; height: 40px; fill: var(--cy); stroke: #050708; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
@media (max-width: 360px) { body.mb .gn-d { font-size: 26px; } body.mb .gn-ar { width: 52px; height: 52px; } body.mb .gn-t { font-size: 16px; } }

/* Mapa interativo: alça para recolher o cartão, barra recolhida e botões do mapa */
body.mb .gs-handle { justify-self: center; display: grid; place-items: center; width: 120px; height: 26px; margin: -4px 0 -6px; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; }
body.mb .gs-grab { display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); box-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
body.mb .go-sheet { transition: transform .22s ease-out; }
body.mb .go-sheet.min { gap: 0; }
body.mb .gs-bar { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 14px 16px 12px; border-radius: 24px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); box-shadow: 0 14px 34px rgba(0, 0, 0, .55); color: var(--text); font: inherit; text-align: left; cursor: pointer; touch-action: none; }
body.mb .gs-bar .gs-grab { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 36px; height: 4px; }
body.mb .gs-l { flex: 1; min-width: 0; display: grid; }
body.mb .gs-l b { font-size: 16px; font-weight: 800; }
body.mb .gs-l small { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mb .gs-up { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px; border-radius: 13px; background: var(--cy); color: var(--cy-ink); font-weight: 800; font-size: 14px; }
body.mb .gs-up svg { width: 16px; height: 16px; transform: rotate(180deg); }
body.mb .go-mapfab { align-self: flex-end; display: grid; gap: 8px; margin-bottom: 10px; }
body.mb .go-mapfab button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; border: 1px solid var(--line); background: rgba(12, 16, 18, .86); backdrop-filter: blur(12px); color: var(--text); box-shadow: 0 8px 22px rgba(0, 0, 0, .5); cursor: pointer; }
body.mb .go-mapfab button svg { width: 21px; height: 21px; }
body.mb .go-mapfab button:active { transform: scale(.94); }
body.mb .go-mapfab button:focus-visible { outline: 2px solid var(--cy); outline-offset: 2px; }

/* Aviso de nova versão do REPLAX-GO (core.js → showGoUpdate): cartão que sobe de baixo, com o que mudou */
.go-up { position: fixed; inset: auto 0 0; z-index: 70; display: flex; justify-content: center; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; animation: guIn .38s cubic-bezier(.2, .9, .25, 1); font-family: 'Manrope', system-ui, sans-serif; }
.go-up.out { animation: guOut .22s ease-in forwards; }
.go-up .gu-c { pointer-events: auto; width: min(100%, 460px); display: grid; gap: 14px; padding: 18px 16px 14px; border-radius: 28px; border: 1px solid rgba(103, 232, 249, .28); background: linear-gradient(180deg, rgba(20, 30, 33, .97), rgba(8, 11, 12, .98)); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 -16px 60px -12px rgba(0, 0, 0, .8), 0 0 40px -18px rgba(103, 232, 249, .5); color: #f3f7f8; }
.go-up .gu-h { display: flex; align-items: center; gap: 12px; }
.go-up .gu-ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: #67e8f9; color: #031417; box-shadow: 0 8px 24px -8px rgba(103, 232, 249, .7); }
.go-up .gu-ic svg { width: 26px; height: 26px; }
.go-up .gu-h div { display: grid; min-width: 0; }
.go-up .gu-h small { color: #67e8f9; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.go-up .gu-h b { font-size: 18px; font-weight: 800; line-height: 1.25; }
.go-up ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.go-up li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.35; color: #c9d1d4; }
.go-up li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #67e8f9; }
.go-up .gu-a { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.go-up .gu-a button { height: 50px; border-radius: 17px; font: inherit; font-weight: 800; font-size: 15.5px; cursor: pointer; }
.go-up .gu-later { border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #f3f7f8; }
.go-up .gu-go { border: 0; background: #67e8f9; color: #031417; }
.go-up button:active { transform: scale(.97); }
.go-up button:focus-visible { outline: 2px solid #67e8f9; outline-offset: 2px; }
.go-up .gu-n { color: #6f7e83; font-size: 12.5px; text-align: center; }
@keyframes guIn { from { transform: translateY(110%); } }
@keyframes guOut { to { transform: translateY(110%); } }
@media (prefers-reduced-motion: reduce) { .go-up, .go-up.out { animation-duration: .01s; } }

/* iPhone instalado (status bar translúcida): o conteúdo começa abaixo do relógio e some numa faixa escura ao rolar */
body.mb main { padding-top: calc(env(safe-area-inset-top) + 14px); }
body.mb::before { content: ''; position: fixed; z-index: 24; top: 0; left: 0; right: 0; height: calc(env(safe-area-inset-top) + 10px); background: linear-gradient(#050708 72%, rgba(5, 7, 8, 0)); pointer-events: none; }
body.mb::after { content: ''; position: fixed; z-index: 24; left: 0; right: 0; bottom: 0; height: calc(env(safe-area-inset-bottom) + 96px); background: linear-gradient(rgba(5, 7, 8, 0), rgba(5, 7, 8, .92) 62%); pointer-events: none; }
body.mb.on-map::before, body.mb.on-map::after, body.mb.navegando::before, body.mb.navegando::after { display: none; }
/* número de avisos no canto do ícone, sem cobrir o desenho */
body.mb .go-nav button i { top: 3px; left: calc(50% + 9px); min-width: 17px; height: 17px; padding: 0 4px; font-size: 10.5px; font-weight: 800; box-shadow: 0 0 0 2.5px rgba(14, 18, 20, 1); }
body.mb .go-sair { margin-top: 18px; color: var(--muted); }

/* Endereço no app do motoboy: prédio, bloco e apartamento em destaque */
.go-apto { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 2px; padding: 7px 11px; border-radius: 12px; background: rgba(103, 232, 249, .12); border: 1px solid rgba(103, 232, 249, .35); color: #e9fbff; width: fit-content; max-width: 100%; }
.go-apto svg { width: 17px; height: 17px; color: #67e8f9; flex: none; }
.go-apto em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #67e8f9; }
.go-apto b { font-size: 15px; font-weight: 800; }

/* Mapa em movimento: sem desfoque por cima (no iPhone o desfoque sobre o mapa deixa o zoom pesado) */
body.mb.map-moving .go-top > *, body.mb.map-moving .go-sheet .dv, body.mb.map-moving .gs-bar, body.mb.map-moving .go-nav, body.mb.map-moving .go-mapfab button { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.mb.map-moving .go-sheet .dv, body.mb.map-moving .gs-bar { background: rgba(12, 16, 18, .96); }

/* Tempo da corrida na Ruta: o traço da loja ao cliente vai sendo consumido; "livre" quando a prioridade passou e ela ainda é sua */
body.mb .of-ruta { position: relative; flex: none; width: 66px; display: grid; justify-items: center; gap: 0; }
body.mb .of-ruta svg { width: 46px; height: 46px; overflow: visible; }
body.mb .of-ruta path { fill: none; stroke-width: 2.6; stroke-linecap: round; }
body.mb .of-ruta path.bg { stroke: rgba(255, 255, 255, .12); }
body.mb .of-ruta path.v { stroke: var(--cy); stroke-dasharray: 100; stroke-dashoffset: 0; animation: rutaGasta linear forwards; filter: drop-shadow(0 0 4px rgba(103, 232, 249, .55)); }
body.mb .of-ruta circle { fill: #f3f7f8; }
body.mb .of-ruta circle.to { fill: var(--cy); }
body.mb .of-ruta b { margin-top: -2px; font-size: 16px; font-weight: 800; line-height: 1.1; }
body.mb .of-ruta b.low { color: var(--yellow); }
body.mb .of-ruta small { font-size: 11px; color: var(--muted); font-weight: 700; }
body.mb .of-ruta.free path.bg { stroke: rgba(103, 232, 249, .45); stroke-dasharray: 2 3.2; animation: rutaAnda 1.4s linear infinite; }
body.mb .of-ruta.free b { color: var(--cy); font-size: 14px; }
body.mb .go-offer.kept { box-shadow: 0 0 0 1px rgba(103, 232, 249, .2), 0 18px 50px rgba(0, 0, 0, .6); }
@keyframes rutaGasta { to { stroke-dashoffset: -100; } }
@keyframes rutaAnda { to { stroke-dashoffset: -10.4; } }
@media (prefers-reduced-motion: reduce) { body.mb .of-ruta.free path.bg { animation: none; } }
.go-apto small { flex-basis: 100%; font-size: 13px; color: #b9c6ca; }

/* Confirmar entrega deslizando: mesmo trilho e puxador do Online, um pouco mais baixo */
body.mb .tr-end { flex-direction: column; }
body.mb .tr-end .btn.go-sec { flex: none; }
body.mb .go-slide { height: 66px; margin: 0; }
body.mb .go-slide .sw-k { width: 36%; }
body.mb .go-slide .sw-txt { left: calc(36% + 20px); }
body.mb .go-slide .sw-txt b { font-size: 17px; }
body.mb .gn-arr.fin { display: flex; flex-direction: column; gap: 10px; }
body.mb .gn-arr.fin .go-slide { pointer-events: auto; }
body.mb .of-ruta.all path.v { stroke: var(--yellow); filter: drop-shadow(0 0 4px rgba(255, 197, 61, .5)); }
body.mb .of-ruta.all circle.to { fill: var(--yellow); }

/* Mapa de demanda: botão ligado e legenda */
body.mb .go-mapfab button.on { background: var(--cy); color: var(--cy-ink); border-color: var(--cy); }
body.mb .go-heatleg { align-self: flex-end; display: grid; grid-template-columns: auto auto; gap: 3px 10px; align-items: center; margin-bottom: 10px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(12, 16, 18, .9); font-size: 11.5px; color: var(--muted); }
body.mb .go-heatleg b { grid-column: 1 / -1; color: var(--text); font-size: 12.5px; }
body.mb .go-heatleg i { grid-column: 1 / -1; display: block; width: 130px; height: 7px; border-radius: 4px; background: linear-gradient(90deg, rgba(103, 232, 249, .3), #67e8f9 45%, #ffc53d 72%, #ff6b4a); }
body.mb .go-heatleg small:last-child { text-align: right; }
