/* ---------- Leaflet core (inlined; CDN stylesheets are blocked) ---------- */
.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}
.leaflet-container{overflow:hidden;-webkit-tap-highlight-color:transparent;outline-offset:1px}
.leaflet-marker-icon,.leaflet-marker-shadow{display:block;user-select:none;-webkit-user-select:none}
.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}
.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}
.leaflet-zoom-animated{transform-origin:0 0}
.leaflet-zoom-anim .leaflet-zoom-animated{will-change:transform;transition:transform .25s cubic-bezier(0,0,.25,1)}
.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}
.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}
.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-dragging .leaflet-grab{cursor:grabbing}
.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}
.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive{pointer-events:auto}
.leaflet-touch-drag,.leaflet-touch-zoom{touch-action:none}
.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}
.leaflet-control{position:relative;z-index:800;pointer-events:auto}
.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}

/* ---------- app (single visual world: night map + light cards) ---------- */
.app {
  --night: #0E1A1D; --card: #F6F8F4; --card-2: #ECF0EA; --ink: #10231A; --ink-2: #44574C; --muted: #6E7F75; --line: #DCE3DC;
  --green: #1FA463; --green-deep: #123A28; --amber: #F2A93B; --amber-deep: #9A5F06; --off: #8C9A93; --red: #D4543F; --blue: #4DA3FF;
  position: relative; flex: 1; border-radius: 41px; overflow: hidden; background: var(--night); color: var(--ink); font-family: var(--f-body); isolation: isolate;
}
.map { position: absolute; inset: 0; z-index: 0; background: var(--night); }
.map-attrib { position: absolute; right: 8px; bottom: 272px; z-index: 5; font-size: 9px; color: rgba(210, 225, 216, .55); pointer-events: none; transition: bottom .3s; }
.app[data-sheet="mini"] .map-attrib { bottom: 176px; }
.app[data-sheet="full"] .map-attrib, .app[data-mode="nav"] .map-attrib { bottom: 92px; }

/* map labels & pins */
.lbl-area { color: rgba(214, 228, 220, .62); font: 600 10.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transform: translate(-50%, -50%); text-shadow: 0 0 6px #0E1A1D, 0 0 3px #0E1A1D; }
.lbl-city { color: rgba(236, 244, 239, .82); font: 700 12px/1 var(--f-body); letter-spacing: .06em; white-space: nowrap; transform: translate(-50%, -50%); text-shadow: 0 0 6px #0E1A1D; }
.lbl-road { color: rgba(170, 196, 186, .5); font: 500 9.5px/1 var(--f-body); white-space: nowrap; transform: translate(-50%, -50%); text-shadow: 0 0 4px #0E1A1D, 0 0 2px #0E1A1D; }
.pin { position: relative; width: 30px; height: 30px; transform: translate(-50%, -50%); }
.pin .dot { position: absolute; inset: 4px; border-radius: 50%; background: var(--green); border: 2px solid #0E1A1D; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .15s, background .3s; }
.pin .dot svg { width: 11px; height: 11px; fill: #fff; }
.pin.queue .dot { background: var(--amber); }
.pin.queue .dot svg { fill: #3A2604; }
.pin.off .dot { background: #56645D; }
.pin.off .dot svg { fill: #C8D1CC; }
.pin .ring { position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--green); animation: pinring 2.2s ease-out infinite; }
.pin.queue .ring { border-color: var(--amber); animation-duration: 2.8s; }
.pin.off .ring { display: none; }
@keyframes pinring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.pin.feat .dot { inset: 1px; border-color: #F6F8F4; }
.pin.feat::after { content: "★"; position: absolute; top: -6px; right: -6px; width: 15px; height: 15px; border-radius: 50%; background: #F6F8F4; color: #9A5F06; font-size: 9px; line-height: 15px; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.pin.sel .dot { transform: scale(1.3); border-color: #fff; }
.pin.dim { opacity: .28; }
.pin.dim .ring { display: none; }
.pin.flash .dot { animation: flash .9s; }
@keyframes flash { 30% { transform: scale(1.5); } }
.me { width: 22px; height: 22px; transform: translate(-50%, -50%); position: relative; }
.me i { position: absolute; inset: 4px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.me::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: rgba(77, 163, 255, .16); }
.car { width: 38px; height: 38px; transform: translate(-50%, -50%); }
.car svg { width: 100%; height: 100%; transition: transform .25s linear; }
.stop-pin { transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.stop-pin i { width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 3px solid #0E1A1D; box-shadow: 0 0 0 2px var(--green); }
.stop-pin span { background: rgba(246, 248, 244, .95); color: var(--ink); font: 600 10.5px/1 var(--f-body); padding: 4px 7px; border-radius: 7px; }
.city-pin i { background: #F6F8F4; box-shadow: 0 0 0 2px #F6F8F4; }

/* top overlay: search & chips */
.overlay-top { position: absolute; left: 0; right: 0; top: 0; z-index: 20; padding: 50px 14px 0; pointer-events: none; }
.overlay-top > * { pointer-events: auto; }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 16px; padding: 0 8px 0 14px; height: 48px; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.search svg { width: 18px; height: 18px; stroke: var(--ink-2); fill: none; stroke-width: 2; flex: none; }
.search input { flex: 1; border: 0; background: none; font: 500 15px var(--f-body); color: var(--ink); outline: none; min-width: 0; }
.search input::placeholder { color: var(--muted); }
.search .clear { border: 0; background: var(--card-2); border-radius: 50%; width: 26px; height: 26px; font-size: 15px; line-height: 1; color: var(--ink-2); }
.search .logo { width: 32px; height: 32px; border-radius: 10px; background: var(--green-deep); display: grid; place-items: center; flex: none; }
.search .logo svg { width: 16px; height: 16px; fill: #3CE08A; stroke: none; }
.suggest { margin-top: 6px; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.suggest button { display: flex; width: 100%; text-align: left; align-items: center; gap: 10px; padding: 11px 14px; border: 0; background: none; border-bottom: 1px solid var(--line); font-size: 14px; }
.suggest button:last-child { border-bottom: 0; }
.suggest button small { color: var(--muted); margin-left: auto; font-size: 12px; }
.suggest svg { width: 15px; height: 15px; stroke: var(--muted); fill: none; stroke-width: 2; }
.chips { display: flex; gap: 7px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; border-radius: 999px; padding: 8px 13px; font-size: 13px; font-weight: 600; background: rgba(20, 34, 30, .88); color: #DCE7E1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); backdrop-filter: blur(6px); }
.chip.on { background: var(--card); color: var(--ink); box-shadow: none; }
.chip b { color: var(--green); }

.fab-col { position: absolute; right: 14px; bottom: 284px; z-index: 15; display: flex; flex-direction: column; gap: 10px; transition: bottom .3s, opacity .2s; }
.app[data-sheet="mini"] .fab-col { bottom: 188px; }
.app[data-sheet="full"] .fab-col, .app[data-mode="nav"] .fab-col, .app[data-tab]:not([data-tab="map"]) .fab-col { opacity: 0; pointer-events: none; }
.fab { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--card); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.fab svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; }
.fab svg .fill { fill: var(--blue); stroke: none; }

/* bottom sheet */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--card); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .35); display: flex; flex-direction: column; height: 360px; padding-bottom: 76px; transition: height .32s cubic-bezier(.2, .8, .2, 1); }
.sheet[data-size="mini"] { height: 264px; }
.sheet[data-size="full"] { height: calc(100% - 44px); }
.sheet[data-size="tall"] { height: 74%; }
.sheet[data-size="nav"] { height: 170px; padding-bottom: 12px; }
.app[data-mode="flow"] .sheet { padding-bottom: 8px; }
.app[data-tab]:not([data-tab="map"]) .sheet { transform: translateY(110%); }
.sheet-handle { flex: none; height: 22px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet-handle span { width: 38px; height: 5px; border-radius: 3px; background: #C9D2CB; }
.sheet-body { flex: 1; overflow-y: auto; padding: 2px 18px 16px; overscroll-behavior: contain; }
.sheet-body::-webkit-scrollbar { width: 0; }

.tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 40; height: 76px; background: var(--card); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 10px 18px; }
.tabbar button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); }
.tabbar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.tabbar button.on { color: var(--green-deep); }
.tabbar button.on svg { stroke: var(--green); }
.app[data-mode="nav"] .tabbar, .app[data-mode="flow"] .tabbar { transform: translateY(100%); }
.tabbar { transition: transform .3s; }

/* sheet content */
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sh-title { font-size: 17px; font-weight: 700; margin: 4px 0 2px; letter-spacing: -.01em; }
.sh-sub { color: var(--muted); font-size: 12.5px; margin: 0; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--f-mono); color: var(--green); }
.live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: livepulse 2s infinite; }
.list { list-style: none; margin: 10px 0 0; padding: 0; }
.st-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; width: 100%; border-left: 0; border-right: 0; border-top: 0; background: none; text-align: left; }
.st-row:hover .st-name { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.net { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 12px var(--f-body); color: #fff; letter-spacing: -.02em; flex: none; }
.st-name { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.st-meta { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; display: flex; gap: 4px 8px; align-items: center; flex-wrap: wrap; }
.st-meta .mono { font-family: var(--f-mono); font-size: 11.5px; }
.avail { font-weight: 700; }
.avail.ok { color: #13834C; } .avail.q { color: var(--amber-deep); } .avail.x { color: var(--muted); }
.st-dist { text-align: right; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.st-dist small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.spons { font: 600 9.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--amber-deep); background: #FCEFD6; padding: 2px 6px; border-radius: 5px; }
.empty { padding: 26px 8px; text-align: center; color: var(--muted); font-size: 13px; }

/* station detail */
.det-head { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; }
.det-head .net { width: 48px; height: 48px; border-radius: 14px; font-size: 14px; }
.det-name { font-size: 18px; font-weight: 800; line-height: 1.2; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
.det-meta { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.det-meta .star { color: var(--amber-deep); font-weight: 700; }
.icon-btn { border: 0; background: var(--card-2); width: 32px; height: 32px; border-radius: 50%; flex: none; margin-left: auto; font-size: 18px; line-height: 1; color: var(--ink-2); display: grid; place-items: center; }
.status-banner { margin: 14px 0 12px; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #E3F4EA; }
.status-banner.q { background: #FCEFD6; }
.status-banner.x { background: var(--card-2); }
.status-banner strong { font-size: 15px; }
.status-banner span { font-size: 12px; color: var(--ink-2); }
.plugs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.plug { border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; display: flex; flex-direction: column; gap: 2px; background: #fff; position: relative; text-align: left; font: inherit; color: inherit; }
.plug .pt { font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; }
.plug .pt span { font: 500 11px var(--f-mono); color: var(--muted); }
.plug .kw { font: 500 11.5px var(--f-mono); color: var(--ink-2); }
.plug .ps { font-size: 11.5px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.plug .ps::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.plug.a .ps { color: #13834C; } .plug.c .ps { color: var(--amber-deep); } .plug.o .ps { color: var(--muted); }
.plug.o { background: var(--card-2); }
.plug.pick { cursor: pointer; }
.plug.pick.on { border-color: var(--green); box-shadow: 0 0 0 2px var(--green) inset; }
.plug.pick:disabled { cursor: not-allowed; opacity: .6; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.facts div { padding: 10px 12px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: 11px; color: var(--muted); }
.facts dd { margin: 1px 0 0; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.facts dd small { font-weight: 500; font-size: 11px; color: var(--muted); }
.sec-h { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin: 16px 0 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; background: var(--card-2); border-radius: 8px; padding: 5px 9px; color: var(--ink-2); font-weight: 500; }
.deal { margin-top: 12px; border-radius: 14px; padding: 12px 14px; background: var(--green-deep); color: #D9EFE2; font-size: 12.5px; display: flex; gap: 10px; align-items: center; }
.deal b { color: #fff; }
.deal .pbadge { font: 700 10px var(--f-mono); letter-spacing: .08em; background: #3CE08A; color: var(--green-deep); padding: 3px 7px; border-radius: 6px; flex: none; }
.review { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.review:last-child { border-bottom: 0; }
.review .who { display: flex; justify-content: space-between; font-weight: 600; font-size: 12.5px; }
.review .who span { color: var(--amber-deep); font-family: var(--f-mono); font-size: 11.5px; }
.review p { margin: 3px 0 0; color: var(--ink-2); }
.review small { color: var(--muted); }
.actions { position: sticky; bottom: -16px; margin: 14px -18px -16px; padding: 12px 18px 16px; background: linear-gradient(to bottom, rgba(246, 248, 244, 0), var(--card) 26%); display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.actions.one { grid-template-columns: 1fr; }
.b { border: 0; border-radius: 14px; height: 50px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.b svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.b-pri { background: var(--green); color: #fff; }
.b-pri:hover { background: #1A9358; }
.b-dark { background: var(--green-deep); color: #fff; }
.b-sec { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.b-sec:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.b-danger { background: #fff; color: var(--red); box-shadow: inset 0 0 0 1.5px #F0CFC8; }
.b:disabled { opacity: .5; cursor: not-allowed; }
.link { border: 0; background: none; color: var(--green-deep); font-weight: 700; font-size: 13px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* reserve */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--card-2); border-radius: 12px; padding: 4px; margin: 12px 0; }
.seg button { border: 0; background: none; border-radius: 9px; padding: 9px; font-weight: 700; font-size: 13.5px; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.slots { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.slot { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 11px; padding: 8px 12px; font: 600 13px var(--f-mono); }
.slot.on { border-color: var(--green); background: #E3F4EA; }
.slot small { display: block; font: 500 10.5px var(--f-body); color: var(--muted); }
.veh { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.veh button { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; text-align: left; font-size: 13px; font-weight: 700; }
.veh button small { display: block; font: 500 11px var(--f-mono); color: var(--muted); }
.veh button.on { border-color: var(--green); background: #E3F4EA; }
.soc { margin: 6px 0 2px; }
.soc-vals { display: flex; justify-content: space-between; font: 600 13px var(--f-mono); }
.soc input[type="range"] { width: 100%; accent-color: var(--green); }
.summary { border-radius: 14px; background: #fff; border: 1px solid var(--line); margin-top: 14px; }
.summary div { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.summary div:last-child { border-bottom: 0; }
.summary span { color: var(--ink-2); }
.summary b { font-variant-numeric: tabular-nums; }
.summary .tot b { font-size: 16px; }
.fine { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; }
.howto { list-style: none; margin: 14px 0 0; padding: 0; border-radius: 14px; background: #fff; border: 1px solid var(--line); counter-reset: h; }
.howto li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.howto li:last-child { border-bottom: 0; }
.howto li::before { counter-increment: h; content: counter(h); width: 22px; height: 22px; border-radius: 50%; background: #E3F4EA; color: var(--green-deep); font: 700 11.5px/22px var(--f-mono); text-align: center; flex: none; }
.howto li.plugline { font-weight: 500; color: var(--ink-2); }
.howto li.plugline::before { content: ""; counter-increment: none; background: none; width: 0; margin-right: -12px; }

/* reserved / countdown */
.confirm { text-align: center; padding-top: 6px; }
.check { width: 58px; height: 58px; border-radius: 50%; background: #E3F4EA; margin: 4px auto 10px; display: grid; place-items: center; }
.check svg { width: 28px; height: 28px; stroke: var(--green); fill: none; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.confirm p { margin: 4px 0 0; color: var(--ink-2); font-size: 13.5px; }
.countdown { font: 600 44px/1 var(--f-display); letter-spacing: -.03em; margin: 16px 0 2px; font-variant-numeric: tabular-nums; color: var(--green-deep); }
.cd-sub { font-size: 12px; color: var(--muted); }
.holdbar { height: 6px; border-radius: 3px; background: var(--card-2); margin: 12px 0 0; overflow: hidden; }
.holdbar i { display: block; height: 100%; background: var(--green); transition: width 1s linear; }

/* navigation */
.nav-banner { position: absolute; top: 50px; left: 12px; right: 12px; z-index: 22; background: var(--green-deep); color: #fff; border-radius: 18px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.nav-banner .arrow { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; }
.nav-banner .arrow svg { width: 26px; height: 26px; stroke: #3CE08A; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-banner .d { font: 600 22px/1 var(--f-display); letter-spacing: -.02em; }
.nav-banner .t { font-size: 14px; color: #CFE6D8; margin-top: 4px; line-height: 1.3; }
.nav-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nav-eta b { font: 600 24px/1 var(--f-display); color: var(--green-deep); letter-spacing: -.02em; }
.nav-eta span { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; font-family: var(--f-mono); }
.nav-hold { font: 600 12px var(--f-mono); color: var(--green-deep); background: #E3F4EA; padding: 6px 9px; border-radius: 9px; white-space: nowrap; }
.nav-ctrls { display: flex; gap: 8px; margin-top: 12px; }
.nav-ctrls .b { height: 44px; flex: 1; font-size: 14px; }

/* charging */
.charge-wrap { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.cring { position: relative; width: 196px; height: 196px; margin: 8px 0 6px; }
.cring > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cring .bg { stroke: var(--card-2); }
.cring .fg { stroke: var(--green); stroke-linecap: round; transition: stroke-dashoffset .9s linear; }
.cring .tgt { stroke: var(--green-deep); stroke-width: 3; }
.ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-c b { font: 600 46px/1 var(--f-display); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ring-c b small { font-size: 20px; }
.ring-c span { font-size: 12px; color: var(--muted); margin-top: 6px; }
.bolt-anim { width: 18px; height: 18px; fill: var(--green); animation: boltp 1.2s infinite; }
@keyframes boltp { 50% { opacity: .35; } }
.cstats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-top: 8px; }
.cstats div { padding: 10px 12px; border-right: 1px solid var(--line); text-align: center; }
.cstats div:last-child { border-right: 0; }
.cstats dt { font-size: 11px; color: var(--muted); }
.cstats dd { margin: 2px 0 0; font: 600 16px var(--f-mono); font-variant-numeric: tabular-nums; }
.spark { width: 100%; margin-top: 12px; }
.spark svg { width: 100%; height: 56px; display: block; }
.spark .lab { display: flex; justify-content: space-between; font: 500 10.5px var(--f-mono); color: var(--muted); }
.sim { font: 500 11px var(--f-mono); color: var(--muted); background: var(--card-2); border-radius: 7px; padding: 3px 7px; }

/* pay & rate */
.receipt { border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 14px 16px; margin-top: 12px; }
.receipt .r { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; }
.receipt .r span { color: var(--ink-2); }
.receipt .r b { font-variant-numeric: tabular-nums; font-weight: 600; }
.receipt .r.tot { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.receipt .r.tot b { font: 700 19px var(--f-display); letter-spacing: -.02em; }
.paym { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.paym button { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; padding: 11px 13px; text-align: left; font-size: 14px; font-weight: 700; }
.paym button.on { border-color: var(--green); background: #F0F9F3; }
.paym button small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.paym .pm-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 11px var(--f-mono); color: #fff; flex: none; }
.paym .radio { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.paym button.on .radio { border: 5px solid var(--green); }
.stars { display: flex; justify-content: center; gap: 6px; margin: 12px 0 6px; }
.stars button { border: 0; background: none; font-size: 34px; line-height: 1; color: #D5DCD6; padding: 2px; }
.stars button.on { color: var(--amber); }
.rtags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin: 8px 0; }
.rtags button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.rtags button.on { border-color: var(--green); color: var(--green-deep); background: #E3F4EA; }
.earned { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.earned div { border-radius: 14px; background: #fff; border: 1px solid var(--line); padding: 12px 8px; text-align: center; }
.earned b { display: block; font: 600 20px var(--f-display); letter-spacing: -.02em; color: var(--green-deep); }
.earned span { font-size: 11.5px; color: var(--muted); }
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -10px; width: 7px; height: 12px; border-radius: 2px; animation: fall 1.8s ease-in forwards; }
@keyframes fall { to { transform: translateY(900px) rotate(540deg); opacity: .2; } }

/* full screens (trips / rewards / profile) */
.screen { position: absolute; inset: 0; bottom: 76px; z-index: 28; background: var(--card); overflow-y: auto; padding: 54px 18px 24px; }
.screen.over-map { background: none; pointer-events: none; padding: 0; overflow: visible; }
.scr-h { font: 600 22px/1.15 var(--f-display); letter-spacing: -.025em; margin: 6px 0 4px; }
.scr-sub { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.trip-card { pointer-events: auto; position: absolute; left: 0; right: 0; bottom: 0; background: var(--card); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .35); max-height: 48%; overflow-y: auto; padding: 14px 18px 18px; }
.trip-top { pointer-events: auto; position: absolute; top: 50px; left: 12px; right: 12px; background: var(--card); border-radius: 18px; padding: 10px 14px; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.od { display: grid; grid-template-columns: 14px 1fr; gap: 4px 10px; align-items: center; font-size: 14px; font-weight: 600; }
.od i { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--blue); margin: 0 auto; }
.od i.to { border-color: var(--green); background: var(--green); border-radius: 3px; }
.od .sep { grid-column: 2; height: 1px; background: var(--line); }
.od select { border: 0; background: none; font: 600 14px var(--f-body); color: var(--ink); padding: 0; appearance: none; -webkit-appearance: none; cursor: pointer; width: 100%; }
.range-row { display: flex; gap: 10px; margin: 4px 0 10px; }
.range-row > div { flex: 1; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 8px 11px; }
.range-row dt { font-size: 11px; color: var(--muted); }
.range-row dd { margin: 0; font: 600 16px var(--f-mono); }
.itin { list-style: none; margin: 10px 0 0; padding: 0; }
.itin li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding-bottom: 12px; position: relative; font-size: 13.5px; }
.itin li::before { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.itin li:last-child::before { display: none; }
.itin .n { width: 22px; height: 22px; border-radius: 50%; background: var(--card-2); border: 2px solid var(--line); z-index: 1; display: grid; place-items: center; }
.itin .n svg { width: 11px; height: 11px; fill: var(--green-deep); }
.itin li.chg .n { background: var(--green); border-color: var(--green); }
.itin li.chg .n svg { fill: #fff; }
.itin li.end .n { background: var(--green-deep); border-color: var(--green-deep); }
.itin b { font-weight: 700; }
.itin small { display: block; color: var(--muted); font-size: 12px; }
.itin .r { text-align: right; font: 500 12px var(--f-mono); color: var(--ink-2); }

.prof-head { display: flex; gap: 14px; align-items: center; }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--green-deep); color: #3CE08A; display: grid; place-items: center; font: 600 19px var(--f-display); flex: none; }
.prof-head h2 { margin: 0; font-size: 19px; font-weight: 800; }
.prof-head p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.stat3 div { padding: 12px 8px; text-align: center; border-right: 1px solid var(--line); }
.stat3 div:last-child { border-right: 0; }
.stat3 b { display: block; font: 600 19px var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat3 span { font-size: 10.5px; color: var(--muted); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.premium { border-radius: 18px; padding: 16px; background: var(--green-deep); color: #D9EFE2; position: relative; overflow: hidden; }
.premium::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid rgba(60, 224, 138, .12); }
.premium h3 { margin: 0; color: #fff; font: 600 17px var(--f-display); letter-spacing: -.02em; }
.premium ul { margin: 8px 0 12px; padding-left: 18px; font-size: 13px; line-height: 1.6; }
.premium .pr { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.premium .pr b { font: 600 20px var(--f-display); color: #fff; }
.premium .pr b small { font: 500 12px var(--f-body); color: #A8C9B6; }
.premium .b { background: #3CE08A; color: var(--green-deep); height: 42px; padding: 0 18px; }
.premium.active .b { background: rgba(255, 255, 255, .14); color: #fff; }
.wallet { margin-top: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wallet b { display: block; font: 600 22px var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wallet span { font-size: 12px; color: var(--muted); }
.wallet .b { height: 40px; padding: 0 14px; font-size: 13.5px; }
.menu { margin-top: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.menu button { display: flex; width: 100%; justify-content: space-between; align-items: center; border: 0; background: none; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; text-align: left; }
.menu button:last-child { border-bottom: 0; }
.menu button small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.badge { border-radius: 14px; background: #fff; border: 1px solid var(--line); padding: 12px 6px; text-align: center; font-size: 12px; font-weight: 700; }
.badge .bi { width: 38px; height: 38px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: #E3F4EA; }
.badge .bi svg { width: 20px; height: 20px; stroke: var(--green-deep); fill: none; stroke-width: 2; }
.badge.locked { opacity: .45; }
.badge small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.pts-card { border-radius: 18px; background: var(--green-deep); color: #fff; padding: 16px; }
.pts-card .big { font: 600 34px/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pts-card .big small { font: 600 13px var(--f-body); color: #A8C9B6; letter-spacing: 0; margin-left: 4px; }
.pts-card .lvl { display: flex; justify-content: space-between; font-size: 12px; color: #CFE6D8; margin-top: 12px; }
.pts-card .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .15); margin-top: 6px; overflow: hidden; }
.pts-card .bar i { display: block; height: 100%; background: #3CE08A; }
.earn { list-style: none; margin: 0; padding: 0; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.earn li { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.earn li:last-child { border-bottom: 0; }
.earn li small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.earn li b { font: 600 13px var(--f-mono); color: var(--green-deep); white-space: nowrap; }
.board { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.board li { display: grid; grid-template-columns: 22px 30px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.board li::before { counter-increment: b; content: counter(b); font: 600 12px var(--f-mono); color: var(--muted); }
.board li.me-row { font-weight: 800; }
.board .av { width: 30px; height: 30px; border-radius: 50%; background: var(--card-2); display: grid; place-items: center; font: 700 11px var(--f-body); color: var(--ink-2); }
.board b { font: 600 12.5px var(--f-mono); }
.form label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 12px 0 5px; }
.form input, .form select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font: 500 14px var(--f-body); background: #fff; color: var(--ink); }
.back { border: 0; background: var(--card-2); border-radius: 10px; padding: 7px 11px; font-weight: 700; font-size: 13px; }

.toast { position: absolute; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 70; background: var(--green-deep); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; opacity: 0; transition: .25s; pointer-events: none; max-width: 86%; text-align: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: #3CE08A; }

@media (max-width: 560px) {
  .app { border-radius: 0; }
  .overlay-top { padding-top: 10px; }
  .nav-banner, .trip-top { top: 10px; }
  .screen { padding-top: 16px; }
  .sheet[data-size="full"] { height: calc(100% - 8px); }
}

/* ---------- real-data additions ---------- */
.sim-tag { font: 600 10px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--amber-deep); background: #FCEFD6; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.pin.unk .dot { background: #3A4A45; border-color: #0E1A1D; }
.pin.unk .dot svg { fill: #9FB0A8; }
.pin.unk .ring { display: none; }
.ad-slot { list-style: none; margin: 10px 0; padding: 12px 14px; border: 1.5px dashed #C9D2CB; border-radius: 14px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--ink-2); }
.ad-slot b { color: var(--ink); font-size: 13.5px; }
.ad-slot .ad-k { font: 600 10px var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.src-note { margin-top: 14px; }
.src-line a { color: var(--green-deep); font-weight: 700; }
.addr { margin-top: 8px; }
.itin li.gap .n { background: #FCEFD6; border-color: var(--amber); color: var(--amber-deep); font: 700 12px/18px var(--f-mono); text-align: center; }
.test-note code, .confirm code { font: 500 11.5px var(--f-mono); background: var(--card-2); padding: 1px 5px; border-radius: 5px; }
.paym button:disabled { opacity: .5; cursor: not-allowed; }
