/* Jimbo GPS (Cab Radio) */
.cr2-gps { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .22); background: rgb(12 16 22 / .55); color: #fff; font: 800 15px var(--font-display); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .2s, transform .2s; }
.cr2-gps svg { width: 20px; height: 20px; color: #ff8a1f; }
.cr2-gps:hover { border-color: #ff8a1f; transform: translateY(-1px); }
.cr2-gps:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
[data-jg-open].is-loading { cursor: progress; opacity: .75; }
.cr2-gps.is-loading svg { animation: jg-lazy-pulse .9s ease-in-out infinite alternate; }
@keyframes jg-lazy-pulse { from { opacity: 1; } to { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .cr2-gps.is-loading svg { animation: none; } }
.jg-lazy-note { position: fixed; z-index: 9000; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: min(92vw, 420px); padding: 12px 16px; border-radius: 14px; background: #141414; color: #fff; font: 600 14px/1.35 var(--font-body); box-shadow: 0 10px 30px rgb(0 0 0 / .35); }
@media (max-width: 700px) { .cr2-gps { min-height: 42px; padding: 0 14px; font-size: 14px; } }

html.jg-on, html.jg-on body { overflow: hidden; }
.jg { --o: #ff7a1a; --o2: #ff9a3d; --ink: #f3f5f8; --mut: #a7b0bd; --glass: rgb(14 18 25 / .84); --line: rgb(255 255 255 / .1);
  position: fixed; inset: 0; z-index: 9000; background: #0b0f14; color: var(--ink); font: 15px/1.4 var(--font-body, system-ui, sans-serif);
  opacity: 0; transform: scale(1.015); transition: opacity .25s ease, transform .25s ease; }
.jg.is-in { opacity: 1; transform: none; }
.jg[data-theme="day"] { --glass: rgb(16 20 27 / .88); }
.jg button { font: inherit; color: inherit; }
.jg :focus-visible { outline: 2px solid var(--o2); outline-offset: 2px; }
.jg-map { position: absolute; inset: 0; }
.jg .maplibregl-ctrl-attrib { background: rgb(10 13 18 / .7) !important; color: #c8ced8; font-size: 11px; }
.jg .maplibregl-ctrl-attrib a { color: #ffd2a8; }
.jg .maplibregl-ctrl-attrib-button { filter: invert(1); }
.jg .maplibregl-ctrl-bottom-left { bottom: 26px; }

/* top bar */
.jg-top { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; z-index: 5; pointer-events: none; }
.jg-top > * { pointer-events: auto; }
.jg-x { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.jg-x svg { width: 22px; height: 22px; }
.jg-brand { flex: none; display: flex; flex-direction: column; padding: 6px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.jg-brand b { font: 900 17px/1.1 var(--font-display); letter-spacing: .01em; }
.jg-brand b span { color: var(--o); }
.jg-brand small { color: var(--mut); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.jg-q { flex: 1; min-width: 0; max-width: 520px; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 6px 0 16px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 12px 36px rgb(0 0 0 / .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.jg-q:focus-within { border-color: var(--o); box-shadow: 0 0 0 3px rgb(255 122 26 / .25), 0 12px 36px rgb(0 0 0 / .35); }
.jg-q > svg { width: 20px; height: 20px; color: var(--mut); flex: none; }
.jg-q input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: 600 16px var(--font-body, sans-serif); outline: none; }
.jg-q input::placeholder { color: #8d97a6; }
.jg-q input::-webkit-search-cancel-button { filter: invert(1); }
.jg-mic { flex: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--o); color: #141414 !important; display: grid; place-items: center; cursor: pointer; }
.jg-mic svg { width: 20px; height: 20px; }
.jg-mic.is-on { animation: jgPulse 1.1s ease-in-out infinite; }
@keyframes jgPulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(255 122 26 / .6); } 50% { box-shadow: 0 0 0 10px rgb(255 122 26 / 0); } }
.jg-truck { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.jg-truck svg { width: 20px; height: 20px; color: var(--o); }
.jg-q--sm { height: 46px; max-width: none; padding-right: 12px; box-shadow: none; }

/* results */
.jg-res { position: absolute; z-index: 6; top: calc(max(12px, env(safe-area-inset-top)) + 60px); left: 12px; width: min(560px, calc(100% - 24px)); max-height: 56vh; overflow: auto; border-radius: 16px; background: rgb(14 18 25 / .96); border: 1px solid var(--line); box-shadow: 0 20px 50px rgb(0 0 0 / .45); padding: 6px; }
@media (min-width: 761px) { .jg-res { left: 230px; } }
.jg-res__h { margin: 10px 12px; color: var(--mut); font-size: 13px; }
.jg-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; }
.jg-row:hover, .jg-row:focus-visible { background: rgb(255 255 255 / .06); }
.jg-row__ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgb(255 122 26 / .14); color: var(--o2); }
.jg-row__ic.is-home { background: var(--o); color: #141414; }
.jg-row__ic svg { width: 20px; height: 20px; }
.jg-row__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jg-row__t b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-row__t small { color: var(--mut); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-row em { font-style: normal; color: var(--mut); font-size: 13px; font-variant-numeric: tabular-nums; }

/* right rail */
.jg-rail { position: absolute; z-index: 4; right: 12px; top: calc(max(12px, env(safe-area-inset-top)) + 70px); display: flex; flex-direction: column; gap: 8px; }
.jg-rb { width: 62px; padding: 9px 4px 7px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; font-size: 10.5px !important; font-weight: 700 !important; letter-spacing: .02em; color: #dfe4ea !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .2s, background .2s; }
.jg-rb svg { width: 22px; height: 22px; }
.jg-rb[aria-pressed="true"] { border-color: rgb(255 122 26 / .7); background: rgb(255 122 26 / .18); color: #fff !important; }
.jg-rb--god { background: linear-gradient(160deg, rgb(255 122 26 / .3), rgb(14 18 25 / .85)); border-color: rgb(255 122 26 / .5); }
.jg-rb--god svg { color: var(--o2); }

/* bottom / side sheet */
.jg-sheet { position: absolute; z-index: 5; left: 12px; bottom: 34px; width: min(410px, calc(100% - 24px)); max-height: calc(100% - 140px); overflow: auto; border-radius: 20px; background: rgb(13 17 24 / .95); border: 1px solid var(--line); box-shadow: 0 24px 60px rgb(0 0 0 / .5); padding: 14px 18px 18px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: jgUp .3s ease; }
@keyframes jgUp { from { opacity: 0; transform: translateY(14px); } }
.jg-sheet.is-min { max-height: 76px; overflow: hidden; }
.jg-sh__grab { display: block; width: 46px; height: 14px; margin: -6px auto 6px; border: 0; background: none; cursor: pointer; position: relative; }
.jg-sh__grab::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .25); }
.jg-sh__hd { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.jg-sheet h3 { margin: 2px 0 2px; font: 800 21px/1.15 var(--font-display); }
.jg-sheet small { color: var(--mut); font-size: 13px; }
.jg-eyebrow { margin: 0; color: var(--o2); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jg-star { flex: none; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / .05); font-size: 12.5px !important; font-weight: 700 !important; cursor: pointer; }
.jg-star.is-on { background: var(--o); color: #141414 !important; border-color: var(--o); }
.jg-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; margin: 14px 0 10px; }
.jg-opt { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: rgb(255 255 255 / .04); cursor: pointer; text-align: left; }
.jg-opt b { font: 800 19px/1.1 var(--font-display); }
.jg-opt span { font-weight: 700; font-size: 14px; }
.jg-opt small { font-size: 11.5px; }
.jg-opt.is-on { border-color: var(--o); background: rgb(255 122 26 / .14); }
.jg-arr { margin: 4px 0 10px; color: #cfd5dd; font-size: 13.5px; }
.jg-arr b { color: #fff; }
.jg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.jg-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / .05); font-size: 12.5px !important; font-weight: 600 !important; color: #dfe4ea !important; cursor: pointer; }
span.jg-chip { cursor: default; }
.jg-chip--b { border-color: rgb(31 182 255 / .5); color: #bfe9ff !important; }
.jg-chip--w { border-color: rgb(255 106 43 / .7); background: rgb(255 106 43 / .14); color: #ffd3c0 !important; }
.jg-chip--ok { border-color: rgb(52 211 153 / .45); color: #c6f6e3 !important; }
.jg-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.jg-btn { flex: 1 1 auto; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .06); font-weight: 800 !important; font-size: 15px !important; cursor: pointer; }
.jg-btn:hover { background: rgb(255 255 255 / .1); }
.jg-btn--go { background: linear-gradient(180deg, #ff8f3a, #ff6a00); border-color: transparent; color: #141414 !important; box-shadow: 0 10px 26px rgb(255 106 0 / .35); }
.jg-btn--go:hover { background: linear-gradient(180deg, #ffa257, #ff7a1a); }
.jg-steps { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.jg-steps summary { cursor: pointer; font-weight: 700; font-size: 14px; padding: 6px 0; }
.jg-steps ol { list-style: none; margin: 4px 0 0; padding: 0; }
.jg-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid rgb(255 255 255 / .05); font-size: 14px; }
.jg-steps li span { flex: 1; display: flex; flex-direction: column; }
.jg-steps li em { font-style: normal; color: var(--mut); font-size: 12.5px; white-space: nowrap; }
.jg-si { flex: none; width: 22px; height: 22px; color: var(--o2); }
.jg-warn { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgb(245 166 35 / .1); border: 1px solid rgb(245 166 35 / .3); color: #ffe2b0; font-size: 12.5px; }
.jg-note { color: #cfd5dd; font-size: 13.5px; }
.jg-err { color: #ffb4a0; }
.jg-or { text-align: center; color: var(--mut); font-size: 12.5px; margin: 14px 0 8px; }
.jg-consent { margin-top: 10px; padding: 14px; border-radius: 16px; background: rgb(255 122 26 / .08); border: 1px solid rgb(255 122 26 / .3); }
.jg-consent p { margin: 0 0 12px; font-size: 13.5px; color: #e6e9ee; }
.jg-ores { margin-top: 6px; }
.jg-load { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.jg-load i { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .15); border-top-color: var(--o); animation: jgSpin .8s linear infinite; flex: none; }
.jg-load p { margin: 0; color: #dfe4ea; }
@keyframes jgSpin { to { transform: rotate(360deg); } }
.jg-list { list-style: none; padding: 0; margin: 12px 0; }
.jg-list li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 6px; border: 0; border-bottom: 1px solid rgb(255 255 255 / .06); background: none; text-align: left; cursor: pointer; }
.jg-list li button:hover { background: rgb(255 255 255 / .04); }
.jg-list li button span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.jg-list li button em { font-style: normal; font-weight: 700; color: #dfe4ea; font-variant-numeric: tabular-nums; }
.jg-list i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgb(52 211 153 / .2); }
.jg-list i.k-fuel, .jg-list i.k-plaza { background: #1fb6ff; box-shadow: 0 0 0 3px rgb(31 182 255 / .2); }
.jg-list i.k-parking { background: #a78bfa; box-shadow: 0 0 0 3px rgb(167 139 250 / .2); }
.jg-wxi { padding: 10px 12px; border-radius: 12px; background: rgb(245 166 35 / .08); border-left: 3px solid #f5a623; margin-bottom: 8px; }
.jg-wxi.s-severe { border-color: #ff6a2b; background: rgb(255 106 43 / .1); }
.jg-wxi.s-extreme { border-color: #ff3b30; background: rgb(255 59 48 / .12); }
.jg-wxi b { display: block; }
.jg-wxi p { margin: 6px 0 0; font-size: 13px; color: #dfe4ea; }
.jg-tk { display: grid; gap: 12px; margin-top: 14px; }
.jg-tk label { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; }
.jg-tk label span { display: flex; align-items: center; gap: 6px; color: var(--mut); font-weight: 600; }
.jg-tk input[type="number"] { width: 84px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .18); background: rgb(255 255 255 / .06); color: #fff; font: 700 16px var(--font-body, sans-serif); }
.jg-tk__sw { justify-content: flex-start !important; font-weight: 600 !important; font-size: 14px; }
.jg-tk__sw input { width: 20px; height: 20px; accent-color: var(--o); }

/* turn card */
.jg-turn { position: absolute; z-index: 6; top: max(12px, env(safe-area-inset-top)); left: 74px; right: 86px; max-width: 640px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 22px;
  background: linear-gradient(135deg, #12351f, #0f2a1a); border: 1px solid rgb(74 222 128 / .35); box-shadow: 0 18px 50px rgb(0 0 0 / .5); }
.jg-turn__ic { flex: none; width: 74px; height: 74px; border-radius: 18px; background: rgb(74 222 128 / .14); display: grid; place-items: center; color: #b9f8cf; }
.jg-big { width: 58px; height: 58px; }
.jg-sm { width: 22px; height: 22px; }
.jg-turn__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jg-turn__tx b { font: 900 34px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.jg-turn__tx span { font-weight: 700; font-size: 18px; line-height: 1.25; margin-top: 4px; }
.jg-turn__tx small { color: #9fe7b8; font-size: 13.5px; font-weight: 700; margin-top: 3px; }
.jg-turn__then { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 10px; border-radius: 14px; background: rgb(0 0 0 / .25); color: #b9f8cf; }
.jg-turn__then small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: #8fd8a8; }
.jg.is-nav .jg-q, .jg.is-nav .jg-brand, .jg.is-nav .jg-truck { display: none; }

/* nav bar */
.jg-nav { position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); bottom: max(30px, env(safe-area-inset-bottom)); width: min(640px, calc(100% - 24px)); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 22px; background: rgb(13 17 24 / .95); border: 1px solid var(--line); box-shadow: 0 18px 50px rgb(0 0 0 / .5); }
.jg-nav__eta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.jg-nav__eta b { font: 900 22px/1.05 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.jg-nav__eta span { color: var(--mut); font-size: 12px; white-space: nowrap; }
.jg-nav__eta:first-child b { color: #8ef0b0; }
.jg-nav__spd { flex: none; align-items: center; width: 64px; height: 56px; justify-content: center; border-radius: 16px; background: rgb(255 255 255 / .06); }
.jg-nb { flex: none; min-width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--line); background: rgb(255 255 255 / .06); display: grid; place-items: center; cursor: pointer; }
.jg-nb svg { width: 24px; height: 24px; }
.jg-nb.is-on { background: rgb(255 255 255 / .16); }
.jg-nb--end { padding: 0 18px; background: #c62828; border-color: transparent; font-weight: 900 !important; font-size: 16px !important; }

.jg-lock { position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); bottom: calc(max(30px, env(safe-area-inset-bottom)) + 88px); display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgb(13 17 24 / .92); border: 1px solid rgb(255 122 26 / .5); font-weight: 700; font-size: 14px; white-space: nowrap; max-width: calc(100% - 24px); }
.jg-lock span { white-space: normal; }
.jg-lock svg { width: 20px; height: 20px; color: var(--o); flex: none; }
.jg.is-moving .jg-rail, .jg.is-moving .jg-sheet, .jg.is-moving .jg-res, .jg.is-moving .jg-q, .jg.is-moving .jg-truck, .jg.is-moving .maplibregl-ctrl-attrib-inner { display: none !important; }
.jg.is-moving .jg-turn { left: 12px; right: 12px; max-width: none; }
.jg.is-moving .jg-turn__ic { width: 96px; height: 96px; }
.jg.is-moving .jg-big { width: 76px; height: 76px; }
.jg.is-moving .jg-turn__tx b { font-size: 44px; }
.jg.is-moving .jg-x { display: none; }

.jg-badge { position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); bottom: calc(max(30px, env(safe-area-inset-bottom)) + 86px); display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgb(124 58 237 / .9); font-size: 12.5px; white-space: nowrap; }
.jg-badge b { letter-spacing: .12em; }
.jg-badge button { border: 0; border-radius: 999px; padding: 5px 10px; background: rgb(255 255 255 / .16); font-weight: 800 !important; font-size: 12px !important; cursor: pointer; }
.jg-badge button.is-on { background: #fff; color: #4c1d95 !important; }

.jg-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0; padding: 5px 12px calc(5px + env(safe-area-inset-bottom)); background: rgb(8 10 14 / .78); color: #aeb6c2; font-size: 11px; text-align: center; }
.jg-foot a { color: #ffd2a8; }
.jg-toast { position: absolute; z-index: 9; left: 50%; top: 84px; transform: translate(-50%, -10px); max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 14px; background: rgb(255 255 255 / .96); color: #141414; font-weight: 700; font-size: 14px; box-shadow: 0 14px 40px rgb(0 0 0 / .35); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.jg-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* markers */
.jg-me { width: 46px; height: 46px; position: relative; }
.jg-me svg { position: absolute; inset: 0; width: 46px; height: 46px; filter: drop-shadow(0 4px 8px rgb(0 0 0 / .5)); }
.jg-me__pulse { position: absolute; inset: -14px; border-radius: 50%; background: rgb(255 122 26 / .25); animation: jgMe 2s ease-out infinite; }
@keyframes jgMe { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }
.jg-dest { width: 40px; height: 52px; position: relative; display: grid; place-items: end center; }
.jg-dest svg { width: 34px; height: 34px; position: relative; z-index: 1; filter: drop-shadow(0 3px 6px rgb(0 0 0 / .5)); }
.jg-dest i { position: absolute; left: 50%; bottom: -8px; width: 54px; height: 22px; margin-left: -27px; border-radius: 50%; border: 2px solid var(--o, #ff7a1a); animation: jgBeacon 2.2s ease-out infinite; }
.jg-dest i:nth-child(2) { animation-delay: 1.1s; }
@keyframes jgBeacon { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* God's Eye HUD */
.jg-god { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.jg-god.is-on { opacity: 1; }
.jg-god::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 52%, rgb(0 0 0 / .55) 100%); }
.jg-god i { position: absolute; width: 42px; height: 42px; border: 2px solid rgb(255 180 110 / .85); }
.jg-god .c1 { top: 88px; left: 22px; border-right: 0; border-bottom: 0; }
.jg-god .c2 { top: 88px; right: 90px; border-left: 0; border-bottom: 0; }
.jg-god .c3 { bottom: 180px; left: 22px; border-right: 0; border-top: 0; }
.jg-god .c4 { bottom: 180px; right: 90px; border-left: 0; border-top: 0; }
.jg-god__tag { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; align-items: center; padding: 7px 14px; border-radius: 10px; background: rgb(0 0 0 / .55); border: 1px solid rgb(255 180 110 / .45); font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #ffd8b0; letter-spacing: .08em; white-space: nowrap; }
.jg-god__tag b { color: #fff; letter-spacing: .2em; }
.jg-god__scan { position: absolute; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(180deg, transparent, rgb(255 160 80 / .12), transparent); animation: jgScan 4.5s linear infinite; }
@keyframes jgScan { to { top: 100%; } }
.jg.is-god .jg-q, .jg.is-god .jg-truck, .jg.is-god .jg-brand { opacity: .35; }
.jg.is-god .jg-turn { opacity: .9; }
.jg-scrub { position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); bottom: 34px; width: min(620px, calc(100% - 24px)); padding: 12px 16px 14px; border-radius: 20px; background: rgb(12 14 20 / .9); border: 1px solid rgb(255 180 110 / .4); box-shadow: 0 20px 50px rgb(0 0 0 / .5); }
.jg.is-nav .jg-scrub { bottom: 112px; }
.jg-scrub label { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #ffd8b0; }
.jg-scrub output { font: 700 13px ui-monospace, Menlo, monospace; color: #fff; text-transform: none; letter-spacing: 0; }
.jg-scrub input { width: 100%; margin: 10px 0 6px; accent-color: var(--o); height: 28px; }
.jg-scrub p { margin: 0 0 8px; font-size: 13px; color: #dfe4ea; min-height: 18px; }
.jg-scrub__b { display: flex; gap: 8px; flex-wrap: wrap; }
.jg-scrub__b button { flex: 1 1 auto; min-height: 42px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .06); font-weight: 800 !important; font-size: 13.5px !important; cursor: pointer; }
.jg-scrub__b button:first-child { border-color: rgb(255 180 110 / .5); }

/* mini pill on the Cab Radio page */
.jg-mini { position: fixed; z-index: 8000; left: 50%; transform: translateX(-50%); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); padding: 10px 12px 10px 14px; border-radius: 999px; border: 1px solid rgb(74 222 128 / .45); background: #0f2a1a; color: #eafff1; font: 600 14px var(--font-body, sans-serif); box-shadow: 0 14px 40px rgb(0 0 0 / .45); cursor: pointer; }
.jg-mini span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-mini em { font-style: normal; font-weight: 900; font-size: 11px; letter-spacing: .1em; padding: 4px 8px; border-radius: 999px; background: #ff7a1a; color: #141414; }

@media (max-width: 760px) {
  .jg-brand, .jg-truck span { display: none; }
  .jg-truck { width: 48px; padding: 0; justify-content: center; }
  .jg-sheet { left: 8px; right: 8px; width: auto; bottom: 28px; max-height: 52vh; border-radius: 20px 20px 16px 16px; }
  .jg-rail { right: 8px; gap: 6px; }
  .jg-rb { width: 54px; padding: 7px 2px 6px; font-size: 9.5px !important; }
  .jg-turn { left: 66px; right: 70px; padding: 10px 12px; gap: 10px; border-radius: 18px; }
  .jg-turn__ic { width: 58px; height: 58px; }
  .jg-big { width: 44px; height: 44px; }
  .jg-turn__tx b { font-size: 26px; }
  .jg-turn__tx span { font-size: 15px; }
  .jg-turn__then { display: none; }
  .jg-nav { gap: 6px; padding: 8px 8px 8px 12px; }
  .jg-nav__eta b { font-size: 18px; }
  .jg-nav__spd { width: 52px; }
  .jg-nb { min-width: 48px; height: 50px; }
  .jg-nb--end { padding: 0 14px; }
  .jg-god .c2, .jg-god .c4 { right: 74px; }
  .jg-god__tag { top: 80px; font-size: 10.5px; gap: 8px; }
  .jg-god .c1, .jg-god .c2 { top: 74px; }
  .jg-res { left: 8px; width: calc(100% - 16px); }
  .jg-foot { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .jg, .jg-god, .jg-sheet { transition: none; animation: none; } .jg-god__scan, .jg-me__pulse, .jg-dest i { animation: none; display: none; } }
.jg.is-god .jg-sheet { display: none; }
.jg.is-nav .maplibregl-ctrl-bottom-left { bottom: 118px; max-width: min(420px, calc(100% - 24px)); }
.jg.is-god .maplibregl-ctrl-bottom-left { bottom: 200px; }
@media (max-width: 760px) { .jg.is-nav .maplibregl-ctrl-bottom-left { bottom: 104px; } .jg.is-god .maplibregl-ctrl-bottom-left { bottom: 236px; } }
.jg.is-nav .jg-god__tag { top: 132px; }
.jg.is-nav .jg-god .c1, .jg.is-nav .jg-god .c2 { top: 124px; }
@media (max-width: 760px) { .jg.is-nav .jg-god__tag { top: 112px; } .jg.is-nav .jg-god .c1, .jg.is-nav .jg-god .c2 { top: 104px; } }
.jg-haul { margin: .5rem 0 .2rem; font-size: .86rem; line-height: 1.4; color: var(--jg-mute, #9aa3ad); }
.jg-haul b { color: var(--jg-amber, #f5a524); margin-right: .25em; }

/* UNCLE-bob map mark: see-through gray, Google-style corner wordmark */
.jg .jg-mark { pointer-events: none; user-select: none; -webkit-user-select: none; margin: 0 0 4px 12px; font: 800 20px/1 var(--font-display, system-ui), system-ui, sans-serif; letter-spacing: -.01em; color: rgb(170 175 181 / .5); text-shadow: 0 1px 1px rgb(0 0 0 / .25); clear: both; }
.jg .jg-mark sup { font-size: .5em; font-weight: 700; margin-left: 1px; vertical-align: .9em; }
.jg.is-god .jg-mark { color: rgb(225 228 232 / .5); text-shadow: 0 1px 2px rgb(0 0 0 / .45); }
@media (max-width: 760px) { .jg .jg-mark { font-size: 17px; margin-left: 10px; } }
/* When SOS drops to the bottom-left (navigating, God's Eye, World View on phones), sit UNCLE-bob beside it, never under it */
.jg.is-nav .jg-mark, .jg.is-god .jg-mark { margin-left: 92px; }
@media (max-width: 760px) { .jg:has(.jw-panel:not([hidden])) .jg-mark { margin-left: 92px; } }
