/* Komputer: mapa na całą stronę pod paskiem nawigacji, wyszukiwarka jako smukły pasek na środku mapy
   z ustawieniami schowanymi pod ikoną koła zębatego. */
@media (min-width:901px){
body.map-first{--ml:0px}
body.map-first:not(.panel-collapsed):not(.planning){--ml:432px}

body.map-first main{position:relative;display:block;padding:0!important;gap:0!important;height:calc(100dvh - var(--hh,76px))!important;overflow:hidden}
body.map-first .mapwrap{position:absolute!important;inset:0;height:auto;flex:none;border:0!important;border-radius:0!important;box-shadow:none}
body.map-first #map{border-radius:0!important}

/* panel boczny pływa nad mapą; na stronie głównej (planowanie) jest ukryty, pasek zostaje na środku */
body.map-first aside#mobileSheet{position:absolute;z-index:700;top:16px;left:16px;bottom:16px;width:400px;min-width:0;height:auto}
body.map-first.planning aside#mobileSheet{display:none}
body.map-first.planning .planner-intro,body.map-first.planning .edit-journey{display:none!important}

/* strona główna: bez plakietki miasta / trybu nad mapą */
body.map-first.planning .maptag{display:none!important}

/* nakładki mapy omijają panel */
body.map-first .maptop{left:calc(var(--ml) + 22px)}
body.map-first .mapbottom{left:calc(var(--ml) + 22px);right:84px}
body.map-first .lg-control-zoom{margin-top:236px!important}

/* pasek wyszukiwania: zawsze pośrodku mapy, w pionie i w poziomie (także po wyszukaniu) */
body.map-first .map-search{display:none;position:absolute;z-index:650;top:var(--bar-top,calc(50% - 40px));left:var(--ml);right:0;justify-content:center;padding:0 24px;pointer-events:none;transition:left .22s ease,top .3s ease}
body.map-first.planning .map-search{display:flex}
body.map-first .map-search-pill{pointer-events:auto;position:relative;display:flex;align-items:center;width:min(796px,100%);padding:16px;background:color-mix(in srgb,var(--surface) 95%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:0;border-radius:40px;box-shadow:0 0 32px 2px #00000073}

body.map-first .map-search #journeyForm{display:flex!important;flex:1;min-width:0;align-items:center;gap:8px;margin:0;position:relative}
body.map-first .map-search .journey-fields{display:flex;flex:1;min-width:0;align-items:stretch;padding:0 4px;border-radius:12px;position:relative}
body.map-first .map-search .journey-field{flex:1 1 0;min-width:0;height:48px!important;padding:0 10px;border:0!important}
body.map-first .map-search .journey-field>button{font-size:20px}
body.map-first .map-search .journey-field>#journeyLocate,
body.map-first .map-search .journey-field>#journeyLocateTo{display:grid;place-items:center;flex:none;width:40px;height:40px;margin:0;padding:0;border:0;background:none;color:#222;cursor:pointer;transition:color .2s ease}
body.map-first .map-search .journey-field>#journeyLocate[hidden],
body.map-first .map-search .journey-field>#journeyLocateTo[hidden]{display:none!important}
body.map-first .map-search .journey-field>#journeyLocate svg,
body.map-first .map-search .journey-field>#journeyLocateTo svg{display:block;width:24px;height:24px;shape-rendering:geometricPrecision}
body.map-first .map-search .journey-field>#journeyLocate:hover,
body.map-first .map-search .journey-field>#journeyLocateTo:hover{color:var(--accent)}
/* znaczniki Skąd / Dokąd: energicznie pulsująca kropka (animacja w fullmap.js) */
body.map-first .map-search .journey-field .point{position:relative;width:26px;height:26px;flex:none;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;overflow:visible}
body.map-first .map-search .journey-field .point .pd-core{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#f00;box-shadow:0 0 0 0 transparent;will-change:transform}
body.map-first .map-search .journey-field .point .pd-ripple{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;border:2px solid #f00;box-sizing:border-box;opacity:0;pointer-events:none;will-change:transform,opacity}
/* tło pól wyszukiwania: jasnoszare #e2e2e2, ciemny tekst (oba motywy) */
body.map-first .map-search .journey-fields{background:transparent!important;border:0!important;box-shadow:none!important;padding:0;gap:0;align-items:center}
body.map-first .map-search .journey-fields:focus-within{box-shadow:none!important;border:0!important}
body.map-first .map-search .journey-fields .journey-field{background:#e2e2e2;border:0!important;border-radius:999px!important;padding:0 4px 0 12px;transition:box-shadow .15s ease}
body.map-first .map-search .journey-fields .journey-field:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
body.map-first .map-search .journey-fields .field-inner>input{color:#111}
body.map-first .map-search .journey-fields .field-inner>input::placeholder{color:#666;opacity:1}
body.map-first .map-search .journey-fields .field-inner>label{color:#555}
body.map-first .map-search .journey-fields .journey-field>button{color:#333}
body.map-first .map-search .journey-fields .swap{width:30px;height:38px;margin:0;flex:none;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent!important;box-shadow:none!important;color:var(--ink);cursor:pointer;transition:color .2s ease}
body.map-first .map-search .journey-fields .swap svg{display:block;width:22px;height:22px;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
body.map-first .map-search .journey-fields .swap:hover,
body.map-first .map-search .journey-fields .swap:active,
body.map-first .map-search .journey-fields .swap:focus-visible{background:transparent!important;color:var(--accent)}

body.map-first .map-search .field-inner>input{font-size:16px;text-overflow:ellipsis}
/* bez etykiet SKĄD / DOKĄD nad polami (zostają dla czytników ekranu) */
body.map-first .map-search .field-inner{display:flex;align-items:center}
body.map-first .map-search .field-inner>label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
body.map-first .map-search .swap{position:static;top:auto;right:auto;flex:none;align-self:center;width:30px;height:30px;margin:0 2px;transform:none}
body.map-first .map-search .suggestions{left:-6px;right:-6px;top:calc(100% + 22px);max-height:320px}
body.map-first .map-search .journey-options,body.map-first .map-search .planner-note{display:none}

/* smukły przycisk szukania: sama ikona */
body.map-first .map-search .search-journey{flex:none;width:48px;height:48px;margin:0;padding:0;display:grid!important;place-items:center;justify-content:center;border-radius:50%!important}
body.map-first .map-search .search-journey>span:not(.sj-icon){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.map-first .map-search .search-journey,
body.map-first .map-search .search-journey:hover,
body.map-first .map-search .search-journey:focus,
body.map-first .map-search .search-journey:active,
body.map-first .map-search .search-journey:hover:not(:disabled){background:var(--accent)!important;background-image:none!important;box-shadow:none!important;filter:none;transform:none!important;color:#fff;border:0}
body.map-first .map-search .search-journey:disabled{opacity:.6}
body.map-first .map-search .search-journey{display:flex!important;align-items:center;justify-content:center;gap:0}
body.map-first .map-search .search-journey .sj-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0;line-height:0}
body.map-first .map-search .search-journey .sj-icon svg{display:block;width:32px;height:32px;stroke:#fff;stroke-linecap:round;stroke-linejoin:round}

/* ikona ustawień + panel */
body.map-first .map-search .ms-toggle,
body.map-first .map-search .ms-toggle:hover,
body.map-first .map-search .ms-toggle:focus,
body.map-first .map-search .ms-toggle:active,
body.map-first .map-search .ms-toggle[aria-expanded=true]{position:relative;flex:none;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:0;background:#000!important;background-image:none!important;color:#fff;border-radius:50%!important;box-shadow:none!important;filter:none;transform:none;cursor:pointer;padding:0}
body.map-first .map-search .ms-toggle svg{display:block;width:32px;height:32px;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
body.map-first .map-search .ms-toggle[aria-expanded=true] svg{transform:rotate(45deg)}
body.map-first .map-search .ms-dot{position:absolute;top:5px;right:5px;width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px #000;display:none}
body.map-first .map-search .ms-toggle.is-custom .ms-dot{display:block}

body.map-first .map-search .ms-panel{position:absolute;top:calc(100% + 28px);right:0;z-index:30;width:400px;display:grid;gap:12px;padding:14px 16px;overflow:auto;overscroll-behavior:contain;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:20px;box-shadow:0 28px 64px -20px #000b;animation:msIn .16s ease}
body.map-first .map-search .ms-panel.up{top:auto;bottom:calc(100% + 28px);animation-name:msInUp}
body.map-first .map-search .ms-panel[hidden]{display:none}
@keyframes msInUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes msIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
body.map-first .map-search .ms-head{display:flex;align-items:center;justify-content:space-between}
body.map-first .map-search .ms-head strong{font-size:15px;letter-spacing:-.01em}
body.map-first .map-search .ms-close{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:9px;background:var(--soft);color:var(--sub);font-size:18px;line-height:1;cursor:pointer;padding:0}
body.map-first .map-search .ms-close:hover{color:var(--accent);background:var(--accent-soft)}
body.map-first .map-search .ms-sec{display:grid;gap:8px;min-width:0}
body.map-first .map-search .ms-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.map-first .map-search .ms-label{font:500 9px/1 'IBM Plex Mono',monospace;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}

body.map-first .map-search .ms-panel .journey-scope{display:flex!important;width:100%;margin:0;padding:3px;gap:3px;border-radius:12px}
body.map-first .map-search .ms-panel .journey-scope button{flex:1;width:auto;padding:10px 8px;font-size:12px;white-space:nowrap;justify-content:center}
body.map-first .map-search .ms-panel #timeToggle,
body.map-first .map-search .ms-panel #journeyTransfers{width:100%;max-width:none;height:42px;margin:0;padding:0 14px;display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:13px;font-weight:550;color:var(--ink);background:var(--soft);border:1px solid var(--line);border-radius:12px;box-shadow:none;cursor:pointer}
body.map-first .map-search .ms-panel #journeyTransfers{display:block;padding:0 10px}
body.map-first .map-search .ms-panel #timeToggle:hover,
body.map-first .map-search .ms-panel #journeyTransfers:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}
body.map-first .map-search .ms-panel #journeyTimeWrap{position:static;width:auto;margin:0;box-shadow:none;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:12px}
body.map-first .map-search .ms-panel #journeyTimeWrap[hidden]{display:none}
body.map-first .map-search .ms-panel #journeyTimeWrap{flex-wrap:nowrap;padding:8px;gap:8px}
body.map-first .map-search .ms-panel #journeyTimeWrap label{display:none}
body.map-first .map-search .ms-panel #journeyTimeWrap input{max-width:none;flex:1;min-width:0;height:34px;font-size:13px}
body.map-first .map-search .ms-panel #journeyNow{flex:none;height:34px;padding:0 12px;border:0;border-radius:9px;background:var(--accent);color:#fff;font-size:12px;font-weight:650;cursor:pointer}
}

/* podpisy mapy (wymagane licencją OSM / OpenFreeMap): zwinięte do ikonki ©, rozwijają się po najechaniu lub fokusie */
/* podpis mapy (wymagany licencją OpenStreetMap): biały guzik z czerwonym znakiem © (SVG — idealnie wyśrodkowany),
   bez obrysów i cienia; po najechaniu lub fokusie płynnie rozsuwa się w lewo do „© OpenStreetMap” */
.lg-map .lg-control-attribution.lg-control{position:relative;box-sizing:border-box;height:30px;max-width:30px;margin:0 8px 8px 0!important;padding:0 0 0 30px!important;border:0!important;border-radius:15px;background:#fff!important;color:#ff0000!important;box-shadow:none!important;outline:0!important;font:600 12px/30px system-ui,sans-serif!important;overflow:hidden;white-space:nowrap;cursor:pointer;
  transition:max-width .38s cubic-bezier(.2,.8,.2,1),padding .38s cubic-bezier(.2,.8,.2,1)}
.lg-map .lg-control-attribution.lg-control::before{content:"";position:absolute;left:0;top:0;width:30px;height:30px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0000' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.9 9.4a3.9 3.9 0 1 0 0 5.2'/%3E%3C/svg%3E") center/24px 24px no-repeat}
/* po rozwinięciu znak © zostaje w tym samym rozmiarze (ikona), obok pojawia się „OpenStreetMap”;
   tekstowe „© ” jest ukryte wizualnie (ikona je zastępuje), ale zostaje dla czytników ekranu */
.lg-map .lg-control-attribution.lg-control:hover,
.lg-map .lg-control-attribution.lg-control:focus-within{max-width:240px;padding:0 13px 0 30px!important}
.lg-map .lg-control-attribution .lg-attr-c{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* link: bez podkreślenia i bez żadnych efektów — po najechaniu zmienia się tylko kursor */
.lg-map .lg-control-attribution.lg-control a,
.lg-map .lg-control-attribution.lg-control a:hover,
.lg-map .lg-control-attribution.lg-control a:focus{color:#ff0000!important;font-weight:700;text-decoration:none!important;outline:0;opacity:1;transition:none;cursor:pointer}

/* nagłówek: selektory rodzaju transportu, miasta i kraju */
.city .hdr-select{font:inherit;color:inherit;background:transparent;border:0;padding:0 2px;cursor:pointer;font-weight:700}
.city .hdr-select:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
.city .hdr-select option{color:#111}
.city .hdr-select[hidden]{display:none!important}
/* bez kropki i bez podpisu pod selektorami (dla komunikacji i pociągów) */
header .city>.dot,header .city #transportNote{display:none!important}
/* bez podpisu nie trzeba miejsca pod spodem: selektory równo na środku nagłówka */
header .city{padding-bottom:0!important;align-self:center}
/* tło selektorów jak pasek wyszukiwania (zaokrąglona pigułka), w kolorze pól wyszukiwania #e2e2e2 */
header .city{gap:6px;padding:6px!important;border:0!important;border-radius:999px;background:#e2e2e2;color:#111!important}
header .city .ts-btn{border-radius:999px;background:#fff}
/* gdy pigułka jest poszerzona pod menu, selektor miasta/kraju stoi przy prawej krawędzi */
header .city{justify-content:space-between;box-sizing:border-box}
/* bez efektu najechania: przycisk wygląda tak samo */
header .city .ts-btn:hover,header .city .ts-btn:focus,header .city .ts-btn[aria-expanded=true]{background:#fff!important;box-shadow:none!important;transform:none!important;filter:none!important}
/* rozwijana lista: biała w obu motywach */
header .city .ts-list{background:#fff;color:#111;border-color:#e2e2e2}
header .city .ts-list li:hover,header .city .ts-list li:focus{background:#f1f1f1}

/* lista wyrasta z białego tła ikony (jeden biały kształt) */
header .city .ts-wrap{z-index:1;transition:filter .28s ease}
header .city .ts-wrap.open{filter:drop-shadow(0 14px 22px #00000033)}
header .city .ts-btn{position:relative;z-index:2}
header .city .ts-wrap.open .ts-btn{box-shadow:none}
/* menu transportu to JEDNA biała sylwetka rysowana co klatkę w JS (clip-path: path() na liście):
   przycisk ikony, pasek pod nim i lista są jednym kształtem, więc przy rozwijaniu i zwijaniu nie ma osobnych
   kawałków ani chwilowo kwadratowych rogów. Lewa krawędź jest zawsze prosta, a wklęsły narożnik wchodzi w ścieżkę. */
header .city .ts-wrap{--tr:calc(var(--ts-bh,44px) / 2);--ts-s:6px}
header .city .ts-btn{border-radius:var(--tr)!important;animation:none!important}
header .city .ts-list,header .city .ts-list[hidden]{display:block;position:absolute;top:var(--tr);left:0;z-index:1;box-sizing:border-box;width:var(--ts-lw,240px);min-width:0;margin:0;
  padding:calc(var(--tr) + var(--ts-s) + 4px) 4px 10px;border:0;border-radius:0;box-shadow:none;animation:none;transition:none;background:#fff;visibility:hidden}
header .city .ts-wrap.open .ts-list,header .city .ts-wrap.closing .ts-list{visibility:visible}
/* opcje wjeżdżają kaskadowo (z lekkim opóźnieniem każda); przesunięcie przez top (przyciągane do pikseli), a nie transform —\n   transform trzymał tekst na osobnej warstwie z podpikselowym przesunięciem, przez co był rozmyty do końca ruchu */
header .city .ts-list li{position:relative;top:-5px;opacity:0;transition:opacity .09s ease,top .09s ease;gap:8px;padding:9px 8px;min-width:0}
header .city .ts-wrap.open .ts-list li{top:0;opacity:1;transition:opacity .2s ease,top .34s cubic-bezier(.2,.9,.3,1)}
header .city .ts-wrap.open .ts-list li:nth-child(1){transition-delay:.2s}
header .city .ts-wrap.open .ts-list li:nth-child(2){transition-delay:.245s}
header .city .ts-wrap.open .ts-list li:nth-child(3){transition-delay:.29s}
header .city .ts-wrap.open .ts-list li:nth-child(4){transition-delay:.335s}
header .city .ts-wrap.open .ts-list li:nth-child(5){transition-delay:.38s}
header .city .ts-list li>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
/* zaokrąglenie wyróżnienia jak tło menu (18px), pomniejszone o odstęp 4px, żeby łuki biegły równolegle */
header .city .ts-list li{border-radius:14px}
/* wybrana (aktywna) opcja bez szarego tła — wyróżnia ją tylko czerwony kolor */
header .city .ts-list li[aria-selected=true],header .city .ts-list li[aria-selected=true]:hover,header .city .ts-list li[aria-selected=true]:focus{background:transparent}

/* miasto: przycisk na szarej pigułce; po otwarciu białe tło, z którego płynnie zjeżdża lista */
header .city{padding-right:6px!important}
/* równe odstępy 6px: wyszukiwarka wypełnia ewentualne wolne miejsce w pigułce */
header .city .cs-wrap{flex:1 1 auto}
header .city .ts-wrap{margin-right:0}
header .city .cs-wrap .cs-btn{width:100%}
header .city .cs-wrap{position:relative;display:inline-flex;z-index:1;--cr:calc(var(--cs-bh,44px) / 2);transition:filter .28s ease}
header .city .cs-wrap[hidden]{display:none}
/* otwarte menu transportu nad przyciskiem miasta */
header .city .ts-wrap.open,header .city .ts-wrap.closing{z-index:4}
header .city .cs-wrap.open{z-index:3;filter:drop-shadow(0 14px 22px #00000033)}
header .city .cs-btn{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:space-between;gap:4px;height:44px;margin:0;padding:0 10px 0 14px;border:0;border-radius:var(--cr);background:transparent;color:#111;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap;transition:background-color .14s ease}
header .city .cs-btn:hover,header .city .cs-btn:focus{background:transparent;box-shadow:none;filter:none}
/* białe tło przycisku miasta jak przy ikonie transportu (zawsze, bez efektu najechania) */
header .city .cs-btn,header .city .cs-btn:hover,header .city .cs-btn:focus{background:#fff!important}
header .city .cs-btn:active,header .city .cs-btn:not(:disabled):active{transform:none!important}
header .city .cs-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
header .city .cs-wrap.open .cs-btn,header .city .cs-wrap.closing .cs-btn{background:#fff}
header .city .cs-btn .cs-label{text-align:left;color:var(--accent)}
header .city .cs-btn .ts-chev{display:block;width:16px;height:16px;flex:none;transition:transform .2s ease}
header .city .cs-btn[aria-expanded=true] .ts-chev{transform:rotate(180deg)}
/* menu miast ma tę samą dynamikę co menu transportu: jedna biała sylwetka rysowana co klatkę w JS (clip-path: path()),
   rozwijanie ze sprężystym „przestrzeleniem”, zwijanie jednym ruchem, opcje wjeżdżają kaskadą */
header .city .cs-list{display:block;position:absolute;top:var(--cr);left:0;right:0;z-index:1;box-sizing:border-box;margin:0;padding:calc(var(--cr) + 4px) 4px 10px;list-style:none;background:#fff;color:#111;border:0;border-radius:0;visibility:hidden}
header .city .cs-wrap.open .cs-list,header .city .cs-wrap.closing .cs-list{visibility:visible}
header .city .cs-list li{position:relative;top:-5px;display:flex;align-items:center;padding:9px 10px;border-radius:14px;font-weight:600;cursor:pointer;outline:0;white-space:nowrap;opacity:0;transition:opacity .09s ease,top .09s ease}
header .city .cs-wrap.open .cs-list li{top:0;opacity:1;transition:opacity .2s ease,top .34s cubic-bezier(.2,.9,.3,1);transition-delay:var(--cd,.12s)}
/* lista miast bez szarego podświetlenia (najechanie / fokus) */
/* lista miast: bez szarego podświetlenia; aktywne miasto na górze, na czerwono */
header .city .cs-list li:hover,header .city .cs-list li:focus,header .city .cs-list li:focus-visible{background:transparent}
/* najechanie na miasto w liście: jasnoszare tło (aktywne miasto bez tła, wyróżnione kolorem) */
header .city .cs-list li:not([aria-selected=true]):not(.cs-empty):hover,header .city .cs-list li:not([aria-selected=true]):not(.cs-empty):focus{background:#f1f1f1}
header .city .cs-wrap .cs-list{display:flex;flex-direction:column}
header .city .cs-list li[aria-selected=true]{order:-1;color:var(--accent)}
header .city .cs-list li[hidden]{display:none!important}
header .city .cs-list li.cs-empty{color:#9a9a9a;font-weight:500;cursor:default;white-space:normal}

/* pole miasta: zamknięte — nazwa + strzałka; otwarte — pole wpisywania + przycisk szukania */
header .city .cs-btn{cursor:pointer;justify-content:flex-start;gap:8px;padding:0 10px 0 14px}
header .city .cs-btn .cs-label{flex:1 1 auto;color:#111}
/* strzałka przy mieście skierowana w lewo (w stronę nazwy i ikony) */
header .city .cs-btn>.ts-chev,header .city .cs-btn[aria-expanded=true]>.ts-chev{transform:rotate(90deg)}
header .city .cs-input{display:none}
header .city .cs-wrap.open .cs-label,header .city .cs-wrap.open .cs-btn>.ts-chev{display:none}
header .city .cs-wrap.open .cs-btn{cursor:default;padding:0 6px 0 14px}
header .city .cs-wrap.open .cs-input{display:block;flex:1 1 0;width:0;min-width:0;height:100%;margin:0;padding:0;border:0;outline:0;background:transparent;font:inherit;font-weight:700;color:#111;caret-color:var(--accent)}
header .city .cs-input::placeholder{color:#8a8a8a;font-weight:500;opacity:1}
/* pole tekstowe bez dziedziczonego zaokrąglenia (22px) — inaczej półkole przy lewej krawędzi ucinało kursor w łuk */
header .city .cs-wrap .cs-input{border-radius:0!important;box-shadow:none!important;padding-left:1px}
/* X (zamiast strzałki po otwarciu): czarny, płynnie rośnie po najechaniu i płynnie wraca */
/* znak przy ikonie transportu: bez obrotu — strzałka płynnie przechodzi w X (JS) */
header .city .ts-btn .ts-glyph,header .city .ts-btn[aria-expanded=true] .ts-glyph{transform:none!important;transition:none;overflow:visible}
/* strzałka/X: zawsze widoczna (zamknięte: „‹”, otwarte: X; kształt zmienia się płynnie w JS) */
header .city .cs-go,header .city .cs-wrap.open .cs-go{display:grid;place-items:center;flex:none;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:50%;background:transparent!important;color:#111;cursor:pointer;box-shadow:none!important;animation:none}
/* płynne powiększanie bez rozmycia: X rysowany w docelowym rozmiarze 25px i w spoczynku pomniejszony do 80%
   (pomniejszanie nie rozmywa), po najechaniu wraca do naturalnych 100%; bez will-change, które trzyma rozmytą warstwę */
/* X w proporcjach poprzedniego (ikona 20px w polu 28px); animacja przybliżenia viewBox w JS, jak na stronie ANTE */
header .city .cs-wrap.open .cs-go{width:28px;height:28px;color:#111}
header .city .cs-go svg,header .city .cs-go:hover svg{display:block;width:20px;height:20px;transform:none;transition:none;overflow:visible}
header .city .cs-go:hover,header .city .cs-go:focus{background:transparent!important;color:#111}
header .city .cs-go:active,header .city .cs-go:not(:disabled):active{transform:none!important}
@keyframes csGoIn{from{opacity:0;transform:rotate(-90deg) scale(.6)}to{opacity:1;transform:none}}
/* zamknięte pole: nazwa miasta na środku pola, strzałka tej samej wielkości co przy ikonie (20px) */
/* nazwa na środku odcinka od lewej krawędzi pola do LEWEGO KOŃCA narysowanej strzałki:
   lewy margines = odstęp przed polem strzałki (8px) + odległość od brzegu tego pola do kreski „‹” (6.5px) */
header .city .cs-btn{padding:0 6px 0 14.5px}
/* węższe pole i lista: pole nie rozciąga się na wolne miejsce w pigułce, mniejszy X */
header .city .cs-wrap{flex:0 0 auto}
/* nazwa na środku między lewą krawędzią a lewym końcem „‹” (odstęp 6 + 4 do ikony + 6,5 do kreski) */
header .city .cs-btn{gap:6px;padding-left:16.5px}
header .city .cs-wrap.open .cs-go{width:28px;height:28px}
header .city .cs-btn .cs-label{text-align:center}
header .city .cs-btn>.ts-chev{width:20px;height:20px;margin-right:6px}
@media (prefers-reduced-motion:reduce){header .city .cs-wrap.open .cs-list li{transition:none;transition-delay:0s}}
/* opcje „(wkrótce)”: wyszarzone, bez wyróżnienia */
header .city .ts-list li.is-soon{color:#9a9a9a;cursor:default}
header .city .ts-list li.is-soon .ts-ico{color:#b5b5b5}
header .city .ts-list li.is-soon:hover,header .city .ts-list li.is-soon:focus{background:#f6f6f6}
header .city .ts-list .ts-soon{font-style:normal;font-weight:500}
header .city .ts-wrap.open .ts-list li{opacity:1;transition:opacity .2s ease .2s}
@media (prefers-reduced-motion:reduce){header .city .ts-wrap.open .ts-list li{transition:none;transition-delay:0s}}
header .city .hdr-select{color:#111}

/* rodzaj transportu: przycisk + lista z ikonami */
.city .ts-wrap{position:relative;display:inline-flex;margin-right:4px}
.city .ts-btn{display:inline-flex;align-items:center;gap:6px;padding:3px 6px 3px 4px;margin:0;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.city .ts-btn:hover{background:color-mix(in srgb,currentColor 7%,transparent)}
.city .ts-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.city .ts-ico{width:18px;height:18px;flex:none;color:var(--accent)}
/* w przycisku sama ikona: nazwa tylko dla czytników ekranu i w podpowiedzi */
.city .ts-btn .ts-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.city .ts-btn{gap:1px;padding:6px 8px 6px 8px;border-radius:12px}
/* bez podskakiwania przy kliknięciu (ogólne button:active przesuwa o 1px) */
.city .ts-btn:active,.city .ts-btn:not(:disabled):active{transform:none!important}
.city .ts-btn .ts-ico{width:32px;height:32px;stroke-width:1.7}
.city .ts-btn .ts-chev{width:20px;height:20px}
.city .ts-chev{width:14px;height:14px;flex:none;transition:transform .2s ease}
.city .ts-btn[aria-expanded=true] .ts-chev{transform:rotate(180deg)}
.city .ts-list{position:absolute;top:calc(100% + 8px);left:0;z-index:1200;min-width:220px;margin:0;padding:6px;list-style:none;background:var(--surface,#fff);color:var(--ink,#111);border:1px solid var(--line,#eceef2);border-radius:14px;box-shadow:0 18px 40px -14px #0006;animation:tsIn .14s ease}
.city .ts-list[hidden]{display:none}
.city .ts-list li{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;font-weight:600;cursor:pointer;outline:0;white-space:nowrap}
.city .ts-list li:hover,.city .ts-list li:focus{background:var(--soft,#f5f5f7)}
.city .ts-list li[aria-selected=true]{color:var(--accent)}
@keyframes tsIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* tło mapy przed wczytaniem kafelków = tło szarej mapy wektorowej (bez szarego/kolorowego mignięcia) */
#map.lg-map{background:#f4f4f4}
html[data-theme=dark] #map.lg-map{background:#0b0b0b}

/* bez obramowań fokusu na całej stronie (obwódki outline, poświata --ring, niebieska poświata mapy) */
*:focus,*:focus-visible,*:focus-within{outline:none!important}
:root,html[data-theme]{--ring:0 0 0 0 transparent!important}
.searchbox:focus-within,.journey-fields:focus-within,select:focus{border-color:var(--line)!important}
body.map-first .map-search .journey-fields .journey-field:focus-within{box-shadow:none!important}
.maplibregl-canvas:focus,.maplibregl-canvas:focus-visible,.maplibregl-ctrl button:focus,.maplibregl-ctrl button:focus-visible{box-shadow:none!important}
button::-moz-focus-inner{border:0}

/* poza paskiem (telefon) ikona w przycisku szukania się nie pokazuje */
.search-journey .sj-icon{display:none}
/* logo w nagłówku: bez białego tła (jasny motyw; padding zostaje, więc lewy odstęp się nie zmienia) + animacja po najechaniu */
html:not([data-theme=dark]) header .brand{background:transparent!important;box-shadow:none!important}
/* Motion belongs to the artwork so the link keeps a stationary hit area. */
header .brand:hover { transform: none; }
header .brand .brand-art { position: relative; display: block; width: 100%; }
/* logo zawsze rysowane z tych samych płócien (spoczynek i ruch wyglądają identycznie); obraz tylko jako zapas */
.brand-stage { position: absolute; display: none; pointer-events: none; }
.brand-stage > * { position: absolute; display: block; transform-origin: 50% 100%; }
.brand-stage > .bp-shadow { background: radial-gradient(closest-side, #0000004d, #0000 100%); opacity: 0; transform-origin: 50% 50%; }
.brand-art.art-ready > img { visibility: hidden; }
.brand-art.art-ready > .brand-stage { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .brand-art.in-motion .bp-pin    { animation: brand-hop 860ms both; }
  .brand-art.in-motion .bp-shadow { animation: brand-shadow 860ms both; }
  .brand-art.in-motion .bp-l      { animation: brand-wave 640ms var(--delay) both; }
  .brand-art.in-motion .bp-tick   { animation-name: brand-tick; }
  .brand-art.in-motion .bp-go     { animation-name: brand-go; }
}
/* Pinezka: przysiad, miękki skok z lekkim przechyłem w stronę „go”, lądowanie ze sprężystym ugięciem.
   W chwili lądowania przez litery przebiega fala (od lewej), apostrof „mruga”, a „go” lekko pulsuje. */
@keyframes brand-hop {
  0%   { transform: translate(0,0) rotate(0) scale(1,1); animation-timing-function: cubic-bezier(.4,0,.6,1); }
  12%  { transform: translate(0,0) rotate(0) scale(1.06,.92); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  40%  { transform: translate(1px,-11px) rotate(7deg) scale(.98,1.03); animation-timing-function: cubic-bezier(.6,0,.85,.45); }
  52%  { transform: translate(0,0) rotate(0) scale(1.06,.92); animation-timing-function: cubic-bezier(.25,.6,.35,1); }
  66%  { transform: translate(0,-2px) rotate(-1.5deg) scale(.985,1.02); animation-timing-function: cubic-bezier(.5,0,.6,1); }
  80%  { transform: translate(0,0) rotate(0) scale(1.015,.985); animation-timing-function: cubic-bezier(.3,0,.3,1); }
  100% { transform: translate(0,0) rotate(0) scale(1,1); }
}
@keyframes brand-shadow {
  0%, 12% { opacity: 0; transform: scale(1); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  40%     { opacity: .45; transform: scale(.55); animation-timing-function: cubic-bezier(.6,0,.85,.45); }
  52%     { opacity: .7; transform: scale(1.05); }
  66%     { opacity: .3; transform: scale(.9); }
  80%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes brand-wave {
  0%   { transform: translate(0,0) rotate(0) scale(1); animation-timing-function: cubic-bezier(.2,.75,.35,1); }
  34%  { transform: translate(0,-4.5px) rotate(-2.5deg) scale(1.03); animation-timing-function: cubic-bezier(.55,0,.5,1); }
  64%  { transform: translate(0,.7px) rotate(.6deg) scale(.99); animation-timing-function: cubic-bezier(.4,0,.3,1); }
  100% { transform: translate(0,0) rotate(0) scale(1); }
}
@keyframes brand-tick {
  0%   { transform: translate(0,0) rotate(0) scale(1); animation-timing-function: cubic-bezier(.2,.75,.35,1); }
  34%  { transform: translate(.6px,-6.5px) rotate(-20deg) scale(1.08); animation-timing-function: cubic-bezier(.55,0,.5,1); }
  64%  { transform: translate(0,.7px) rotate(6deg) scale(.98); animation-timing-function: cubic-bezier(.4,0,.3,1); }
  100% { transform: translate(0,0) rotate(0) scale(1); }
}
@keyframes brand-go {
  0%   { transform: translate(0,0) rotate(0) scale(1); animation-timing-function: cubic-bezier(.2,.75,.35,1); }
  34%  { transform: translate(0,-5px) rotate(-2.5deg) scale(1.05); animation-timing-function: cubic-bezier(.55,0,.5,1); }
  64%  { transform: translate(0,.7px) rotate(.6deg) scale(.985); animation-timing-function: cubic-bezier(.4,0,.3,1); }
  100% { transform: translate(0,0) rotate(0) scale(1); }
}
/* większy napis miasta w polu (i ten sam rozmiar w polu wpisywania po otwarciu) */
header .city .cs-btn .cs-label,header .city .cs-wrap.open .cs-input{font-size:15px}
/* zakładki (Zaplanuj trasę / Na żywo / Przystanki) w stylu menu nagłówka: szara pigułka jak pole miasta,
   aktywna zakładka = czerwona pigułka z białym tekstem, najechanie = półprzezroczysta biała pigułka, bez cieni i obrysów; wyśrodkowane względem całej strony */
@media (min-width: 901px) {
  header nav{display:flex;align-items:center;gap:14px;margin:0 auto!important;padding:6px!important;border:0!important;border-radius:999px!important;background:#e2e2e2!important;box-shadow:none!important}
  header nav .nav{display:inline-flex;align-items:center;height:44px;margin:0;padding:0 20px!important;border:0!important;border-radius:22px!important;background:transparent!important;color:#555!important;
    font-size:13.5px!important;font-weight:700!important;line-height:1;letter-spacing:0;box-shadow:none!important;transform:none!important;transition:background-color .22s ease,color .22s ease}
  header nav .nav:hover:not(.active),header nav .nav:focus-visible:not(.active){background:#ffffff!important;color:#111!important}
  header nav .nav.active,html[data-theme=dark] header nav .nav.active{background:#ff0000!important;color:#fff!important;box-shadow:none!important}
}
@media (min-width: 1300px) {
  header{position:relative}
  header nav{position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}
  /* zakładki są poza układem, więc ikony (informacje, motyw) same dosuwają się do prawej krawędzi */
  header nav + .hdr-tools{margin-left:auto!important}
}
/* prawa strona nagłówka: język, informacje, motyw — w tym samym stylu co środkowe zakładki */
.hdr-tools{display:flex;align-items:center;gap:6px;margin-left:auto;flex:none}
.lang-wrap{position:relative;display:flex}
.lang-menu{position:absolute;right:0;top:calc(100% + 12px);z-index:1200;display:flex;flex-direction:column;gap:2px;min-width:180px;padding:6px;border-radius:18px;background:#fff;box-shadow:0 14px 22px #00000033}
.lang-menu[hidden]{display:none}
.lang-menu button{all:unset;box-sizing:border-box;display:block;padding:11px 14px;border-radius:12px;font:600 13.5px/1.2 Inter,system-ui,sans-serif;color:#111;cursor:pointer;white-space:nowrap}
.lang-menu button[aria-checked=true]{color:#ff0000;font-weight:700}
.lang-menu button[aria-disabled=true]{color:#9a9a9a;cursor:default}
.lang-menu button small{font-weight:500;font-size:12px}
.lang-menu button:not([aria-disabled=true]):not([aria-checked=true]):hover{background:#f1f1f1}
@media (min-width: 901px) {
  /* większe logo */
  header .brand,html[data-theme=dark] header .brand{width:212px!important;height:auto!important}
  header .brand img{height:64px!important}
  .hdr-tools{padding:6px;border-radius:999px;background:#e2e2e2}
  .hdr-tools .icon{position:static!important;display:grid;place-items:center;width:44px!important;height:44px!important;margin:0!important;padding:0;border:0!important;border-radius:50%!important;
    background:transparent!important;color:#555!important;font-size:19px!important;line-height:1;box-shadow:none!important;transform:none!important;transition:background-color .22s ease,color .22s ease}
  .hdr-tools .icon:hover,.hdr-tools .icon:focus-visible,.hdr-tools .icon[aria-expanded=true]{background:#ffffff!important;color:#111!important}
  .hdr-tools .icon.lang{width:auto!important;padding:0 15px;border-radius:22px!important;font-size:13.5px!important;font-weight:700}
}
@media (max-width: 900px) {
  /* telefon: nagłówek to siatka — logo | pigułka z przyciskami (zamiast dwóch kolumn po 44 px na dwie ikony) */
  header{grid-template-columns:minmax(0,1fr) auto!important}
  .hdr-tools{grid-column:2;justify-self:end;gap:2px}
  .hdr-tools .icon.lang{width:auto!important;padding:0 10px;font-size:12px;font-weight:700}
}
/* wyraźniejsze ikony po prawej stronie nagłówka (język, informacje, motyw) */
.hdr-tools .icon{color:#1a1a1a!important}
.hdr-tools .icon svg{display:block;width:22px!important;height:22px!important;flex:none}
.hdr-tools .icon.lang{display:inline-flex!important;align-items:center;gap:6px}
.hdr-tools .icon.lang svg{width:19px!important;height:19px!important}
.hdr-tools .icon.lang span{font-size:13.5px;font-weight:700;letter-spacing:.01em}
@media (min-width: 901px){ .hdr-tools .icon:hover,.hdr-tools .icon:focus-visible,.hdr-tools .icon[aria-expanded=true]{color:#000!important} }
@media (max-width: 900px){ .hdr-tools .icon{color:var(--ink,#111)!important} .hdr-tools .icon.lang span{font-size:12px} }
/* przełącznik motywu jak na stronie ANTE: księżyc i słońce nałożone na siebie (obrót + przenikanie z theme.js) */
.theme-ico{position:relative;display:block;width:22px;height:22px;flex:none}
.hdr-tools .icon .theme-ico svg{position:absolute;left:0;top:0;width:22px!important;height:22px!important;transform-origin:50% 50%;will-change:transform,opacity}
/* większe teksty i ikony w nagłówku; nieaktywne zakładki i ikony czarne */
@media (min-width: 901px) {
  header nav .nav{font-size:15px!important;padding:0 22px!important;color:#000!important}
  header nav .nav.active,html[data-theme=dark] header nav .nav.active{color:#fff!important}
  header nav .nav:hover:not(.active),header nav .nav:focus-visible:not(.active){color:#000!important}
  .hdr-tools .icon,.hdr-tools .icon:hover,.hdr-tools .icon:focus-visible,.hdr-tools .icon[aria-expanded=true]{color:#000!important}
  .hdr-tools .icon svg,.hdr-tools .icon .theme-ico,.hdr-tools .icon .theme-ico svg{width:25px!important;height:25px!important}
  .hdr-tools .icon.lang svg{width:22px!important;height:22px!important}
  .hdr-tools .icon.lang span{font-size:15px}
  .hdr-tools .icon.lang{padding:0 16px}
}
/* nieaktywne zakładki i ikony: zawsze białe tło; po najechaniu tylko płynnie się powiększają */
@media (min-width: 901px) {
  header nav .nav:not(.active),
  header nav .nav:not(.active):hover,
  header nav .nav:not(.active):focus-visible,
  .hdr-tools .icon,.hdr-tools .icon:hover,.hdr-tools .icon:focus-visible,.hdr-tools .icon[aria-expanded=true]{background:#fff!important}
  header nav .nav,.hdr-tools .icon{transition:transform .28s cubic-bezier(.2,.8,.2,1),background-color .22s ease,color .22s ease!important}
  header nav .nav:not(.active):hover,header nav .nav:not(.active):focus-visible,
  .hdr-tools .icon:hover,.hdr-tools .icon:focus-visible{transform:scale(1.07)!important}
}
/* ikona ustawień po lewej stronie paska wyszukiwania — panel otwiera się od lewej krawędzi */
/* panel ustawień rozwija się POD polami, na całą szerokość pigułki — pasek i panel tworzą jeden kształt (wspólne tło,
   zaokrąglenie i cień); wysokość animowana w fullmap.js */
body.map-first .map-search-pill{flex-wrap:wrap}
body.map-first .map-search-pill>#journeyForm{flex:1 0 100%}
body.map-first .map-search .ms-panel,body.map-first .map-search .ms-panel.up{position:relative;top:auto;bottom:auto;left:auto;right:auto;z-index:auto;flex:0 0 100%;width:100%;
  display:block;height:0;max-height:none;padding:0;margin:0;overflow:hidden;background:transparent;border:0;border-radius:0;box-shadow:none;animation:none;overscroll-behavior:contain}
body.map-first .map-search .ms-panel[hidden]{display:none}
body.map-first .map-search .ms-panel.is-open{overflow:hidden}
body.map-first .map-search .ms-inner{display:grid;gap:12px;padding:16px 4px 2px;will-change:transform,opacity}
/* cienka linia oddzielająca pola od ustawień */
body.map-first .map-search .ms-inner::before{content:"";display:block;height:1px;margin:-4px 0 2px;background:var(--line,#e6e6e6)}
body.map-first .map-search .ms-row{grid-template-columns:1fr 1fr}
/* ===== jedno menu wyboru: rodzaj transportu + miasto / kraj (transport-select.js) =====
   zamknięte: ikona, nazwa, strzałka (bez tła); otwarte: biały kształt wyrastający z przycisku,
   po lewej pionowy rząd ikon rodzajów transportu, po prawej lista dla wybranej ikony */
header .city{padding:0!important;gap:0;min-width:0!important}
.hp-wrap{position:relative;display:inline-flex;z-index:5;transition:filter .3s ease}
.hp-wrap.open,.hp-wrap.closing{z-index:1300;filter:drop-shadow(0 0 18px #00000047)}   /* ten sam cień co zamknięty przycisk: równo z każdej strony */
.hp-btn{position:relative;z-index:2;display:inline-flex;align-items:center;gap:6px;height:44px;margin:0;padding:0 8px 0 6px;border:0!important;border-radius:22px;background:transparent!important;box-shadow:none!important;
  color:var(--ink,#111);font:700 16px/1 Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer;transform:none!important;filter:none!important}
.hp-wrap.open .hp-btn,.hp-wrap.closing .hp-btn{color:#111}
.hp-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hp-btn-ico{display:grid;place-items:center;width:38px;height:38px;color:var(--accent,#f00)}
.hp-btn-ico svg{display:block;width:38px;height:38px}
.hp-label{padding:0 2px 0 4px}
.hp-glyph{display:block;width:24px;height:24px;flex:none;overflow:visible}
.hp-panel{position:absolute;left:0;top:0;z-index:1;box-sizing:border-box;width:max(calc(var(--hp-bw,0px) + 40px),236px);padding:calc(var(--hp-bh,44px) + 10px) 10px 18px;background:#fff;color:#111;visibility:hidden}
.hp-wrap.open .hp-panel,.hp-wrap.closing .hp-panel{visibility:visible}
.hp-body{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;opacity:0;transition:opacity .16s ease}
.hp-wrap.open .hp-body{opacity:1;transition:opacity .36s ease .12s}
.hp-kinds{display:flex;flex-direction:column;gap:4px;padding-right:8px;border-right:1px solid #ececec}
.hp-kind{display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:14px;background:transparent;color:#111;cursor:pointer;transition:background-color .18s ease,color .18s ease,transform .25s cubic-bezier(.2,.8,.2,1)}
.hp-kind svg{display:block;width:26px;height:26px}
.hp-kind:hover{background:#f3f3f3;transform:scale(1.06)}
.hp-kind.is-soon{color:#a0a0a0}
.hp-kind.is-current{color:var(--accent,#f00)}
.hp-kind.is-view{background:#f1f1f1}
.hp-kind:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.hp-pane{display:flex;flex-direction:column;gap:6px;min-width:0}
.hp-title{padding:4px 6px 2px;font:500 10px/1 'IBM Plex Mono',monospace;letter-spacing:1.4px;text-transform:uppercase;color:#8a8a8a}
.hp-search{box-sizing:border-box;width:100%;height:40px;margin:0 0 2px;padding:0 14px;border:0;border-radius:14px;outline:0;background:#f1f1f1;color:#111;font:600 15px Inter,system-ui,sans-serif;caret-color:var(--accent)}
.hp-search::placeholder{color:#8a8a8a;font-weight:500}
.hp-search:focus{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 30%,transparent)}
.hp-search[hidden]{display:none}
.hp-list{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}
.hp-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:14px;font:600 15px/1.2 Inter,system-ui,sans-serif;color:#111;cursor:pointer;outline:0;white-space:nowrap}
.hp-list li>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.hp-list li[aria-selected=true]{color:var(--accent,#f00);font-weight:700}
.hp-list li:not([aria-selected=true]):not(.is-soon):not(.hp-empty):hover,.hp-list li:focus-visible{background:#f1f1f1}
.hp-list li.is-soon{color:#9a9a9a;cursor:default}
.hp-list li em{font-style:normal;font-size:12px;font-weight:600;color:#9a9a9a}
.hp-list li.hp-empty{color:#9a9a9a;font-weight:500;cursor:default;white-space:normal}
.hp-pane.hp-anim li{animation:hpIn .36s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--hd,0s) + .12s)}
.hp-list li{position:relative}/* menu stoi na mapie w miejscu dawnego przycisku „Odśwież” (nagłówek: logo | zakładki | ikony) */
header .city{display:none!important}
.maptop #refresh{display:none!important}
.hp-onmap .hp-btn-ico,.hp-onmap .hp-btn-ico svg{width:32px;height:32px}
.hp-onmap .hp-btn{gap:8px;background:#fff!important;color:#111;padding:0 12px 0 12px;box-shadow:0 0 18px 1px #00000040!important}
.hp-onmap.open .hp-btn,.hp-onmap.closing .hp-btn{box-shadow:none!important}
.hp-right .hp-panel{left:auto;right:0}
/* ikony rodzajów: powiększanie po najechaniu bez rozmycia — rośnie sam wektor (szerokość/wysokość SVG),
   a nie warstwa skalowana transformem; sprężysta krzywa z delikatnym dociągnięciem, tło pojawia się miękko */
.hp-kind,.hp-kind:hover{transform:none!important}
.hp-kind{transition:background-color .22s ease,color .22s ease}
.hp-kind svg,.hp-kind:hover svg{width:33px!important;height:33px!important;transition:none}



/* podpowiedź przy ikonie: czarna pigułka z nazwą (i dopiskiem „wkrótce”), wysuwa się z boku ikony */
.hp-tip{position:fixed;z-index:3000;left:0;top:0;display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;background:#111;color:#fff;
  font:600 13px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;pointer-events:none;box-shadow:0 8px 20px #00000038;
  opacity:0;translate:-6px 0;transition:opacity .18s ease,translate .3s cubic-bezier(.16,1,.3,1),left .26s cubic-bezier(.16,1,.3,1),top .26s cubic-bezier(.16,1,.3,1)}
.hp-tip.to-left{translate:6px 0}
.hp-tip.in{opacity:1;translate:0 0}
.hp-tip.no-move{transition:opacity .18s ease,translate .3s cubic-bezier(.16,1,.3,1)}
.hp-tip[hidden]{display:none}
.hp-tip em{font-style:normal;font-size:11px;font-weight:700;padding:3px 7px;border-radius:999px;background:#ffffff26;color:#fff}
.hp-tip::before{content:"";position:absolute;left:-4px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:2px;background:#111;rotate:45deg}
.hp-tip.to-left::before{left:auto;right:-4px}
/* wyraźniejsza linia między ikonami a listą: zaokrąglona, 2 px, w szarości pól wyszukiwania, z miękko wygaszonymi końcami */
.hp-kinds{position:relative;border-right:0!important;padding-right:10px}
.hp-kinds::after{content:"";position:absolute;right:0;top:0;bottom:0;width:2px;border-radius:0;
  background:linear-gradient(to bottom,transparent,#bdbdbd 32%,#bdbdbd 68%,transparent)}
.hp-body{grid-template-columns:54px minmax(0,1fr)!important;gap:12px!important}
/* węższe menu: dopisek „wkrótce” pod nazwą */
.hp-list li.is-soon{flex-direction:column;align-items:flex-start;gap:2px;white-space:normal}
/* strzałka przy nazwie znika po otwarciu; X do zamykania stoi po prawej stronie menu */
.hp-glyph{transition:opacity .2s ease}
/* strzałka sama przechodzi w X i przesuwa się na miejsce przycisku zamykania (JS) — przycisk zamykania jest pod nią niewidoczny */
.hp-close{position:absolute;z-index:3;top:calc((var(--hp-bh,44px) - 32px) / 2);right:8px;display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#111;cursor:pointer;
  opacity:0;transition:opacity .16s ease,transform .3s cubic-bezier(.2,.8,.2,1)}
.hp-close svg{display:block;width:22px;height:22px}
.hp-wrap.open .hp-close{opacity:1;transition:opacity .3s ease .12s,transform .3s cubic-bezier(.2,.8,.2,1)}
.hp-close svg{visibility:hidden}
.hp-close:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
@keyframes hpIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion: reduce){.hp-body,.hp-wrap.open .hp-body{transition:none;top:0}.hp-pane.hp-anim li{animation:none}}
/* menu miast i transportu: bez szarej pigułki i białych przycisków w spoczynku; białe tło tylko gdy menu jest otwarte (to tło rozwijanej listy) */
header .city{background:transparent!important}
header .city .ts-wrap:not(.open):not(.closing) .ts-btn,
header .city .cs-wrap:not(.open):not(.closing) .cs-btn{background:transparent!important;box-shadow:none!important}
/* strzałka rozwijania tuż przy nazwie miasta */
header .city .cs-wrap:not(.open) .cs-btn .cs-label{flex:0 0 auto}
header .city .cs-wrap:not(.open) .cs-btn{gap:0}
header .city .cs-wrap:not(.open) .cs-go{margin-left:-3px}
/* większe pole miasta i transportu: ikona, strzałki, nazwa miasta */
@media (min-width: 901px) {
  header .city .ts-btn .ts-ico{width:38px!important;height:38px!important}
  header .city .ts-btn .ts-glyph,header .city .cs-go svg,header .city .cs-go:hover svg{width:24px!important;height:24px!important}
  header .city .cs-go,header .city .cs-wrap.open .cs-go{width:30px;height:30px}
  header .city .cs-btn .cs-label,header .city .cs-wrap.open .cs-input{font-size:16px}
}
/* bez szarych rynienek i białych pigułek wokół zakładek i ikon: same napisy/ikony, aktywna zakładka czerwona */
@media (min-width: 901px) {
  header nav,.hdr-tools{background:transparent!important;box-shadow:none!important;border:0!important}
  header nav .nav:not(.active),
  header nav .nav:not(.active):hover,
  header nav .nav:not(.active):focus-visible,
  .hdr-tools .icon,.hdr-tools .icon:hover,.hdr-tools .icon:focus-visible,.hdr-tools .icon[aria-expanded=true]{background:transparent!important;box-shadow:none!important;border:0!important;outline:0}
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  header nav .nav:not(.active):hover,.hdr-tools .icon:hover{transform:none!important}
}
/* ikona na przycisku stoi w jednej pionowej linii z ikonami w menu i ma ten sam rozmiar (28 px):
   środek ikon w menu = wcięcie panelu 10 px + połowa przycisku 44 px = 32 px od lewej krawędzi */
.hp-onmap .hp-btn{padding-left:18px!important}
.hp-onmap .hp-btn-ico,.hp-onmap .hp-btn-ico svg{width:28px!important;height:28px!important}
/* pole na mapie: zamknięte i otwarte menu to JEDEN biały kształt (panel przycięty w JS do pigułki przycisku),
   więc kształt zmienia się płynnie, a cień (filtr na całości) jest identyczny w obu stanach */
.hp-onmap,.hp-onmap.open,.hp-onmap.closing{filter:drop-shadow(0 0 18px #00000047)}
.hp-onmap .hp-btn,.hp-onmap.open .hp-btn,.hp-onmap.closing .hp-btn{background:transparent!important;box-shadow:none!important;transition:none}
.hp-onmap .hp-panel{visibility:visible}
.hp-panel[inert]{pointer-events:none}
/* pole wpisywania w kolorach pól wyszukiwania na środku strony (#e2e2e2, ciemny tekst, szary placeholder);
   tło najechania (opcje, ikony) i tło oglądanej ikony = tło pola wpisywania; aktywna ikona bez efektu najechania */
.hp-search{background:#e2e2e2!important;color:#111!important}
.hp-search::placeholder{color:#666!important}
.hp-list li:not([aria-selected=true]):not(.is-soon):not(.hp-empty):hover,.hp-list li:focus-visible{background:#e2e2e2!important}
.hp-kind:hover{background:#e2e2e2!important}
.hp-kind.is-view{background:#e2e2e2!important}
.hp-kind.is-current,.hp-kind.is-current:hover{background:transparent!important}   /* wybrana (czerwona) ikona zawsze bez tła */
.hp-kind.is-view{cursor:default}
/* rodzaje wkrotce: zablokowane - wyszarzone, bez tla po najechaniu, kursor niedozwolone */
.hp-kind.is-soon,.hp-kind.is-soon:hover{background:transparent!important;color:#b8b8b8!important;cursor:not-allowed}
/* naglowek listy (MIASTO / KOLEJ): czarny, Inter zamiast kroju maszynowego */
.hp-title{font:800 11.5px/1 Inter,system-ui,sans-serif!important;letter-spacing:.09em!important;color:#111!important;padding:5px 6px 3px!important}
.hp-list li.is-soon{cursor:not-allowed}
/* odstepy na przycisku ustawiane w JS (balance) wzgledem narysowanych ksztaltow - bez stalego gap */
.hp-onmap .hp-btn{gap:0!important}
/* duzy pasek wyszukiwania: styl pisania jak w polu menu transportu (Wpisz miasto / kraj) */
body.map-first .map-search .field-inner>input{font:600 15px/1.2 Inter,system-ui,sans-serif!important;color:#111!important;caret-color:var(--accent,#f00)}
body.map-first .map-search .field-inner>input::placeholder{font-weight:500!important;color:#666!important;opacity:1}
body.map-first .map-search .journey-fields .journey-field:focus-within{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 30%,transparent)!important}
/* kursor nieuciety: pole bez dziedziczonego zaokraglenia (polkole przy lewej krawedzi ucinalo kreske kursora w luk) */
body.map-first .map-search .field-inner>input{border-radius:0!important;box-shadow:none!important;padding-left:2px!important;margin-left:-2px}
/* obwodka pola przy pisaniu: pelna czerwien #ff0000, grubsza (3 px) - duzy pasek i pole w menu transportu */
body.map-first .map-search .journey-fields .journey-field:focus-within{box-shadow:inset 0 0 0 2.5px #ff0000!important}
.hp-search:focus{box-shadow:inset 0 0 0 2.5px #ff0000!important}
/* podpowiedz nie przesuwa sie miedzy ikonami (polozenie ustawiane od razu) - tylko pojawia sie i znika */
.hp-tip,.hp-tip.no-move{transition:opacity .18s ease,translate .3s cubic-bezier(.16,1,.3,1)!important}
/* ustawienia trasy: wszystkie rodzaje podrozy w jednej linii (Wszystkie domyslnie), ikony jak w menu transportu */
body.map-first .map-search .ms-panel .journey-scope{flex-wrap:nowrap!important}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn{flex:1 1 0;min-width:0;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;padding:10px 6px!important;font-size:12.5px!important;font-weight:650;white-space:nowrap}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn span{min-width:0;overflow:hidden;text-overflow:ellipsis}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn svg{display:block;flex:none;width:18px;height:18px}
body.map-first .map-search .ms-panel .journey-scope button.is-soon{color:#b0b0b0!important;cursor:not-allowed;background:transparent!important}
/* panel ustawien bez paska przewijania (takze w trakcie rozwijania) */
body.map-first .map-search .ms-panel{scrollbar-width:none}
body.map-first .map-search .ms-panel::-webkit-scrollbar{display:none}
/* male menu wyboru miasta / kraju pod paskiem Rodzaj podrozy - w stylu menu miast */
.sc-pop{position:fixed;z-index:2500;left:0;top:0;filter:drop-shadow(0 0 18px #00000047)}
.sc-pop[hidden]{display:none}
.sc-card{display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:22px;background:#fff;color:#111;
  clip-path:inset(0 0 100% 0 round 22px);transition:clip-path .24s cubic-bezier(.65,0,.35,1)}
.sc-pop.in .sc-card{clip-path:inset(0 0 0 0 round 22px);transition:clip-path .46s cubic-bezier(.16,1,.3,1)}
.sc-pop .hp-list li{opacity:0;transition:opacity .12s ease}
.sc-pop.in .hp-list li{opacity:1;transition:opacity .3s ease var(--hd,0s)}
@media (prefers-reduced-motion: reduce){.sc-card,.sc-pop.in .sc-card{transition:none}}
/* przyciski miasta i kolei w pasku: strzalka rozwijania; uklad jak w menu miast */
body.map-first .map-search .ms-panel .journey-scope button.sc-btn .sc-chev{display:block;flex:none;width:14px;height:14px;margin-left:-2px;transition:transform .3s cubic-bezier(.16,1,.3,1)}
body.map-first .map-search .ms-panel .journey-scope button.sc-open .sc-chev{transform:rotate(180deg)}
body.map-first .map-search .ms-panel .journey-scope{background:#f1f1f1!important;border:0!important;border-radius:16px!important;padding:4px!important;gap:4px!important}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn{border:0!important;border-radius:12px!important;font-family:Inter,system-ui,sans-serif!important;font-weight:650!important;color:#111!important;background:transparent!important;box-shadow:none!important;transition:background-color .18s ease}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn:not(.is-soon):not(.selected):hover,body.map-first .map-search .ms-panel .journey-scope button.sc-open:not(.selected){background:#e2e2e2!important}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn.selected{background:#fff!important;color:#ff0000!important}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn:not(.is-soon) svg.hp-ico{color:inherit}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn.is-soon,body.map-first .map-search .ms-panel .journey-scope button.sc-btn.is-soon:hover{color:#b0b0b0!important;background:transparent!important;cursor:not-allowed}
/* panel ustawien trasy: po lewej kopia menu transportu i miasta, po prawej ustawienia */
body.map-first .map-search .ms-inner{grid-template-columns:auto minmax(0,1fr);column-gap:18px;align-items:start}
body.map-first .map-search .ms-inner::before{grid-column:1/-1}
body.map-first .map-search .ms-main{display:grid;gap:12px;min-width:0;align-content:start}
.hp-embed{width:236px;box-sizing:border-box;padding:0 0 4px;border-right:0}
.hpe-top{display:flex;align-items:center;height:44px;padding-left:8px;gap:11px;color:#111;font:700 16px/1 Inter,system-ui,sans-serif;white-space:nowrap}
.hpe-top .hp-btn-ico,.hpe-top .hp-btn-ico svg{width:28px!important;height:28px!important;color:var(--accent,#f00)}
.hpe-label{overflow:hidden;text-overflow:ellipsis}
.hp-body.hpe-body{opacity:1!important;margin-top:10px}
/* w waskiej czesci ustawien: PKS / FlixBus / Lotnictwo jako same ikony (nazwa w podpowiedzi) */
body.map-first .map-search .ms-panel .journey-scope button.sc-btn.is-soon{flex:0 0 40px!important;padding:10px 0!important}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn.is-soon span{display:none}
body.map-first .map-search .ms-panel .journey-scope button.sc-btn{font-size:12.5px!important;gap:5px!important;padding:10px 4px!important}
/* ustawienia trasy: bez paska Rodzaj podrozy (wybor jest w menu po lewej) i bez X w naglowku */
body.map-first .map-search .ms-main>.ms-sec:has(.journey-scope){display:none!important}
body.map-first .map-search .ms-close{display:none!important}
/* przycisk ustawien: zebatka plynnie zamienia sie w X po otwarciu (obrot + przenikanie) */
body.map-first .map-search .ms-toggle .ms-gico{position:relative;display:block;width:32px;height:32px}
body.map-first .map-search .ms-toggle .ms-gico svg{position:absolute;left:0;top:0;width:32px;height:32px;transform-origin:50% 50%;
  transition:transform .5s cubic-bezier(.16,1,.3,1),opacity .28s ease}
body.map-first .map-search .ms-toggle .ms-gico .ms-x{stroke:#fff;opacity:0;transform:rotate(-90deg) scale(.5)}
body.map-first .map-search .ms-toggle[aria-expanded=true] .ms-gico svg:not(.ms-x){opacity:0;transform:rotate(90deg) scale(.5)!important}
body.map-first .map-search .ms-toggle[aria-expanded=true] .ms-gico .ms-x{opacity:1;transform:none}
body.map-first .map-search .ms-toggle[aria-expanded=true] .ms-dot{display:none!important}
@media (prefers-reduced-motion: reduce){body.map-first .map-search .ms-toggle .ms-gico svg{transition:none}}
/* podpowiedzi na calej stronie (tooltips.js): ten sam styl co przy ikonach w menu transportu */
.g-tip{position:fixed;z-index:3000;left:0;top:0;max-width:260px;padding:8px 12px;border-radius:12px;background:#111;color:#fff;
  font:600 13px/1.25 Inter,system-ui,sans-serif;white-space:nowrap;pointer-events:none;box-shadow:0 8px 20px #00000038;
  opacity:0;translate:0 -5px;transition:opacity .18s ease,translate .3s cubic-bezier(.16,1,.3,1)}
.g-tip.up{translate:0 5px}
.g-tip.in{opacity:1;translate:0 0}
.g-tip[hidden]{display:none}
.g-tip::before{content:"";position:absolute;left:var(--ax,50%);top:-4px;width:9px;height:9px;margin-left:-4.5px;border-radius:2px;background:#111;rotate:45deg}
.g-tip.up::before{top:auto;bottom:-4px}
@media (prefers-reduced-motion: reduce){.g-tip{transition:opacity .12s ease;translate:none}}
/* kopia menu w ustawieniach bez gornego wiersza (ikona + nazwa); bez opcji Zapamietuj czesto wybierany poczatek */
.hpe-top{display:none!important}
.hp-body.hpe-body{margin-top:0!important}
#rememberJourneyStartWrap{display:none!important}
/* zakladka Wszystko: informacja zamiast listy */
.hp-list li.hp-info{display:block;padding:8px 6px;white-space:normal;font:600 14.5px/1.4 Inter,system-ui,sans-serif;color:#111;cursor:default;background:transparent!important}
.hp-list li.hp-info:not([aria-selected=true]):not(.is-soon):not(.hp-empty):hover,.hp-list li.hp-info:hover{background:transparent!important}
/* bez czerwonej kropki na ikonie ustawien */
body.map-first .map-search .ms-dot,body.map-first .map-search .ms-toggle.is-custom .ms-dot{display:none!important}
/* ===== ustawienia trasy (settings-ui.js): kalendarz odjazdu, godziny, menu przesiadek - w stylu strony ===== */
body.map-first .map-search .ms-main.st-ready>.ms-row,body.map-first .map-search .ms-main.st-ready>#journeyTimeWrap{display:none!important}
.st-wrap{display:grid;gap:10px;min-width:0}
.st-head{display:flex;align-items:center;gap:10px}
.st-head .hp-title{padding:0 2px!important}
.st-summary{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 13px/1 Inter,system-ui,sans-serif;color:#666}
.st-now{flex:none;height:32px;padding:0 14px;border:0;border-radius:999px;background:#e2e2e2;color:#111;font:700 13px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:background-color .18s ease,color .18s ease}
.st-now:hover{background:#d6d6d6}
.st-now.is-on{background:#ff0000;color:#fff;cursor:default}
.st-time{display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:12px;align-items:stretch}
.st-cal{min-width:0}
.st-cal-head{display:flex;align-items:center;justify-content:space-between;height:34px;margin-bottom:4px}
.st-month{font:700 15px/1 Inter,system-ui,sans-serif;color:#111}
.st-nav{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#111;cursor:pointer;transition:background-color .18s ease}
.st-nav svg{display:block;width:20px;height:20px}
.st-nav:hover:not(:disabled){background:#e2e2e2}
.st-nav:disabled{color:#c8c8c8;cursor:default}
.st-week,.st-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.st-week span{text-align:center;font:800 10.5px/22px Inter,system-ui,sans-serif;letter-spacing:.06em;color:#8a8a8a;text-transform:uppercase}
.st-day{height:32px;padding:0;border:0;border-radius:12px;background:transparent;color:#111;font:600 13.5px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:background-color .16s ease,color .16s ease}
.st-day:hover:not(:disabled):not(.is-sel){background:#e2e2e2}
.st-day.is-out{color:#a8a8a8}
.st-day.is-today{box-shadow:inset 0 0 0 2px #e2e2e2}
.st-day.is-sel{background:#ff0000;color:#fff;box-shadow:none}
.st-day:disabled{color:#d0d0d0;cursor:default}
.st-times{display:flex;flex-direction:column;gap:2px;height:248px;overflow-y:auto;scrollbar-width:none;padding:2px 0}
.st-times::-webkit-scrollbar{display:none}
.st-t{flex:none;height:32px;padding:0;border:0;border-radius:12px;background:transparent;color:#111;font:600 13.5px/1 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;cursor:pointer;transition:background-color .16s ease}
.st-t:hover:not(:disabled):not(.is-sel){background:#e2e2e2}
.st-t.is-sel{background:#ff0000;color:#fff}
.st-t:disabled{color:#d0d0d0;cursor:default}
.st-title2{margin-top:4px}
.st-select{display:flex;align-items:center;justify-content:space-between;width:100%;height:42px;padding:0 12px 0 14px;border:0;border-radius:14px;background:#e2e2e2;color:#111;font:600 15px/1 Inter,system-ui,sans-serif;cursor:pointer;text-align:left}
.st-select .st-chev{width:18px;height:18px;flex:none;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.st-select.is-open .st-chev{transform:rotate(180deg)}
.st-select:focus-visible{outline:none;box-shadow:inset 0 0 0 2.5px #ff0000}
.st-pop .sc-card{padding:6px}
/* otwarte ustawienia, ktore nie mieszcza sie pod paskiem: pasek plynnie podjezdza do gory mapy */
/* ruch paska zsynchronizowany z rozwijaniem / zwijaniem panelu (czas i krzywa ustawiane w JS) */
body.map-first .map-search{transition:left .22s ease,top var(--ms-t,.5s) var(--ms-ease,cubic-bezier(.16,1,.3,1))!important}
body.map-first.ms-up .map-search{top:var(--bar-top-open,18px)!important}
.st-day,.st-t{height:30px}
.st-times{height:232px}
/* przesiadki: guziki zamiast menu wyboru */
.st-seg{display:flex;gap:6px}
.st-segb{flex:1 1 0;min-width:0;height:40px;padding:0 10px;border:0;border-radius:14px;background:#e2e2e2;color:#111;font:600 14px/1 Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:background-color .18s ease,color .18s ease}
.st-segb:hover:not(.is-on){background:#d6d6d6}
.st-segb.is-on{background:#ff0000;color:#fff;cursor:default}
.st-segb:focus-visible{outline:none;box-shadow:inset 0 0 0 2.5px #ff0000}
.st-segb.is-on:focus-visible{box-shadow:inset 0 0 0 2.5px #fff}
/* bez naglowka Ustawienia trasy w panelu */
body.map-first .map-search .ms-head{display:none!important}
/* ciemny motyw: panel ustawien trasy jest ciemny, wiec jego zawartosc dostaje jasne kolory */
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-title,html[data-theme=dark] body.map-first .map-search .ms-panel .hp-list li,html[data-theme=dark] body.map-first .map-search .ms-panel .hp-list li.hp-info,html[data-theme=dark] body.map-first .map-search .ms-panel .st-month,html[data-theme=dark] body.map-first .map-search .ms-panel .st-day,html[data-theme=dark] body.map-first .map-search .ms-panel .st-t,html[data-theme=dark] body.map-first .map-search .ms-panel .st-nav,html[data-theme=dark] body.map-first .map-search .ms-panel .hp-kind{color:#f1f1f1}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-list li[aria-selected=true]{color:#ff3b3b}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-kind.is-current{color:#ff3b3b!important}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-kind.is-soon,html[data-theme=dark] body.map-first .map-search .ms-panel .hp-kind.is-soon:hover{color:#5c5c5c!important}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-kind:hover,html[data-theme=dark] body.map-first .map-search .ms-panel .hp-kind.is-view{background:#2e2e2e!important}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-kind.is-current,html[data-theme=dark] body.map-first .map-search .ms-panel .hp-kind.is-current:hover{background:transparent!important}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-kinds::after{background:linear-gradient(to bottom,transparent,#4a4a4a 32%,#4a4a4a 68%,transparent)}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-search{background:#2e2e2e!important;color:#f1f1f1!important}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-search::placeholder{color:#9a9a9a!important}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-list li:not([aria-selected=true]):not(.is-soon):not(.hp-empty):not(.hp-info):hover{background:#2e2e2e!important}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-list li.is-soon,html[data-theme=dark] body.map-first .map-search .ms-panel .hp-list li.hp-empty{color:#6a6a6a}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-summary,html[data-theme=dark] body.map-first .map-search .ms-panel .st-week span{color:#9a9a9a}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-day.is-out{color:#6a6a6a}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-day:disabled,html[data-theme=dark] body.map-first .map-search .ms-panel .st-t:disabled,html[data-theme=dark] body.map-first .map-search .ms-panel .st-nav:disabled{color:#454545}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-day:hover:not(:disabled):not(.is-sel),html[data-theme=dark] body.map-first .map-search .ms-panel .st-t:hover:not(:disabled):not(.is-sel),html[data-theme=dark] body.map-first .map-search .ms-panel .st-nav:hover:not(:disabled){background:#2e2e2e}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-day.is-today{box-shadow:inset 0 0 0 2px #3a3a3a}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-day.is-sel,html[data-theme=dark] body.map-first .map-search .ms-panel .st-t.is-sel{background:#ff0000;color:#fff}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-now,html[data-theme=dark] body.map-first .map-search .ms-panel .st-segb{background:#2e2e2e;color:#f1f1f1}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-now:hover:not(.is-on),html[data-theme=dark] body.map-first .map-search .ms-panel .st-segb:hover:not(.is-on){background:#3a3a3a}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-now.is-on,html[data-theme=dark] body.map-first .map-search .ms-panel .st-segb.is-on{background:#ff0000;color:#fff}
html[data-theme=dark] body.map-first .map-search .ms-panel .hp-title{color:#f1f1f1!important}
/* kalendarz i godziny w zaokraglonym boksie */
.st-time{padding:10px 10px 10px 12px;border-radius:20px;background:#f1f1f1}
.st-day:hover:not(:disabled):not(.is-sel),.st-t:hover:not(:disabled):not(.is-sel),.st-nav:hover:not(:disabled){background:#e2e2e2}
.st-day.is-today{box-shadow:inset 0 0 0 2px #d2d2d2}
.st-times{height:auto;max-height:244px;align-self:stretch}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-time{background:#242424}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-day:hover:not(:disabled):not(.is-sel),html[data-theme=dark] body.map-first .map-search .ms-panel .st-t:hover:not(:disabled):not(.is-sel),html[data-theme=dark] body.map-first .map-search .ms-panel .st-nav:hover:not(:disabled){background:#333}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-day.is-today{box-shadow:inset 0 0 0 2px #444}
/* wybor czasu co do minuty: kolumny godzin i minut (przewijane, z przyciaganiem i wygaszonymi brzegami) */
.st-time{grid-template-columns:minmax(0,1fr) 118px!important}
.st-hm{display:grid;grid-template-columns:1fr 10px 1fr;align-items:start;min-width:0}
.st-hmcol{display:flex;flex-direction:column;min-width:0}
.st-hmhead{height:34px;margin-bottom:4px;display:flex;align-items:center;justify-content:center;font:800 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.06em;color:#8a8a8a;text-transform:uppercase}
.st-hmsep{padding-top:38px;height:212px;display:flex;align-items:center;justify-content:center;font:800 16px/1 Inter,system-ui,sans-serif;color:#111}
.st-hmlist{display:flex;flex-direction:column;gap:2px;height:212px;overflow-y:auto;scrollbar-width:none;scroll-snap-type:y proximity;padding:90px 0;
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 22%,#000 78%,transparent)}
.st-hmlist::-webkit-scrollbar{display:none}
.st-hmlist .st-t{scroll-snap-align:center;font-size:15px}
.st-times{display:none!important}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-hmsep{color:#f1f1f1}
/* data i godzina jako guziki; kalendarz i zegar w wysuwanym menu (wchodzi od srodka, tak samo znika) */
.st-head{justify-content:space-between}
.st-summary{display:none}
.st-picks{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.st-pick{display:flex;align-items:center;gap:10px;min-width:0;height:44px;padding:0 12px 0 14px;border:0;border-radius:14px;background:#e2e2e2;color:#111;font:600 14.5px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:background-color .18s ease}
.st-pick:hover,.st-pick.is-open{background:#d6d6d6}
.st-pick .st-ico{display:block;flex:none;width:20px;height:20px;color:#ff0000}
.st-pick span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.st-pick .st-chev{display:block;flex:none;width:18px;height:18px;transition:transform .35s cubic-bezier(.16,1,.3,1)}
.st-pick.is-open .st-chev{transform:rotate(180deg)}
.st-pick:focus-visible{outline:none;box-shadow:inset 0 0 0 2.5px #ff0000}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-pick{background:#2e2e2e;color:#f1f1f1}
html[data-theme=dark] body.map-first .map-search .ms-panel .st-pick:hover,html[data-theme=dark] body.map-first .map-search .ms-panel .st-pick.is-open{background:#3a3a3a}
.st-fly{position:fixed;z-index:2600;left:0;top:0;filter:drop-shadow(0 0 18px #00000047)}
.st-fly[hidden]{display:none}
.st-fly-card{box-sizing:border-box;padding:12px;border-radius:22px;background:#fff;color:#111;opacity:0;
  clip-path:inset(50% 50% 50% 50% round 22px);transition:clip-path .28s cubic-bezier(.65,0,.35,1),opacity .22s ease}
.st-fly.in .st-fly-card{opacity:1;clip-path:inset(0 0 0 0 round 22px);transition:clip-path .46s cubic-bezier(.16,1,.3,1),opacity .2s ease}
.st-fly-cal .st-fly-card{width:300px}
.st-fly-time .st-fly-card{width:150px}
.st-fly .st-hm{width:100%}
@media (prefers-reduced-motion: reduce){.st-fly-card,.st-fly.in .st-fly-card{transition:opacity .15s ease;clip-path:none}}
/* tryb podgladu (lightbox): kalendarz i zegar na srodku ekranu, tlo przyciemnione i rozmyte */
.st-backdrop{position:fixed;inset:0;z-index:2550;background:#0000004d;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .28s ease}
.st-backdrop.in{opacity:1;transition:opacity .36s ease}
.st-backdrop[hidden]{display:none}
.st-fly{z-index:2600;filter:drop-shadow(0 18px 40px #00000059)}
.st-fly-card{padding:16px 18px 18px}
.st-fly-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px}
.st-fly-title{font:800 12.5px/1 Inter,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#111}
.st-fly-x{display:grid;place-items:center;width:34px;height:34px;margin:-4px -6px -4px 0;padding:0;border:0;border-radius:50%;background:transparent;color:#111;cursor:pointer;transition:background-color .18s ease}
.st-fly-x:hover{background:#e2e2e2}
.st-fly-x svg{width:22px;height:22px}
.st-fly-cal .st-fly-card{width:min(400px,calc(100vw - 32px))}
.st-fly-cal .st-cal-head{height:40px}
.st-fly-cal .st-month{font-size:17px}
.st-fly-cal .st-day{height:42px;font-size:15.5px;border-radius:14px}
.st-fly-cal .st-week span{line-height:28px;font-size:11.5px}
.st-fly-time .st-fly-card{width:260px}
.st-fly-time .st-hmlist{height:300px;padding:130px 0}
.st-fly-time .st-hmsep{height:300px;font-size:20px}
.st-fly-time .st-hmlist .st-t{height:40px;font-size:18px;border-radius:14px}
/* kalendarz i zegar w kolorach strony: czerwony naglowek, czerwone akcenty */
.st-fly-card{padding:0!important;overflow:hidden}
.st-fly-head{margin:0!important;padding:16px 18px 10px;background:#ff0000;color:#fff}
.st-fly-title{color:#fff!important}
.st-fly-x,.st-fly-x:hover{background:transparent!important;color:#fff}
.st-fly-cal .st-cal{padding:0 18px 18px}
.st-fly-cal .st-cal-head{height:auto!important;margin:0 -18px 10px!important;padding:2px 12px 16px;background:#ff0000}
.st-fly-cal .st-month{color:#fff}
.st-fly-cal .st-nav{color:#fff}
.st-fly-cal .st-nav:hover:not(:disabled){background:#ffffff2e}
.st-fly-cal .st-nav:disabled{color:#ffffff73}
.st-fly .st-week span,.st-fly .st-hmhead{color:#ff0000}
.st-fly .st-day:hover:not(:disabled):not(.is-sel),.st-fly .st-t:hover:not(:disabled):not(.is-sel){background:#ffe3e3;color:#ff0000}
.st-fly .st-day.is-today{box-shadow:inset 0 0 0 2px #ff0000;color:#ff0000}
.st-fly .st-day.is-sel,.st-fly .st-t.is-sel{background:#ff0000;color:#fff;box-shadow:0 6px 14px #ff00004d}
.st-fly .st-day.is-out{color:#b5b5b5}
.st-fly .st-day:disabled,.st-fly .st-t:disabled{color:#d4d4d4}
.st-fly-time .st-hm{padding:8px 16px 16px;box-sizing:border-box}
.st-fly-time .st-hmsep{color:#ff0000}
.st-fly-cal .st-cal-head{margin-top:-1px!important;padding-top:3px}
.st-fly-head{position:relative;z-index:1}
/* miesiac na bialym tle (czerwony tylko pasek z tytulem) */
.st-fly-head{padding:16px 18px 14px!important}
.st-fly-cal .st-cal-head{background:transparent!important;margin:10px 0 6px!important;padding:0!important;height:40px!important}
.st-fly-cal .st-month{color:#111!important}
.st-fly-cal .st-nav{color:#111!important}
.st-fly-cal .st-nav:hover:not(:disabled){background:#ffe3e3!important;color:#ff0000!important}
.st-fly-cal .st-nav:disabled{color:#d4d4d4!important}
/* zegar jak koła wyboru na iOS: zapętlone walce, przyciąganie do środka, szary pasek zaznaczenia */
.st-fly-time .st-fly-card{width:250px}
.st-fly-time .st-hm{position:relative;padding:10px 18px 18px;grid-template-columns:1fr 14px 1fr}
.st-fly-time .st-hmcol{position:relative;z-index:1}
.st-fly-time .st-band{position:absolute;left:12px;right:12px;height:40px;border-radius:12px;background:#f1f1f1;z-index:0;pointer-events:none}
.st-fly-time .st-hmlist{position:relative;height:200px;padding:80px 0;gap:0;box-sizing:border-box;overflow-y:scroll;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;direction:ltr;cursor:grab;outline:none;-webkit-mask-image:linear-gradient(#0000,#000 28%,#000 72%,#0000);mask-image:linear-gradient(#0000,#000 28%,#000 72%,#0000)}
.st-fly-time .st-hmlist::-webkit-scrollbar{display:none}
.st-fly-time .st-hmlist.is-drag{cursor:grabbing}
.st-fly-time .st-hmlist .st-t{flex:none;height:40px;display:flex;align-items:center;justify-content:center;scroll-snap-align:center;font:600 20px/1 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#1a1a1a;background:none!important;box-shadow:none!important;border-radius:0;user-select:none;-webkit-user-select:none}
.st-fly-time .st-hmlist .st-t>span{display:block;backface-visibility:hidden;will-change:transform,opacity}
.st-fly-time .st-hmlist .st-t.is-mid{color:#ff0000;font-weight:800}
.st-fly-time .st-hmlist .st-t.is-past{color:#cfcfcf}
.st-fly-time .st-hmlist:focus-visible{box-shadow:inset 0 0 0 2px #ff000055;border-radius:12px}
.st-fly-time .st-hmsep{height:200px;padding-top:38px;position:relative;z-index:1;font:800 20px/1 Inter,system-ui,sans-serif;color:#ff0000;padding-bottom:2px}
/* zegar: pełne nazwy kolumn + własne paski z boków (godziny po lewej, minuty po prawej) */
.st-fly-time .st-hm{padding:10px 24px 18px}
.st-fly-time .st-band{left:20px;right:20px}
.st-fly-time .st-bar{position:absolute;top:38px;height:200px;width:5px;border-radius:999px;background:#f1f1f1;cursor:pointer;touch-action:none}
.st-fly-time .st-bar::before{content:"";position:absolute;inset:0 -6px}
.st-fly-time .st-hmcol:first-child .st-bar{left:-15px}
.st-fly-time .st-hmcol:last-child .st-bar{right:-15px}
.st-fly-time .st-bar i{position:absolute;left:0;top:0;width:100%;height:34px;border-radius:999px;background:#ff0000;transition:width .15s ease}
.st-fly-time .st-bar:hover i,.st-fly-time .st-bar.is-drag i{background:#e00000}
.st-fly-time .st-hmhead{letter-spacing:.08em}
/* symetria: paski po obu stronach w tej samej odległości od krawędzi (9 px), X w nagłówku tak daleko od prawej jak tytuł od lewej (18 px) */
.st-fly-time .st-hm>.st-hmcol:nth-child(2) .st-bar{left:-15px;right:auto}
.st-fly-time .st-hm>.st-hmcol:last-child .st-bar{right:-15px;left:auto}
.st-fly .st-fly-x{margin-right:-12px}
/* większe napisy w okienkach + większy, grubszy X bez żadnej zmiany wyglądu po kliknięciu */
.st-fly .st-fly-title{font-size:15px;letter-spacing:.08em}
.st-fly-time .st-hmhead{font-size:13px;letter-spacing:.07em}
.st-fly .st-fly-x{margin-right:-11px}
.st-fly .st-fly-x svg{width:26px;height:26px}
.st-fly .st-fly-x svg path{stroke-width:3.1px}
.st-fly .st-fly-x,.st-fly .st-fly-x:hover,.st-fly .st-fly-x:active,.st-fly .st-fly-x:focus,.st-fly .st-fly-x:focus-visible{outline:none!important;box-shadow:none!important;background:transparent!important;color:#fff!important;transform:none!important;filter:none!important;opacity:1!important;-webkit-tap-highlight-color:transparent}
/* wybrana data w kalendarzu bez cienia */
.st-fly .st-day.is-sel,.st-fly .st-day.is-sel:hover{box-shadow:none!important}

/* okienka (kalendarz, zegar): w stylu splasha — wyskakują ze środka ze sprężystym „odbiciem” (spłaszczenie/rozciągnięcie
   jak litery logo) i stają dokładnie w miejscu; przy zamknięciu lekko się nadymają i wpadają do środka */
.st-fly .st-fly-card{clip-path:none!important;transform-origin:50% 50%;transform:scale(.2);opacity:0;transition:none}
.st-fly.in .st-fly-card{transform:none;opacity:1;animation:stFlyIn .78s both}
@keyframes stFlyIn{
 0%{opacity:0;transform:scale(.2);animation-timing-function:cubic-bezier(.55,0,.85,.4)}
 12%{opacity:1}
 50%{opacity:1;transform:scale(1,.92);animation-timing-function:cubic-bezier(.2,.7,.35,1)}
 68%{transform:scale(.96,1);animation-timing-function:cubic-bezier(.55,0,.75,.4)}
 83%{transform:scale(1,.985);animation-timing-function:cubic-bezier(.2,.7,.35,1)}
 93%{transform:scale(.995,1)}
 100%{opacity:1;transform:none}}
.st-fly:not(.in) .st-fly-card{animation:stFlyOut .3s both}
@keyframes stFlyOut{
 0%{opacity:1;transform:none;animation-timing-function:cubic-bezier(.2,.7,.35,1)}
 30%{opacity:1;transform:scale(1,.95);animation-timing-function:cubic-bezier(.55,0,.85,.4)}
 85%{opacity:1}
 100%{opacity:0;transform:scale(.2)}}
.st-fly .st-fly-card>*{transition:opacity .12s ease}
.st-fly:not(.in) .st-fly-card>*{opacity:0;transition:opacity .1s ease .08s}
.st-backdrop{transition:opacity .25s ease .05s}
.st-backdrop.in{transition:opacity .3s ease}
@media (prefers-reduced-motion: reduce){.st-fly .st-fly-card,.st-fly.in .st-fly-card,.st-fly:not(.in) .st-fly-card{transform:none;animation:none;transition:opacity .15s ease}}
/* no white fringe on red header corners */
.st-fly .st-fly-card{background:linear-gradient(#ff0000 0 32px,#fff 32px);-webkit-background-clip:padding-box;background-clip:padding-box;border:0!important;box-shadow:none!important;outline:none!important}
.st-fly .st-fly-head{border-radius:22px 22px 0 0}
.st-fly,.st-fly.in,.st-fly:not(.in){filter:none!important}
/* single-layer header: red painted by the card itself, no child edge seams */
.st-fly .st-fly-card{background:linear-gradient(#ff0000 0 56px,#fff 56px)!important;overflow:clip}
.st-fly .st-fly-head{background:transparent!important;border-radius:0!important;box-sizing:border-box;height:56px}
.st-fly.in .st-fly-card{will-change:auto}
/* przesiadki: przełącznik */
.st-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:44px;padding:0 10px 0 14px;border:0;border-radius:14px;background:#e2e2e2;color:#111;font:600 14.5px/1 Inter,system-ui,sans-serif;cursor:pointer;text-align:left;-webkit-tap-highlight-color:transparent;transition:background-color .18s ease}
.st-switch:hover{background:#d6d6d6}
.st-switch:focus-visible{outline:none;box-shadow:inset 0 0 0 2.5px #ff0000}
.st-switch-t{position:relative;flex:none;width:44px;height:26px;border-radius:999px;background:#b9b9b9;transition:background-color .22s ease}
.st-switch-t i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;transition:transform .26s cubic-bezier(.3,1.4,.5,1)}
.st-switch.is-on .st-switch-t{background:#ff0000}
.st-switch.is-on .st-switch-t i{transform:translateX(18px)}
html[data-theme=dark] .st-switch{background:#2e2e2e;color:#f1f1f1}
html[data-theme=dark] .st-switch:hover{background:#3a3a3a}
html[data-theme=dark] .st-switch-t{background:#555}
html[data-theme=dark] .st-switch.is-on .st-switch-t{background:#ff0000}
@media (prefers-reduced-motion: reduce){.st-switch-t,.st-switch-t i{transition:none}}
/* środki transportu: przełączniki tak / nie w dwóch kolumnach */
.st-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.st-modes .st-switch{height:auto;min-height:44px;padding:6px 8px 6px 12px;gap:8px;font-size:13.5px;line-height:1.2}
.st-modes .st-switch-l{min-width:0}
.st-switch.is-deny{animation:stDeny .32s ease}
@keyframes stDeny{20%{transform:translateX(-4px)}45%{transform:translateX(4px)}70%{transform:translateX(-2px)}100%{transform:none}}
/* przyciski nie podskakują po kliknięciu */
button:not(:disabled):active{transform:none}
.hp-wrap.hp-instant,.hp-wrap.hp-instant *{transition:none!important;animation:none!important}
body.ms-instant .map-search,body.ms-instant .map-search *,body.ms-instant .mapwrap .maptop{transition:none!important;animation:none!important}
.st-modes{position:relative}
.st-modes .st-switch[hidden]{display:none!important}
.st-modes .st-switch{transform-origin:50% 50%}
/* nawigacja w nagłówku (komputer): biała pigułka po najechaniu płynnie rośnie od środka (tekst bez skalowania — zawsze ostry) */
@media (min-width:901px){
header nav .nav{position:relative;isolation:isolate}
header nav .nav::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:#fff;opacity:0;transform:scale(.6);transition:transform .38s cubic-bezier(.2,.9,.25,1.12),opacity .22s ease;pointer-events:none}
header nav .nav:hover:not(.active),header nav .nav:focus-visible:not(.active){background:transparent!important}
header nav .nav:hover:not(.active)::before,header nav .nav:focus-visible:not(.active)::before{opacity:1;transform:none}
header nav .nav.active::before{opacity:0;transform:scale(.6)}
html[data-theme=dark] header nav .nav::before{background:#3a3a3a}
header nav .nav .nav-label-desktop{white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){header nav .nav::before{transition:opacity .15s ease}}
@media (min-width:901px){header nav .nav::before{background:#efefef}html[data-theme=dark] header nav .nav::before{background:#2e2e2e}}
.st-switch.is-soon{cursor:default;color:#8a8a8a}
.st-switch.is-soon:hover{background:#e2e2e2}
.st-switch.is-soon .st-switch-t{background:#cfcfcf}
.st-soon{display:inline-block;margin-left:4px;padding:2px 6px;border-radius:999px;background:#d2d2d2;color:#555;font:700 10px/1.2 Inter,system-ui,sans-serif;letter-spacing:.02em;vertical-align:1px}
html[data-theme=dark] .st-switch.is-soon{color:#8a8a8a}html[data-theme=dark] .st-switch.is-soon:hover{background:#2e2e2e}html[data-theme=dark] .st-switch.is-soon .st-switch-t{background:#444}html[data-theme=dark] .st-soon{background:#444;color:#bbb}
.st-hmpick{grid-column:1/-1;position:relative;z-index:1;height:44px;margin-top:14px;border:0;border-radius:12px;background:#ff0000;color:#fff;font:750 15px/1 Inter,system-ui,sans-serif;letter-spacing:.01em;cursor:pointer;transition:background-color .15s ease}
.st-hmpick:hover{background:#e00000}.st-hmpick:active{transform:none}.st-hmpick:focus-visible{outline:2px solid #ff000066;outline-offset:2px}
/* guzik Zapisz jest ostatnim dzieckiem — pasek minut wskazany wprost (kolumna minut to 4. element: pasek, godziny, dwukropek, minuty) */
.st-hm>.st-hmcol:nth-child(4) .st-bar{right:-15px;left:auto}
/* X czyszczący pole zamiast przycisku lokalizacji, gdy wpisano tekst */
.jf-clear{display:none;flex:none;width:40px;height:40px;place-items:center;padding:0;margin:0;border:0;background:transparent;color:#222;cursor:pointer;transition:color .2s}
.jf-clear svg{width:24px;height:24px}.jf-clear:hover{color:#ff0000}.jf-clear:active{transform:none}
.journey-field.has-text .jf-clear{display:grid}
.journey-field.has-text #journeyLocate,.journey-field.has-text #journeyLocateTo{display:none!important}
html[data-theme=dark] .jf-clear{color:#eee}html[data-theme=dark] .jf-clear:hover{color:#ff3b3b}
.journey-field:not(.has-text) .jf-clear{display:none!important}
.journey-field .jf-clear svg{width:24px!important;height:24px!important}
/* narzędzia w nagłówku (język, info, motyw): odrobinę większe, równe odstępy, płynne powiększanie po najechaniu */
@media (min-width:901px){
  .hdr-tools{gap:10px}
  .hdr-tools .icon{width:46px;height:46px}
  .hdr-tools #info svg,.hdr-tools #theme svg{width:27px!important;height:27px!important}
  .hdr-tools .icon.lang{width:auto;padding:0 9.5px;gap:7px;font-size:14px!important}
  .hdr-tools .icon.lang svg{width:24px!important;height:24px!important}
  .hdr-tools .icon svg,.hdr-tools .icon.lang>span{transition:transform .32s cubic-bezier(.2,.8,.2,1);transform-origin:center;will-change:transform}
}
@media (min-width:901px) and (hover:hover){
  .hdr-tools .icon:hover svg,.hdr-tools .icon.lang:hover>span{transform:scale(1.14)}
}