/* Сцената „Как да стигнете“ — по „Пътят до Двореца“ (Cowork, v1.3.1), отворена към всяка зала (K14, 07.10.2026).
   Стиловете са затворени в .scene; променливите са --s-*, за да не се смесват с тези на платформата. */
.scene{--s-navy:#0b1630; --s-head:#092c53; --s-blue:#1863dc; --s-blue-d:#0056a7; --s-orange:#e8821e;
  --s-bg:#ffffff; --s-bg-alt:#f4f6f9; --s-card:#ffffff; --s-text:#1f2733; --s-muted:#56657a; --s-line:#e2e7ee;
  --s-shadow:0 4px 18px rgba(11,22,48,.08);
  --s-land:#edf0f4; --s-land-hi:#ffffff; --s-sea:#d7e6f4; --s-border:#b9c3d0; --s-road:#c3ccd8; --s-road2:#d9dfe7; --s-park:#d8ead0; --s-rail:#5f6d80;
  --s-m-air:#e8821e; --s-m-bus:#1863dc; --s-m-rail:#0d8a7c; --s-m-car:#44536a; --s-m-walk:#2f8f4e; --s-m-new:#c2410c; --s-m-fut:#9aa6b6;
  --s-orange-t:#b45309; --s-ok-t:#0b766a;
  --s-b-air:#b45309; --s-b-bus:#1863dc; --s-b-rail:#0b766a; --s-b-car:#44536a; --s-b-walk:#25753f; --s-b-new:#c2410c; --s-b-fut:#5a6a80;
  --s-chip:#eef3fb; --s-chip-on:#0b1630; --s-chip-on-t:#ffffff;
  --s-font:"Open Sans","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  color-scheme:light;}
/* K17: follows the site's theme switch, not only the system (07.10.2026) */:root:not([data-theme="light"]) .scene{--s-navy:#070d1d; --s-head:#cfe0ff; --s-blue:#5b9cf2; --s-blue-d:#8dbaf7; --s-orange:#f0a24a;
    --s-bg:#0e1422; --s-bg-alt:#121a2c; --s-card:#162133; --s-text:#e7ecf4; --s-muted:#a3b3c7; --s-line:#26324b;
    --s-shadow:0 8px 28px rgba(0,0,0,.45);
    --s-land:#1b2539; --s-land-hi:#243150; --s-sea:#0b1628; --s-border:#3a4a66; --s-road:#34425c; --s-road2:#28344b; --s-park:#1c3327; --s-rail:#8a97aa;
    --s-m-air:#f0a24a; --s-m-bus:#5b9cf2; --s-m-rail:#34c3b1; --s-m-car:#b8c4d4; --s-m-walk:#5cc27f; --s-m-new:#ff8a4c; --s-m-fut:#6b7a90;
    --s-orange-t:#f0a24a; --s-ok-t:#34c3b1;
    --s-chip:#1b2740; --s-chip-on:#e7ecf4; --s-chip-on-t:#0e1422;
    color-scheme:dark;}

/* the scene has Bulgarian and English texts: Bulgarian only on bg pages, English on every other language (K15a) */
html[lang="bg"] .scene .en{display:none!important}
html:not([lang="bg"]) .scene .bg{display:none!important}
.scene, .scene *{box-sizing:border-box}
.scene{font-size:17px}
.scene{margin:0;background:var(--s-bg);color:var(--s-text);font-family:var(--s-font);line-height:1.6;-webkit-font-smoothing:antialiased}
.scene a{color:var(--s-blue)}
.scene a:hover{text-decoration-thickness:2px}
.scene button{font:inherit}
.scene :focus-visible{outline:3px solid var(--s-orange);outline-offset:2px}
.scene .wrap{max-width:1240px;margin:0 auto;padding-inline:20px}
.scene h1,.scene h2,.scene h3{color:var(--s-head);font-weight:800;letter-spacing:.2px;text-wrap:balance;margin:0}
.scene .num{font-variant-numeric:tabular-nums}
.scene .hero{background:var(--s-navy);color:#fff;padding-block:10px 30px;border-top:1px solid rgba(255,255,255,.08)}
.scene .hero .eyebrow{color:#8fb6f5;font-weight:700;text-transform:uppercase;letter-spacing:1.4px;font-size:15px;margin:14px 0 6px}
.scene .hero h1{color:#fff;font-size:clamp(2rem,4.2vw,3rem);line-height:1.1}
.scene .hero p.intro{color:#cdd6e6;max-width:68ch;margin:12px 0 0;font-size:1.06rem}
.scene .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:22px}
.scene .stat{border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:12px 14px;background:rgba(255,255,255,.04)}
.scene .stat b{display:block;font-size:1.7rem;color:#fff;line-height:1.1;font-variant-numeric:tabular-nums}
.scene .stat b small{font-size:1rem;color:#8fb6f5;font-weight:700;margin-left:3px}
.scene .stat span{color:#b8c5d9;font-size:15px}
.scene .layers{position:sticky;top:0;z-index:20;background:var(--s-card);border-bottom:1px solid var(--s-line);box-shadow:var(--s-shadow)}
.scene .layers .wrap{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin}
.scene .tab{flex:1 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:0;background:none;border:0;border-bottom:4px solid transparent;padding:10px 16px 8px;cursor:pointer;color:var(--s-muted);text-align:left}
.scene .tab .k{font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:1px}
.scene .tab .n{font-size:1.1rem;font-weight:800;color:var(--s-text)}
.scene .tab[aria-selected="true"]{border-bottom-color:var(--s-orange)}
.scene .tab[aria-selected="true"] .k{color:var(--s-orange-t)}
.scene .tab:hover .n{color:var(--s-blue)}
.scene section.layer{padding-block:28px 40px}
.scene .lhead{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 24px;margin-bottom:16px}
.scene .lhead h2{font-size:clamp(1.5rem,2.6vw,2rem)}
.scene .lhead p{margin:4px 0 0;color:var(--s-muted);max-width:70ch}
.scene .scale{margin-left:auto;font-size:15px;color:var(--s-muted);border:1px solid var(--s-line);border-radius:999px;padding:4px 12px;white-space:nowrap}
.scene .split{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:20px;align-items:start}
.scene .mapcard{background:var(--s-card);border:1px solid var(--s-line);border-radius:12px;overflow:hidden;box-shadow:var(--s-shadow)}
.scene .mapbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--s-line);background:var(--s-bg-alt)}
.scene .mapbar .lbl{font-size:15px;color:var(--s-muted);font-weight:600;margin-right:4px}
.scene .chip{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--s-line);background:var(--s-chip);color:var(--s-text);border-radius:999px;padding:4px 12px;font-size:15px;font-weight:600;cursor:pointer}
.scene .chip i{width:14px;height:4px;border-radius:2px;display:inline-block}
.scene .chip[aria-pressed="true"]{background:var(--s-chip-on);color:var(--s-chip-on-t);border-color:var(--s-chip-on)}
.scene .mapwrap{position:relative;background:var(--s-sea)}
.scene svg.map{display:block;width:100%;height:auto}
.scene .legend{display:flex;flex-wrap:wrap;gap:6px 16px;padding:10px 14px;border-top:1px solid var(--s-line);font-size:15px;color:var(--s-muted)}
.scene .legend span{display:inline-flex;align-items:center;gap:7px}
.scene .sw{width:18px;height:4px;border-radius:2px;display:inline-block}
.scene .dot{width:12px;height:12px;border-radius:50%;display:inline-block;border:2px solid var(--s-card)}
.scene .note{font-size:15px;color:var(--s-muted);padding:8px 14px 12px;margin:0}
.scene .sea{fill:var(--s-sea)}
.scene .land{fill:var(--s-land);stroke:var(--s-border);stroke-width:.6}
.scene .land.hi{fill:var(--s-land-hi);stroke:var(--s-head);stroke-width:1.1}
.scene .water{fill:var(--s-sea)}
.scene .park{fill:var(--s-park)}
.scene .r1{fill:none;stroke:var(--s-road);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.scene .r2{fill:none;stroke:var(--s-road2);stroke-width:1.6;stroke-linecap:round}
.scene .r3{fill:none;stroke:var(--s-road2);stroke-width:1}
.scene .rl{fill:none;stroke:var(--s-rail);stroke-width:1.2;stroke-dasharray:5 4;opacity:.7}
.scene .rw{fill:none;stroke:var(--s-muted);stroke-width:7;opacity:.55}
.scene .route{fill:none;stroke-linecap:round;stroke-linejoin:round;transition:opacity .25s,stroke-width .25s}
.scene .route.car{stroke:var(--s-m-car);stroke-width:4}
.scene .route.bus{stroke:var(--s-m-bus);stroke-width:3;opacity:.8}
.scene .dim .route:not(.on){opacity:.12}
.scene .route.on{stroke-width:6;opacity:1}
.scene .lbl-map{font-family:var(--s-font);fill:var(--s-text);paint-order:stroke;stroke:var(--s-card);stroke-width:4px;stroke-linejoin:round;font-weight:700}
.scene .lbl-soft{font-family:var(--s-font);fill:var(--s-muted);font-weight:600;font-style:italic}
.scene .pin{cursor:pointer}
.scene .pin circle.o{fill:var(--s-card);stroke:var(--s-head);stroke-width:3}
.scene .pin.sel circle.o{stroke:var(--s-orange);stroke-width:5}
.scene .dest-halo{fill:var(--s-orange);opacity:.18}
.scene .flow{stroke-dasharray:7 9;animation:flow 1.8s linear infinite}
@keyframes flow{to{stroke-dashoffset:-32}
}
@media (prefers-reduced-motion: reduce){.scene .flow{animation:none}
}
.scene .citygrid{display:flex;flex-direction:column;gap:16px}
.scene{--s-glass:rgba(255,255,255,.90);--s-edge:rgba(11,22,48,.10)}
/* K17: follows the site's theme switch, not only the system (07.10.2026) */:root:not([data-theme="light"]) .scene{--s-glass:rgba(15,23,38,.86);--s-edge:rgba(150,180,220,.16)}

.scene .stage{position:relative;height:min(80vh,840px);min-height:560px;border-radius:14px;overflow:hidden;border:1px solid var(--s-line);background:var(--s-land);box-shadow:var(--s-shadow)}
.scene #deck3d{position:absolute;inset:0}
.scene #deck3d canvas{outline:none}
.scene #deck3d:focus-visible,.scene #deck3d:focus-within{outline:3px solid var(--s-orange);outline-offset:-3px}
.scene .gl{position:absolute;z-index:2;background:var(--s-glass);backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2);border:1px solid var(--s-edge);border-radius:12px;box-shadow:var(--s-shadow);padding:12px 14px}
.scene .gl h4{margin:0 0 8px;font-size:14px;letter-spacing:1.1px;text-transform:uppercase;color:var(--s-muted);font-weight:700}
.scene .p-left{left:12px;top:12px;width:236px}
.scene .p-right{right:12px;top:12px;width:372px;max-height:calc(100% - 24px);overflow:auto}
.scene .p-prov{left:12px;bottom:12px;width:236px;font-size:15px}
.scene .p-strip{left:12px;right:396px;bottom:12px;display:flex;gap:8px;overflow-x:auto;padding:8px}
.scene .lchip{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid var(--s-line);background:var(--s-card);color:var(--s-text);border-radius:9px;padding:7px 10px;margin-bottom:6px;font-size:15px;font-weight:600;cursor:pointer}
.scene .lchip i{width:18px;height:4px;border-radius:2px;flex:0 0 auto}
.scene .lchip[aria-pressed="false"]{opacity:.55}
.scene .lchip:hover{border-color:var(--s-blue)}
.scene .cams{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.scene .cams button{border:1px solid var(--s-line);background:var(--s-card);color:var(--s-text);border-radius:8px;padding:7px 6px;font-size:15px;font-weight:600;cursor:pointer}
.scene .cams button:hover,.scene .cams button[aria-pressed="true"]{border-color:var(--s-orange)}
.scene .from{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px}
.scene .from button{border:1px solid var(--s-line);background:var(--s-card);color:var(--s-text);border-radius:9px;padding:8px 8px;font-size:15px;font-weight:700;cursor:pointer;text-align:left;line-height:1.25}
.scene .from button small{display:block;font-weight:600;color:var(--s-muted);font-size:14px}
.scene .from button[aria-pressed="true"]{border-color:var(--s-orange);box-shadow:0 0 0 3px color-mix(in srgb,var(--s-orange) 22%,transparent)}
.scene .to{font-size:15px;color:var(--s-muted);margin:2px 0 10px}
.scene .to b{color:var(--s-text)}
.scene .opt{display:grid;grid-template-columns:40px 1fr auto;gap:2px 12px;align-items:center;width:100%;border:1px solid var(--s-line);background:var(--s-card);color:var(--s-text);border-radius:10px;padding:10px 12px;margin-top:8px;text-align:left;cursor:pointer}
.scene .opt:hover{border-color:var(--s-blue)}
.scene .opt[aria-pressed="true"]{border-color:var(--s-orange);box-shadow:0 0 0 3px color-mix(in srgb,var(--s-orange) 22%,transparent)}
.scene .opt .ic{grid-row:1/3;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;font-weight:800;font-size:15px;color:#fff}
.scene .opt .t{font-size:16px;font-weight:800;color:var(--s-head)}
.scene .opt .v{font-size:16px;font-weight:800;color:var(--s-orange-t);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.scene .opt .s{grid-column:2/-1;font-size:15px;color:var(--s-muted);line-height:1.35}
.scene .opt .s .st{margin-left:0;margin-top:4px}
.scene .prov-in{margin-top:14px;padding-top:10px;border-top:1px solid var(--s-line);font-size:15px}
.scene .prow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px dashed var(--s-line)}
.scene .prow:last-child{border-bottom:0}
.scene .prow span:first-child{color:var(--s-muted)}
.scene .prov-note{margin:8px 0 0;color:var(--s-muted);font-size:14px;line-height:1.4}
.scene .sbtn{flex:1 0 132px;border:1px solid var(--s-line);background:var(--s-card);color:var(--s-text);border-radius:10px;padding:8px 11px;text-align:left;cursor:pointer}
.scene .sbtn:hover{border-color:var(--s-blue)}
.scene .sbtn b{display:block;font-size:15px}
.scene .sbtn>span{display:block;font-size:14px;color:var(--s-muted);line-height:1.3}
.scene .nogl{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:420px;text-align:center;color:var(--s-muted);font-size:16px;margin:0}
.scene .hint3d{position:absolute;z-index:2;right:396px;top:14px;font-size:14px;color:var(--s-muted);background:var(--s-glass);border:1px solid var(--s-edge);border-radius:999px;padding:4px 12px;pointer-events:none}
@media (max-width:1100px){.scene .stage{height:auto;min-height:0;overflow:visible;border:0;box-shadow:none;background:none;display:grid;gap:12px}
.scene #deck3d{position:relative;height:64vh;min-height:380px;border-radius:14px;overflow:hidden;border:1px solid var(--s-line);background:var(--s-land)}
.scene .gl{position:static;width:auto;max-height:none}
.scene .hint3d{display:none}
.scene .p-strip{flex-wrap:wrap}
}
.scene .panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
@media (max-width:1100px){.scene .panel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){.scene .panel{grid-template-columns:1fr}
}
.scene .ep{background:var(--s-card);border:1px solid var(--s-line);border-radius:12px;padding:14px 16px;cursor:pointer;text-align:left;color:var(--s-text);width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;transition:border-color .2s,box-shadow .2s}
.scene .ep .kv{grid-template-columns:1fr;gap:2px}
.scene .ep .kv dt{font-size:15px;text-transform:uppercase;letter-spacing:.8px;margin-top:6px}
.scene .ep:hover{border-color:var(--s-blue)}
.scene .ep[aria-pressed="true"]{border-color:var(--s-orange);box-shadow:0 0 0 3px color-mix(in srgb,var(--s-orange) 25%,transparent)}
.scene .ep h3{font-size:1.08rem;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.scene .ep h3 small{font-weight:600;color:var(--s-muted);font-size:15px}
.scene .kv{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin-top:8px;font-size:16px}
.scene .kv dt{color:var(--s-muted);font-weight:600;white-space:nowrap}
.scene .kv dd{margin:0}
.scene .pill{display:inline-block;font-weight:800;border-radius:6px;padding:0 7px;margin:0 3px 3px 0;font-size:15px;line-height:1.6;color:#fff;background:var(--s-b-bus);font-variant-numeric:tabular-nums}
.scene .pill.rail{background:var(--s-b-rail)}
.scene .pill.air{background:var(--s-b-air)}
.scene .pill.car{background:var(--s-b-car);color:#fff}
.scene .big{font-size:1.5rem;font-weight:800;color:var(--s-head);font-variant-numeric:tabular-nums;line-height:1}
.scene .big small{font-size:15px;color:var(--s-muted);font-weight:600}
.scene .metrics{display:flex;gap:18px;flex-wrap:wrap;margin-top:8px}
.scene .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.scene .card{background:var(--s-card);border:1px solid var(--s-line);border-radius:12px;padding:16px 18px}
.scene .card h3{font-size:1.05rem;margin-bottom:6px}
.scene .card p{margin:6px 0}
.scene .card ul{margin:6px 0 0;padding-left:18px}
.scene .card li{margin:3px 0}
.scene .card .meta{font-size:15px;color:var(--s-muted)}
.scene .tel{white-space:nowrap;font-variant-numeric:tabular-nums}
.scene .clist{background:var(--s-card);border:1px solid var(--s-line);border-radius:12px;overflow:hidden}
.scene .clist .hd{display:flex;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--s-line);background:var(--s-bg-alt);flex-wrap:wrap}
.scene .clist .hd .lbl{font-size:15px;color:var(--s-muted);font-weight:600}
.scene .rows{max-height:640px;overflow-y:auto}
.scene .row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:9px 14px;border-bottom:1px solid var(--s-line);cursor:pointer;width:100%;background:none;border-left:0;border-right:0;border-top:0;text-align:left;color:var(--s-text)}
.scene .row:hover{background:var(--s-bg-alt)}
.scene .row[aria-pressed="true"]{background:color-mix(in srgb,var(--s-orange) 12%,var(--s-card))}
.scene .row .nm{font-weight:700}
.scene .row .t{font-variant-numeric:tabular-nums;font-weight:700;color:var(--s-head);text-align:right}
.scene .row .bar{grid-column:1/-1;height:6px;border-radius:3px;background:var(--s-bg-alt);overflow:hidden}
.scene .row .bar b{display:block;height:100%;background:var(--s-m-car);border-radius:3px}
.scene .row .modes{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}
.scene .mtag{font-size:15px;font-weight:700;border-radius:5px;padding:0 7px;border:1.5px solid currentColor;line-height:1.5}
.scene .mtag.rail{color:var(--s-ok-t)}
.scene .mtag.bus{color:var(--s-m-bus)}
.scene .mtag.air{color:var(--s-orange-t)}
.scene .mtag.via{color:var(--s-muted);border-style:dashed}
.scene .detail{background:var(--s-card);border:1px solid var(--s-line);border-radius:12px;padding:16px 18px;margin-top:16px}
.scene .detail h3{font-size:1.3rem}
.scene .dgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.scene .dbox{border-left:4px solid var(--s-line);padding:4px 0 4px 12px}
.scene .dbox h4{margin:0 0 4px;font-size:15px;text-transform:uppercase;letter-spacing:1px;color:var(--s-muted)}
.scene .dbox.car{border-color:var(--s-m-car)}
.scene .dbox.rail{border-color:var(--s-m-rail)}
.scene .dbox.bus{border-color:var(--s-m-bus)}
.scene .dbox.air{border-color:var(--s-m-air)}
.scene .dbox p{margin:2px 0}
.scene table.tb{width:100%;border-collapse:collapse;font-size:16px}
.scene table.tb th{text-align:left;background:#eef2f8;color:var(--s-head);font-weight:700;border-bottom:2px solid var(--s-blue);padding:8px 10px}
/* K17: follows the site's theme switch, not only the system (07.10.2026) */:root:not([data-theme="light"]) .scene table.tb th{background:#1b2740}

.scene table.tb td{padding:7px 10px;border-bottom:1px solid var(--s-line);vertical-align:top}
.scene table.tb td.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.scene .tscroll{overflow-x:auto}
.scene .st{display:inline-flex;align-items:center;gap:5px;font-size:15px;font-weight:700;line-height:1.3;border-radius:999px;padding:1px 9px;border:1.5px solid currentColor;white-space:nowrap;vertical-align:middle;cursor:help;margin-left:4px}
.scene .stat b span{font-size:inherit;color:inherit}
.scene .ep .kv dt{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center}
.scene .st{text-transform:none;letter-spacing:0}
.scene .st::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.scene .st.VERIFIED{color:var(--s-ok-t)}
.scene .st.CORROBORATED{color:var(--s-blue)}
.scene .st.SOURCED{color:var(--s-muted)}
.scene .st.COMPUTED{color:var(--s-muted);border-style:dashed}
.scene .st.COMPUTED::before{background:transparent;border:1.5px solid currentColor}
.scene .st.CONFLICTED_FIELD{color:var(--s-orange-t)}
.scene .trust{padding-block:30px 10px;border-top:1px solid var(--s-line)}
.scene .trust h2{font-size:1.5rem;margin-bottom:6px}
.scene .trust .lead{color:var(--s-muted);max-width:75ch;margin:0 0 16px}
.scene .legend2{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:12px 0 22px}
.scene .legend2 div{border:1px solid var(--s-line);border-radius:10px;padding:10px 12px;background:var(--s-card)}
.scene .legend2 b{display:block;font-size:1.5rem;color:var(--s-head);font-variant-numeric:tabular-nums;line-height:1.2}
.scene .legend2 p{margin:6px 0 0;font-size:15px;color:var(--s-muted)}
.scene .review{border:1.5px solid var(--s-orange);border-radius:10px;padding:10px 14px;margin:0 0 20px;background:color-mix(in srgb,var(--s-orange) 7%,var(--s-card))}
.scene .review h3{font-size:1rem;margin:0 0 4px;color:var(--s-orange-t)}
.scene .review p{margin:4px 0}
@media (max-width:1000px){.scene .legend2{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.scene .sources{background:var(--s-bg-alt);border-top:1px solid var(--s-line);padding-block:26px 34px;font-size:15px;color:var(--s-muted)}
.scene .sources h2{font-size:1.2rem;margin-bottom:8px}
.scene .sources ol{columns:2;column-gap:36px;padding-left:18px;margin:8px 0}
.scene .sources li{break-inside:avoid;margin:0 0 5px}
.scene .sources a{word-break:break-word}
.scene footer.ft{background:var(--s-navy);color:#aebbd0;font-size:15px;padding-block:16px}
@media (max-width:1000px){.scene .split{grid-template-columns:1fr}
.scene .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.scene .dgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.scene .rows{max-height:420px}
}
@media (max-width:640px){.scene{font-size:16px}
.scene .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.scene .cards,.scene .dgrid{grid-template-columns:1fr}
.scene .sources ol{columns:1}
.scene .scale{margin-left:0}
}

/* платформа: дребни класове вместо вградени стилове в шаблона */
.scene .sw-car{background:var(--s-m-car)} .scene .sw-bus{background:var(--s-m-bus)} .scene .sw-walk{background:var(--s-m-walk)} .scene .sw-rail{background:var(--s-m-rail)}
.scene .sw-air{background:var(--s-m-air)} .scene .sw-muted{background:var(--s-muted)} .scene .sw-head{background:var(--s-head)}
.scene .cams-h{margin-top:12px} .scene .note{padding:8px 2px 0} .scene .load-err{padding-block:18px;color:#c0392b;font-weight:700} .scene th.n{text-align:right}
.scene .dest-pick{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:18px}
.scene .dest-pick label{font-weight:700} .scene .dest-pick select{font:inherit;min-height:44px;padding:6px 10px;max-width:100%;border:1px solid var(--s-border);border-radius:8px;background:var(--s-card);color:var(--s-text)}
.scene .dest-pick button{font:inherit;min-height:44px;padding:6px 16px;border-radius:8px;border:0;background:var(--s-chip-on);color:var(--s-chip-on-t);cursor:pointer}
.scene .dest-list{columns:20rem;column-gap:2rem;padding-left:1.2rem} .scene .dest-list li{margin-bottom:6px}
/* тясна ширина (320 px): етикетите на статуса и клетките на легендата се пренасят, не разливат страницата */
.scene .legend2>*{min-width:0} .scene .st{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.scene .scale{white-space:normal;max-width:100%} .scene .lhead>*{min-width:0}
