/* Aplikacja „Bilet” — czarna + neon limonka. Zawsze ciemna (także w Telegramie). */
:root {
  --bg: #0b0d10; --card: #16191e; --card2: #1d2127; --line: #262b33;
  --text: #f4f6f8; --hint: #8b939e; --dim: #5d646e;
  --neon: #c6ff3d; --neon-t: #0b0d10; --neon-soft: rgba(198, 255, 61, .14);
  --yellow: #ffd23f; --red: #ff4d5e; --blue: #5aa9ff;
  --row: 56px; --tab: 64px;
  --safe-t: env(safe-area-inset-top); --safe-b: env(safe-area-inset-bottom);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
body { padding: calc(var(--safe-t) + 8px) 16px calc(var(--tab) + var(--safe-b) + 20px); overflow-x: hidden; min-height: 100vh; overscroll-behavior-y: contain; }
button { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--hint); font-size: 13px; }
.center { text-align: center; }
.hidden { display: none !important; }

/* nagłówek */
.head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 14px; }
.head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin: 0; }
.head .r { display: flex; align-items: center; gap: 10px; }
.chip { background: var(--card); border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.chip.neon { background: var(--neon-soft); color: var(--neon); }
.ibtn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--card); color: var(--neon); display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .15s; }
.ibtn:active { transform: scale(.9); }
.ico { width: 22px; height: 22px; display: block; }
.ibtn.spin .ico { animation: spin .8s cubic-bezier(.4, .1, .6, .9) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* karty */
.card { background: var(--card); border-radius: 22px; padding: 18px; margin-bottom: 14px; position: relative; overflow: hidden; }
.card.flat { padding: 6px 18px; }
.card h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--hint); font-weight: 700; }
.fade { animation: fade .45s ease both; }
.fade.d1 { animation-delay: .06s; } .fade.d2 { animation-delay: .12s; } .fade.d3 { animation-delay: .18s; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* przyciski */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 0; border-radius: 18px; padding: 17px; font-size: 18px; font-weight: 800; background: var(--neon); color: var(--neon-t); cursor: pointer; transition: transform .12s, box-shadow .3s; box-shadow: 0 8px 30px rgba(198, 255, 61, .18); }
.btn:active { transform: scale(.97); }
.btn.dark { background: var(--card2); color: var(--text); box-shadow: none; font-size: 16px; padding: 14px; }
.btn.red { background: rgba(255, 77, 94, .14); color: var(--red); box-shadow: none; font-size: 16px; padding: 14px; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.pill { border: 0; background: var(--card2); color: var(--text); border-radius: 14px; padding: 11px 12px; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: transform .12s, background .2s; }
.pill:active { transform: scale(.95); }
.pill.on { background: var(--neon-soft); color: var(--neon); }

/* bilet jednoprzejazdowy */
.line { display: flex; align-items: center; gap: 10px; }
.badge { background: var(--neon); color: var(--neon-t); border-radius: 12px; padding: 4px 11px; font-size: 22px; font-weight: 900; min-width: 48px; text-align: center; }
.dir { color: var(--hint); font-weight: 600; font-size: 16px; }
.count { font-size: 64px; font-weight: 900; letter-spacing: -2px; margin: 12px 0 0; line-height: 1; }
.count small { font-size: 17px; font-weight: 700; color: var(--hint); letter-spacing: 0; margin-left: 6px; }
.sub { margin-top: 8px; color: var(--hint); font-size: 15px; }
.sub b { color: var(--text); }
.delay { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 8px; font-size: 13px; font-weight: 800; background: var(--card2); }
.delay.late { color: var(--yellow); } .delay.ok { color: var(--neon); }
.segs { display: flex; gap: 4px; margin-top: 16px; height: 12px; }
.segs > b { flex: 1; border-radius: 4px; background: var(--line); overflow: hidden; position: relative; }
.segs > b > i { position: absolute; inset: 0; border-radius: 4px; background: var(--neon); transform-origin: right center; transition: transform var(--tr, 1s) linear, background .6s; }
.warn { background: rgba(255, 77, 94, .14); color: var(--red); border-radius: 14px; padding: 10px 12px; font-weight: 800; margin-top: 14px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .65; } }
.glow { position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 255, 61, .22), transparent 70%); pointer-events: none; }

/* mapa */
#map { height: 260px; border-radius: 22px; overflow: hidden; margin-bottom: 14px; background: #101318; position: relative; }
.map-btn { position: absolute; right: 10px; bottom: 10px; z-index: 500; }
.busdot { width: 34px; height: 34px; border-radius: 50%; background: var(--neon); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(198, 255, 61, .55); animation: ping 1.8s ease-out infinite; border: 3px solid var(--bg); }
.busdot svg { width: 18px; height: 18px; }
.medot { width: 18px; height: 18px; border-radius: 50%; background: var(--neon); border: 3px solid var(--bg); box-shadow: 0 0 0 0 rgba(198, 255, 61, .6), 0 0 14px rgba(198, 255, 61, .7); animation: mePing 2s ease-out infinite; }
@keyframes mePing { 0% { box-shadow: 0 0 0 0 rgba(198, 255, 61, .55), 0 0 14px rgba(198, 255, 61, .7); } 100% { box-shadow: 0 0 0 18px rgba(198, 255, 61, 0), 0 0 14px rgba(198, 255, 61, .7); } }
.torig { width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 5px solid var(--neon); box-shadow: 0 0 0 3px var(--bg), 0 0 16px rgba(198, 255, 61, .6); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(198, 255, 61, .55); } 100% { box-shadow: 0 0 0 16px transparent; } }
.leaflet-container { background: #101318 !important; font: inherit !important; }
.leaflet-tile { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.25); }
.leaflet-container { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; outline: none; }
.leaflet-container:focus, .leaflet-container *:focus { outline: none; }
.leaflet-container img { -webkit-user-drag: none; }
.leaflet-control-attribution { background: rgba(11, 13, 16, .7) !important; color: var(--dim) !important; font-size: 9px !important; }
.leaflet-control-attribution a { color: var(--hint) !important; }

/* trasa */
.rwrap { max-height: 392px; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 0 -6px; padding: 0 6px; scrollbar-width: none; mask-image: linear-gradient(transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.rwrap::-webkit-scrollbar { display: none; }
.route { position: relative; padding-left: 36px; }
.route::before { content: ""; position: absolute; left: 14px; top: calc(var(--row) / 2); bottom: calc(var(--row) / 2); width: 4px; border-radius: 4px; background: var(--line); }
.route .done { position: absolute; left: 14px; top: calc(var(--row) / 2); width: 4px; border-radius: 4px; background: var(--neon); transition: height var(--tr, 1s) linear; box-shadow: 0 0 12px rgba(198, 255, 61, .5); }
.stop { height: var(--row); display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; transition: opacity .5s; }
.stop::before { content: ""; position: absolute; left: -28px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--dim); transition: background .4s, border-color .4s; }
.stop.passed { opacity: .4; }
.stop.passed::before { background: var(--neon); border-color: var(--neon); }
.stop.board::before, .stop.term::before { width: 16px; height: 16px; left: -30px; border-color: var(--neon); }
.stop.term::before { background: var(--neon); }
.stop .n { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stop .tag { display: block; font-size: 12px; color: var(--neon); font-weight: 700; }
.stop .rt { display: flex; align-items: center; gap: 6px; flex: none; }
.stop .t { color: var(--hint); font-size: 14px; }
.bell { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--dim); display: grid; place-items: center; cursor: pointer; padding: 0; }
.bell svg { width: 19px; height: 19px; }
.bell.on { background: var(--neon); color: var(--neon-t); animation: ring 1.2s ease-in-out 2; }
@keyframes ring { 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } 50% { transform: none; } }
.bus { position: absolute; left: 1px; width: 30px; height: 30px; margin-top: calc(var(--row) / 2 - 15px); display: grid; place-items: center; border-radius: 50%; background: var(--neon); color: var(--neon-t); box-shadow: 0 0 0 0 rgba(198, 255, 61, .55); animation: ping 1.8s ease-out infinite; transition: top var(--tr, 1s) linear; z-index: 2; }
.bus svg { width: 17px; height: 17px; }

/* bilet czasowy / okresowy — okrąg z części */
.ring { display: grid; place-items: center; margin: 4px auto; position: relative; width: 230px; height: 230px; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 14; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: var(--neon); transition: stroke .6s; filter: drop-shadow(0 0 6px rgba(198, 255, 61, .45)); }
.ring .mid { position: absolute; text-align: center; }
.ring .mid .count { font-size: 46px; margin: 0; }

/* brak biletu */
.big { font-size: 56px; font-weight: 900; letter-spacing: -2px; }
.wait { width: 64px; height: 64px; margin: 6px auto 14px; border-radius: 50%; border: 6px solid var(--neon-soft); border-top-color: var(--neon); animation: spin 1s linear infinite; }
.list .it { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.list .it:first-child { border-top: 0; }
.list .l { font-weight: 800; }
.lb { display: inline-block; min-width: 34px; text-align: center; background: var(--card2); border-radius: 8px; padding: 2px 6px; font-weight: 900; margin-right: 6px; }
.lb.neon { background: var(--neon); color: var(--neon-t); }
.day { font-size: 13px; font-weight: 800; color: var(--hint); text-transform: uppercase; letter-spacing: .6px; margin: 16px 0 4px; }
.plus { color: var(--neon); font-weight: 800; }

/* wykres */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 8px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars .b i { display: block; width: 100%; border-radius: 10px 10px 4px 4px; background: var(--card2); height: 0; transition: height .9s cubic-bezier(.2, .8, .2, 1); }
.bars .b.cur i { background: var(--neon); box-shadow: 0 0 18px rgba(198, 255, 61, .35); }
.bars .b span { font-size: 12px; color: var(--hint); font-weight: 700; }
.bars .b em { font-style: normal; font-size: 11px; color: var(--text); font-weight: 800; }
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi > div { background: var(--card2); border-radius: 16px; padding: 12px; }
.kpi b { display: block; font-size: 22px; font-weight: 900; }

/* karta / ustawienia */
.set { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.set:first-of-type { border-top: 0; }
.set b { font-weight: 700; }
.sw { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; border-radius: 99px; background: var(--line); position: relative; transition: background .2s; flex: none; cursor: pointer; margin: 0; }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; transition: transform .2s; }
.sw:checked { background: var(--neon); }
.sw:checked::after { transform: translateX(20px); }
.sw:disabled { opacity: .4; }
.mini { border: 0; border-radius: 12px; padding: 9px 14px; font-weight: 800; font-size: 14px; background: var(--neon); color: var(--neon-t); cursor: pointer; flex: none; }
.mini.dark { background: var(--card2); color: var(--text); }
.meter { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 10px 0 6px; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--neon); transition: width 1s ease; }
.code { width: 100%; font-size: 34px; letter-spacing: 10px; text-align: center; padding: 14px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); color: var(--text); font-weight: 900; margin: 14px 0; }
.code:focus { outline: none; border-color: var(--neon); }
.steps { text-align: left; margin: 10px 0 0; padding-left: 22px; } .steps li { margin: 8px 0; }
.share { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; color: var(--neon); }

/* dolny pasek zakładek */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; padding: 8px 10px calc(var(--safe-b) + 6px); background: rgba(11, 13, 16, .82); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-top: 1px solid var(--line); }
.tabs button { flex: 1; border: 0; background: none; color: var(--dim); display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 4px 0; cursor: pointer; transition: color .2s; }
.tabs button svg { width: 24px; height: 24px; shape-rendering: geometricPrecision; transition: transform .2s; }
.tabs button.on { color: var(--neon); }
.tabs button.on svg { transform: translateY(-1px); }

/* arkusz (wybór biletu, wysiadka) i toast */
.sheet-bg { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.sheet-bg.show { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; background: var(--card); border-radius: 26px 26px 0 0; padding: 10px 18px calc(var(--safe-b) + 18px); box-shadow: 0 400px 0 var(--card); transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .9, .3, 1); }
.sheet.show { transform: none; }
.sheet .grab { width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 14px; }
.sheet h2 { margin: 0 0 4px; font-size: 22px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; background: var(--card2); border-radius: 18px; padding: 15px; margin-top: 10px; cursor: pointer; text-align: left; transition: transform .12s; }
.opt:active { transform: scale(.98); }
.opt .e { font-size: 28px; }
.opt b { display: block; font-size: 17px; }
.toast { position: fixed; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: calc(var(--tab) + var(--safe-b) + 18px); transform: translateY(20px); opacity: 0; z-index: 1100; background: var(--neon); color: var(--neon-t); font-weight: 800; padding: 12px 18px; border-radius: 16px; transition: transform .3s cubic-bezier(.2, .9, .3, 1), opacity .25s; max-width: 90vw; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.toast.show { opacity: 1; transform: none; }
.banner { background: var(--neon-soft); color: var(--neon); border-radius: 16px; padding: 12px 14px; font-weight: 700; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }

/* podsumowanie miesiąca (jak „stories”): czarne tło z limonkową zorzą, która przepływa między slajdami */
@property --ax { syntax: '<percentage>'; inherits: true; initial-value: 85%; }
@property --ay { syntax: '<percentage>'; inherits: true; initial-value: 5%; }
@property --bx { syntax: '<percentage>'; inherits: true; initial-value: 10%; }
@property --by { syntax: '<percentage>'; inherits: true; initial-value: 95%; }
@property --ga { syntax: '<number>'; inherits: true; initial-value: .34; }
.story { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; overflow: hidden; padding: calc(var(--safe-t) + 10px) 28px calc(var(--safe-b) + 24px); color: #fff;
  background: radial-gradient(75% 55% at var(--ax) var(--ay), rgba(198, 255, 61, var(--ga)), transparent 70%), radial-gradient(70% 50% at var(--bx) var(--by), rgba(198, 255, 61, calc(var(--ga) * .6)), transparent 70%), linear-gradient(160deg, #0d1405, #000 55%, #081003);
  transition: --ax 1.1s ease, --ay 1.1s ease, --bx 1.1s ease, --by 1.1s ease, --ga 1.1s ease, color .5s; }
.story::before { content: ""; position: absolute; inset: -20%; pointer-events: none; background: radial-gradient(circle at 30% 40%, rgba(198, 255, 61, .10), transparent 35%), radial-gradient(circle at 70% 65%, rgba(198, 255, 61, .08), transparent 30%); animation: aurora 9s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate(6%, -5%) rotate(8deg); } }
.story::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(198, 255, 61, .025) 22px 23px); }
.story > * { position: relative; z-index: 1; }
.story .bars2 { display: flex; gap: 4px; }
.story .bars2 i { flex: 1; height: 4px; border-radius: 4px; background: rgba(198, 255, 61, .2); overflow: hidden; position: relative; }
.story .bars2 i b { position: absolute; inset: 0; background: var(--neon); box-shadow: 0 0 10px var(--neon); transform-origin: left; transform: scaleX(0); }
.story .bars2 i.done b { transform: scaleX(1); }
.story .bars2 i.cur b { animation: fill var(--dur, 5s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.story .x { position: absolute; right: 18px; top: calc(var(--safe-t) + 24px); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(198, 255, 61, .14); color: var(--neon); z-index: 2; display: grid; place-items: center; padding: 0; }
.story .x .ai { width: 18px; height: 18px; }
.story .slide { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; animation: sIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.story .k { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 900; color: var(--neon); text-transform: uppercase; letter-spacing: 1.6px; padding: 7px 12px; border-radius: 99px; background: rgba(198, 255, 61, .12); border: 1px solid rgba(198, 255, 61, .3); box-shadow: 0 0 18px rgba(198, 255, 61, .15); }
.story .k .ai { width: 15px; height: 15px; vertical-align: 0; }
.story .h { font-size: 40px; font-weight: 900; line-height: 1.06; letter-spacing: -1px; overflow-wrap: anywhere; hyphens: auto; }
.story .h em, .story .p em { font-style: normal; color: var(--neon); text-shadow: 0 0 24px rgba(198, 255, 61, .45); }
.story .h .ai { color: var(--neon); }
.story .mega { font-size: 120px; font-weight: 900; line-height: .9; letter-spacing: -5px; color: var(--neon); text-shadow: 0 0 30px rgba(198, 255, 61, .55), 0 0 80px rgba(198, 255, 61, .3); overflow-wrap: anywhere; }
.story .p { font-size: 19px; color: #d4dbc6; line-height: 1.45; }
.story .p b { color: var(--neon); }
.story .p .ai { color: var(--neon); }
.story .lb { background: rgba(198, 255, 61, .16); color: var(--neon); }
.story .hist { display: flex; align-items: flex-end; gap: 3px; height: 130px; padding-bottom: 2px; border-bottom: 1px solid rgba(198, 255, 61, .25); }
.story .hist i { flex: 1; background: linear-gradient(to top, rgba(198, 255, 61, .55), var(--neon)); border-radius: 4px 4px 1px 1px; box-shadow: 0 0 14px rgba(198, 255, 61, .45); transform-origin: bottom; animation: grow .8s cubic-bezier(.2, .8, .2, 1) both; }
.story .hist i.z { background: rgba(198, 255, 61, .18); box-shadow: none; }
@keyframes grow { from { transform: scaleY(0); } }
/* ostatni slajd: cały w limonce */
.story.lime { color: var(--neon-t); --ga: 0; background-color: var(--neon); background-image: radial-gradient(80% 60% at 85% 10%, #e9ffb0, transparent 70%), radial-gradient(70% 50% at 10% 95%, #9fe010, transparent 70%), linear-gradient(160deg, #d4ff6a, #c6ff3d 50%, #b3f51f); }
.story.lime::before, .story.lime::after { opacity: 0; }
.story.lime .k { color: var(--neon-t); background: rgba(11, 13, 16, .1); border-color: rgba(11, 13, 16, .25); box-shadow: none; }
.story.lime .h em, .story.lime .h .ai { color: var(--neon-t); text-shadow: none; }
.story.lime .p { color: rgba(11, 13, 16, .75); }
.story.lime .bars2 i { background: rgba(11, 13, 16, .18); } .story.lime .bars2 i b { background: var(--neon-t); box-shadow: none; }
.story.lime .x { background: rgba(11, 13, 16, .12); color: var(--neon-t); }
.story.lime .btn { background: var(--neon-t); color: var(--neon); box-shadow: 0 10px 30px rgba(11, 13, 16, .3); }
.confetti { position: fixed; top: -40px; font-size: 26px; animation: fall linear forwards; pointer-events: none; z-index: 2100; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); opacity: .2; } }

/* pokaz: udawane powiadomienie iPhone'a */
.ipush { position: fixed; left: 10px; right: 10px; top: calc(var(--safe-t) + 8px); z-index: 3000; display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 24px;
  background: rgba(40, 44, 50, .78); -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8); color: #fff; font-size: 15px; line-height: 1.3;
  transform: translateY(-140%); transition: transform .5s cubic-bezier(.2, .9, .3, 1.1); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.ipush.show { transform: none; }
.ipush img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.ipush .ih { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .6); margin-bottom: 2px; }
.ipush .ih b { font-weight: 700; letter-spacing: .3px; }

/* ── ikony zamiast emotek (icons.js): kreska w kolorze tekstu + własna animacja ── */
/* ostrość na iPhonie (3×): bez scale() w animacjach, bez warstw z will-change; kreska cieńsza przy małych rozmiarach */
.ai { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; overflow: visible; shape-rendering: geometricPrecision; stroke-width: 1.9; }
h3 .ai, .tag .ai, .muted .ai { color: var(--neon); }
.pill .ai { width: 18px; height: 18px; vertical-align: -3px; }
.btn .ai, .banner .ai, .warn .ai { width: 20px; height: 20px; vertical-align: -4px; }
h3 .ai { width: 15px; height: 15px; vertical-align: -2px; }
.chip .ai { width: 16px; height: 16px; }
.opt .e { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--neon-soft); color: var(--neon); flex: none; }
.opt .e .ai { width: 22px; height: 22px; }
.ai * { transform-box: fill-box; }
@keyframes ai-swing { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(16deg); } 82% { transform: rotate(-13deg); } 88% { transform: rotate(8deg); } 94% { transform: rotate(-4deg); } }
@keyframes ai-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
@keyframes ai-bounce { 0%, 60%, 100% { transform: translateY(0); } 72% { transform: translateY(-3.5px); } 84% { transform: translateY(0); } 92% { transform: translateY(-1.2px); } }
@keyframes ai-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ai-twinkle { 0%, 100% { transform: rotate(0); opacity: 1; } 50% { transform: rotate(18deg); opacity: .55; } }
@keyframes ai-wave { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-6deg); } }
@keyframes ai-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes ai-spin { to { transform: rotate(360deg); } }
@keyframes ai-ripple { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes ai-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes ai-hand { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(18deg); } 80% { transform: rotate(-8deg); } 90% { transform: rotate(14deg); } }
@keyframes ai-flicker { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg) translateY(-.5px); } 50% { transform: rotate(3deg); } 75% { transform: rotate(-2deg) translateY(-.4px); } }
@keyframes ai-slide1 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes ai-slide2 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
@keyframes ai-step { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(.6px, -1px) rotate(-3deg); } 75% { transform: translate(-.6px, -1px) rotate(3deg); } }
@keyframes ai-flip { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes ai-tilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-7deg); } }
@keyframes ai-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes ai-pop { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.ai-bell .m { transform-origin: 50% 8%; animation: ai-swing 3.2s ease-in-out infinite; }
.bell.on .ai-bell .m, .banner .ai-bell .m { animation-duration: 1.8s; }
.ai-bus .m { animation: ai-bob 1.1s ease-in-out infinite; }
.ai-pin .m, .ai-stop .m { transform-origin: 50% 100%; }
.ai-pin .m { animation: ai-bounce 2.4s ease-in-out infinite; }
.ai-stop .m { animation: ai-sway 2.8s ease-in-out infinite; }
.ai-alert .m { animation: ai-pulse 1.4s ease-in-out infinite; }
.ai-spark .m { transform-origin: center; animation: ai-twinkle 1.8s ease-in-out infinite; }
.ai-spark .m2 { transform-origin: center; animation: ai-twinkle 1.8s ease-in-out .9s infinite; }
.ai-flag .m { transform-origin: 0 50%; animation: ai-wave 1.3s ease-in-out infinite; }
.ai-share .m, .ai-phone .m, .ai-sunrise .m { animation: ai-up 1.6s ease-in-out infinite; }
.ai-sun .m { transform-origin: center; animation: ai-spin 14s linear infinite; }
.ai-speaker .w1, .ai-tap .w1 { animation: ai-ripple 1.6s ease-in-out infinite; }
.ai-speaker .w2, .ai-tap .w2 { animation: ai-ripple 1.6s ease-in-out .35s infinite; }
.ai-check .m, .ai-up .m, .ai-down .m { stroke-dasharray: 24; animation: ai-draw .7s ease-out both; }
.ai-ticket .m, .ai-tag .m, .ai-card .m { transform-origin: center; animation: ai-tilt 3s ease-in-out infinite; }
.ai-wallet .m, .ai-badge .m { transform-origin: center; animation: ai-pop 2s ease-in-out infinite; }
.ai-timer .m, .ai-alarm .m { transform-origin: 50% 100%; animation: ai-spin 4s linear infinite; }
.ai-hourglass .m { transform-origin: center; animation: ai-flip 3s ease-in-out infinite; }
.ai-walk .m { transform-origin: center bottom; animation: ai-step .9s ease-in-out infinite; }
.ai-hand .m { transform-origin: 40% 90%; animation: ai-hand 2.2s ease-in-out infinite; }
.ai-flame .m { transform-origin: 50% 100%; animation: ai-flicker .9s ease-in-out infinite; }
.ai-trophy .m, .ai-medal .m { transform-origin: 50% 0; animation: ai-sway 2.4s ease-in-out infinite; }
.ai-moon .m, .ai-leaf .m { transform-origin: 50% 100%; animation: ai-sway 3.4s ease-in-out infinite; }
.ai-bulb .m { animation: ai-pulse 1.8s ease-in-out infinite; }
.ai-mail .m { animation: ai-up 1.4s ease-in-out infinite; }
.ai-locate .m { animation: ai-pulse 1.6s ease-in-out infinite; }
.ai-nav .m { transform-origin: center; animation: ai-tilt 2.4s ease-in-out infinite; }
.ai-route .m { animation: ai-dash 1.4s linear infinite; }
@keyframes ai-dash { to { stroke-dashoffset: -11.2; } }
.ai-search .m { transform-origin: 0 0; animation: ai-sway 2.6s ease-in-out infinite; }
.ai-clock .m { transform-origin: 50% 0; }
.ai-copy .m { animation: ai-pulse 2s ease-in-out infinite; }
.ai-lock .m { animation: ai-up 2s ease-in-out infinite; }
.ai-chat .d1 { animation: ai-pulse 1.2s ease-in-out infinite; } .ai-chat .d2 { animation: ai-pulse 1.2s ease-in-out .2s infinite; } .ai-chat .d3 { animation: ai-pulse 1.2s ease-in-out .4s infinite; }
.ai-widget rect { transform-origin: center; animation: ai-pop 2.4s ease-in-out infinite; } .ai-widget .q2 { animation-delay: .3s; } .ai-widget .q3 { animation-delay: .9s; } .ai-widget .q4 { animation-delay: .6s; }
.ai-sliders .k1 { animation: ai-slide1 2.6s ease-in-out infinite; } .ai-sliders .k2 { animation: ai-slide2 2.6s ease-in-out .3s infinite; } .ai-sliders .k3 { animation: ai-slide1 2.6s ease-in-out .6s infinite; }
.ai-bike .r1, .ai-bike .r2 { transform-origin: center; animation: ai-spin 2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .ai * { animation: none !important; } }

/* konfetti bez emotek: limonkowe i białe kawałki */
.cf { position: fixed; top: -24px; z-index: 2100; pointer-events: none; border-radius: 2px; animation: cf-fall linear forwards; }
@keyframes cf-fall { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); opacity: .3; } }

/* ── zakładka „Trasa”: mapa z przystankami, „Dokąd?”, warianty, prowadzenie ── */
.tmapw { position: relative; margin: 0 -16px 14px; height: 52vh; min-height: 300px; }
#tmap { position: absolute; inset: 0; background: #101318; border-radius: 0 0 26px 26px; overflow: hidden; }
#tmap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, rgba(11, 13, 16, .55)); pointer-events: none; z-index: 400; }
.tsearch { position: absolute; left: 14px; right: 14px; top: 10px; z-index: 600; display: flex; flex-direction: column; padding: 4px 52px 4px 14px; border-radius: 20px;
  background: rgba(22, 25, 30, .86); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(198, 255, 61, .25); box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 4px rgba(198, 255, 61, .05); }
.tsearch:focus-within { border-color: var(--neon); box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 4px rgba(198, 255, 61, .14), 0 0 24px rgba(198, 255, 61, .2); }
.tsearch .ti { color: var(--neon); display: grid; } .tsearch .ti .ai { width: 20px; height: 20px; }
.tsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font-weight: 600; font-size: 17px; line-height: 1; font-family: inherit; }
.tsearch input::placeholder { color: var(--hint); font-weight: 600; }
.tsearch .tx { border: 0; background: var(--card2); color: var(--hint); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; padding: 0; }
.tsearch .tx .ai { width: 15px; height: 15px; }
.tsug { position: absolute; left: 14px; right: 14px; top: 68px; z-index: 650; max-height: calc(52vh - 80px); overflow-y: auto; border-radius: 18px; padding: 6px; background: rgba(22, 25, 30, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); border: 1px solid var(--line); }
.sgh { font-size: 12px; font-weight: 800; color: var(--hint); text-transform: uppercase; letter-spacing: .6px; padding: 8px 10px 4px; }
.sg { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; color: var(--text); padding: 10px; border-radius: 12px; text-align: left; cursor: pointer; }
.sg:active { background: var(--card2); }
.sgi { width: 34px; height: 34px; border-radius: 11px; background: var(--neon-soft); color: var(--neon); display: grid; place-items: center; flex: none; } .sgi .ai { width: 18px; height: 18px; }
.sgt { min-width: 0; display: flex; flex-direction: column; } .sgt b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sgt .muted { font-size: 12px; }
.tloc { position: absolute; right: 14px; bottom: 16px; z-index: 600; width: 46px; height: 46px; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
.tloc .ai { width: 22px; height: 22px; } .tloc.spin .ai { animation: spin 1s linear infinite; }
.tdest { width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--neon); display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(198, 255, 61, .25), 0 6px 16px rgba(0, 0, 0, .5); }
.tdest .ai { transform: rotate(45deg); width: 17px; height: 17px; color: var(--neon-t); }
.tstopb { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--text); background: rgba(11, 13, 16, .88); border: 1px solid rgba(198, 255, 61, .35); padding: 3px 9px 3px 3px; border-radius: 9px; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.lbm { background: var(--neon); color: var(--neon-t); border-radius: 6px; padding: 1px 6px; font-weight: 900; }
.tbus { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 9px 0 6px; border-radius: 15px; background: var(--neon); color: var(--neon-t); font-weight: 900; font-size: 14px; border: 2px solid var(--bg); white-space: nowrap; animation: ping 1.8s ease-out infinite; }
.tbus .ai { width: 17px; height: 17px; } .tbus.old { opacity: .55; animation: none; }
/* wyniki */
.tfrom { display: flex; align-items: center; gap: 6px; margin: 0 2px 10px; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .tfrom b { color: var(--text); }
.tload { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px; text-align: center; }
.tbusrun { width: 100%; height: 40px; position: relative; overflow: hidden; color: var(--neon); margin-bottom: 6px; container-type: inline-size; }
.tbusrun::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--neon) 0 12px, transparent 12px 22px); opacity: .35; animation: road .6s linear infinite; }
@keyframes road { to { background-position: -22px 0; } }
.tbusrun .ai { position: absolute; width: 30px; height: 30px; top: 0; left: 0; animation: drive 2.2s ease-in-out infinite; }
@keyframes drive { 0% { transform: translateX(-30px); } 100% { transform: translateX(calc(100cqw + 30px)); } }
.tvar { cursor: pointer; transition: box-shadow .25s, background .25s; border: 1px solid transparent; }
.tvar.on { border-color: rgba(198, 255, 61, .45); box-shadow: 0 0 0 1px rgba(198, 255, 61, .15), 0 10px 40px rgba(198, 255, 61, .08); background: linear-gradient(160deg, rgba(198, 255, 61, .07), var(--card) 40%); }
.tvt { display: flex; gap: 14px; align-items: center; }
.tin { flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--card2); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.tin b { font-size: 26px; font-weight: 900; } .tin small { font-size: 12px; color: var(--hint); font-weight: 700; margin-top: 3px; }
.tvar.on .tin { background: var(--neon); color: var(--neon-t); box-shadow: 0 0 22px rgba(198, 255, 61, .35); } .tvar.on .tin small { color: rgba(11, 13, 16, .65); }
.tvm { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tch { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.tch .lb { margin: 0; font-size: 15px; }
.tw { display: inline-flex; align-items: center; gap: 1px; color: var(--hint); font-weight: 800; font-size: 13px; } .tw .ai { width: 16px; height: 16px; }
.tsep { width: 10px; height: 2px; border-radius: 2px; background: var(--dim); display: inline-block; }
.tvs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 13px; } .tvs .delay { margin: 0; }
.tlive { display: inline-flex; align-items: center; gap: 6px; color: var(--neon); font-weight: 800; font-size: 13px; }
.tlive i { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 0 rgba(198, 255, 61, .6); animation: ping 1.6s ease-out infinite; }
.tsteps { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--line); position: relative; }
.tst { display: flex; gap: 12px; padding: 9px 0; position: relative; font-size: 15px; }
.tst > i { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; border: 3px solid var(--dim); background: var(--bg); position: relative; z-index: 1; }
.tst.lg-b > i { border-color: var(--neon); } .tst.end > i { background: var(--neon); border-color: var(--neon); box-shadow: 0 0 10px var(--neon); }
.tst:not(.end)::before { content: ""; position: absolute; left: 4.5px; top: 22px; bottom: -6px; width: 3px; border-radius: 3px; background: var(--line); }
.tst.lg-b::before { background: var(--neon) !important; opacity: .7; }
.tst.lg-w::before { background: repeating-linear-gradient(var(--dim) 0 3px, transparent 3px 7px) !important; }
.tst .lb { margin-right: 6px; } .tst .ai { width: 16px; height: 16px; }
.thow { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; }
.thow span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--neon-soft); color: var(--neon); font-weight: 900; display: grid; place-items: center; font-size: 14px; }
/* prowadzenie */
.tguide { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 20px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(198, 255, 61, .2), rgba(198, 255, 61, .06)); border: 1px solid rgba(198, 255, 61, .4); box-shadow: 0 0 30px rgba(198, 255, 61, .1); }
.tgi { flex: none; width: 42px; height: 42px; border-radius: 14px; background: var(--neon); color: var(--neon-t); display: grid; place-items: center; box-shadow: 0 0 18px rgba(198, 255, 61, .45); } .tgi .ai { width: 22px; height: 22px; }
.tgt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 15px; } .tgt .lb { margin: 0 2px; }
.tgx { flex: none; border: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(11, 13, 16, .35); color: var(--text); display: grid; place-items: center; padding: 0; } .tgx .ai { width: 15px; height: 15px; }
/* arkusz przystanku */
.tsheet { max-height: 62vh; overflow-y: auto; }
.tsh h2 { overflow-wrap: anywhere; }
.tdeps { margin-top: 10px; } .tdeps .it { padding: 14px 0; } .tdeps .it .muted { margin-top: 3px; } .tdeps .lb { margin-right: 8px; }
.tdm { flex: none; font-weight: 900; font-size: 16px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; } .tdm.soon { color: var(--neon); } .tdm .delay { margin: 0; }
.tsheet .row .btn { font-size: 16px; padding: 14px; }
body.t-trasa { padding-top: 0; }
body.t-trasa .head { position: fixed; left: 0; right: 0; top: 0; z-index: 700; padding: calc(var(--safe-t) + 8px) 16px 0; margin: 0; pointer-events: none; opacity: 0; }
body.t-trasa .tmapw { height: calc(52vh + var(--safe-t)); }
body.t-trasa .tsearch { top: calc(var(--safe-t) + 10px); } body.t-trasa .tsug { top: calc(var(--safe-t) + 68px); }
.sheet-bg.clear { background: rgba(0, 0, 0, .12); }

/* ── drugi akcent: koral — tylko to, co ważne i pilne (alarm wysiadki, cel podróży, „teraz”, pośpiech) ── */
:root { --coral: #ff5470; --coral-soft: rgba(255, 84, 112, .14); }
.glow::after { content: ""; position: absolute; width: 180px; height: 180px; left: -150px; top: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 84, 112, .16), transparent 70%); }
.card > .glow ~ * { position: relative; }
.bell.on { background: var(--coral); color: #fff; box-shadow: 0 0 16px rgba(255, 84, 112, .45); }
.stop .tag.al { color: var(--coral); }
.banner.al { background: linear-gradient(120deg, var(--coral-soft), rgba(198, 255, 61, .08)); color: #ffd0d8; border: 1px solid rgba(255, 84, 112, .35); }
.banner.al .ai { color: var(--coral); }
.tdest { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 84, 112, .25), 0 0 24px rgba(255, 84, 112, .45), 0 6px 16px rgba(0, 0, 0, .5); }
.tdest .ai { color: #fff; }
.tst.end > i { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 10px var(--coral); }
.tdm.now { color: var(--coral); text-shadow: 0 0 12px rgba(255, 84, 112, .5); }
.tin.hot { background: linear-gradient(145deg, var(--coral), #ff7a59) !important; color: #fff !important; box-shadow: 0 0 22px rgba(255, 84, 112, .45) !important; }
.tin.hot small { color: rgba(255, 255, 255, .8) !important; }
.hurry { color: var(--coral); }
.story::before { background: radial-gradient(circle at 30% 40%, rgba(198, 255, 61, .10), transparent 35%), radial-gradient(circle at 75% 80%, rgba(255, 84, 112, .09), transparent 30%); }

/* ── ulubione: pigułki nad mapą i na zakładce Bilet ── */
.tfav { position: absolute; left: 0; right: 0; top: 70px; z-index: 590; display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 6px; scrollbar-width: none; transition: opacity .2s; }
.tfav::-webkit-scrollbar { display: none; }
body.t-trasa .tfav { top: calc(var(--safe-t) + 70px); }
body.t-typing .tfav { opacity: 0; pointer-events: none; }
.fch { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 11px; border-radius: 19px; border: 1px solid rgba(198, 255, 61, .28); cursor: pointer;
  background: rgba(22, 25, 30, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--text); font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  animation: chipIn .45s cubic-bezier(.2, .9, .3, 1.2) both; transition: transform .12s, background .2s; }
.fch:active { transform: scale(.94); }
.fch .ai { width: 17px; height: 17px; color: var(--neon); }
.fch.home { background: linear-gradient(135deg, rgba(198, 255, 61, .24), rgba(22, 25, 30, .86) 70%); border-color: rgba(198, 255, 61, .5); }
.fch.unset { border-style: dashed; color: var(--hint); }
.fch.add { width: 38px; padding: 0; justify-content: center; border-style: dashed; } .fch.add .ai { width: 18px; height: 18px; }
@keyframes chipIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
#qfav .qrow { display: flex; flex-wrap: wrap; gap: 8px; }
#qfav .fch { background: var(--card2); box-shadow: none; }
.tstar { flex: none; border: 0; background: var(--card2); color: var(--dim); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; transition: color .2s, background .2s; }
.tstar .ai { width: 19px; height: 19px; }
.tstar.on { color: var(--neon); background: var(--neon-soft); } .tstar.on .ai path { fill: currentColor; }
.tstar.pop { animation: starPop .5s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes starPop { 0% { transform: rotate(0); } 40% { transform: rotate(-25deg); } 100% { transform: rotate(0); } }
.tfrom { justify-content: space-between; } .tft { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; } .tfrom .tstar { width: 32px; height: 32px; }
.tsh { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
body.t-pick .tsearch { border-color: var(--neon); box-shadow: 0 0 0 4px rgba(198, 255, 61, .2), 0 0 30px rgba(198, 255, 61, .25); }
.tpickh { color: var(--neon); }

/* ── subtelne animacje ── */
.tabs { --ti: 0; --tn: 5; }
.tind { position: absolute; top: -1px; left: 10px; width: calc((100% - 20px) / var(--tn)); height: 2px; pointer-events: none; transform: translateX(calc(var(--ti) * 100%)); transition: transform .38s cubic-bezier(.3, .9, .3, 1.1); }
.tind::before { content: ""; position: absolute; left: 30%; right: 30%; top: 0; height: 2px; border-radius: 2px; background: var(--neon); box-shadow: 0 0 10px var(--neon), 0 0 2px var(--neon); }
.btn:not(.dark):not(.red) { position: relative; overflow: hidden; }
.btn:not(.dark):not(.red)::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-150%) skewX(-20deg); animation: shine 5.5s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes shine { 0%, 70% { transform: translateX(-150%) skewX(-20deg); } 100% { transform: translateX(325%) skewX(-20deg); } } /* transformacja, nie „left” — połysk nie przelicza układu strony */
.tvar:active { transform: scale(.985); } .tvar { transition: box-shadow .25s, background .25s, transform .12s; }
.card.fade { animation-duration: .5s; }
@media (prefers-reduced-motion: reduce) { .btn::after, .tind, .fch, .story::before { animation: none !important; transition: none !important; } }

/* Skąd / Dokąd */
.trow { display: flex; align-items: center; gap: 12px; height: 44px; position: relative; }
.trow + .trow { border-top: 1px solid rgba(255, 255, 255, .07); }
.trow input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font-weight: 600; font-size: 16px; line-height: 1; font-family: inherit; }
.trow input::placeholder { color: var(--hint); font-weight: 600; }
#tf::placeholder { color: var(--neon); opacity: .85; }
.tA { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--neon); box-shadow: 0 0 8px rgba(198, 255, 61, .6); }
.tB { flex: none; width: 12px; height: 12px; border-radius: 50% 50% 50% 2px; transform: rotate(-45deg); background: var(--coral); box-shadow: 0 0 8px rgba(255, 84, 112, .6); }
.trow:first-child::after { content: ""; position: absolute; left: 5px; top: 30px; height: 24px; border-left: 2px dotted var(--dim); }
.tswap { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--card2); color: var(--neon); display: grid; place-items: center; padding: 0; cursor: pointer; transition: transform .3s; }
.tswap:active { transform: translateY(-50%) rotate(180deg); }
.tsearch .tx { position: absolute; right: -44px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: none; }
.tfav { top: 112px; } body.t-trasa .tfav { top: calc(var(--safe-t) + 112px); }
.tsug { top: 112px; max-height: calc(52vh - 120px); } body.t-trasa .tsug { top: calc(var(--safe-t) + 112px); }
body.t-trasa .tmapw { height: calc(56vh + var(--safe-t)); }

/* historia: szczegóły operacji */
.it.tap { cursor: pointer; transition: background .2s; border-radius: 12px; margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.it.tap:active { background: var(--card2); }
.chev { display: inline-block; width: 7px; height: 7px; border-right: 2px solid var(--dim); border-top: 2px solid var(--dim); transform: rotate(45deg); margin-left: 10px; vertical-align: 2px; }
.rdh { display: flex; gap: 12px; align-items: center; margin: 2px 0 12px; } .rdh b { font-size: 18px; }
.rdmap { height: 140px; border-radius: 16px; overflow: hidden; margin-bottom: 12px; background: #101318; }
.rdstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.rdstats > div { background: linear-gradient(160deg, rgba(198, 255, 61, .12), var(--card2) 70%); border: 1px solid rgba(198, 255, 61, .2); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.rdstats b { font-size: 22px; font-weight: 900; color: var(--neon); } .rdstats span { font-size: 11px; color: var(--hint); font-weight: 700; line-height: 1.2; }
.kvs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kv { background: var(--card2); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kv.w { grid-column: 1 / -1; }
.kv span { font-size: 11px; color: var(--hint); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.kv b { font-size: 15px; overflow-wrap: anywhere; }
.rdraw { margin-top: 12px; } .rdraw summary { color: var(--hint); font-weight: 700; font-size: 13px; cursor: pointer; padding: 6px 0; }
.rdraw .kv { margin-top: 6px; }

/* kiedy jedziesz: wybór dnia i godziny, przypomnienie */
.twrow { display: flex; gap: 8px; margin: 0 0 10px; }
.twhen { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; cursor: pointer; }
.twhen .ai { width: 17px; height: 17px; color: var(--neon); } .twhen.set { border-color: rgba(198, 255, 61, .5); background: linear-gradient(135deg, rgba(198, 255, 61, .16), var(--card) 70%); }
.chev.d { transform: rotate(135deg); margin: -3px 0 0 2px; }
.twnow { height: 38px; padding: 0 14px; border-radius: 19px; border: 0; background: var(--card2); color: var(--hint); font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; }
.wdays { display: flex; gap: 8px; overflow-x: auto; margin: 14px -18px 0; padding: 0 18px 4px; scrollbar-width: none; } .wdays::-webkit-scrollbar { display: none; }
.wdays button { flex: none; width: 64px; padding: 10px 0; border-radius: 16px; border: 1px solid var(--line); background: var(--card2); color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 3px; font-family: inherit; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.wdays button b { font-size: 14px; text-transform: capitalize; } .wdays button span { font-size: 12px; color: var(--hint); }
.wdays button.on { background: var(--neon); color: var(--neon-t); border-color: var(--neon); box-shadow: 0 0 18px rgba(198, 255, 61, .35); } .wdays button.on span { color: rgba(11, 13, 16, .65); }
.wbig { display: grid; grid-template-columns: 52px 52px 1fr 52px 52px; gap: 6px; align-items: center; margin-top: 16px; }
.wst { height: 52px; border-radius: 16px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font-family: inherit; font-weight: 800; font-size: 15px; cursor: pointer; transition: transform .1s, background .2s; }
.wst:active { transform: scale(.92); background: var(--neon-soft); color: var(--neon); }
.wclock { position: relative; height: 76px; border-radius: 20px; background: linear-gradient(160deg, rgba(198, 255, 61, .16), var(--card2) 70%); border: 1px solid rgba(198, 255, 61, .45); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 22px rgba(198, 255, 61, .12); }
.wclock span { font-family: inherit; font-weight: 900; font-size: 40px; letter-spacing: -1px; color: var(--neon); font-variant-numeric: tabular-nums; text-shadow: 0 0 20px rgba(198, 255, 61, .35); pointer-events: none; }
/* prawdziwe pole godziny leży na zegarze, niewidoczne — dotknięcie gdziekolwiek otwiera kółka iOS */
.wclock input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .011; border: 0; background: transparent; font-size: 16px; -webkit-appearance: none; appearance: none; cursor: pointer; color-scheme: dark; }
.whint { text-align: center; margin-top: 8px; font-size: 12px; }
.wquick { display: flex; gap: 8px; margin-top: 10px; } .wquick button { flex: 1; height: 36px; border-radius: 12px; border: 0; background: var(--card2); color: var(--hint); font-weight: 700; font-size: 13px; line-height: 1; font-family: inherit; cursor: pointer; }
.tin.far b { font-size: 19px; } .tin.far small { text-transform: capitalize; }
.trm { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; } .trm .muted { margin-right: 2px; }
.trm button { height: 30px; padding: 0 11px; border-radius: 15px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font-weight: 700; font-size: 13px; line-height: 1; font-family: inherit; cursor: pointer; }
.trm button.on { background: var(--neon-soft); border-color: rgba(198, 255, 61, .5); color: var(--neon); }
.tguide.pinned { background: linear-gradient(135deg, rgba(255, 84, 112, .16), rgba(198, 255, 61, .1)); border-color: rgba(255, 84, 112, .4); }
.tguide.pinned .tgi { background: var(--coral); color: #fff; box-shadow: 0 0 18px rgba(255, 84, 112, .45); }

/* „Jedź do” na zakładce Bilet: następny autobus na żywo */
.qr { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; color: var(--text); padding: 10px 0; border-top: 1px solid var(--line); text-align: left; cursor: pointer; font-family: inherit; }
#qfav h3 + .qr { border-top: 0; }
.qr:active { opacity: .7; }
.qt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; } .qt > b { font-size: 16px; }
.qb { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 13px; } .qb .lb { margin: 0; font-size: 13px; padding: 1px 6px; min-width: 0; }
.qm { font-weight: 900; font-size: 15px; color: var(--neon); margin-left: 3px; } .qm.hot { color: var(--coral); }
.qsk { display: block; width: 70%; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--card2), #2a3038, var(--card2)); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* autobus na mapie: okrągły znacznik z numerem linii i strzałką kierunku jazdy */
.tbus2 { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.tbus2 i { position: absolute; inset: 0; transform: rotate(var(--a, 0deg)); transition: transform 1.2s ease; }
.tbus2 i::before { content: ""; position: absolute; left: 50%; top: -3px; margin-left: -7px; border: 7px solid transparent; border-bottom: 10px solid var(--neon); border-top: 0; filter: drop-shadow(0 0 4px rgba(198, 255, 61, .7)); }
.tbus2 b { width: 32px; height: 32px; border-radius: 50%; background: var(--neon); color: var(--neon-t); border: 3px solid var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 900; letter-spacing: -.5px; box-shadow: 0 0 0 0 rgba(198, 255, 61, .55), 0 3px 10px rgba(0, 0, 0, .5); animation: ping 2s ease-out infinite; position: relative; z-index: 1; }
.tbus2.old { opacity: .5; } .tbus2.old b { animation: none; }
.tdest { cursor: grab; }
/* przystanek otwarty: pole wyszukiwania chowa się, żeby było widać autobusy */
body.t-stop .tsearch, body.t-stop .tfav { opacity: 0; pointer-events: none; transform: translateY(-12px); }
.tsearch, .tfav { transition: opacity .25s, transform .25s; }
.tsheet { max-height: 52vh; }
/* logo w podsumowaniu miesiąca */
.story .rlogo { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.story .rlogo .lg { width: 64px; height: 72px; flex: none; filter: drop-shadow(0 0 18px rgba(198, 255, 61, .35)); }
.story .rlogo .wm { font: 900 30px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; letter-spacing: -1px; }
.story .rlogo.end .lg { width: 110px; height: 124px; }
.story.lime .rlogo .lg { filter: drop-shadow(0 6px 16px rgba(11, 13, 16, .35)); }
.tguide.pinned { cursor: pointer; }
.tgb { display: flex; gap: 8px; margin-top: 8px; }
.tgb button { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(11, 13, 16, .35); color: var(--text); font-weight: 700; font-size: 13px; line-height: 1; font-family: inherit; cursor: pointer; }
.tgb .gshow { background: var(--neon); color: var(--neon-t); border-color: var(--neon); }
.twclr { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 19px; border: 1px solid rgba(255, 84, 112, .35); background: var(--coral-soft); color: #ffb3c0; font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; cursor: pointer; }
.twclr .ai { width: 15px; height: 15px; color: var(--coral); }
#wrel { font-size: 15px; color: var(--hint); margin-top: 12px; } #wrel b { color: var(--text); }

/* Trasa jak aplikacja: mapa na cały ekran stoi, przewija się tylko panel od dołu */
html { touch-action: manipulation; }
body.t-trasa { padding: 0; overscroll-behavior: none; } /* bez position:fixed na body: iOS (PWA) skracał wtedy widok o ~59 pt i obcinał dół */
body.t-trasa #app { position: fixed; inset: 0; }
body.t-trasa .tmapw { position: fixed; inset: 0; height: auto; min-height: 0; margin: 0; }
body.t-trasa #tmap { border-radius: 0; }
body.t-trasa #tmap::after { display: none; }
.leaflet-container { touch-action: none; }
.tsearch, .tfav, .tloc, .tpanel { touch-action: pan-y; }
.tfav { touch-action: pan-x; }
body.t-trasa .tloc, body.t-trasa #offline { bottom: calc(var(--pmax, 300px) + var(--tab) + var(--safe-b) + 14px); translate: 0 var(--poff, 0px); transition: translate .34s cubic-bezier(.2, .8, .2, 1), transform .15s; }
body.t-pdrag .tloc, body.t-pdrag #offline { transition: transform .15s; }
.tpanel { position: fixed; left: 0; right: 0; bottom: calc(var(--tab) + var(--safe-b)); z-index: 620; height: 42vh; display: flex; flex-direction: column;
  background: rgba(16, 19, 24, .94); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid var(--line); border-bottom: 0; border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .5); }
.tpanel { transform: translateY(var(--poff, 0px)); transition: opacity .2s; will-change: transform; }
.tpanel.anim { transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
.tgrab { flex: none; height: 26px; display: grid; place-items: center; cursor: grab; }
.tgrab i { width: 40px; height: 5px; border-radius: 3px; background: var(--dim); transition: background .2s; }
.tgrab:active i { background: var(--neon); }
.tpscroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 16px calc(16px + var(--pad, 0px)); }
body.t-stop .tpanel { opacity: 0; pointer-events: none; }


.btn.twdel { background: var(--coral-soft); color: #ffb3c0; border: 1px solid rgba(255, 84, 112, .35); box-shadow: none; }

/* plan dnia: tryb godziny, lista kolejnych przejazdów, dodawanie */
.wmode { display: flex; gap: 6px; margin: 14px 0 4px; padding: 4px; border-radius: 14px; background: var(--bg); }
.wmode button { flex: 1; height: 38px; border: 0; border-radius: 11px; background: none; color: var(--dim); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.wmode button.on { background: var(--neon); color: var(--neon-t); }
.tday { margin-top: 10px; border: 1px solid var(--line); border-radius: 18px; padding: 4px 12px; background: rgba(255, 255, 255, .02); }
.tdh { font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--dim); padding: 10px 0 4px; }
.tdr { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.tdh + .tdr { border-top: 0; }
.tdt { flex: none; width: 54px; text-align: center; } .tdt b { display: block; font-size: 17px; } .tdt small { color: var(--dim); font-size: 11px; }
.tdm2 { flex: 1; min-width: 0; } .tdm2 .muted { margin-top: 3px; font-size: 13px; } .tdm2 .lb { font-size: 12px; padding: 1px 6px; }
.tdx { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg); color: var(--dim); font-size: 14px; cursor: pointer; }
.tdadd { width: 100%; margin: 10px 0 22px; height: 44px; border-radius: 14px; border: 1px dashed rgba(198, 255, 61, .45); background: none; color: var(--neon); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
body.t-trasa #offline { position: fixed; left: 16px; right: 76px; z-index: 660; margin: 0; font-size: 14px; padding: 10px 12px; }
body.t-trasa #offline { background: rgba(16, 19, 24, .96); border: 1px solid rgba(198, 255, 61, .4); color: var(--neon); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
/* Trasa: bez zaznaczania tekstu i menu „kopiuj/zapisz obraz” przy przytrzymaniu (pola wpisywania zostają zwykłe) */
body.t-trasa .tmapw, body.t-trasa .tmapw img, body.t-trasa .tpanel, body.t-trasa .tabs { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body.t-trasa .tmapw input { -webkit-user-select: text; user-select: text; }
.qgo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.qgo .btn { margin: 0; }
/* podsumowanie miesiąca: ranking linii i logo na zielonym slajdzie */
.story .lrank { margin-top: 22px; display: grid; gap: 12px; }
.story .lrh { font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: rgba(212, 219, 198, .6); }
.story .lr { display: grid; grid-template-columns: 52px 1fr 44px; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; color: #d4dbc6; }
.story .lr .lb { justify-self: start; font-size: 20px; padding: 3px 10px; margin: 0; }
.story .lr i { height: 10px; border-radius: 5px; background: rgba(198, 255, 61, .14); overflow: hidden; } .story .lr i b { display: block; height: 100%; border-radius: 5px; background: var(--neon); box-shadow: 0 0 12px rgba(198, 255, 61, .6); }
.story .lr .num { text-align: right; }
.story.lime .rlogo .lg { background: var(--neon-t); border-radius: 30px; padding: 16px; box-sizing: content-box; filter: drop-shadow(0 10px 24px rgba(11, 13, 16, .4)); }
/* znaczniki: Ty = niebieska kropka (jak w Mapach), Start = zielone kółko z podpisem, Cel = czerwona flaga z podpisem */
.medot { background: #2f8cff; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(47, 140, 255, .5), 0 2px 8px rgba(0, 0, 0, .5); animation: meBlue 2s ease-out infinite; }
@keyframes meBlue { 0% { box-shadow: 0 0 0 0 rgba(47, 140, 255, .55), 0 2px 8px rgba(0, 0, 0, .5); } 100% { box-shadow: 0 0 0 16px rgba(47, 140, 255, 0), 0 2px 8px rgba(0, 0, 0, .5); } }
.torig { position: relative; cursor: pointer; }
.tdestw { position: relative; width: 34px; height: 34px; }
.mklb { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; font: 800 11px/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .3px; padding: 4px 7px; border-radius: 8px; background: rgba(11, 13, 16, .9); color: var(--neon); border: 1px solid rgba(198, 255, 61, .45); pointer-events: none; }
.mklb.cel { color: #ffb3c0; border-color: rgba(255, 84, 112, .5); top: calc(100% + 8px); }
/* Ty na mapie: buźka dzidziusia z pulsującą obwódką */
.mebaby { width: 40px; height: 40px; border-radius: 50%; animation: meBaby 2.2s ease-out infinite; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)); }
.mebaby svg { width: 40px; height: 40px; display: block; animation: meBob 2.2s ease-in-out infinite; }
@keyframes meBaby { 0% { box-shadow: 0 0 0 0 rgba(198, 255, 61, .55); } 100% { box-shadow: 0 0 0 18px rgba(198, 255, 61, 0); } }
@keyframes meBob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-2px) rotate(4deg); } }
.story.lime .rlogo .lg { overflow: visible; padding: 16px 30px 16px 16px; }
/* Karta → Wygląd */
.set.col { flex-direction: column; align-items: stretch; gap: 12px; }
.avs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.av { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px 8px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); color: var(--dim); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.av svg { width: 38px; height: 38px; }
.av.on { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 16px rgba(198, 255, 61, .25); }
.seg { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--bg); flex: none; }
.seg button { min-width: 44px; height: 32px; padding: 0 10px; border: 0; border-radius: 9px; background: none; color: var(--dim); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.seg button.on { background: var(--neon); color: var(--neon-t); }
/* pasek pokazu */
#demobar { position: fixed; left: 12px; right: 12px; top: calc(var(--safe-t) + 6px); z-index: 1200; display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 14px; border-radius: 16px; background: rgba(16, 19, 24, .95); border: 1px solid rgba(198, 255, 61, .45); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.3; }
#demobar span { flex: 1; min-width: 0; }
#demobar button { flex: none; height: 34px; padding: 0 14px; border-radius: 11px; border: 0; background: var(--neon); color: var(--neon-t); font: inherit; font-weight: 900; cursor: pointer; }
body:has(#demobar) .head { margin-top: 56px; }
.fch .fe, .sgi .fe { font-size: 16px; line-height: 1; }
.tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 12px; }
.tags button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.tags button .ai { width: 26px; height: 26px; stroke-width: 1.8; }
.tags button.on { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 14px rgba(198, 255, 61, .25); }
.inp { width: 100%; box-sizing: border-box; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
/* wysiadka: pełny ekran, „teraz” pulsuje na koralowo */
#exitbox { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 24px; background: rgba(5, 6, 7, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .25s; }
#exitbox.show { opacity: 1; }
#exitbox .exc { width: 100%; max-width: 380px; text-align: center; padding: 28px 22px 22px; border-radius: 28px; background: var(--card); border: 2px solid var(--neon); box-shadow: 0 0 40px rgba(198, 255, 61, .35); }
#exitbox.now .exc { border-color: var(--coral); box-shadow: 0 0 50px rgba(255, 84, 112, .5); animation: exPulse 1s ease-in-out infinite; }
#exitbox .exi { font-size: 54px; line-height: 1; color: var(--neon); } #exitbox.now .exi { color: var(--coral); }
#exitbox .exk { margin-top: 12px; font-size: 28px; font-weight: 900; letter-spacing: -.5px; }
#exitbox .exs { margin: 8px 0 4px; font-size: 20px; font-weight: 800; color: var(--neon); } #exitbox.now .exs { color: #ffb3c0; }
#exitbox .btn { margin-top: 18px; width: 100%; }
#exitbox.now .btn { background: var(--coral); color: #fff; }
@keyframes exPulse { 50% { transform: scale(1.03); box-shadow: 0 0 70px rgba(255, 84, 112, .7); } }

/* arkusz przystanku: mapa nad nim zostaje żywa (przesuwanie, powiększanie palcami), X do zamknięcia */
.sheet-bg.clear { pointer-events: none; }
.tshb { flex: none; display: flex; gap: 8px; }
.tsx { flex: none; border: 0; background: var(--card2); color: var(--text); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; } .tsx .ai { width: 17px; height: 17px; }

/* rozkład jazdy przystanku */
.tsw { margin-top: 12px; } .tsw button { flex: 1; }
.ttdays { margin-top: 12px; } .ttdays button { width: auto; min-width: 64px; padding: 9px 10px; }
.ttdays button.sp:not(.on) { border-color: rgba(255, 210, 63, .55); } .ttdays button.sp:not(.on) span { color: var(--yellow); }
.ttnote { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 210, 63, .1); color: var(--yellow); font-size: 14px; line-height: 1.35; } .ttnote b { color: var(--yellow); }
.ttls { margin-top: 8px; }
.ttl { width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.ttl .lb { margin: 0; flex: none; } .ttl .ttd { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ttl .ttd b { overflow-wrap: anywhere; } .ttl .ttd .muted { font-size: 13px; }
.ttl.on { border-bottom-color: transparent; } .ttl .tdm { flex: none; }
.ttl sup, .ttm sup { font-size: 10px; font-weight: 900; color: var(--yellow); margin-left: 1px; }
.tttab { padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
.tth { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; border-top: 1px solid rgba(38, 43, 51, .6); }
.tth > b { flex: none; width: 30px; font-size: 17px; padding-top: 5px; color: var(--hint); }
.ttm { display: flex; flex-wrap: wrap; gap: 4px; }
.ttm button { min-width: 44px; height: 34px; padding: 0 6px; border: 0; border-radius: 9px; background: var(--card2); color: var(--text); font: inherit; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer; }
.ttm button.past { color: var(--dim); background: none; }
.ttm button.next { background: var(--neon); color: var(--neon-t); box-shadow: 0 0 14px rgba(198, 255, 61, .35); } .ttm button.next sup { color: var(--neon-t); }
.ttm button.var:not(.next) { box-shadow: inset 0 0 0 1px rgba(255, 210, 63, .55); }
.ttm button.last:not(.next) { box-shadow: inset 0 0 0 1px var(--red); }
.ttm button.sel { outline: 2px solid var(--neon); outline-offset: 1px; }
.ttleg { margin-top: 10px; font-size: 13px; color: var(--hint); display: grid; gap: 4px; } .ttleg b { color: var(--yellow); }
.ttlast { display: inline-block; padding: 0 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--red); color: var(--text); font-size: 12px; }
.ttfoot { margin-top: 14px; font-size: 13px; }
.lnk { border: 0; background: none; padding: 0; color: var(--neon); font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.ttback { margin-top: 12px; } .ttprev { margin-top: 10px; font-size: 14px; }
.ttch { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 17px; } .ttch .lb { margin: 0; }
.tcl { margin-top: 8px; } .tcl.hidep .tcs.past { display: none; }
.tcs { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 0 8px 22px; font-size: 15px; }
.tcs i { position: absolute; left: 5px; top: 0; bottom: 0; width: 3px; background: var(--neon); } .tcs:first-child i { top: 50%; } .tcs.end i { bottom: 50%; }
.tcs::before { content: ''; position: absolute; left: 1px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--neon); box-sizing: border-box; z-index: 1; }
.tcs .n { flex: 1; min-width: 0; overflow-wrap: anywhere; } .tcs .num { flex: none; text-align: right; font-weight: 700; } .tcs em { display: block; font-style: normal; font-size: 12px; color: var(--hint); font-weight: 600; }
.tcs.past { color: var(--dim); } .tcs.past i { background: var(--dim); } .tcs.past::before { border-color: var(--dim); }
.tcs.here { font-weight: 800; } .tcs.here::before { background: var(--neon); width: 15px; height: 15px; margin-top: -7.5px; left: -1px; }
.tcs.end::before { border-color: var(--red); background: var(--red); }
.tendf { transform: translate(-50%, -150%); white-space: nowrap; background: var(--red); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.tsheet { transition: transform .32s cubic-bezier(.2, .9, .3, 1), max-height .38s cubic-bezier(.2, .8, .2, 1); }
.tsheet.tbig { max-height: 82vh; }
.tcs.pick { cursor: pointer; } .tcs.pick:active { background: var(--neon-soft); }
.tsheet.tbig { max-height: calc(100vh - var(--safe-t) - 90px); max-height: calc(100dvh - var(--safe-t) - 90px); }
.ttbar { position: sticky; top: -1px; z-index: 3; display: flex; gap: 8px; overflow-x: auto; margin: 12px -18px 0; padding: 10px 18px; background: var(--card); scrollbar-width: none; box-shadow: 0 8px 12px -8px rgba(0, 0, 0, .6); } .ttbar::-webkit-scrollbar { display: none; }
.ttbar button { flex: none; min-width: 58px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font: inherit; display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; }
.ttbar button b { font-size: 17px; font-weight: 900; } .ttbar button span { font-size: 11px; color: var(--hint); font-variant-numeric: tabular-nums; }
.ttbar button.on { background: var(--neon); border-color: var(--neon); color: var(--neon-t); } .ttbar button.on span { color: rgba(11, 13, 16, .65); }
.ttl { cursor: default; }
.qbtn { font-size: 20px; font-weight: 900; font-family: inherit; }
.twq { margin-left: auto; width: 38px; padding: 0; font-size: 17px; font-weight: 900; color: var(--neon); }
.tdeps .it[data-i] { cursor: pointer; }
.tpick { margin: -4px 0 6px; padding: 12px; border-radius: 14px; background: var(--neon-soft); }
.tdxh, .tdxo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .tdxo { margin-top: 8px; }
.tpick .chip { background: var(--card2); font-size: 13px; padding: 5px 10px; } .tpick .chip b { color: var(--neon); }
.tpick .lb { margin: 0; } .tdxo .chip .lb { min-width: 0; padding: 0 5px; margin-right: 2px; font-size: 12px; }
.tstopdot { width: 22px; height: 22px; border-radius: 50%; background: var(--neon); border: 3px solid var(--bg); box-sizing: border-box; box-shadow: 0 0 0 6px rgba(198, 255, 61, .18); }
.ttpast { margin: 6px 0 4px; font-size: 14px; }
.ttsp { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 0; border-radius: 999px; background: rgba(255, 210, 63, .1); color: var(--yellow); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ttsp i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); } .ttsp span { opacity: .7; }
/* podgląd trasy na całym ekranie */
body.t-full #sheet, body.t-full #sbg, body.t-full #tpanel, body.t-full .tsearch, body.t-full #tfav, body.t-full #tloc, body.t-full #tabs, body.t-full #tsug { transform: translateY(140%) !important; opacity: 0 !important; pointer-events: none !important; transition: transform .3s, opacity .25s; }
body.t-full .tsearch, body.t-full #tfav, body.t-full #tsug { transform: translateY(-160%) !important; }
.tfullbar { position: fixed; left: 16px; right: 16px; bottom: calc(var(--safe-b) + 16px); z-index: 1200; display: flex; gap: 10px; transform: translateY(150%); transition: transform .3s cubic-bezier(.2, .9, .3, 1); }
.tfullbar.show { transform: none; } .tfullbar .btn { flex: 1; box-shadow: 0 8px 24px rgba(0, 0, 0, .55); }
.ndir { display: flex; gap: 6px; margin: 10px -18px 4px; padding: 0 18px 2px; overflow-x: auto; scrollbar-width: none; } .ndir::-webkit-scrollbar { display: none; }
.ndir button { flex: none; max-width: 210px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.ndir button b, .ndir button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ndir button b { font-size: 13px; } .ndir button span { font-size: 11px; color: var(--hint); }
.ndir button.on { background: var(--neon-soft); border-color: var(--neon); } .ndir button.on b { color: var(--neon); }
.tpopw .leaflet-popup-content-wrapper { background: var(--card); color: var(--text); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); border: 1px solid var(--line); }
.tpopw .leaflet-popup-tip { background: var(--card); } .tpopw .leaflet-popup-content { margin: 12px 14px; font: 14px/1.35 -apple-system, BlinkMacSystemFont, sans-serif; min-width: 190px; }
.tpop b { font-size: 15px; display: block; margin-bottom: 3px; } .tpreq { color: var(--yellow); font-size: 12px; margin-bottom: 3px; }
.tplines { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; } .tplines .lb { margin: 0; font-size: 12px; min-width: 28px; }
.tpbtns { display: flex; gap: 6px; flex-wrap: wrap; } .tpbtns .mini { font-size: 13px; }
.tnh { margin: 4px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hint); }
.tns { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tns:first-of-type { border-top: 0; } .tnn { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .tnn .muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tnd { display: flex; flex-wrap: wrap; gap: 6px; } .tnd .chip { background: var(--card2); font-size: 13px; padding: 4px 10px 4px 4px; } .tnd .lb { margin: 0; min-width: 0; padding: 1px 6px; font-size: 12px; }
.tnhint { font-size: 14px; margin-top: 4px; }
.tsym { color: var(--hint); font-weight: 600; font-size: .78em; font-variant-numeric: tabular-nums; }
.tsh h2 { overflow-wrap: normal; word-break: normal; hyphens: none; } .tsh h2.tlong { font-size: 21px; line-height: 1.2; }

/* krok 6: kursy skrócone w planerze, autobus na żywo na trasie kursu */
.ttnote.bad { background: rgba(255, 77, 94, .13); color: var(--red); } .ttnote.bad b { color: var(--red); }
.tsteps .ttnote { margin-top: 8px; font-size: 13px; }
.tshort { color: var(--red); font-weight: 800; } .tletter { color: var(--yellow); font-weight: 700; }
.ttlive { margin-top: 10px; font-size: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; } .ttlive .delay { margin: 0; }

/* ── animacje: porządki (sesja 7) ── */
.tsbody { transition: opacity .2s; } .tbusy { opacity: .45; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .fade, .story .slide, .story .hist i, .fch, .confetti, .cf, .bell.on, .tstar.pop, #exitbox.now .exc { animation: none !important; }
  .sheet, .toast, .tpanel.anim, .tloc, .tind, .tfullbar, .ipush, .sheet-bg, #exitbox { transition-duration: .01s !important; }
}
.skel .qsk { display: inline-block; height: 16px; vertical-align: middle; } .skel b .qsk { height: 18px; } .skel .it { min-height: 46px; }

/* iPhone: pasek zakładek na własnej warstwie — nie „odpływa” w górę przy przewijaniu z odświeżaniem treści */
.tabs { -webkit-transform: translateZ(0); transform: translateZ(0); }

/* „Jadę tym” i czytelność odjazdów: najważniejsze (linia, ile minut) większe, reszta ciszej */
.tpgo { display: grid; grid-template-columns: 1fr 76px; gap: 8px; margin-top: 12px; }
.tpgo .btn { flex-direction: column; gap: 2px; padding: 12px 14px; font-size: 17px; line-height: 1.15; }
.tpgo .btn small { font-size: 12px; font-weight: 700; opacity: .75; }
.tdeps .it .lb { font-size: 17px; min-width: 40px; padding: 3px 8px; }
.tdeps .it > div:first-child > span:not(.lb) { font-size: 16px; font-weight: 600; }
.tdeps .tdm { font-size: 19px; }
.tdeps .it .muted { font-size: 13px; }

/* Safari: interaktywny pokaz instalacji (installScreen) */
.inst { padding-bottom: 70px; }
.ihead { display: flex; gap: 12px; align-items: center; margin: 4px 0 14px; } .ihead img { width: 58px; height: 58px; border-radius: 14px; box-shadow: 0 0 22px rgba(198, 255, 61, .35); }
.ihead b { font-size: 22px; display: block; } .ihead span { color: var(--hint); font-size: 13px; }
.iphone { width: 230px; height: 430px; margin: 0 auto; border-radius: 38px; padding: 10px; background: #1d2127; box-shadow: 0 0 0 2px #2a3038, 0 20px 50px rgba(0, 0, 0, .6); }
.iscr { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #f2f2f6; }
.isaf { position: absolute; inset: 0; background: #fff; }
.ibar { padding: 40px 16px; display: grid; gap: 10px; } .ibar i { display: block; height: 12px; border-radius: 6px; background: #e3e5ea; }
.itool { position: absolute; left: 8px; right: 8px; bottom: 12px; height: 38px; border-radius: 19px; background: rgba(240, 240, 245, .95); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: #222; font-size: 13px; }
.iurl { color: #555; font-size: 12px; } .idots { font-weight: 900; letter-spacing: 1px; }
.imenu, .isheet, .iadd { position: absolute; left: 8px; right: 8px; background: #fff; border-radius: 16px; color: #222; font-size: 13px; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); transition: transform .45s cubic-bezier(.2, .9, .3, 1), opacity .3s; opacity: 0; pointer-events: none; }
.imenu > div, .isheet > div { padding: 10px 14px; border-top: 1px solid #eee; } .imenu > div:first-child, .isheet > div:first-child { border-top: 0; }
.imenu { bottom: 58px; transform: translateY(20px); }
.isheet { bottom: 8px; transform: translateY(110%); } .ishr { display: flex; align-items: center; gap: 8px; } .ishr img { width: 26px; height: 26px; border-radius: 7px; }
.iadd { top: 8px; bottom: 8px; transform: translateY(105%); } .iadh { display: flex; justify-content: space-between; padding: 12px; font-size: 12px; } .iadh span { color: #0a84ff; } .iadh .ion3 { font-weight: 800; }
.iadb { display: flex; align-items: center; gap: 10px; padding: 10px 14px; } .iadb img { width: 44px; height: 44px; border-radius: 11px; }
.ihome { position: absolute; inset: 0; background: linear-gradient(160deg, #23324a, #3b2a4a); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 40px 16px; align-content: start; opacity: 0; transition: opacity .4s; }
.ihome i, .ihome img { width: 40px; height: 40px; border-radius: 11px; justify-self: center; opacity: .85; }
.ihome img { opacity: 1; transform: scale(0); transition: transform .5s cubic-bezier(.2, .9, .3, 1.6); box-shadow: 0 0 16px rgba(198, 255, 61, .6); }
.iphone.s1 .imenu, .iphone.s2 .isheet, .iphone.s3 .iadd { opacity: 1; transform: none; }
.iphone.s2 .imenu { opacity: 0; }
.iphone.s4 .ihome, .iphone.have .ihome { opacity: 1; } .iphone.s4 .ihome img, .iphone.have.s3 .ihome img { transform: scale(1); }
.iphone.have .iadd { opacity: 0; transform: translateY(105%); }
.ion1, .ion2, .ion3 { transition: background .3s; } .iphone.s1 .ion1, .iphone.s2 .ion2 { background: rgba(10, 132, 255, .14); font-weight: 800; }
.itap { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(198, 255, 61, .55); border: 2px solid var(--neon); box-shadow: 0 0 14px var(--neon); transition: transform .6s cubic-bezier(.4, .1, .3, 1); z-index: 5; pointer-events: none; }
.itap.hit { animation: itap .45s ease-out; } @keyframes itap { 50% { scale: .7; } 100% { scale: 1; } }
.isteps { display: grid; gap: 6px; margin-top: 16px; } .isteps > div { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; background: var(--card); color: var(--hint); transition: background .3s, color .3s, transform .3s; }
.isteps > div span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); font-weight: 900; flex: none; }
.isteps > div.on { background: var(--neon-soft); color: var(--text); transform: scale(1.02); } .isteps > div.on span { background: var(--neon); color: var(--neon-t); }
.icode { color: var(--neon); letter-spacing: 3px; font-size: 18px; }
.iarrow { position: fixed; right: 18px; bottom: calc(var(--safe-b) + 8px); z-index: 50; background: var(--neon); color: var(--neon-t); font-weight: 800; padding: 8px 12px; border-radius: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); animation: iarr 1.1s ease-in-out infinite; transition: opacity .3s; }
.iarrow i { position: absolute; right: 22px; bottom: -8px; border: 8px solid transparent; border-top-color: var(--neon); border-bottom: 0; }
.iarrow.hide { opacity: .35; } @keyframes iarr { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .iarrow, .itap.hit { animation: none; } }

/* niewidoczny dymek nie może łapać dotknięć (blokował kartę przejazdu nad paskiem zakładek) */
.toast { pointer-events: none; }

/* panel podróży („Jadę tym”) */
.tripsheet { max-height: 56vh; }
.tph { display: flex; align-items: center; gap: 10px; } .tph .lb { margin: 0; font-size: 22px; padding: 4px 10px; } .tpd { flex: 1; min-width: 0; display: flex; flex-direction: column; } .tpd b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpbig { display: flex; gap: 14px; margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--card2); } .tpbig > div { flex: 1; min-width: 0; }
.tplab { font-size: 11px; font-weight: 900; letter-spacing: .6px; color: var(--hint); }
.tptime { font-size: 40px; font-weight: 900; letter-spacing: -1px; color: var(--neon); line-height: 1.05; } .tptime.sm { font-size: 30px; } .tptime.hot { color: var(--coral); }
.tpwalk { border-left: 1px solid var(--line); padding-left: 14px; } .tpwalk b { font-size: 17px; }
.tpbus { margin-top: 12px; font-size: 15px; font-weight: 700; }
.tpnext { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .tpnext .chip { background: var(--card2); font-size: 13px; }
.tplist { margin-top: 12px; } .tpnow { color: var(--neon); font-size: 12px; }
.tpalt { border: 0; color: var(--text); font: inherit; cursor: pointer; } .tpalt:active { background: var(--neon-soft); }
.tpalt .lb { margin: 0 4px 0 0; min-width: 0; padding: 0 5px; font-size: 12px; }

/* przybliżanie jedną ręką: + / − nad przyciskiem lokalizacji (jadą z panelem jak ⌖) */
.tzoom { position: absolute; right: 14px; bottom: 74px; z-index: 600; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); background: var(--card); }
.tzoom button { width: 46px; height: 44px; border: 0; background: none; color: var(--neon); font: inherit; font-size: 24px; font-weight: 800; line-height: 1; cursor: pointer; }
.tzoom button + button { border-top: 1px solid var(--line); } .tzoom button:active { background: var(--neon-soft); }
body.t-trasa .tzoom { position: fixed; bottom: calc(var(--pmax, 300px) + var(--tab) + var(--safe-b) + 70px); translate: 0 var(--poff, 0px); transition: translate .34s cubic-bezier(.2, .8, .2, 1); }
body.t-pdrag .tzoom { transition: none; }
body.t-stop .tzoom { bottom: calc(52vh + 16px); translate: none; }
body.t-full .tzoom { opacity: 0; pointer-events: none; }
#tzf { display: grid; place-items: center; color: var(--neon); } #tzf .ai { width: 22px; height: 22px; } #tzf.on { background: var(--neon); color: var(--neon-t); }
body.t-trasa #tloc { display: none; } /* ⌖ jest teraz w kolumnie pod + / − */
body.t-trasa .tzoom { bottom: calc(var(--pmax, 300px) + var(--tab) + var(--safe-b) + 14px); }
