/* ============ Potamia (by Examopotamia) prototype styles ============ */
:root {
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ink: #0F1E1C; --forest: #1C3431; --graphite: #2A4643; --teal: #0C7C6E; --lteal: #3FB5A3; --gold: #E3B04F; --canvas: #F3F1EC;
  --accent: #3FB5A3; --on-accent: #0F1E1C; --ok: #34c77b; --warn: #ff9f0a; --bad: #ff453a; --violet: #E3B04F;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font); color: #e8efed; overflow: hidden; font-weight: 500;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(63,181,163,.16) 0%, transparent 60%), radial-gradient(900px 600px at 110% 110%, rgba(28,52,49,.9) 0%, transparent 60%), #0F1E1C;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.i { flex: none; display: block; }

/* ---------- stage ---------- */
.stage-bar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -.02em; }
.brand b { font-weight: 800; }
.fs { color: var(--lteal); }
.phone[data-theme=day] .fs { color: var(--teal); }
.brand-sub { color: #8fa8a3; font-size: 12.5px; padding: 3px 10px; border: 1px solid var(--graphite); border-radius: 99px; }
.stage-actions { display: flex; gap: 18px; align-items: center; }
.seg { display: inline-flex; background: var(--forest); border: 1px solid var(--graphite); border-radius: 11px; padding: 3px; gap: 2px; align-items: center; }
.seg button { padding: 6px 11px; border-radius: 8px; font-size: 13px; color: #9fb5b1; font-weight: 700; }
.seg button.on { background: var(--graphite); color: #fff; }
.seg-label { font-size: 11px; color: var(--lteal); font-weight: 700; padding: 0 6px 0 8px; text-transform: uppercase; letter-spacing: .06em; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 14px; }
.switch input { display: none; }
.switch .track { width: 46px; height: 28px; border-radius: 99px; background: var(--graphite); position: relative; transition: .2s; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.switch input:checked + .track { background: var(--lteal); }
.switch input:checked + .track::after { transform: translateX(18px); }
#stage { height: calc(100% - 64px); display: flex; align-items: flex-start; justify-content: center; gap: 56px; padding: 0 24px; }
.device-caption { text-align: center; color: #7f9894; font-size: 12px; margin: 10px 0 0; letter-spacing: .02em; white-space: nowrap; }
.phone-wrap { position: relative; flex: none; }
.phone-wrap .device-caption { position: absolute; left: 0; right: 0; bottom: -26px; }

/* ---------- phone ---------- */
.phone {
  --glass: rgba(15, 30, 28, .86); --glass2: rgba(22, 42, 39, .95); --line: rgba(255,255,255,.08); --text: #f3f7f6; --muted: #9fb5b1; --chip: rgba(28,52,49,.9); --field: rgba(255,255,255,.06); --accent: #3FB5A3; --on-accent: #0F1E1C;
  position: relative; width: 390px; height: 844px; border-radius: 56px; overflow: hidden; transform-origin: top left;
  background: var(--ink); color: var(--text);
  box-shadow: 0 0 0 11px #1a1d24, 0 0 0 13px #2c313b, 0 40px 80px rgba(0,0,0,.6);
}
.phone[data-theme=day] { --glass: rgba(255,255,255,.92); --glass2: #fff; --line: #E4E1D9; --text: #0F1E1C; --muted: #6F6B62; --chip: rgba(255,255,255,.96); --field: #F3F1EC; --accent: #0C7C6E; --on-accent: #fff; }
.map { position: absolute; inset: 0; }
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid var(--line); }
.statusbar { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 40px; font-weight: 600; font-size: 16px; z-index: 55; pointer-events: none; color: var(--text); text-shadow: 0 0 6px rgba(0,0,0,.25); }
.phone[data-theme=day] .statusbar { text-shadow: 0 0 6px rgba(255,255,255,.6); }
.island { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 122px; height: 35px; background: #000; border-radius: 20px; }
.island { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: #fff; font-size: 12px; font-weight: 700; transition: width .35s cubic-bezier(.2,.9,.3,1.1); text-shadow: none; }
.island.wide { width: 200px; }
.isl-rec { display: flex; align-items: center; gap: 5px; color: #ff453a; } .isl-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff453a; animation: blink 1.2s infinite; }
.isl-cp { color: #30d158; }
.sb-icons { display: flex; gap: 6px; align-items: center; }
.home-ind { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: var(--text); opacity: .7; z-index: 70; pointer-events: none; }
.osm-attrib { position: absolute; left: 12px; bottom: calc(var(--sheet-h, 200px) + 6px); font-size: 9.5px; color: var(--muted); z-index: 5; opacity: .8; pointer-events: none; }

/* top bar */
.top { position: absolute; top: 56px; left: 14px; right: 14px; z-index: 22; }
.top-row { display: flex; gap: 10px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; font-weight: 700; font-size: 18px; color: #fff; background: var(--forest); color: var(--lteal); box-shadow: 0 6px 18px rgba(15,30,28,.35); border: 2px solid var(--lteal); }
.searchbar { flex: 1; height: 50px; border-radius: 16px; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--muted); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.searchbar input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 17px; color: var(--text); }
.searchbar input::placeholder { color: var(--muted); }
.searchbar .clear { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--field); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 10px -14px 0; padding: 0 14px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; border-radius: 99px; padding: 0 13px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; background: var(--chip); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.route-head { display: flex; align-items: center; gap: 6px; border-radius: 18px; padding: 10px 14px 10px 6px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.rh-body { flex: 1; display: grid; gap: 7px; }
.rh-row { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.rh-row b { color: var(--text); }
.dot-from, .dot-to, .dot-stop { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot-from { background: var(--accent); box-shadow: 0 0 0 3px rgba(63,181,163,.25); }
.dot-stop { background: var(--warn); }
.dot-to { background: var(--gold); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--field); }
.icon-btn.sm { width: 30px; height: 30px; }
.icon-btn.danger { background: var(--bad); color: #fff; }

/* map controls */
.map-ctrls { position: absolute; right: 14px; bottom: calc(var(--sheet-h, 200px) + 14px); z-index: 21; display: flex; flex-direction: column; gap: 10px; align-items: center; transition: bottom .25s; }
.ctrl { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.report-fab { width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px rgba(227,176,79,.45); border: 3px solid rgba(255,255,255,.9); }

/* bottom sheet */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--glass2); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); border-top: 1px solid var(--line); border-radius: 28px 28px 0 0; padding: 8px 18px 30px; box-shadow: 0 -12px 40px rgba(0,0,0,.3); max-height: 66%; overflow-y: auto; scrollbar-width: none; }
.sheet::-webkit-scrollbar { display: none; }
.sheet[data-mode=search] { top: 170px; max-height: none; }
.grab { width: 38px; height: 5px; border-radius: 3px; background: var(--muted); opacity: .4; margin: 0 auto 12px; }
.hello { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hello small { color: var(--muted); font-size: 13px; font-weight: 600; }
.hello h2 { margin: 2px 0 0; font-size: 23px; letter-spacing: -.02em; }
.rec-pill { display: flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 99px; background: var(--field); font-size: 13px; font-weight: 600; color: var(--bad); }
.rec-pill.on { background: var(--bad); color: #fff; }
.quick { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
.q { flex: none; min-width: 92px; max-width: 130px; display: grid; justify-items: start; gap: 2px; padding: 12px; border-radius: 18px; background: var(--field); text-align: left; }
.q b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.q span:last-child { font-size: 12px; color: var(--muted); }
.q-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(63,181,163,.16); color: var(--accent); margin-bottom: 6px; }
.sec-h { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 10px; font-size: 14px; font-weight: 700; }
.sec-h span { display: flex; gap: 6px; align-items: center; }
.link { color: var(--accent); font-weight: 600; font-size: 14px; }
.link.center { display: block; margin: 14px auto 0; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px 2px; }
.deal { flex: none; width: 176px; text-align: left; padding: 13px; border-radius: 18px; background: var(--field); display: grid; gap: 4px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.deal::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); }
.deal-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--c); color: #fff; margin-bottom: 4px; }
.deal b { font-size: 14px; }
.deal-promo { font-size: 12.5px; line-height: 1.3; color: var(--text); opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal small { color: var(--muted); font-size: 11.5px; }
.community { display: flex; gap: 7px; align-items: center; justify-content: center; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.list-h { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 2px 0 8px; }
.list { display: grid; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; }
.row-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c, var(--field)); color: var(--c, var(--muted)); flex: none; }
.row-ic[style] { color: #fff; }
.row-t { flex: 1; min-width: 0; display: grid; }
.row-t b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-t b em { font-style: normal; font-size: 10.5px; padding: 2px 6px; border-radius: 6px; background: rgba(48,209,88,.16); color: var(--ok); vertical-align: 2px; margin-left: 4px; }
.row-t small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-d { font-size: 13px; color: var(--muted); flex: none; }
.empty { color: var(--muted); font-size: 14px; line-height: 1.45; }
.loading { display: flex; gap: 6px; justify-content: center; padding: 22px; }
.loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: bounce 1s infinite ease-in-out; }
.loading span:nth-child(2) { animation-delay: .15s; } .loading span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(.5); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }

/* place card */
.place-h { display: flex; gap: 12px; align-items: flex-start; }
.place-h > div { flex: 1; min-width: 0; }
.place-h h3 { margin: 2px 0 3px; font-size: 21px; letter-spacing: -.02em; }
.place-h p { margin: 0; color: var(--muted); font-size: 14px; }
.place-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; background: var(--c, var(--bad)); color: #fff; }
.biz-badges { display: flex; gap: 8px; margin: 12px 0 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: var(--field); color: var(--muted); }
.badge.ok { background: rgba(48,209,88,.15); color: var(--ok); }
.badge.pending { background: rgba(255,159,10,.16); color: var(--warn); }
.badge.biz { background: rgba(167,139,250,.18); color: var(--violet); }
.promo { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 11px 13px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,159,10,.18), rgba(255,69,58,.12)); color: var(--text); font-size: 14px; font-weight: 600; }
.promo .i { color: var(--warn); }
.desc { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.place-actions { margin-top: 16px; }
.place-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.place-mini > * { display: grid; justify-items: center; gap: 5px; padding: 10px 0; border-radius: 14px; background: var(--field); font-size: 12px; font-weight: 600; color: var(--text); text-decoration: none; }
.place-mini .i { color: var(--accent); }
.place-ic { background: var(--c, var(--forest)); }
.place-ic:not([style]) { color: var(--gold); }

.btn { height: 46px; border-radius: 14px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; background: var(--field); color: var(--text); }
.btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 22px rgba(12,124,110,.3); }
.btn.big { height: 52px; width: 100%; font-size: 16px; }
.btn.sm { height: 34px; font-size: 13px; padding: 0 12px; border-radius: 10px; }
.btn.wide { width: 100%; margin-top: 18px; }
.btn.danger-ghost { color: var(--bad); }
.place-actions .btn { width: 100%; height: 52px; font-size: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 56px; gap: 10px; margin-top: 14px; }

/* route preview */
.routes { display: grid; gap: 8px; }
.route-opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; padding: 13px 14px; border-radius: 16px; background: var(--field); border: 2px solid transparent; }
.route-opt.on { border-color: var(--accent); background: rgba(63,181,163,.1); }
.route-opt b { font-size: 20px; letter-spacing: -.02em; }
.muted { color: var(--muted); font-size: 14px; margin-left: 4px; }
.via { font-size: 13px; color: var(--muted); margin-top: 2px; }
.route-tags { display: grid; gap: 5px; justify-items: end; }
.tag { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 7px; background: var(--line); color: var(--muted); display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.tag.ok { background: rgba(48,209,88,.16); color: var(--ok); }
.tag.warn { background: rgba(255,159,10,.16); color: var(--warn); }
.tag.bad { background: rgba(255,69,58,.16); color: var(--bad); }
.go-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.eta-mini { color: var(--muted); font-size: 15px; } .eta-mini b { color: var(--text); font-size: 18px; }
.btn.go { width: 150px; height: 54px; font-size: 18px; border-radius: 18px; }

/* navigation */
.nav-banner { position: absolute; top: 54px; left: 10px; right: 10px; z-index: 23; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #0C7C6E, #1C3431); color: #fff; box-shadow: 0 14px 34px rgba(15,30,28,.45); }
.nb-main { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.nb-t { min-width: 0; }
.nb-d { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.nb-r { font-size: 17px; font-weight: 600; margin-top: 5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-then { display: flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(0,0,0,.2); font-weight: 600; font-size: 14px; }
.alert-card, .offer-card { position: absolute; left: 10px; right: 10px; z-index: 23; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--glass2); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0,0,0,.3); animation: slideIn .35s cubic-bezier(.2,.9,.3,1.2); }
.alert-card { top: 190px; border-left: 5px solid var(--c); }
@keyframes slideIn { from { transform: translateY(-14px); opacity: 0; } }
.al-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.al-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.al-t b { font-size: 16px; }
.al-t span { font-size: 12.5px; color: var(--muted); }
.al-up { display: flex; gap: 4px; align-items: center; font-size: 13px; color: var(--ok); font-weight: 700; }
.al-btns { display: flex; gap: 8px; margin-top: 8px; }
.al-btns button { flex: 1; height: 36px; border-radius: 11px; background: var(--field); font-weight: 700; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.al-btns button:first-child { background: var(--ok); color: #fff; }
.offer-card { bottom: calc(var(--sheet-h, 150px) + 12px); right: 84px; }
.of-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.of-t { flex: 1; min-width: 0; display: grid; }
.of-t small { font-size: 11px; color: var(--warn); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.of-t b { font-size: 15px; } .of-t span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.of-b { display: grid; gap: 6px; justify-items: end; }
.speedo { position: absolute; left: 14px; bottom: calc(var(--sheet-h, 150px) + 14px); z-index: 21; display: flex; align-items: flex-end; gap: 0; }
.sp-now { width: 74px; height: 74px; border-radius: 50%; background: var(--glass2); border: 1px solid var(--line); display: grid; place-content: center; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.sp-now b { font-size: 28px; line-height: 1; letter-spacing: -.03em; } .sp-now small { font-size: 11px; color: var(--muted); font-weight: 600; }
.sp-limit { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 5px solid #e5262d; display: grid; place-items: center; color: #111; margin-left: -12px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.sp-limit b { font-size: 16px; font-weight: 800; }
.speedo.over .sp-now { background: var(--bad); color: #fff; } .speedo.over .sp-now small { color: #fff; }
.eta-bar { display: flex; align-items: center; gap: 12px; }
.eta { flex: 1; display: grid; justify-items: center; }
.eta b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); } .eta span { color: var(--muted); font-size: 14px; }
.nav-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.nav-tools button { display: grid; justify-items: center; gap: 4px; padding: 9px 0; border-radius: 14px; background: var(--field); font-size: 11.5px; font-weight: 600; }
.nav-tools button.rec-on { color: var(--bad); }
.steps { margin-top: 12px; display: grid; gap: 2px; }
.step { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.step b { font-size: 14px; font-weight: 600; display: block; } .step span { font-size: 12px; color: var(--muted); }
.rec-badge { position: absolute; top: 60px; right: 18px; z-index: 31; display: flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 99px; background: rgba(255,69,58,.92); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
body.mobile .rec-badge { top: auto; right: auto; left: 14px; bottom: calc(var(--sheet-h, 150px) + 100px); }
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.cp-pill { position: absolute; bottom: calc(var(--sheet-h, 150px) + 96px); left: 14px; z-index: 31; display: flex; gap: 5px; align-items: center; padding: 4px 9px; border-radius: 99px; background: rgba(48,209,88,.92); color: #fff; font-size: 11px; font-weight: 700; }

/* arrived / trip */
.arrived { text-align: center; }
.arr-ic { width: 60px; height: 60px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: rgba(48,209,88,.16); color: var(--ok); }
.arrived h2 { margin: 0; font-size: 24px; } .arrived p { margin: 4px 0 0; color: var(--muted); }
.stats3, .stats4, .trips-sum, .stat-grid, .bc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.stats4, .stat-grid { grid-template-columns: repeat(4, 1fr); }
.stats3 > div, .stats4 > div, .trips-sum > div, .stat-grid > div, .bc-stats > div { background: var(--field); border-radius: 14px; padding: 11px 6px; text-align: center; display: grid; gap: 2px; }
.stats3 b, .stats4 b, .trips-sum b, .stat-grid b { font-size: 18px; letter-spacing: -.02em; }
.stats3 span, .stats4 span, .trips-sum span, .stat-grid span, .bc-stats span { font-size: 11px; color: var(--muted); }
.saved { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 13px; color: var(--ok) !important; margin-top: 14px !important; }
.spark-h { margin-top: 14px; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.spark { width: 100%; height: 54px; display: block; margin-top: 6px; }
.pick { text-align: center; } .pick h3 { margin: 0; } .pick p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.pick-pin { position: absolute; left: 50%; top: calc((100% - 200px) / 2); z-index: 20; width: 44px; height: 44px; transform: translate(-50%, -100%); pointer-events: none; }
.pick-pin::before { content: ''; position: absolute; inset: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--forest); box-shadow: inset 0 0 0 7px var(--forest), inset 0 0 0 20px var(--gold); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.pick-pin::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 10px; height: 4px; transform: translateX(-50%); background: rgba(0,0,0,.35); border-radius: 50%; }

/* markers */
.pin { cursor: pointer; }
.pin-r { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; border: 2.5px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.pin-b { display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 99px; background: #fff; color: #111; font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.3); white-space: nowrap; }
.pin-b i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; }
.pin-b.promo::after { content: 'DEAL'; font-size: 9px; padding: 2px 5px; border-radius: 5px; background: #ff9f0a; color: #fff; }
.car { width: 44px; height: 44px; position: relative; }
.car svg { position: relative; filter: drop-shadow(0 3px 5px rgba(0,0,0,.45)); }
.car-halo { position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(63,181,163,.4), transparent 70%); animation: halo 2s infinite; }
@keyframes halo { 50% { transform: scale(1.2); opacity: .5; } }
.dest-pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--forest); color: var(--gold) !important; border: 3px solid #fff; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.dest-pin .i { transform: rotate(45deg); }
.mv { flex: none; }

/* modal */
.modal { position: absolute; inset: 0; z-index: 45; background: rgba(0,0,0,.4); display: flex; align-items: flex-end; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { width: 100%; background: var(--glass2); backdrop-filter: blur(24px); border-radius: 28px 28px 0 0; padding: 20px 18px 34px; animation: up .3s cubic-bezier(.2,.9,.3,1); }
@keyframes up { from { transform: translateY(40px); } }
.modal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; } .modal-h h3 { margin: 0; font-size: 21px; }
.rep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
.rep { display: grid; justify-items: center; gap: 7px; }
.rep span { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 45%, transparent); transition: transform .15s; }
.rep:active span { transform: scale(.92); }
.rep b { font-size: 12px; font-weight: 600; text-align: center; }
.fine { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin: 14px 0 0; }
.fine.center { text-align: center; }
.rep-card { display: flex; gap: 12px; align-items: center; } .rep-card > div { flex: 1; } .rep-card h3 { margin: 0; } .rep-card p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.votes { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--muted); } .votes span { display: flex; gap: 5px; align-items: center; }

/* panels */
.panel { position: absolute; inset: 0; z-index: 50; background: var(--glass2); overflow-y: auto; padding: 56px 18px 40px; scrollbar-width: none; animation: fade .2s; }
.phone[data-theme=night] .panel { background: var(--ink); }
.phone[data-theme=day] .panel { background: var(--canvas); }
.phone[data-theme=day] .group, .phone[data-theme=day] .trip-card, .phone[data-theme=day] .biz-card { background: #fff; border: 1px solid var(--line); }
.panel::-webkit-scrollbar { display: none; }
.panel-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } .panel-h h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.auth-panel { background: radial-gradient(500px 400px at 50% 0%, rgba(63,181,163,.28), transparent 70%), #0F1E1C !important; color: #f3f7f6; --muted: #9fb5b1; --field: rgba(255,255,255,.07); --line: rgba(255,255,255,.09); --accent: #3FB5A3; --on-accent: #0F1E1C; }
.auth-panel .fs { color: var(--lteal); }
.auth { padding-top: 24px; }
.auth-hero { text-align: center; margin-bottom: 24px; }
.logo-xl { width: 72px; margin: 0 auto 14px; filter: drop-shadow(0 12px 28px rgba(63,181,163,.35)); }
.logo-xl svg { display: block; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.auth-hero .by { margin: 2px 0 10px; font-size: 13px; color: var(--lteal); font-weight: 600; }
.auth-hero h1 { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.auth-hero p { color: var(--muted); font-size: 15px; line-height: 1.45; margin: 8px 12px 0; }
.seg.wide { display: flex; width: 100%; background: var(--field); border-color: var(--line); }
.seg.wide button { flex: 1; padding: 10px; display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--muted); }
.seg.wide button.on { background: var(--accent); color: var(--on-accent); }
.seg.mini { margin-left: auto; background: var(--field); border-color: var(--line); } .seg.mini button { padding: 5px 9px; font-size: 12px; color: var(--muted); } .seg.mini button.on { background: var(--accent); color: var(--on-accent); }
.form { display: grid; gap: 12px; margin-top: 16px; }
.form label { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); color: var(--muted); }
.form label:focus-within { border-color: var(--accent); }
.form label input { flex: 1; background: none; border: 0; outline: none; font-size: 16px; color: var(--text, #fff); }
.auth-panel .form label input { color: #fff; }
.role-pick { display: grid; gap: 8px; } .role-pick > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.err { color: #ff6b62; font-size: 14px; font-weight: 600; background: rgba(255,69,58,.12); padding: 10px 12px; border-radius: 12px; }
.prof-card { display: flex; gap: 14px; align-items: center; }
.prof-av { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: var(--lteal); background: var(--forest); border: 2px solid var(--lteal); }
.prof-card h3 { margin: 0; font-size: 20px; } .prof-card p { margin: 2px 0 6px; color: var(--muted); font-size: 13.5px; }
.level { margin-top: 18px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(227,176,79,.16), rgba(63,181,163,.14)); }
.lv-top { display: flex; align-items: center; gap: 7px; font-size: 14px; } .lv-top .i { color: var(--gold); } .lv-top span { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.bar { height: 7px; border-radius: 4px; background: var(--field); margin-top: 10px; overflow: hidden; } .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lteal), var(--gold)); border-radius: 4px; }
.group-h { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 20px 0 8px 4px; }
.group { background: var(--field); border-radius: 16px; overflow: hidden; margin-top: 14px; }
.group-h + .group { margin-top: 0; }
.set-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.set-row:last-child { border-bottom: 0; }
.set-row > .i:first-child { color: var(--accent); }
.set-row span { flex: 1; } .set-row em { font-style: normal; color: var(--muted); font-size: 13.5px; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-row > .i:last-child:not(:first-child) { color: var(--muted); }
.tg { width: 46px; height: 28px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: .2s; }
.tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 2px 5px rgba(0,0,0,.3); }
.tg.on { background: var(--accent); } .tg.on::after { transform: translateX(18px); }
.trip-list { display: grid; gap: 10px; margin-top: 16px; }
.trip-card { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: var(--field); text-align: left; }
.trip-card > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.trip-card b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-card span { font-size: 12.5px; color: var(--muted); } .trip-card small { font-size: 11.5px; color: var(--accent); }
.thumb { flex: none; border-radius: 13px; background: var(--forest); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); } .empty-state .i { margin: 0 auto 10px; color: var(--accent); } .empty-state h3 { color: var(--text); margin: 0 0 6px; } .empty-state p { font-size: 14px; line-height: 1.5; }
.biz-hero { text-align: center; padding: 18px; border-radius: 20px; background: linear-gradient(145deg, rgba(63,181,163,.2), rgba(227,176,79,.12)); margin-bottom: 6px; }
.biz-hero > div { width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 8px; display: grid; place-items: center; background: var(--forest); color: var(--gold); }
.biz-hero h3 { margin: 0; font-size: 19px; } .biz-hero p { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin: 6px 0 0; }
.biz-card { padding: 14px; border-radius: 18px; background: var(--field); margin-bottom: 10px; border-left: 4px solid var(--c); }
.bc-h { display: flex; gap: 10px; align-items: center; } .bc-h > div { flex: 1; min-width: 0; display: grid; } .bc-h small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-h .row-ic { background: var(--c); color: #fff; }
.bc-stats { margin: 12px 0 10px; } .bc-stats > div { background: var(--line); } .bc-stats b { font-size: 16px; }
.biz-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.biz-perks > div { display: flex; gap: 8px; align-items: flex-start; padding: 11px; border-radius: 14px; background: var(--field); font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.biz-perks .i { color: var(--accent); } .biz-perks b { color: var(--text); }
.biz-form .fl { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); } .fl small { font-weight: 500; }
.biz-form .fl2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.biz-form input, .biz-form textarea { width: 100%; padding: 13px; border-radius: 13px; background: var(--field); border: 1px solid var(--line); outline: none; font-size: 15px; font-weight: 500; color: var(--text); resize: none; }
.biz-form input:focus, .biz-form textarea:focus { border-color: var(--accent); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.cat { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 13px; background: var(--field); border: 2px solid transparent; font-size: 11.5px; font-weight: 600; color: var(--text); }
.cat .i { color: var(--c); } .cat.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.loc-btn { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 13px; background: var(--field); border: 1px dashed var(--accent); text-align: left; font-size: 14px; font-weight: 600; color: var(--text); }
.loc-btn span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .loc-btn .i:first-child { color: var(--accent); }

.toast { position: absolute; left: 50%; top: 110px; transform: translate(-50%, -20px); z-index: 60; padding: 11px 16px; border-radius: 16px; background: rgba(15,30,28,.96); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: .3s; display: flex; gap: 7px; align-items: center; max-width: 340px; width: max-content; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* MapLibre overrides */
.maplibregl-ctrl-attrib { display: none; }

/* ---------- CarPlay head unit ---------- */
.cp-wrap { position: relative; flex: none; margin-top: 120px; }
.cp-wrap .device-caption { position: absolute; left: 0; right: 0; bottom: -28px; }
.headunit { width: 860px; height: 540px; padding: 30px; border-radius: 34px; transform-origin: top left; background: linear-gradient(160deg, #26302e, #0b0f0e); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.65), 0 0 0 1px #000; }
.carplay {
  --cp-bg: rgba(28,28,32,.9); --cp-txt: #fff; --cp-muted: #a1a1aa; --cp-line: rgba(255,255,255,.1);
  width: 800px; height: 480px; border-radius: 10px; overflow: hidden; display: flex; background: #000; color: var(--cp-txt); font-family: var(--font); position: relative;
}
.carplay[data-theme=day] { --cp-bg: rgba(250,250,252,.94); --cp-txt: #111; --cp-muted: #6b7280; --cp-line: rgba(0,0,0,.1); }
.cp-dock { width: 78px; flex: none; background: #000; display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 4px; color: #fff; }
.cp-time { font-size: 16px; font-weight: 600; } .cp-net { font-size: 11px; font-weight: 600; color: #a1a1aa; margin-bottom: 8px; }
.cp-apps { display: grid; gap: 12px; margin-top: 4px; }
.cp-app { position: relative; }
.cp-app.on::before { content: ''; position: absolute; left: -12px; top: 50%; width: 4px; height: 26px; border-radius: 2px; background: #fff; transform: translateY(-50%); }
.cp-ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.cp-ic.potamia { background: none; overflow: hidden; }
.cp-ic.potamia svg { display: block; }
.cp-ic.green { background: #30d158; } .cp-ic.red { background: linear-gradient(135deg, #ff375f, #ff2d55); } .cp-ic.green2 { background: linear-gradient(135deg, #34c759, #30b04f); }
.cp-dash { margin-top: auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #1c1c1e; color: #fff; }
.cp-main { position: relative; flex: 1; overflow: hidden; }
.cp-map { position: absolute; inset: 0; }
.cp-bar { position: absolute; top: 10px; z-index: 5; display: flex; gap: 8px; }
.cp-bar-l { left: 10px; } .cp-bar-r { right: 10px; }
.cp-bb { height: 38px; min-width: 38px; padding: 0 12px; border-radius: 10px; background: var(--cp-bg); backdrop-filter: blur(20px); color: var(--cp-txt); display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 15px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.cp-bb.end { background: #ff453a; color: #fff; }
.cp-rec { display: flex; align-items: center; gap: 5px; height: 38px; padding: 0 10px; border-radius: 10px; background: rgba(255,69,58,.9); color: #fff; font-size: 12px; font-weight: 800; } .cp-rec i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.cp-mapbtns { position: absolute; right: 10px; bottom: 12px; z-index: 5; display: grid; gap: 8px; }
.cp-mapbtns button { width: 44px; height: 44px; border-radius: 50%; background: var(--cp-bg); backdrop-filter: blur(20px); color: var(--cp-txt); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.cp-panel { position: absolute; left: 10px; top: 10px; z-index: 6; width: 270px; display: grid; gap: 8px; }
.cp-panel:empty { display: none; }
.cp-panel.preview { background: var(--cp-bg); backdrop-filter: blur(20px); border-radius: 14px; padding: 14px; top: 58px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.cp-pv-h { display: grid; gap: 2px; } .cp-pv-h b { font-size: 18px; } .cp-pv-h span { font-size: 13px; color: var(--cp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-routes { display: grid; gap: 6px; }
.cp-route { text-align: left; padding: 9px 11px; border-radius: 10px; background: var(--cp-line); display: grid; border: 2px solid transparent; }
.cp-route.on { border-color: var(--lteal); } .cp-route b { font-size: 17px; } .cp-route span { font-size: 12px; color: var(--cp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-go { height: 50px; border-radius: 12px; background: var(--lteal); color: var(--ink); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cp-go small { font-size: 13px; font-weight: 600; opacity: .85; }
.cp-mv { border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #0C7C6E, #1C3431); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.cp-mv-main { display: flex; gap: 12px; align-items: center; padding: 14px; }
.cp-mv-d { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.cp-mv-t { font-size: 15px; font-weight: 600; margin-top: 4px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp-mv-then { display: flex; gap: 8px; align-items: center; padding: 7px 14px; background: rgba(0,0,0,.22); font-size: 13px; font-weight: 600; }
.cp-est { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--cp-bg); backdrop-filter: blur(20px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.cp-est > div { flex: 1; display: grid; text-align: center; } .cp-est b { font-size: 17px; } .cp-est span { font-size: 11px; color: var(--cp-muted); }
.cp-speed { position: relative; flex: none !important; width: 46px; height: 46px; border-radius: 50%; background: var(--cp-line); place-content: center; }
.cp-speed b { font-size: 17px; } .cp-speed i { position: absolute; right: -8px; top: -6px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #e5262d; color: #111; font-style: normal; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.cp-speed.over { background: #ff453a; color: #fff; }
.cp-alert { position: absolute; top: 10px; left: 50%; transform: translateX(-30%); z-index: 7; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--cp-bg); backdrop-filter: blur(20px); box-shadow: 0 8px 24px rgba(0,0,0,.4); animation: slideIn .35s; }
.cp-alert > div { display: grid; } .cp-alert b { font-size: 15px; } .cp-alert span { font-size: 12px; color: var(--cp-muted); }
.cp-alert button { height: 34px; padding: 0 14px; border-radius: 9px; background: var(--cp-line); font-weight: 700; } .cp-alert button:first-of-type { background: #30d158; color: #fff; }
.cp-al-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.carplay:has(.cp-bar-r .end) .cp-alert { top: 58px; }
.cp-overlay { position: absolute; inset: 0; z-index: 8; background: var(--cp-bg); backdrop-filter: blur(30px); display: flex; flex-direction: column; }
.carplay[data-theme=night] .cp-overlay { background: var(--ink); }
.cp-tpl-h { display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; height: 54px; border-bottom: 1px solid var(--cp-line); text-align: center; font-size: 17px; }
.cp-tpl-h button { height: 54px; display: grid; place-items: center; color: var(--lteal); }
.cp-list { overflow-y: auto; flex: 1; scrollbar-width: none; }
.cp-li { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-bottom: 1px solid var(--cp-line); text-align: left; }
.cp-li-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.cp-li-t { flex: 1; display: grid; } .cp-li-t b { font-size: 17px; font-weight: 600; } .cp-li-t small { font-size: 13px; color: var(--cp-muted); }
.cp-li > .i:last-child { color: var(--cp-muted); }
.cp-empty { padding: 30px; text-align: center; color: var(--cp-muted); }
.cp-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; gap: 22px 10px; padding: 20px; }
.cp-grid button { display: grid; justify-items: center; gap: 8px; } .cp-grid span { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; color: #fff; } .cp-grid b { font-size: 14px; font-weight: 600; }
.cp-toast { position: absolute; bottom: 14px; left: 50%; transform: translate(-50%, 10px); z-index: 9; padding: 9px 16px; border-radius: 12px; background: rgba(0,0,0,.85); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transition: .3s; pointer-events: none; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.cp-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Real phone (narrow screens) ---------- */
body.mobile .stage-bar, body.mobile .device-caption, body.mobile .cp-wrap, body.mobile .statusbar, body.mobile .home-ind { display: none !important; }
body.mobile #stage { height: 100%; padding: 0; display: block; }
body.mobile .phone { width: 100vw; height: 100dvh; border-radius: 0; box-shadow: none; transform: none !important; }
body.mobile .top { top: max(12px, env(safe-area-inset-top)); }
body.mobile .nav-banner { top: max(8px, env(safe-area-inset-top)); }
body.mobile .panel { padding-top: max(20px, env(safe-area-inset-top)); }
.phone:has(.auth-panel:not([hidden])) .statusbar, .phone[data-theme=night] .statusbar { color: #fff; }
.sync-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.sync-dot.on { background: var(--accent); box-shadow: 0 0 0 4px rgba(63,181,163,.2); }
.badge.bad { background: rgba(255,69,58,.14); color: var(--bad); }
.far .pin-b span, .far .pin-b.promo::after { display: none; }
.far .pin-b { padding: 3px; }
.cp-map .pin-b { padding: 3px; }
body.mobile .phone:has(#offerCard:not([hidden])) .rec-badge { display: none; }
