/* BER station panel, no seam between destination and track cell. */
#lbStationBoardOverlay #lbBoardRows .lb-gare-table{border-spacing:0!important;border-collapse:collapse!important}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr:nth-child(odd){background:var(--lb-board-row-odd)!important}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr:nth-child(even){background:var(--lb-board-row-even)!important}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr>td{
 background:transparent!important;background-image:none!important;background-clip:padding-box!important;
 border-left:0!important;border-right:0!important;box-shadow:none!important;
}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr[data-lb-row-open]:hover{background:rgba(19,68,85,.78)!important}
#lbStationBoardOverlay[data-board-mode="arr"] #lbBoardRows .lb-gare-table tbody>tr[data-lb-row-open]:hover{background:rgba(24,75,51,.75)!important}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr[data-lb-row-open]:hover>td{background:transparent!important}
#lbStationBoardOverlay #lbBoardRows .lb-gare-actions{width:auto!important;padding:4px 6px 4px 2px!important}
#lbStationBoardOverlay #lbBoardRows .lb-gare-actions-inner{width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:0!important}
/* Hero control: use actual En gare SVG, same translucency as the other hero overlays. */
html[data-lb-v4-live="1"] body.lb-v3 #home .lb-home-hero>.lb-board-open-button{
 display:inline-flex!important;gap:7px!important;align-items:center!important;justify-content:center!important;
 min-height:34px!important;max-width:46%!important;padding:7px 11px!important;
 border:1px solid rgba(116,222,238,.32)!important;border-radius:12px!important;
 background:rgba(5,28,44,.43)!important;
 backdrop-filter:blur(9px) saturate(122%)!important;-webkit-backdrop-filter:blur(9px) saturate(122%)!important;
 color:#e3faff!important;box-shadow:inset 0 1px 0 rgba(180,245,255,.07),0 3px 10px rgba(0,0,0,.12)!important;
 font:800 13px/1 Rajdhani,system-ui,sans-serif!important;letter-spacing:.014em!important;
 transition:background .16s ease,border-color .16s ease!important;
}
html[data-lb-v4-live="1"] body.lb-v3 #home .lb-home-hero>.lb-board-open-button:hover{
 background:rgba(8,45,62,.63)!important;border-color:rgba(119,233,246,.60)!important;
}
html[data-lb-v4-live="1"] body.lb-v3 #home .lb-home-hero>.lb-board-open-button .lb-board-open-icon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:19px!important;min-width:19px!important;height:20px!important;color:#82e6ef!important;
}
html[data-lb-v4-live="1"] body.lb-v3 #home .lb-home-hero>.lb-board-open-button .lb-board-open-icon svg{
 width:17px!important;height:19px!important;display:block!important;fill:none!important;
}
html[data-lb-v4-live="1"] body.lb-v3 #home .lb-home-hero>.lb-board-open-button .lb-board-open-label{
 font:inherit!important;color:#e3faff!important;white-space:nowrap!important;
}
@media(max-width:420px){html[data-lb-v4-live="1"] body.lb-v3 #home .lb-home-hero>.lb-board-open-button{min-height:32px!important;padding:6px 9px!important;font-size:12px!important}}

/* Continuous stripe across all three timetable columns. No transparent cell/column band. */
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table{
 border-collapse:collapse!important;border-spacing:0!important;
}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr:nth-child(odd)>td,
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr:nth-child(even)>td{
 background-image:none!important;background-clip:border-box!important;
 border-left:0!important;border-right:0!important;
}
#lbStationBoardOverlay[data-board-mode="dep"] #lbBoardRows .lb-gare-table tbody>tr:nth-child(odd)>td{background:#092334!important}
#lbStationBoardOverlay[data-board-mode="dep"] #lbBoardRows .lb-gare-table tbody>tr:nth-child(even)>td{background:#10334a!important}
#lbStationBoardOverlay[data-board-mode="arr"] #lbBoardRows .lb-gare-table tbody>tr:nth-child(odd)>td{background:#0e2d22!important}
#lbStationBoardOverlay[data-board-mode="arr"] #lbBoardRows .lb-gare-table tbody>tr:nth-child(even)>td{background:#193d2e!important}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr.is-cancelled>td{
 background:#2c1d2a!important;
}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr.is-partial>td{
 background:#302e26!important;
}
#lbStationBoardOverlay[data-board-mode="dep"] #lbBoardRows .lb-gare-table tbody>tr[data-lb-row-open]:hover>td{background:#15465a!important}
#lbStationBoardOverlay[data-board-mode="arr"] #lbBoardRows .lb-gare-table tbody>tr[data-lb-row-open]:hover>td{background:#23523c!important}

/* Seam-free rows: paint once on TR, never independently on fractional-width TDs.
   A shared opaque TR background prevents subpixel hairlines at cell boundaries. */
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr>td,
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr:nth-child(odd)>td,
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr:nth-child(even)>td,
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr[data-lb-row-open]:hover>td{
 background:transparent!important;background-image:none!important;
 border-left:0!important;border-right:0!important;box-shadow:none!important;
}
#lbStationBoardOverlay[data-board-mode="dep"] #lbBoardRows .lb-gare-table tbody>tr:nth-child(odd){background:#092334!important}
#lbStationBoardOverlay[data-board-mode="dep"] #lbBoardRows .lb-gare-table tbody>tr:nth-child(even){background:#10334a!important}
#lbStationBoardOverlay[data-board-mode="arr"] #lbBoardRows .lb-gare-table tbody>tr:nth-child(odd){background:#0e2d22!important}
#lbStationBoardOverlay[data-board-mode="arr"] #lbBoardRows .lb-gare-table tbody>tr:nth-child(even){background:#193d2e!important}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr.is-cancelled{background:#2c1d2a!important}
#lbStationBoardOverlay[data-board-mode] #lbBoardRows .lb-gare-table tbody>tr.is-partial{background:#302e26!important}
#lbStationBoardOverlay[data-board-mode="dep"] #lbBoardRows .lb-gare-table tbody>tr[data-lb-row-open]:hover{background:#15465a!important}
#lbStationBoardOverlay[data-board-mode="arr"] #lbBoardRows .lb-gare-table tbody>tr[data-lb-row-open]:hover{background:#23523c!important}

/* BER disable legacy table pseudo overlay (real cause of vertical/horizontal seams).
   An absolute-positioned gradient ::before previously covered the entire timetable. */
#lbStationBoardOverlay[data-board-mode="dep"] #lbBoardRows .lb-gare-table::before,
#lbStationBoardOverlay[data-board-mode="arr"] #lbBoardRows .lb-gare-table::before,
#lbStationBoardOverlay #lbBoardRows .lb-gare-table::before{
 content:none!important;display:none!important;background:none!important;border:0!important;
 opacity:0!important;pointer-events:none!important;
}
/* Keep an outline on the parent scroller only, never on a table overlay. */

/* lb-border-seam-pixel-fix-v1: verified 1px inherited cell border was
   drawing interrupted rules alongside the platform column. The alternating
   background is already painted once per TR, so no per-cell lines are needed. */
#lbStationBoardOverlay #lbBoardRows .lb-gare-table tbody tr > td,
#lbStationBoardOverlay[data-board-mode="dep"] #lbBoardRows .lb-gare-table tbody tr > td,
#lbStationBoardOverlay[data-board-mode="arr"] #lbBoardRows .lb-gare-table tbody tr > td{
 border:0!important;border-top:0!important;border-bottom:0!important;
 border-left:0!important;border-right:0!important;
 outline:0!important;
}

/* lb-en-gare-fixed-delay-height-v1
   Delayed rows occupy the same 43px as normal and cancelled rows. */
#lbStationBoardOverlay #lbBoardRows .lb-gare-table tbody>tr>td{
 height:43px!important;max-height:43px!important;padding-top:3px!important;padding-bottom:3px!important;
}
#lbStationBoardOverlay #lbBoardRows .lb-gare-table tbody>tr.is-late .lb-gare-clock-cell{
 white-space:normal!important;vertical-align:middle!important;
}
#lbStationBoardOverlay #lbBoardRows .lb-gare-table tbody>tr.is-late .lb-gare-old-time{
 display:inline-block!important;vertical-align:baseline!important;
 font:650 9px/1.05 Rajdhani,system-ui,sans-serif!important;margin:0 3px 0 0!important;
 color:#8294a0!important;opacity:.86!important;
}
#lbStationBoardOverlay #lbBoardRows .lb-gare-table tbody>tr.is-late .lb-gare-time.is-late{
 display:inline-block!important;vertical-align:baseline!important;
 font:900 13px/1 Rajdhani,system-ui,sans-serif!important;margin:0!important;
 white-space:nowrap!important;
}
/* lb-board-station-search-stacking-fix-v1:
   The picker and tabs are sibling stacking contexts. Give the OPEN picker
   its own higher level, not only the absolutely-positioned child menu. */
#lbStationBoardOverlay .lb-board-picker:has(#lbBoardStationToggle[aria-expanded="true"]){
 position:relative!important;z-index:120!important;
}
#lbStationBoardOverlay #lbBoardStationPanel:not([hidden]){
 z-index:121!important;
}

/* lb-en-gare-clock-no-live-v1: remove redundant LIVE label and fit real time in toolbar. */
#lbStationBoardOverlay .lb-board-toolbar .lb-gare-clock-live-label{
 display:none!important;
}
#lbStationBoardOverlay .lb-board-toolbar .lb-gare-clock-live{
 display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;
 gap:0!important;margin-left:auto!important;min-width:0!important;
 flex:0 0 auto!important;white-space:nowrap!important;
}
#lbStationBoardOverlay .lb-board-toolbar #lbBoardClock{
 display:inline-block!important;min-width:0!important;width:auto!important;
 font-variant-numeric:tabular-nums!important;text-align:right!important;
}

/* Very narrow phones: keep the clock visible, shorten only the Quai control. */
@media(max-width:355px){
 #lbStationBoardOverlay .lb-board-toolbar>.lb-quai-toolbar-trigger{max-width:none!important;width:auto!important;flex:0 0 auto!important;margin:0!important}
 #lbStationBoardOverlay .lb-board-toolbar>.lb-quai-toolbar-trigger .lb-quai-toggle{
  width:auto!important;min-width:0!important;padding:0 5px!important;gap:3px!important;
 }
 #lbStationBoardOverlay .lb-board-toolbar>.lb-quai-toolbar-trigger .lb-quai-toggle strong,
 #lbStationBoardOverlay .lb-board-toolbar>.lb-quai-toolbar-trigger .lb-quai-chevron{display:none!important}
 #lbStationBoardOverlay .lb-board-toolbar{gap:4px!important}
}

/* lb-delay-pill-font-parity-v1 — delayed time matches punctual time; compact rounded delay chip. */
#lbStationBoardOverlay #lbBoardRows .lb-gare-table tbody tr.is-late .lb-gare-time.is-late{
 font-family:Rajdhani,system-ui,sans-serif!important;
 font-size:16px!important;font-weight:900!important;line-height:1.05!important;
 letter-spacing:0!important;display:inline-block!important;white-space:nowrap!important;
 color:#ffab38!important;
}
#lbStationBoardOverlay #lbBoardRows .lb-gare-table tbody tr.is-late .lb-gare-old-time{
 font-size:9px!important;line-height:1!important;font-weight:650!important;
 margin-right:3px!important;color:#8b9ba7!important;opacity:.9!important;
 text-decoration:line-through!important;text-decoration-thickness:1px!important;
}
#lbStationBoardOverlay #lbBoardRows .lb-gare-table tbody tr.is-late .lb-gare-status.is-late{
 box-sizing:border-box!important;display:block!important;width:max-content!important;
 max-width:100%!important;margin:1px 0 0!important;padding:1px 8px!important;
 border:0!important;border-radius:999px!important;outline:0!important;
 background:rgba(212,125,31,.27)!important;box-shadow:none!important;
 color:#ffd08c!important;font:850 9px/1.1 Rajdhani,system-ui,sans-serif!important;
 white-space:nowrap!important;text-overflow:clip!important;
}
