@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 900;font-display:swap;src:url(../fonts/montserrat-latin-ext-JTUSjIg1.woff2?v=54d9a78b) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 900;font-display:swap;src:url(../fonts/montserrat-latin-JTUSjIg1.woff2?v=06b16db7) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* KBT bus times board. Sizes are in rem = the design's px / 16; the board grows up to 1.25x on screens wider than 1280px (terminal displays).
   Every rule is scoped to #stage: as a page the board sits between the site header and footer (site CSS loaded), embedded (html.bd-em) it is alone. */
html{font-size:clamp(16px,1.25vw,20px);-webkit-text-size-adjust:100%;text-size-adjust:100%}
html.bd-em,html.bd-em body{margin:0;padding:0;min-height:100%;background:#04070D}
html.bd-em .kr-h,html.bd-em .kr-f{display:none!important}
#stage,#stage *{box-sizing:border-box}
#stage{position:relative;overflow:hidden;min-height:calc(100vh - var(--bd-hh,0px));display:flex;flex-direction:column;padding:1.125rem 1.25rem 0;direction:ltr;text-align:left;line-height:normal;
  color:#EAF5FC;font-family:Montserrat,'Helvetica Neue',Arial,sans-serif;font-weight:500;-webkit-font-smoothing:antialiased;
  background:radial-gradient(1100px 640px at 12% -12%,rgba(30,94,150,.42) 0%,transparent 62%),radial-gradient(900px 620px at 100% 4%,rgba(255,255,255,.12) 0%,transparent 60%),radial-gradient(1000px 700px at 60% 115%,rgba(98,212,155,.10) 0%,transparent 60%),linear-gradient(180deg,#081627 0%,#050B15 55%,#04070D 100%),#04070D}
#stage a{color:#DBE7F5;text-decoration:none}
#stage a:hover{text-decoration:none}
#stage button{font:inherit;color:inherit}
#stage svg{display:block}
/* Urdu text is never below 15px */
#stage [lang="ur"]{font-family:'Noto Naskh Arabic','Noto Nastaliq Urdu',serif;letter-spacing:0;text-transform:none;font-weight:500;font-size:max(.9375rem,1em);line-height:1.6}
#stage :focus-visible{outline:3px solid #adefb1;outline-offset:2px}
#stage>*{position:relative;z-index:1}

/* region photo behind the board: two layers, the new one fades in (1.5 s) and eases out of a slight zoom; the mask and the dark wash dissolve it into the board gradient */
@property --rt{syntax:'<color>';inherits:true;initial-value:#FFFFFF}
#stage>.bgph{position:absolute;z-index:0;left:0;right:0;top:0;height:min(100%,100vh);pointer-events:none;overflow:hidden;
  -webkit-mask-image:radial-gradient(120% 100% at 50% 22%,#000 30%,rgba(0,0,0,.6) 62%,transparent 100%);mask-image:radial-gradient(120% 100% at 50% 22%,#000 30%,rgba(0,0,0,.6) 62%,transparent 100%)}
#stage .bgph i{position:absolute;inset:0;background:center/cover no-repeat;opacity:0;transform:scale(1.07);transition:opacity 1.5s ease,transform 12s linear;will-change:opacity,transform}
#stage .bgph i.on{opacity:.3;transform:scale(1)}
#stage .bgph i.d{filter:blur(1.5px) saturate(1.1)}
/* region tint over the wash: two layers, the new region's tint fades in over 1.5 s (opacity runs on the compositor; a colour transition would redraw the board every frame) */
#stage .bgph .tn{position:absolute;z-index:1;inset:0;--rt:#FFFFFF;background:radial-gradient(70% 55% at 0% 0%,color-mix(in srgb,var(--rt) 16%,transparent),transparent 70%);opacity:0;transition:opacity 1.5s ease}
#stage .bgph .tn.on{opacity:1}
#stage .bgph::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,7,13,.15) 0%,rgba(4,7,13,.35) 45%,rgba(4,7,13,.7) 100%)}

/* header */
#stage .hd{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.25rem;padding:.625rem .875rem;margin-bottom:.75rem;border:1px solid rgba(255,255,255,.16);border-radius:1rem;
  background:linear-gradient(120deg,rgba(18,44,70,.72) 0%,rgba(9,22,38,.55) 55%,rgba(10,30,44,.62) 100%);box-shadow:inset 0 1px 0 rgba(168,233,255,.08),0 10px 30px -18px rgba(0,0,0,.8)}
#stage .brand{display:flex;align-items:center;gap:.75rem;min-width:0;flex:0 1 auto}
#stage .logo{height:2.5rem;width:auto;max-width:none;display:block}
#stage .bname{line-height:1.15;min-width:0}
#stage .bname .t1{font-size:.9375rem;font-weight:800;letter-spacing:.02em;color:#fff;white-space:nowrap}
@media (max-width:359px){#stage .bname .t1{white-space:normal}}
#stage .bname .t2{font-size:.71875rem;font-weight:600;letter-spacing:.14em;color:#62D49B;text-transform:uppercase}
#stage .clockbox{text-align:right;line-height:1.1}
#stage .clock{font-variant-numeric:tabular-nums;font-size:1.625rem;font-weight:800;color:#FFFFFF;text-shadow:0 0 18px rgba(255,255,255,.4);letter-spacing:.01em}
#stage .cdate{font-size:.6875rem;letter-spacing:.14em;color:#8FA6BC;font-weight:600;text-transform:uppercase}
body.nofoot #stage .foot{display:none}body.nofoot #stage{padding-bottom:1.125rem}

/* toolbar: Departures / Arrivals + region chips */
#stage .bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding-bottom:.75rem}
#stage .seg{display:inline-flex;background:linear-gradient(180deg,rgba(18,40,64,.75),rgba(8,18,30,.6));border:1px solid rgba(255,255,255,.26);border-radius:99px;padding:3px;gap:3px;margin-right:.375rem}
#stage .seg button{display:inline-block;line-height:normal;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.4375rem .875rem;border-radius:99px;border:0;background:transparent;color:#A9BDD0;cursor:pointer;box-shadow:none}
#stage .seg button.on{background:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.07));color:#FFFFFF;box-shadow:none}
#stage .chip{display:inline-flex;align-items:center;gap:.5rem;font-size:.8125rem;font-weight:700;padding:.5rem .875rem;border-radius:99px;border:1px solid rgba(255,255,255,.26);background:linear-gradient(180deg,rgba(18,40,64,.7),rgba(8,18,30,.55));color:#A9BDD0;cursor:pointer;white-space:nowrap;box-shadow:none;transition:none;line-height:normal}
#stage .chip:active{transform:none}
#stage .chip i{width:.5rem;height:.5rem;border-radius:50%;background:var(--c);box-shadow:0 0 8px var(--c)}
#stage .chip.on{background:linear-gradient(135deg,color-mix(in srgb,var(--c) 34%,rgba(8,18,30,.7)),rgba(255,255,255,.12));border-color:color-mix(in srgb,var(--c) 60%,rgba(255,255,255,.5));color:#fff;box-shadow:0 0 18px -6px var(--c)}
#stage .seg button:hover,#stage .chip:hover{color:#fff}

/* table */
#stage .tbl{flex:1;display:flex;flex-direction:column;min-height:0;border:1px solid rgba(255,255,255,.16);border-radius:1rem;overflow:hidden;background:linear-gradient(180deg,rgba(10,24,40,.6) 0%,rgba(7,15,27,.68) 55%,rgba(5,11,20,.76) 100%);box-shadow:inset 0 1px 0 rgba(168,233,255,.07),0 18px 40px -24px rgba(0,0,0,.9)}
#stage .th,#stage .row{display:grid;grid-template-columns:6.875rem minmax(0,1.4fr) minmax(0,1fr) 6.875rem 8.125rem;gap:.875rem}
#stage .th{padding:.625rem 1rem;font-size:.71875rem;font-weight:800;letter-spacing:.18em;color:#DBE7F5;border-bottom:1px solid rgba(255,255,255,.14);background:linear-gradient(90deg,rgba(255,255,255,.16) 0%,rgba(8,18,30,.55) 45%,rgba(8,18,30,.45) 100%);text-transform:uppercase}
#stage .th span:last-child{text-align:right}
#stage .th [lang="ur"]{font-size:.9375rem;line-height:1.5}
#stage .rows{flex:1;min-height:0}
#stage .row{align-items:center;padding:.75rem 1rem;border-bottom:1px solid rgba(255,255,255,.08);position:relative;color:inherit;background:linear-gradient(90deg,color-mix(in srgb,var(--rc) 9%,transparent) 0%,transparent 38%)}
#stage .row:nth-child(even){background:linear-gradient(90deg,color-mix(in srgb,var(--rc) 9%,transparent) 0%,rgba(255,255,255,.03) 38%,rgba(255,255,255,.012) 100%)}
#stage a.row:hover{background:linear-gradient(90deg,color-mix(in srgb,var(--rc) 18%,transparent) 0%,rgba(255,255,255,.07) 45%,rgba(255,255,255,.02) 100%)}
#stage a.row:focus-visible{outline-offset:-3px}
#stage .row .acc{position:absolute;left:0;top:18%;bottom:18%;width:3px;border-radius:2px;background:var(--rc);box-shadow:0 0 10px var(--rc);opacity:.9}
#stage .tm{font-variant-numeric:tabular-nums;font-size:1.375rem;font-weight:800;color:#fff;letter-spacing:-.01em;min-width:0}
#stage .tm .t{white-space:nowrap}
#stage .tm .w{display:block;font-size:.6875rem;font-weight:600;color:#8FA6BC;letter-spacing:.06em}
#stage .dst{display:flex;flex-direction:column;min-width:0}
#stage .dst .cy{font-size:1.125rem;font-weight:700;color:#EAF5FC;line-height:1.2}
#stage .dst .ur{font-family:'Noto Nastaliq Urdu','Noto Naskh Arabic',serif;font-size:.9375rem;line-height:2;color:#DBE7F5;text-align:left;white-space:nowrap}
#stage .dst .km{font-size:.71875rem;color:#C9A451;font-weight:600;letter-spacing:.04em}
#stage .dst .km[lang="ur"]{font-size:.9375rem;line-height:1.7;text-align:left}
#stage .dst .mm{display:none;font-size:.8125rem;color:#C9D9E8;font-weight:600;margin-top:2px}
#stage .op{min-width:0;font-size:.875rem;color:#C9D9E8;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#stage .op small{display:block;font-size:.71875rem;color:#8FA6BC;font-weight:600;overflow:hidden;text-overflow:ellipsis}
#stage .cl{font-size:.78125rem;color:#C9D9E8;font-weight:700;letter-spacing:.06em;white-space:nowrap}
#stage .st{justify-self:end;text-align:right;font-size:inherit;font-weight:inherit;letter-spacing:normal;padding:0;border:0;border-radius:0;background:none;white-space:normal}
#stage .pill{display:inline-flex;align-items:center;gap:.375rem;padding:.3125rem .625rem;border-radius:.5rem;border:1px solid rgba(199,214,228,.3);font-size:.71875rem;font-weight:800;letter-spacing:.1em;white-space:nowrap;color:#C7D6E4;background:linear-gradient(180deg,rgba(199,214,228,.13),rgba(199,214,228,.04));text-transform:uppercase}
#stage .pill i{width:7px;height:7px;border-radius:99px;background:currentColor;box-shadow:0 0 8px currentColor;flex:none}
#stage .pill.ok{color:#3CE6A4;background:linear-gradient(180deg,rgba(60,230,164,.18),rgba(60,230,164,.05));border-color:rgba(60,230,164,.4)}
#stage .pill [lang="ur"]{font-size:.9375rem;line-height:1.4}
#stage .empty{padding:1.25rem 1rem;color:#8FA6BC;font-weight:600;text-align:left}
/* live departures (board.js): the source line at the end of the toolbar ("Live from the terminal · updated 14:05" with a green dot, or
   "Estimated times"), and the minutes since a bus left under its Departed pill */
#stage .src{margin-inline-start:auto;display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;font-weight:600;letter-spacing:.04em;color:#A9BDD0;white-space:nowrap}
#stage .src.on{color:#DBE7F5}
#stage .src i{width:7px;height:7px;border-radius:99px;background:#3CE6A4;box-shadow:0 0 8px #3CE6A4;flex:none}
#stage .src [lang="ur"],#stage .st .ago [lang="ur"]{font-size:.9375rem;line-height:1.5}
#stage .st .ago{display:block;margin-top:.25rem;font-size:.6875rem;font-weight:600;color:#A9BDD0;white-space:nowrap}
@media (max-width:459px){#stage .src{white-space:normal}}

/* admin announcements (only when the published board config has some) */
#stage .ann{display:flex;flex-wrap:wrap;gap:.375rem 1.25rem;padding:.625rem 2px 0;font-size:.8125rem;color:#EAF5FC;font-weight:600}
#stage .ann[hidden]{display:none}
#stage .ann b{color:#FFC75A;font-weight:800;letter-spacing:.1em;margin-right:.375rem}

/* footer line */
#stage .foot{display:flex;align-items:center;gap:.5rem 1.125rem;padding:.625rem .875rem;margin:.75rem 0;border:1px solid rgba(255,255,255,.12);border-radius:.875rem;background:linear-gradient(120deg,rgba(14,34,56,.62),rgba(7,15,27,.5));font-size:.8125rem;color:#BFD3E4;font-weight:600;flex-wrap:wrap}
#stage .lg{line-height:2}
#stage .lg>*{vertical-align:middle}
#stage .dk{display:inline-block;width:8px;height:8px;border-radius:99px;background:#C7D6E4;margin-inline-end:.375rem}
#stage .dk.ok{background:#3CE6A4;box-shadow:0 0 8px #3CE6A4}
#stage .foot [lang="ur"]{font-size:.9375rem;line-height:1.7}
#stage .cp{display:inline-flex;margin:2px 0;align-items:center;justify-content:center;gap:.375rem;height:1.625rem;padding:0 .5625rem;border-radius:7px;border:1px solid rgba(191,211,228,.35);background:linear-gradient(180deg,rgba(191,211,228,.10),rgba(191,211,228,.02));color:#EAF5FC;font-size:.78125rem;font-weight:700;cursor:pointer;white-space:nowrap;font-variant-numeric:tabular-nums}
#stage .cp svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
#stage .cp:hover{border-color:rgba(191,211,228,.7)}
#stage .cp.ok{border-color:rgba(60,230,164,.6);color:#3CE6A4}
#stage .wa{display:inline-flex;margin:2px 0;align-items:center;gap:.375rem;color:#EAF5FC;font-size:.78125rem;font-weight:700;white-space:nowrap}
#stage .wai{display:inline-grid;place-items:center;width:1.5rem;height:1.5rem;border-radius:7px;background:#1faa59;color:#fff;flex:none}
#stage .wai svg{width:15px;height:15px;fill:currentColor}
#stage .wa:hover bdi{text-decoration:underline}

/* On wide screens the board fills the window below the site header. */
@media (min-width:761px){
  #stage{height:calc(100vh - var(--bd-hh,0px));height:calc(100dvh - var(--bd-hh,0px))}
  #stage .rows{overflow:auto}
}
/* a short window cannot fit the banner, the chips and a whole row inside one viewport: grow instead of slicing the first row */
@media (min-width:761px) and (max-height:720px){
  #stage{height:auto;min-height:0;overflow:visible}
  #stage .tbl,#stage .rows{overflow:visible;flex:none}
}
/* phones: operator and class fold under the destination */
@media (max-width:760px){
  #stage .th{display:none}
  #stage .row{grid-template-columns:3.875rem minmax(0,1fr) auto;gap:.5rem;padding:.75rem}
  #stage .tm{font-size:1.0625rem}
  #stage .dst .cy{font-size:1rem}
  #stage .dst .mm{display:block}
  #stage .op,#stage .cl{display:none}
}
@media (max-width:459px){
  #stage .pill{font-size:.6875rem;white-space:normal}
}
html.bd-pg #stage .rows{max-height:65dvh;overflow:auto}
#stage .req small{display:block;font-size:.6875rem;font-weight:600}
@media (prefers-reduced-motion:reduce){#stage,#stage *{transition:none!important;animation:none!important}}
/* scrollbars (site rule in kbt-r.css): the board is dark in both site themes, so its bars are white */
html.bd-em,#stage{--sb-t:rgba(255,255,255,.25);--sb-h:rgba(255,255,255,.45)}
/* contact: one phone icon, one WhatsApp icon, each opening a small popover, then one short line */
#stage .foot{flex-wrap:nowrap;gap:.625rem;justify-content:flex-start}
#stage .foot .ci-w{position:relative;display:inline-flex}
#stage .foot .ci{display:grid;place-items:center;width:2.375rem;height:2.375rem;border-radius:50%;border:1px solid rgba(160,210,255,.35);background:rgba(255,255,255,.06);color:#e8f3ff;cursor:pointer;transition:background .15s,border-color .15s}
#stage .foot .ci:hover,#stage .foot .ci[aria-expanded=true]{background:rgba(255,255,255,.14);border-color:rgba(200,230,255,.7)}
#stage .foot .ci svg{width:1.125rem;height:1.125rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#stage .foot .ci.wa{color:#3fd678;border-color:rgba(63,214,120,.55)}#stage .foot .ci.wa svg{fill:currentColor;stroke:none}
#stage .foot .ci:focus-visible{outline:2px solid #FFFFFF;outline-offset:2px}
#stage .foot #ftTo{color:#dbe7f5;font-weight:600;font-size:.9375rem}
#stage .foot .pop{position:absolute;bottom:calc(100% + .5rem);inset-inline-start:0;z-index:30;min-width:17rem;padding:.375rem;border-radius:.875rem;background:#0f1d33;border:1px solid rgba(160,210,255,.25);box-shadow:0 18px 40px -16px rgba(0,0,0,.8)}
#stage .foot .pop[hidden]{display:none}
#stage .foot .pr{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem .625rem;border-radius:.625rem}
#stage .foot .pr+.pr{border-top:1px solid rgba(160,210,255,.12)}
#stage .foot .pr bdi{color:#fff;font-weight:700;white-space:nowrap;font-size:.875rem}
#stage .foot .pa{display:inline-flex;gap:.375rem}
#stage .foot .pa :is(a,button){font:inherit;font-size:.8125rem;font-weight:700;color:#e8f3ff;text-decoration:none;padding:.3125rem .625rem;border-radius:.5rem;border:1px solid rgba(160,210,255,.3);background:rgba(255,255,255,.05);cursor:pointer;white-space:nowrap}
#stage .foot .pa :is(a,button):hover{background:rgba(255,255,255,.14)}
#stage .foot .pa .cp.ok{color:#adefb1;border-color:#adefb1}
html[dir=rtl] #stage .foot .pop,#stage .foot[dir=rtl] .pop{inset-inline-start:auto;inset-inline-end:0}
#stage .foot [lang=ur]{font-size:.9375rem}
@media (max-width:460px){#stage .foot .pop{min-width:15.5rem}#stage .foot .pr{flex-direction:column;align-items:flex-start;gap:.375rem}}
/* heading banner credit */
#stage .pwr{margin-top:2px;font-size:.6875rem;font-weight:600;letter-spacing:.04em;color:#8FA6BC;white-space:nowrap}
#stage .pwr b{font-weight:800;color:#dbe7f5}

/* ===== light theme: the same glass board, light: white frosted panels over a soft, light-washed province photo ===== */
html[data-theme=light] body{background:#eef4fb}
html[data-theme=light] #stage{color:#16294d;--sb-t:rgba(22,41,77,.22);--sb-h:rgba(22,41,77,.4)}
html[data-theme=light] #stage a{color:#2f59a5}
html[data-theme=light] #stage .bgph i.on{opacity:.55}
html[data-theme=light] #stage .bgph::after{background:linear-gradient(180deg,rgba(238,244,251,.55) 0%,rgba(238,244,251,.72) 45%,rgba(238,244,251,.9) 100%)}
html[data-theme=light] #stage .bgph .tn{opacity:0!important}
html[data-theme=light] #stage .hd{background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.6));border-color:rgba(22,41,77,.12);box-shadow:0 12px 30px -22px rgba(22,41,77,.45);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2)}
html[data-theme=light] #stage .logo{filter:none}
html[data-theme=light] #stage .bname .t1{color:#16294d}
html[data-theme=light] #stage .bname .t2{color:#16874f}
html[data-theme=light] #stage .clock{color:#2f59a5;text-shadow:none}
html[data-theme=light] #stage :is(.cdate,.pwr){color:#47536b}
html[data-theme=light] #stage .pwr b{color:#16294d}
html[data-theme=light] #stage .seg{background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(255,255,255,.65));border-color:rgba(22,41,77,.16)}
html[data-theme=light] #stage .seg button{color:#47536b}
html[data-theme=light] #stage .seg button.on{background:linear-gradient(135deg,#2f59a5,#24478a);color:#fff}
html[data-theme=light] #stage .chip{background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(255,255,255,.62));border-color:rgba(22,41,77,.16);color:#16294d}
html[data-theme=light] #stage .chip i{box-shadow:none}
html[data-theme=light] #stage .chip.on{background:linear-gradient(135deg,color-mix(in srgb,var(--c) 30%,#fff),#fff);border-color:color-mix(in srgb,var(--c) 70%,#16294d);color:#16294d;box-shadow:0 6px 16px -10px rgba(22,41,77,.5)}
html[data-theme=light] #stage :is(.seg button:hover,.chip:hover){color:#16294d}
html[data-theme=light] #stage .tbl{background:linear-gradient(180deg,rgba(255,255,255,.82) 0%,rgba(255,255,255,.7) 60%,rgba(255,255,255,.62) 100%);border-color:rgba(22,41,77,.12);box-shadow:0 18px 40px -28px rgba(22,41,77,.45);-webkit-backdrop-filter:blur(16px) saturate(1.15);backdrop-filter:blur(16px) saturate(1.15)}
html[data-theme=light] #stage .th{color:#2f59a5;border-bottom-color:rgba(22,41,77,.1);background:linear-gradient(90deg,rgba(47,89,165,.08) 0%,rgba(255,255,255,.4) 60%,rgba(255,255,255,0) 100%)}
html[data-theme=light] #stage .row{border-bottom-color:rgba(22,41,77,.07);background:linear-gradient(90deg,color-mix(in srgb,var(--rc) 10%,transparent) 0%,transparent 38%)}
html[data-theme=light] #stage .row:nth-child(even){background:linear-gradient(90deg,color-mix(in srgb,var(--rc) 10%,transparent) 0%,rgba(22,41,77,.025) 38%,rgba(22,41,77,.015) 100%)}
html[data-theme=light] #stage a.row:hover{background:linear-gradient(90deg,color-mix(in srgb,var(--rc) 18%,transparent) 0%,rgba(47,89,165,.06) 45%,rgba(47,89,165,.02) 100%)}
html[data-theme=light] #stage .row .acc{box-shadow:none}
html[data-theme=light] #stage .tm{color:#16294d}
html[data-theme=light] #stage .tm .w,html[data-theme=light] #stage .op small,html[data-theme=light] #stage .empty{color:#47536b}
html[data-theme=light] #stage .dst .cy{color:#10182a}
html[data-theme=light] #stage .dst .ur{color:#2f59a5}
html[data-theme=light] #stage .dst .km{color:#8a5d0c}
html[data-theme=light] #stage :is(.dst .mm,.op,.cl){color:#2b3a55}
html[data-theme=light] #stage .pill{color:#47536b;border-color:rgba(22,41,77,.2);background:rgba(255,255,255,.7)}
html[data-theme=light] #stage .pill i{box-shadow:none}
html[data-theme=light] #stage .pill.ok{color:#0f6e3e;border-color:rgba(22,135,79,.4);background:linear-gradient(180deg,rgba(22,135,79,.12),rgba(22,135,79,.04))}
html[data-theme=light] #stage .ann{color:#16294d}html[data-theme=light] #stage .ann b{color:#a2650a}
html[data-theme=light] #stage .foot{background:linear-gradient(120deg,rgba(255,255,255,.82),rgba(255,255,255,.62));border-color:rgba(22,41,77,.12);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html[data-theme=light] #stage .foot .ci{border-color:rgba(22,41,77,.22);background:rgba(255,255,255,.7);color:#16294d}
html[data-theme=light] #stage .foot .ci:hover,html[data-theme=light] #stage .foot .ci[aria-expanded=true]{background:#fff;border-color:rgba(22,41,77,.4)}
html[data-theme=light] #stage .foot .ci.wa{color:#16874f;border-color:rgba(22,135,79,.45)}
html[data-theme=light] #stage .foot #ftTo{color:#16294d}
html[data-theme=light] #stage .foot .pop{background:#fff;border-color:rgba(22,41,77,.14);box-shadow:0 18px 40px -16px rgba(22,41,77,.45)}
html[data-theme=light] #stage .foot .pr+.pr{border-top-color:rgba(22,41,77,.08)}
html[data-theme=light] #stage .foot .pr bdi{color:#16294d}
html[data-theme=light] #stage .foot .pa :is(a,button){color:#16294d;border-color:rgba(22,41,77,.2);background:#f3f7fd}
html[data-theme=light] #stage .foot .pa :is(a,button):hover{background:#e4ecf8}
html[data-theme=light] #stage .foot .pa .cp.ok{color:#0f6e3e;border-color:#16874f}
html[data-theme=light] #stage .logo{filter:brightness(0) saturate(100%) invert(13%) sepia(29%) saturate(2915%) hue-rotate(201deg) brightness(93%) contrast(91%)}
/* Powered by MeriManzil: bottom right of the board */
#stage .foot .pwr{margin-inline-start:auto;display:inline-flex;align-items:center;gap:.5rem;font-size:.8125rem;font-weight:600;letter-spacing:0;color:#a9bdd0;white-space:nowrap}
#stage .foot .pwr img{width:1.5rem;height:auto;display:block}
#stage .foot .pwr b{font-weight:800;color:#fff}
html[data-theme=light] #stage .foot .pwr{color:#47536b}html[data-theme=light] #stage .foot .pwr b{color:#16294d}
@media (max-width:560px){#stage .foot{flex-wrap:wrap}#stage .foot .pwr{flex-basis:100%;justify-content:flex-end}}
/* mode colours: Departures (book a trip) = Manzil red, Arrivals (search) = KBT blue; both themes */
#stage .seg button[data-m=departures].on{background:linear-gradient(135deg,#E0191B,#B91217)!important;color:#fff!important}
#stage .seg button[data-m=arrivals].on{background:linear-gradient(135deg,#2f59a5,#24478a)!important;color:#fff!important}
/* light theme: clean bright white glass, no grey wash */
html[data-theme=light] #stage{background:linear-gradient(180deg,#ffffff 0%,#f6f9fd 100%)}
html[data-theme=light] #stage .bgph i.on{opacity:.22;filter:saturate(1.05) brightness(1.08)}
html[data-theme=light] #stage .bgph::after{background:linear-gradient(180deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,.72) 55%,rgba(255,255,255,.92) 100%)}
html[data-theme=light] #stage :is(.hd,.foot){background:rgba(255,255,255,.92);border-color:rgba(22,41,77,.1);box-shadow:0 8px 24px -18px rgba(22,41,77,.35)}
html[data-theme=light] #stage .tbl{background:rgba(255,255,255,.94);border-color:rgba(22,41,77,.1);box-shadow:0 12px 30px -24px rgba(22,41,77,.35)}
html[data-theme=light] #stage .th{background:#f4f7fc}
html[data-theme=light] #stage .row,html[data-theme=light] #stage .row:nth-child(even){background:#fff}
html[data-theme=light] #stage .row:nth-child(even){background:#fafcff}
html[data-theme=light] #stage a.row:hover{background:#f0f5fc}
html[data-theme=light] #stage :is(.seg,.chip){background:#fff;border-color:rgba(22,41,77,.14)}
html[data-theme=light] #stage .chip.on{background:color-mix(in srgb,var(--c) 16%,#fff)}
html[data-theme=light] #stage .pill{background:#fff}
/* ===== mode accent: Departures = Manzil red, Arrivals = KBT blue — clock, labels, headings, borders, row bars and tints all follow the mode ===== */
#stage.m-dep{--ac:#ff5a5f;--ac2:#ff9a9d;--acb:rgba(252,30,30,.38);--acs:rgba(252,30,30,.14);--acg:rgba(252,30,30,.45)}
#stage.m-arr{--ac:#6fa8ff;--ac2:#a9c8ff;--acb:rgba(111,168,255,.38);--acs:rgba(79,130,230,.16);--acg:rgba(111,168,255,.45)}
html[data-theme=light] #stage.m-dep{--ac:#c8161d;--ac2:#b0141a;--acb:rgba(200,22,29,.28);--acs:rgba(200,22,29,.07);--acg:transparent}
html[data-theme=light] #stage.m-arr{--ac:#2f59a5;--ac2:#24478a;--acb:rgba(47,89,165,.28);--acs:rgba(47,89,165,.07);--acg:transparent}
html #stage:is(.m-dep,.m-arr) :is(.clock,.bname .t2,.th,.dst .ur,.dst .km,.row .acc,.hd,.tbl,.foot,.seg,.chip,a.row){transition:color .45s ease,background-color .45s ease,border-color .45s ease,box-shadow .45s ease}
html #stage:is(.m-dep,.m-arr) .clock{color:var(--ac);text-shadow:0 0 18px var(--acg)}
html #stage:is(.m-dep,.m-arr) .bname .t2{color:var(--ac2)}
html #stage:is(.m-dep,.m-arr) .th{color:var(--ac);border-bottom-color:var(--acb);background:linear-gradient(90deg,var(--acs) 0%,transparent 70%)}
html #stage:is(.m-dep,.m-arr) :is(.hd,.tbl,.foot,.seg){border-color:var(--acb)}
html #stage:is(.m-dep,.m-arr) .chip.on{border-color:var(--ac)}
html #stage:is(.m-dep,.m-arr) .row .acc{background:var(--ac);box-shadow:0 0 10px var(--acg)}
html #stage:is(.m-dep,.m-arr) .row,html #stage:is(.m-dep,.m-arr) .row:nth-child(even){background-image:linear-gradient(90deg,var(--acs) 0%,transparent 40%)}
html #stage:is(.m-dep,.m-arr) a.row:hover{background-image:linear-gradient(90deg,var(--acb) 0%,var(--acs) 45%,transparent 100%)}
html #stage:is(.m-dep,.m-arr) :is(.dst .ur,.dst .km){color:var(--ac2)}
html #stage:is(.m-dep,.m-arr) a:not(.row):not(.pa a){color:var(--ac2)}
html #stage:is(.m-dep,.m-arr) .bgph .tn{--rt:var(--ac)}
/* ===== light theme v3 (owner: the washed-out light board was terrible): a crisp departure board — a solid header bar in the mode colour (Departures Manzil red, Arrivals KBT blue) with white text, a clean white table, neutral rows ===== */
html[data-theme=light] #stage.m-dep{--hb:linear-gradient(120deg,#E0191B 0%,#B91217 100%)}
html[data-theme=light] #stage.m-arr{--hb:linear-gradient(120deg,#2f59a5 0%,#1d3c78 100%)}
html[data-theme=light] #stage{background:#eef3fa}
html[data-theme=light] #stage .bgph{display:none}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .hd{background:var(--hb);border:0;box-shadow:0 12px 28px -18px rgba(22,41,77,.55);-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme=light] #stage .hd .logo{filter:brightness(0) invert(1)}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .bname .t1{color:#fff}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .bname .t2{color:rgba(255,255,255,.85)}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .clock{color:#fff;text-shadow:none}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .cdate{color:rgba(255,255,255,.85)}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .seg{background:#fff;border-color:#d6deea}
html[data-theme=light] #stage :is(.chip){background:#fff;border-color:#d6deea;color:#16294d;box-shadow:none}
html[data-theme=light] #stage .chip.on{background:#fff;border-color:#16294d;box-shadow:inset 0 0 0 1px #16294d}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .tbl{background:#fff;border:1px solid #dbe3ef;box-shadow:0 14px 30px -24px rgba(22,41,77,.45);-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .th{background:#f3f6fb;color:var(--ac);border-bottom:1px solid #dbe3ef}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .row,html[data-theme=light] #stage:is(.m-dep,.m-arr) .row:nth-child(even){background:#fff;background-image:none;border-bottom:1px solid #edf1f7}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .row:nth-child(even){background:#f9fbfe}
html[data-theme=light] #stage:is(.m-dep,.m-arr) a.row:hover{background:#f0f4fb;background-image:none}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .row .acc{background:var(--ac);box-shadow:none}
html[data-theme=light] #stage .tm{color:#10182a}
html[data-theme=light] #stage .tm .w{color:#5b6780}
html[data-theme=light] #stage .dst .cy{color:#10182a}
html[data-theme=light] #stage:is(.m-dep,.m-arr) :is(.dst .km,.dst .ur){color:#5b6780}
html[data-theme=light] #stage :is(.op,.cl){color:#2b3a55}
html[data-theme=light] #stage .pill{background:#f3f6fb;border-color:#d6deea;color:#47536b}
html[data-theme=light] #stage .pill.ok{background:#e8f6ee;border-color:#9fd3b5;color:#0f6e3e}
html[data-theme=light] #stage :is(.src,.st .ago){color:#47536b}
html[data-theme=light] #stage .src.on{color:#16294d}
html[data-theme=light] #stage .src i{background:#16874f;box-shadow:none}
html[data-theme=light] #stage:is(.m-dep,.m-arr) .foot{background:#fff;border:1px solid #dbe3ef;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
#stage .foot a.pwr{text-decoration:none}#stage .foot a.pwr:hover{opacity:.85}

/* Request seat: a departure row opens the request with its usual time, operator and class */
#stage .th,#stage .row{grid-template-columns:6.875rem minmax(0,1.4fr) minmax(0,1fr) 6.875rem 10.5rem}
#stage .req{display:inline-flex;align-items:center;gap:.5rem;padding:.5625rem .875rem;border-radius:.625rem;background:#E0191B;color:#fff;font-size:.9375rem;font-weight:800;letter-spacing:0;white-space:nowrap;box-shadow:0 6px 16px rgba(224,25,27,.35)}
#stage .req .tki{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
#stage .row:hover .req,#stage .row:focus-visible .req{background:#C01416}
@media (max-width:760px){#stage .th,#stage .row{grid-template-columns:3.875rem minmax(0,1fr) auto}#stage .req{padding:.5rem .625rem;font-size:.8125rem}}
