/* «Билеты в Когалым»: сцена с транспортом, форма поиска (/roadtrip/#tickets) и табло на главной */
.tk-sec,.tb-sec{--tk-card:#fff;--tk-line:#E7E2D9;--tk-tx:#16313A;--tk-mut:#6A7A80;--tk-soft:#F6F2EB;--tk-chip:#F2ECE3}
html[data-sky="night"] .tk-sec,html[data-sky="night"] .tb-sec{--tk-card:#0F1C21;--tk-line:#253A41;--tk-tx:#E7ECEE;--tk-mut:#9DB1B7;--tk-soft:#0C171B;--tk-chip:#14252B}
html[data-sky="dusk"] .tk-sec,html[data-sky="dusk"] .tb-sec{--tk-card:#1C1E38;--tk-line:#363858;--tk-tx:#EDEDF2;--tk-mut:#A9AACB;--tk-soft:#181A33;--tk-chip:#25274A}

.tk-sec{padding-top:40px}
.tk-box{position:relative;border-radius:26px;overflow:hidden;background:#F4F8F9;isolation:isolate}
html[data-sky="dusk"] .tk-box{background:#C9C3DE}html[data-sky="night"] .tk-box{background:#C9D6DB}
.tk-scene{position:relative;height:380px}
.tk-scene svg{position:absolute;inset:0;width:100%;height:100%;display:block}

/* небо: день по умолчанию, сумерки и ночь — по оформлению «по солнцу» */
.tk-scene .s1{stop-color:#7EC3DD}.tk-scene .s2{stop-color:#E4F3F6}
html[data-sky="dusk"] .tk-scene .s1{stop-color:#2D2B57}html[data-sky="dusk"] .tk-scene .s2{stop-color:#D9866A}
html[data-sky="night"] .tk-scene .s1{stop-color:#040E15}html[data-sky="night"] .tk-scene .s2{stop-color:#123545}
.tk-stars{fill:#fff;opacity:0;transition:opacity .8s}
html[data-sky="dusk"] .tk-stars{opacity:.45}html[data-sky="night"] .tk-stars{opacity:.95}
.tk-stars .tw{animation:tkTw 3s ease-in-out infinite alternate}
.tk-aur{opacity:0;fill:none;stroke-linecap:round;mix-blend-mode:screen}
html[data-sky="night"] .tk-aur{opacity:.9}html[data-sky="dusk"] .tk-aur{opacity:.25}
.tk-aur path{stroke-width:34;animation:tkAur 9s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}
.tk-aur .a1{stroke:#3DE0A4}.tk-aur .a2{stroke:#2BB6C9;stroke-width:22;animation-duration:12s;animation-delay:-3s}.tk-aur .a3{stroke:#9B7BFF;stroke-width:18;animation-duration:14s;animation-delay:-6s;opacity:.7}
.tk-sun{fill:#FFF3C9}
html[data-sky="dusk"] .tk-sun{fill:#FFB27A;transform:translateY(118px)}
html[data-sky="night"] .tk-sun{fill:#E9EEF0;r:18px}
.tk-far{fill:#9DBFC8}html[data-sky="dusk"] .tk-far{fill:#4B4570}html[data-sky="night"] .tk-far{fill:#16323D}
.tk-trees2{fill:#5E8C88}html[data-sky="dusk"] .tk-trees2{fill:#33305A}html[data-sky="night"] .tk-trees2{fill:#0E2730}
.tk-trees{fill:#2E5A55}html[data-sky="dusk"] .tk-trees{fill:#211F3D}html[data-sky="night"] .tk-trees{fill:#081A21}
.tk-gnd{fill:#F4F8F9}html[data-sky="dusk"] .tk-gnd{fill:#C9C3DE}html[data-sky="night"] .tk-gnd{fill:#C9D6DB}
.tk-city rect,.tk-port rect,.tk-port path{fill:#3E6670}
html[data-sky="dusk"] .tk-city rect,html[data-sky="dusk"] .tk-port rect,html[data-sky="dusk"] .tk-port path{fill:#2A2850}
html[data-sky="night"] .tk-city rect,html[data-sky="night"] .tk-port rect,html[data-sky="night"] .tk-port path{fill:#0D2530}
.tk-city path{stroke:#3E6670;stroke-width:2;fill:none}
.tk-city .tk-win rect{fill:#CFE6EC;opacity:.55}
html[data-sky] .tk-city .tk-win rect{fill:#FFD27A;opacity:.9}
.tk-city .tk-win .bl,.tk-port .bl{animation:tkBlink 2.4s steps(2) infinite}
.tk-port .bl{fill:#E8622C}
.tk-sign{font:800 13px/1 "Circe",Montserrat,sans-serif;letter-spacing:.18em;fill:#E8622C;text-anchor:middle}
html[data-sky] .tk-sign{filter:drop-shadow(0 0 6px rgba(232,98,44,.8))}

.tk-v{display:none}
.tk-m-plane .tk-v-plane,.tk-m-train .tk-v-train,.tk-m-bus .tk-v-bus{display:inline}
.tk-runway{fill:#56707A}
.tk-rl circle{fill:#FFD27A;animation:tkRun 1.6s linear infinite}
.tk-rl circle:nth-child(3n+1){animation-delay:-.5s}.tk-rl circle:nth-child(3n+2){animation-delay:-1s}
.tk-sleep rect{fill:#7A6A5A}.tk-rail{fill:#4C5E63}
.tk-road{fill:#4C5E63}.tk-dash{stroke:#F4F8F9;stroke-width:2;stroke-dasharray:18 16;animation:tkDash 1s linear infinite}
html[data-sky="night"] .tk-road{fill:#22343A}

.tkt-pbody{fill:#fff}.tk-wing{fill:#DCE6E9}.tk-wing2{fill:#C3D2D6}
.tk-portholes rect{fill:#5B7B84}
.tk-trail{stroke:#fff;stroke-width:2;opacity:.45;stroke-dasharray:4 6}
html[data-sky="night"] .tk-trail{opacity:.25}
.tk-nav{animation:tkBlink 1.2s steps(2) infinite}.tk-nav.r{fill:#FF4D4D}.tk-nav.g{fill:#4DFF8A;animation-delay:-.6s}
.tk-loco{fill:#E8622C}.tk-car{fill:#E9EEF0}
html[data-sky="night"] .tk-car{fill:#B9C7CC}
.tk-stripe{fill:#C0392B}
.tk-tw{fill:#2E5561}
html[data-sky] .tk-tw{fill:#FFD27A}
.tk-head{fill:#FFF1B8}
.tk-hbeam{opacity:0}
html[data-sky] .tk-hbeam{opacity:1}
.tk-bbody{fill:#2BA58C}
.tk-wheel circle{fill:#1F2A2E;stroke:#90A4AA;stroke-width:2;stroke-dasharray:4 3;animation:tkSpin .5s linear infinite;transform-box:fill-box;transform-origin:center}
.tk-snow circle{fill:#fff;opacity:.85;animation:tkSnow 10s linear infinite}
html:not([data-sky]) .tk-snow circle{fill:#fff;opacity:.9;stroke:#B5D4DD;stroke-width:.5}

@keyframes tkTw{to{opacity:.2}}
@keyframes tkAur{0%{transform:translateX(-30px) scaleY(.8);opacity:.6}100%{transform:translateX(40px) scaleY(1.25);opacity:1}}
@keyframes tkBlink{50%{opacity:.15}}
@keyframes tkRun{0%,70%{opacity:.25}80%{opacity:1}100%{opacity:.25}}
@keyframes tkDash{to{stroke-dashoffset:-34}}
@keyframes tkSpin{to{transform:rotate(360deg)}}
@keyframes tkSnow{to{transform:translate(-60px,700px)}}

/* панель поиска поверх сцены */
.tk-panel{position:relative;z-index:2;margin:-74px 22px 22px;padding:16px 20px 18px;border-radius:20px;background:var(--tk-card);color:var(--tk-tx);box-shadow:0 18px 40px -20px rgba(0,0,0,.55)}
.tk-tabs{display:inline-flex;gap:4px;padding:5px;border-radius:999px;background:var(--tk-chip);margin-bottom:14px}
.tk-tabs button{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 20px;border-radius:999px;font-weight:600;font-size:15px;color:var(--tk-mut);transition:.25s}
.tk-tabs button:hover{color:var(--tk-tx)}
.tk-tabs button:focus{outline:none}
.tk-tabs button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.tk-tabs button.on{background:var(--tk-card);color:var(--tk-tx);box-shadow:0 4px 14px -6px rgba(22,49,58,.35)}
.tk-tabs button.on svg.i{color:var(--orange)}
.tk-fields{display:grid;grid-template-columns:minmax(0,1.4fr) auto minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) max-content;gap:10px;align-items:end}
.tk-m-train .tk-fields,.tk-m-bus .tk-fields{grid-template-columns:minmax(0,1.4fr) auto minmax(0,1fr) minmax(0,1fr) max-content}
.tk-m-train .tk-f-pax,.tk-m-bus .tk-f-pax,.tk-m-train .tk-svc,.tk-m-bus .tk-svc{display:none}
.tk-f{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0}
.tk-f>span{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--tk-mut)}
.tk-f input,.tk-f select{height:50px;width:100%;padding:0 16px;border:1.5px solid var(--tk-line);border-radius:14px;background:var(--tk-card);color:var(--tk-tx);font:inherit;font-weight:600;font-size:16px;outline:0;transition:border-color .2s}
.tk-f input:focus,.tk-f select:focus{border-color:var(--orange)}
.tk-f-to input{background:var(--tk-soft);color:var(--tk-mut);cursor:default}
.tk-f.bad input{border-color:#D64545}
.tk-err{position:absolute;left:4px;top:100%;margin-top:4px;font-size:12px;color:#D64545;font-weight:600;white-space:nowrap}
.tk-to{height:50px;display:flex;align-items:center;color:var(--orange)}
.tk-panel .tkt-go{display:inline-flex;height:50px;white-space:nowrap;min-width:max-content;justify-content:center}
.tk-svc{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px;font-size:13px;color:var(--tk-mut)}
.tk-svc label{cursor:pointer}
.tk-svc input{position:absolute;opacity:0;pointer-events:none}
.tk-svc i{display:inline-block;font-style:normal;font-weight:600;padding:5px 12px;border-radius:999px;border:1.5px solid var(--tk-line);color:var(--tk-tx);transition:.2s}
.tk-svc input:checked+i{border-color:var(--orange);color:var(--orange);background:rgba(232,98,44,.08)}
.tk-svc input:focus-visible+i{outline:2px solid var(--orange);outline-offset:2px}

/* популярные направления */
.tk-pop{margin-top:34px}
.tk-pop h3{font-size:20px;font-weight:700;margin-bottom:14px;color:var(--tk-tx)}
.tk-routes{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px}
.tk-rt{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:18px;border:1.5px solid var(--tk-line);background:var(--tk-card);color:var(--tk-tx);transition:.25s}
.tk-rt[hidden]{display:none}
.tk-rt:hover{border-color:var(--orange);transform:translateY(-2px);box-shadow:0 12px 26px -18px rgba(22,49,58,.5)}
.tk-rt-ic{width:44px;height:44px;flex:none;border-radius:14px;display:grid;place-items:center;background:rgba(232,98,44,.1);color:var(--orange)}
.tk-rt-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tk-rt-tx b{font-size:16px;line-height:1.25}
.tk-rt-tx b span{color:var(--orange)}
.tk-rt-tx small{font-size:13px;color:var(--tk-mut)}
.tk-rt-pr{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-weight:700;white-space:nowrap}
.tk-rt-pr em{font-style:normal;font-weight:500;font-size:13px;color:var(--tk-mut)}
.tk-rt-pr i{display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:13px;color:var(--orange)}
.tk-rt-pr i svg.i{width:15px;height:15px;transition:transform .2s}
.tk-rt:hover .tk-rt-pr i svg.i{transform:translateX(3px)}
.tk-empty{color:var(--tk-mut);font-size:15px}
.tk-note{margin-top:16px;font-size:13px;color:var(--tk-mut)}

/* ---------- табло на главной ---------- */
.tb-sec{padding:20px 0 90px}
.tb-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:center}
.tb-eye{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--orange);margin-bottom:14px}
.tb-tx h2{margin-bottom:16px;color:var(--tk-tx)}
.tb-tx p{color:var(--tk-mut);font-size:16px;margin-bottom:26px;max-width:460px}
.tb-board{background:#0E1417;border-radius:22px;padding:18px 18px 14px;color:#F3E2B0;box-shadow:0 24px 50px -28px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.06)}
.tb-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 6px 14px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:8px}
.tb-ttl{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:15px;letter-spacing:.08em;text-transform:uppercase;color:#fff}
.tb-ttl svg.i{color:var(--orange)}
.tb-ttl em{font-style:normal;color:#FFC94D;margin-left:4px}
.tb-clock{font:700 22px/1 ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;color:#FFC94D;letter-spacing:.08em}
.tb-cols,.tb-row{display:grid;grid-template-columns:36px minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) 28px;gap:10px;align-items:center}
.tb-cols{padding:4px 8px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7D8C90}
.tb-row{padding:9px 8px;border-radius:12px;transition:background .2s}
.tb-row+.tb-row{border-top:1px solid rgba(255,255,255,.05)}
.tb-row:hover{background:rgba(255,255,255,.05)}
.tb-ic{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:rgba(232,98,44,.16);color:#FF8A57}
.tb-ic svg.i{width:18px;height:18px}
.tb-fl{display:flex;flex-wrap:nowrap;gap:2px;overflow:hidden;min-width:0}
.tb-fl i{position:relative;display:inline-grid;place-items:center;min-width:.95em;height:1.6em;padding:0 1px;border-radius:3px;background:#1B2428;font:700 15px/1 ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;font-style:normal;color:#F3E2B0;flex:none}
.tb-fl i::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(0,0,0,.6)}
.tb-fl i.f{animation:tbFlip .07s linear}
.tb-price i{color:#FFC94D}
.tb-go{color:#7D8C90;display:grid;place-items:center;transition:.2s}
.tb-row:hover .tb-go{color:var(--orange);transform:translateX(3px)}
.tb-foot{padding:10px 8px 2px;font-size:12px;color:#7D8C90}
@keyframes tbFlip{0%{transform:scaleY(1)}50%{transform:scaleY(.1)}100%{transform:scaleY(1)}}

@media (max-width:1100px){
 .tk-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .tk-to{display:none}
 .tkt-go{grid-column:1/-1;justify-content:center}
 .tk-m-train .tk-f-pax,.tk-m-bus .tk-f-pax{display:none}
}
@media (max-width:900px){.tb-grid{grid-template-columns:1fr;gap:28px}}
@media (max-width:600px){
 .tk-sec{padding-top:10px}
 .tk-box{border-radius:20px;margin:0 -8px}
 .tk-scene{height:230px}
 .tk-panel{margin:-34px 10px 10px;padding:12px 12px 14px;border-radius:16px}
 .tk-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;border-radius:16px}
 .tk-tabs button{justify-content:center;padding:0 6px;font-size:13.5px;gap:6px;border-radius:12px}
 .tk-fields{grid-template-columns:1fr!important;gap:12px}
 .tk-f-to{display:none}
 .tk-f input,.tk-f select{height:48px}
 .tk-err{position:static;margin-top:2px}
 .tk-routes{grid-template-columns:1fr}
 .tk-rt{padding:12px}
 .tk-rt-to{display:none}
 .tkt-go{width:100%;display:flex!important;flex-direction:row!important;height:50px!important;border-radius:999px;padding:0 20px}
 .tk-rt-ic{width:38px;height:38px;border-radius:12px}
 .tb-sec{padding:0 0 60px}
 .tb-board{margin:0 -8px;padding:14px 10px 10px;border-radius:18px}
 .tb-ttl{font-size:12.5px;letter-spacing:.05em;gap:8px}
 .tb-clock{font-size:18px}
 .tb-cols,.tb-row{grid-template-columns:30px minmax(0,1fr) auto 18px;gap:8px}
 .tb-cols span:nth-child(3),.tb-time{display:none}
 .tb-ic{width:28px;height:28px}
 .tb-fl i{font-size:12px;min-width:.85em;height:1.7em}
 .tb-fl{gap:1px}
 .tb-cols,.tb-row{grid-template-columns:28px minmax(0,1fr) auto 14px}
}
@media (prefers-reduced-motion:reduce){
 .tk-scene *{animation:none!important}
 .tb-fl i.f{animation:none}
}
html.a11y .tk-scene{display:none}
html.a11y .tk-panel{margin:0}
