/* Railuno v0.17.24.1: home header and footer only */
#railuno-quick-search{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:38px;padding:8px 12px;border:1px solid #34475e;border-radius:8px;background:#172538;color:#edf4ff;white-space:nowrap;margin-left:16px}
#railuno-quick-search svg{width:17px;height:17px;flex-shrink:0}
#railuno-quick-search:hover{border-color:#86efac}
#railuno-quick-search kbd{font:10px system-ui;color:#a1b0c5;border:1px solid #34475e;border-radius:4px;padding:2px 4px}
#railuno-footer{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 18px;padding:6px 16px;min-height:34px;background:#0d1928;border-top:1px solid #26354a;font-size:11px;line-height:1.4;flex-shrink:0}
#railuno-footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
#railuno-footer a,#railuno-footer button{font:inherit;color:#aabbd0;text-decoration:none}
#railuno-footer button{border:0;background:transparent;padding:2px 0;cursor:pointer}
#railuno-footer a:hover,#railuno-footer button:hover{text-decoration:underline;color:#edf4ff}
#railuno-footer #updated{margin-left:auto;white-space:nowrap;color:#aabbd0}
#railuno-source-button::after{content:' ⌃';font-size:11px}
#railuno-sources{width:min(440px,calc(100% - 32px));max-height:85dvh;overflow:auto;background:#122033;color:#edf4ff;border:1px solid #34475e;border-radius:14px;padding:20px;box-shadow:0 12px 50px #0008}
#railuno-sources::backdrop{background:#0008}
#railuno-sources h2{font-size:19px;margin:0 0 12px}#railuno-sources p{line-height:1.6;font-size:13px}#railuno-sources a{color:#9acbff}#railuno-source-close{width:100%;min-height:44px;margin-top:8px}
@media(max-width:700px){
 header{grid-template-columns:minmax(0,1fr) auto auto auto}
 header #railuno-quick-search{grid-column:2;grid-row:1;margin:0;padding:0;width:40px;height:40px;min-height:40px}
 header #status{grid-column:3}header #language{grid-column:4}
 #railuno-quick-search span,#railuno-quick-search kbd{display:none}
 #railuno-footer.railuno-footer-mobile{grid-column:1/-1;display:grid;grid-template-columns:1fr;gap:9px;padding:10px 0 0;border:0;border-top:1px solid #34475e;background:transparent;font-size:12px;min-height:0}
 #railuno-footer.railuno-footer-mobile #railuno-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:7px}
 #railuno-footer.railuno-footer-mobile #railuno-footer-links :is(a,button){min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;padding:6px;border:1px solid #34475e;border-radius:8px;background:#1b2c40;line-height:1.2}
 #railuno-footer.railuno-footer-mobile #railuno-about,#railuno-footer.railuno-footer-mobile #privacy-settings{display:none}
 #railuno-footer.railuno-footer-mobile #updated{margin:0;text-align:center;font-size:11px}
 #railuno-footer.railuno-footer-mobile .railuno-copyright{text-align:center;font-size:11px}
}

/* Railuno v0.17.24.2: stable viewport and desktop navigation. */
body{overflow:hidden;min-height:0}
body > main{flex:1 1 0;min-height:0;overflow:hidden}
body > main > .mapwrap{min-height:0}
@media(min-width:701px){
 #sidebar{min-height:0;scroll-padding-top:156px}
 #sidebar #main-nav{position:sticky;top:0;z-index:10;background:#111c2e;padding:4px 0 8px}
 body.desktop-panel-collapsed #sidebar #main-nav{position:relative;top:auto}
}
