/* node_modules/leaflet/dist/leaflet.css */
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-container {
  overflow: hidden;
}

.leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-tile::selection {
  background: none;
}

.leaflet-safari .leaflet-tile {
  image-rendering: -webkit-optimize-contrast;
}

.leaflet-safari .leaflet-tile-container {
  -webkit-transform-origin: 0 0;
  width: 1600px;
  height: 1600px;
}

.leaflet-marker-icon, .leaflet-marker-shadow {
  display: block;
}

.leaflet-container .leaflet-overlay-pane svg {
  max-width: none !important;
  max-height: none !important;
}

.leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, .leaflet-container .leaflet-tile-pane img, .leaflet-container img.leaflet-image-layer, .leaflet-container .leaflet-tile {
  width: auto;
  padding: 0;
  max-width: none !important;
  max-height: none !important;
}

.leaflet-container img.leaflet-tile {
  mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
  -ms-touch-action: pan-x pan-y;
  touch-action: pan-x pan-y;
}

.leaflet-container.leaflet-touch-drag {
  -ms-touch-action: pinch-zoom;
  touch-action: none;
  touch-action: pinch-zoom;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
  -ms-touch-action: none;
  touch-action: none;
}

.leaflet-container {
  -webkit-tap-highlight-color: transparent;
}

.leaflet-container a {
  -webkit-tap-highlight-color: #33b5e566;
}

.leaflet-tile {
  filter: inherit;
  visibility: hidden;
}

.leaflet-tile-loaded {
  visibility: inherit;
}

.leaflet-zoom-box {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 800;
  width: 0;
  height: 0;
}

.leaflet-overlay-pane svg {
  -moz-user-select: none;
}

.leaflet-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-map-pane canvas {
  z-index: 100;
}

.leaflet-map-pane svg {
  z-index: 200;
}

.leaflet-vml-shape {
  width: 1px;
  height: 1px;
}

.lvml {
  behavior: url("#default#VML");
  display: inline-block;
  position: absolute;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: visiblePainted;
  pointer-events: auto;
}

.leaflet-top, .leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control {
  float: left;
  clear: both;
}

.leaflet-right .leaflet-control {
  float: right;
}

.leaflet-top .leaflet-control {
  margin-top: 10px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 10px;
}

.leaflet-left .leaflet-control {
  margin-left: 10px;
}

.leaflet-right .leaflet-control {
  margin-right: 10px;
}

.leaflet-fade-anim .leaflet-popup {
  opacity: 0;
  transition: opacity .2s linear;
}

.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
  opacity: 1;
}

.leaflet-zoom-animated {
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
}

svg.leaflet-zoom-animated {
  will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
  -webkit-transition: -webkit-transform .25s cubic-bezier(0,0,.25,1);
  -moz-transition: -moz-transform .25s cubic-bezier(0,0,.25,1);
  transition: transform .25s cubic-bezier(0,0,.25,1);
}

.leaflet-zoom-anim .leaflet-tile, .leaflet-pan-anim .leaflet-tile {
  transition: none;
}

.leaflet-zoom-anim .leaflet-zoom-hide {
  visibility: hidden;
}

.leaflet-interactive {
  cursor: pointer;
}

.leaflet-grab {
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}

.leaflet-crosshair, .leaflet-crosshair .leaflet-interactive {
  cursor: crosshair;
}

.leaflet-popup-pane, .leaflet-control {
  cursor: auto;
}

.leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable {
  cursor: move;
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

.leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container {
  pointer-events: none;
}

.leaflet-marker-icon.leaflet-interactive, .leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path {
  pointer-events: visiblePainted;
  pointer-events: auto;
}

.leaflet-container {
  outline-offset: 1px;
  background: #ddd;
}

.leaflet-container a {
  color: #0078a8;
}

.leaflet-zoom-box {
  background: #ffffff80;
  border: 2px dotted #38f;
}

.leaflet-container {
  font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
  font-size: .75rem;
  line-height: 1.5;
}

.leaflet-bar {
  border-radius: 4px;
  box-shadow: 0 1px 5px #000000a6;
}

.leaflet-bar a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #000;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  width: 26px;
  height: 26px;
  line-height: 26px;
}

.leaflet-bar a, .leaflet-control-layers-toggle {
  display: block;
  background-position: 50%;
  background-repeat: no-repeat;
}

.leaflet-bar a:hover, .leaflet-bar a:focus {
  background-color: #f4f4f4;
}

.leaflet-bar a:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.leaflet-bar a:last-child {
  border-bottom: none;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.leaflet-bar a.leaflet-disabled {
  cursor: default;
  color: #bbb;
  background-color: #f4f4f4;
}

.leaflet-touch .leaflet-bar a {
  width: 30px;
  height: 30px;
  line-height: 30px;
}

.leaflet-touch .leaflet-bar a:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.leaflet-touch .leaflet-bar a:last-child {
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
}

.leaflet-control-zoom-in, .leaflet-control-zoom-out {
  text-indent: 1px;
  font: bold 18px Lucida Console, Monaco, monospace;
}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
  font-size: 22px;
}

.leaflet-control-layers {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 5px #0006;
}

.leaflet-control-layers-toggle {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC");
  width: 36px;
  height: 36px;
}

.leaflet-retina .leaflet-control-layers-toggle {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=");
  background-size: 26px 26px;
}

.leaflet-touch .leaflet-control-layers-toggle {
  width: 44px;
  height: 44px;
}

.leaflet-control-layers .leaflet-control-layers-list, .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
  display: none;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
  display: block;
  position: relative;
}

.leaflet-control-layers-expanded {
  color: #333;
  background: #fff;
  padding: 6px 10px 6px 6px;
}

.leaflet-control-layers-scrollbar {
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 5px;
}

.leaflet-control-layers-selector {
  position: relative;
  margin-top: 2px;
  top: 1px;
}

.leaflet-control-layers label {
  display: block;
  font-size: 1.08333em;
}

.leaflet-control-layers-separator {
  border-top: 1px solid #ddd;
  height: 0;
  margin: 5px -10px 5px -6px;
}

.leaflet-default-icon-path {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=");
}

.leaflet-container .leaflet-control-attribution {
  background: #fffc;
  margin: 0;
}

.leaflet-control-attribution, .leaflet-control-scale-line {
  color: #333;
  padding: 0 5px;
  line-height: 1.4;
}

.leaflet-control-attribution a {
  text-decoration: none;
}

.leaflet-control-attribution a:hover, .leaflet-control-attribution a:focus {
  text-decoration: underline;
}

.leaflet-attribution-flag {
  width: 1em;
  height: .6669em;
  display: inline !important;
  vertical-align: baseline !important;
}

.leaflet-left .leaflet-control-scale {
  margin-left: 5px;
}

.leaflet-bottom .leaflet-control-scale {
  margin-bottom: 5px;
}

.leaflet-control-scale-line {
  white-space: nowrap;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-shadow: 1px 1px #fff;
  background: #fffc;
  border: 2px solid #777;
  border-top: none;
  padding: 2px 5px 1px;
  line-height: 1.1;
}

.leaflet-control-scale-line:not(:first-child) {
  border-top: 2px solid #777;
  border-bottom: none;
  margin-top: -2px;
}

.leaflet-control-scale-line:not(:first-child):not(:last-child) {
  border-bottom: 2px solid #777;
}

.leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
  box-shadow: none;
}

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
  background-clip: padding-box;
  border: 2px solid #0003;
}

.leaflet-popup {
  position: absolute;
  text-align: center;
  margin-bottom: 20px;
}

.leaflet-popup-content-wrapper {
  text-align: left;
  border-radius: 12px;
  padding: 1px;
}

.leaflet-popup-content {
  min-height: 1px;
  margin: 13px 24px 13px 20px;
  font-size: 1.08333em;
  line-height: 1.3;
}

.leaflet-popup-content p {
  margin: 1.3em 0;
}

.leaflet-popup-tip-container {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  width: 40px;
  height: 20px;
  margin-top: -1px;
  margin-left: -20px;
  left: 50%;
}

.leaflet-popup-tip {
  pointer-events: auto;
  width: 17px;
  height: 17px;
  margin: -10px auto 0;
  padding: 1px;
  transform: rotate(45deg);
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  color: #333;
  background: #fff;
  box-shadow: 0 3px 14px #0006;
}

.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  text-align: center;
  color: #757575;
  text-decoration: none;
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  font: 16px / 24px Tahoma, Verdana, sans-serif;
  top: 0;
  right: 0;
}

.leaflet-container a.leaflet-popup-close-button:hover, .leaflet-container a.leaflet-popup-close-button:focus {
  color: #585858;
}

.leaflet-popup-scrolled {
  overflow: auto;
}

.leaflet-oldie .leaflet-popup-content-wrapper {
  -ms-zoom: 1;
}

.leaflet-oldie .leaflet-popup-tip {
  -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
  filter: progid:DXImageTransform. Microsoft. Matrix(M11= .707107, M12= .707107, M21= -.707107, M22= .707107);
  width: 24px;
  margin: 0 auto;
}

.leaflet-oldie .leaflet-control-zoom, .leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip {
  border: 1px solid #999;
}

.leaflet-div-icon {
  background: #fff;
  border: 1px solid #666;
}

.leaflet-tooltip {
  position: absolute;
  color: #222;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 6px;
  box-shadow: 0 1px 3px #0006;
}

.leaflet-tooltip.leaflet-interactive {
  cursor: pointer;
  pointer-events: auto;
}

.leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, .leaflet-tooltip-right:before {
  position: absolute;
  pointer-events: none;
  content: "";
  background: none;
  border: 6px solid #0000;
}

.leaflet-tooltip-bottom {
  margin-top: 6px;
}

.leaflet-tooltip-top {
  margin-top: -6px;
}

.leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before {
  margin-left: -6px;
  left: 50%;
}

.leaflet-tooltip-top:before {
  border-top-color: #fff;
  margin-bottom: -12px;
  bottom: 0;
}

.leaflet-tooltip-bottom:before {
  border-bottom-color: #fff;
  margin-top: -12px;
  margin-left: -6px;
  top: 0;
}

.leaflet-tooltip-left {
  margin-left: -6px;
}

.leaflet-tooltip-right {
  margin-left: 6px;
}

.leaflet-tooltip-left:before, .leaflet-tooltip-right:before {
  margin-top: -6px;
  top: 50%;
}

.leaflet-tooltip-left:before {
  border-left-color: #fff;
  margin-right: -12px;
  right: 0;
}

.leaflet-tooltip-right:before {
  border-right-color: #fff;
  margin-left: -12px;
  left: 0;
}

@media print {
  .leaflet-control {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* node_modules/leaflet.markercluster/dist/MarkerCluster.css */
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
  -webkit-transition: -webkit-transform .3s ease-out, opacity .3s ease-in;
  -o-transition: -o-transform .3s ease-out, opacity .3s ease-in;
  -moz-transition: -moz-transform .3s ease-out, opacity .3s ease-in;
  transition: transform .3s ease-out, opacity .3s ease-in;
}

.leaflet-cluster-spider-leg {
  -o-transition: -o-stroke-dashoffset .3s ease-out, -o-stroke-opacity .3s ease-in;
  transition: stroke-dashoffset .3s ease-out, stroke-opacity .3s ease-in;
}

/* src/client/styles/base.css */
:root {
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-right: env(safe-area-inset-right, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-inset-left: env(safe-area-inset-left, 0px);
  --bg-surface: #fff;
  --bg-elevated: #f8f8f8;
  --bg-muted: #f4f4f4;
  --bg-highlight: #fff3cd;
  --bg-row-hover: #eef6f2;
  --text-primary: #1a1a1a;
  --text-secondary: #444;
  --text-muted: #888;
  --text-faint: #555;
  --border-subtle: #f0f0f0;
  --border-strong: #e0e0e0;
  --brand-dark: #1a4a2e;
  --brand-mid: #1a7a4a;
  --brand-light: #25a864;
  --status-ontime-bg: #eaf7ee;
  --status-ontime-text: #1a7a4a;
  --status-late-bg: #fff4d6;
  --status-late-text: #8a6a00;
  --status-early-bg: #fde5e5;
  --status-early-text: #b42318;
  --op-dublinbus: #f9a825;
  --op-buseireann: #d52b1e;
  --op-goahead: #1e6bb8;
  --op-dublinbus-text: #3d2800;
  --popup-dir-bg: var(--bg-muted);
  --popup-dir-text: #666;
  --map-bg: #ede7dd;
  --glass-bg: #16161cc7;
  --glass-border: #ffffff14;
  --glass-text: #f0f0f0;
  --glass-blur: blur(18px) saturate(140%);
  --shadow-panel: 0 4px 24px #00000059;
  --motion-fast: .15s;
}

*, *:before, *:after {
  box-sizing: border-box;
}

button, a, [role="button"], input, textarea, select, label {
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  height: 100lvh;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}

input, textarea {
  -webkit-user-select: auto;
  user-select: auto;
}

body {
  position: fixed;
  inset: 0;
}

#root {
  width: 100vw;
  height: 100vh;
  height: 100lvh;
}

#map {
  width: 100vw;
  height: 100vh;
  background: var(--map-bg);
  height: 100lvh;
}

.leaflet-container {
  background: var(--map-bg);
}

.leaflet-control-attribution.leaflet-control {
  color: #0000008c;
  background: none;
  padding: 0 4px;
  font-size: .62rem;
}

.leaflet-control-attribution a {
  color: #000000b3;
  pointer-events: none;
  text-decoration: none;
  cursor: default;
}

.map-empty-state {
  position: fixed;
  z-index: 1001;
  background: var(--glass-bg);
  color: var(--glass-text);
  text-align: center;
  pointer-events: none;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  animation: map-empty-state-in .22s ease-out;
  border: 1px solid #ffffff1a;
  border-radius: 14px;
  max-width: min(360px, 100vw - 32px);
  padding: 16px 22px;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 28px #00000059;
}

.map-empty-state__title {
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.25;
}

.map-empty-state__body {
  color: #f0f0f0b8;
  margin-top: 3px;
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.35;
}

@keyframes map-empty-state-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 8px));
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (width <= 600px) {
  .map-empty-state {
    padding: 12px 16px;
    top: 45%;
  }
}

/* src/client/styles/toast.css */
.app-toast {
  position: fixed;
  top: calc(60px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  z-index: 2001;
  color: #1a1a1a;
  animation: app-toast-in .25s ease-out;
  text-align: left;
  background: #f5b945f5;
  border-radius: 12px;
  max-width: calc(100vw - 24px);
  padding: 12px 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 28px #00000080;
}

.app-toast__text {
  min-width: 0;
  line-height: 1.3;
}

.app-toast__title {
  white-space: nowrap;
  font-size: .95rem;
  font-weight: 700;
}

.app-toast__body {
  opacity: .72;
  margin-top: 2px;
  font-size: .78rem;
  font-weight: 500;
}

@keyframes app-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, -12px);
  }

  to {
    opacity: 1;
    transform: translate(-50%);
  }
}

@media (width <= 600px) {
  .app-toast {
    top: calc(220px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  }
}

/* src/client/styles/offline.css */
.offline-banner {
  position: fixed;
  top: calc(12px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  z-index: 2002;
  color: #fff;
  white-space: nowrap;
  animation: offline-banner-in .2s ease-out;
  pointer-events: none;
  background: #b42318f2;
  border-radius: 999px;
  max-width: calc(100vw - 24px);
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 16px #0006;
}

.realtime-banner {
  position: fixed;
  top: calc(68px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  z-index: 2001;
  color: #fff8df;
  white-space: nowrap;
  animation: offline-banner-in .2s ease-out;
  pointer-events: none;
  background: #925300f0;
  border: 1px solid #ffd16680;
  border-radius: 999px;
  max-width: calc(100vw - 24px);
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 650;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 16px #00000059;
}

.realtime-banner--unavailable {
  color: #fff1eb;
  background: #80311ef2;
  border-color: #ff97707a;
}

.realtime-banner--route-mismatch {
  color: #fff8df;
  background: #925300f5;
  border-color: #ffd1669e;
}

@keyframes offline-banner-in {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }

  to {
    opacity: 1;
    transform: translate(-50%);
  }
}

@media (width <= 600px) {
  .offline-banner {
    top: calc(170px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  }

  .realtime-banner {
    top: calc(210px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
    white-space: normal;
    text-align: center;
    max-width: calc(100vw - 20px);
  }
}

.fab {
  background: var(--glass-bg);
  color: var(--glass-text);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  display: flex;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background var(--motion-fast), transform .1s;
  border-radius: 10px;
  justify-content: center;
  align-items:  center;
  width: 40px;
  height: 40px;
  padding: 0;
  box-shadow: 0 2px 12px #00000059;
}

.fab:hover {
  background: #282830e6;
}

.fab:active {
  transform: scale(.94);
}

.fab:disabled {
  cursor: wait;
  opacity: .55;
}

@media (width <= 600px) {
  .locate-btn, .fav-fab, .about-fab, .settings-fab {
    box-shadow: none;
  }
}

.locate-btn {
  position: fixed;
  bottom: calc(48px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  z-index: 1000;
}

.locate-btn.loading svg {
  animation: locate-spin .9s linear infinite;
}

@keyframes locate-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (width <= 600px) {
  .locate-btn {
    top: auto;
    bottom: calc(110px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  }
}

.user-loc-marker {
  background: none;
  border: 0;
}

.user-loc-icon {
  position: relative;
  transform-origin: 40px 40px;
  will-change: transform;
  width: 80px;
  height: 80px;
  transition: transform .18s ease-out;
}

.user-loc-cone {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  overflow: visible;
  width: 80px;
  height: 80px;
  transition: opacity .25s;
  inset: 0;
}

.user-loc-icon.has-heading .user-loc-cone {
  opacity: 1;
}

.user-loc-dot {
  position: absolute;
  background: #1e88e5;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px #00000059;
}

.server-banner {
  position: fixed;
  top: calc(68px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  z-index: 2001;
  color: #fff;
  white-space: nowrap;
  animation: offline-banner-in .2s ease-out;
  pointer-events: none;
  background: #78231ef5;
  border: 1px solid #ff786473;
  border-radius: 999px;
  max-width: calc(100vw - 24px);
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 650;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 16px #00000059;
}

/* src/client/styles/info-panel.css */
#info-panel.info-panel--detail {
  position: fixed;
  top: calc(12px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  z-index: 1000;
  background: var(--glass-bg);
  color: var(--glass-text);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-panel);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transform-origin: top right;
  animation: info-detail-panel-in .34s cubic-bezier(.2, .8, .2, 1) both;
  border-radius: 12px;
  width: min(420px, 100vw - 32px);
  padding: 10px 12px;
  bottom: auto;
  left: auto;
  transform: none;
}

.info-stop-summary {
  --summary-side-col: clamp(148px, 34%, 190px);
  position: relative;
  display: flex;
  padding: 4px calc(var(--summary-side-col)  + 12px) 4px 10px;
  border-left: 4px solid var(--brand-mid);
  animation: info-item-in .55s cubic-bezier(.22, .61, .36, 1) both;
  background: #ffffff0f;
  border-radius: 10px;
  flex-direction: column;
  gap: 3px;
  margin: -4px;
}

.info-stop-summary__updated {
  position: absolute;
  max-width: var(--summary-side-col);
  color: #aaa;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.15;
  top: 8px;
  right: 10px;
}

.info-stop-summary--dublinbus {
  border-left-color: var(--op-dublinbus);
}

.info-stop-summary--buseireann {
  border-left-color: var(--op-buseireann);
}

.info-stop-summary--goahead {
  border-left-color: var(--op-goahead);
}

.info-stop-summary--train {
  border-left-color: #25a864;
}

.info-stop-summary--luas-green {
  --summary-side-col: clamp(112px, 28%, 132px);
  border-left-color: #26a65b;
}

.info-stop-summary--luas-red {
  --summary-side-col: clamp(112px, 28%, 132px);
  border-left-color: #d71920;
}

.info-stop-summary--luas-both {
  --summary-side-col: clamp(112px, 28%, 132px);
  border-left-color: #fff;
}

.info-stop-summary__stop, .info-stop-summary__arrival {
  display: flex;
  align-items:  center;
  gap: 8px;
  min-width: 0;
}

.info-stop-summary__stop strong, .info-stop-summary__route {
  color: #fff;
  flex: none;
  font-weight: 800;
}

.info-stop-summary__stop span, .info-stop-summary__headsign {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #cfcfcf;
  min-width: 0;
  font-size: .78rem;
}

.info-stop-summary__route {
  background: var(--brand-mid);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: .78rem;
}

.info-stop-summary--train .info-stop-summary__route {
  background: #25a864;
}

.info-stop-summary--luas-green .info-stop-summary__route {
  background: #26a65b;
}

.info-stop-summary--luas-red .info-stop-summary__route {
  background: #c5161d;
}

.info-stop-summary__headsign {
  flex: auto;
}

.info-stop-summary__meta, .info-stop-summary__empty {
  color: var(--brand-light);
  white-space: nowrap;
  flex: none;
  font-size: .78rem;
  font-weight: 700;
}

.info-stop-summary__meta {
  position: absolute;
  max-width: var(--summary-side-col);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  bottom: 8px;
  right: 10px;
}

.info-stop-summary__empty {
  color: #aaa;
}

@keyframes info-item-in {
  from {
    opacity: 0;
    transform: translateY(8px)scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

@keyframes info-detail-panel-in {
  0% {
    opacity: 0;
    transform: scale(.86);
  }

  62% {
    opacity: 1;
    transform: scale(1.025);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

#info-panel.mode-switch {
  position: fixed;
  top: calc(12px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--glass-text);
  touch-action: manipulation;
  overflow: hidden;
  transform-origin: center;
  transition: background var(--motion-fast), box-shadow var(--motion-fast);
  animation: info-mode-switch-in .36s cubic-bezier(.18, .84, .22, 1);
  background: #1c1c21b8;
  border: 1px solid #ffffff21;
  border-radius: 999px;
  align-items: stretch;
  width: 206px;
  height: 40px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  padding: 3px;
  left: 0;
  right: 0;
  box-shadow: 0 5px 16px #0003, inset 0 1px #ffffff1a;
}

#info-panel.mode-switch:before {
  content: "";
  position: absolute;
  pointer-events: none;
  background: #ffffff0a;
  border-radius: 999px;
  inset: 3px;
}

.mode-switch:hover {
  background: #1e1e24c7;
}

.mode-switch:active {
  box-shadow: 0 4px 12px #0003, inset 0 1px #ffffff1a;
}

.mode-switch__option {
  position: relative;
  z-index: 1;
  display: flex;
  color: #ffffff8a;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  transition: background var(--motion-fast), box-shadow var(--motion-fast), color var(--motion-fast);
  background: none;
  border: 0;
  border-radius: 999px;
  justify-content: center;
  align-self: stretch;
  align-items:  center;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 720;
  line-height: 1;
}

.mode-switch--train .mode-switch__option--train, .mode-switch--bus .mode-switch__option--bus, .mode-switch--luas .mode-switch__option--luas {
  color: #fffffff0;
  background: #ffffff29;
  box-shadow: 0 1px 5px #00000029, inset 0 1px #ffffff1f;
}

@keyframes info-mode-switch-in {
  0% {
    opacity: 0;
    transform: translateY(12px)scale(.82);
  }

  54% {
    opacity: 1;
    transform: translateY(-2px)scale(1.045);
  }

  78% {
    opacity: 1;
    transform: translateY(1px)scale(.992);
  }

  100% {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

#info-panel.off-hours-panel {
  position: fixed;
  top: calc(12px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  z-index: 1000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--glass-text);
  background: #202026cc;
  border: 1px solid #ffffff29;
  border-radius: 999px;
  align-items:  center;
  gap: 9px;
  width: min(342px, 100vw - 32px);
  min-height: 58px;
  padding: 7px 8px 7px 9px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 22px #0000003d, inset 0 1px #ffffff1f;
}

.off-hours-panel__irishmaps {
  display: block;
  width: 42px;
  height: 42px;
}

.off-hours-panel__copy {
  min-width: 0;
  line-height: 1.05;
}

.off-hours-panel__title {
  overflow: hidden;
  color: #fffffff2;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .86rem;
  font-weight: 800;
}

.off-hours-panel__status {
  color: #ffffff94;
  margin-top: 4px;
  font-size: .72rem;
  font-weight: 700;
}

.off-hours-panel__switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #08080c2e;
  border-radius: 999px;
  width: 170px;
  height: 38px;
  padding: 3px;
}

.off-hours-panel__mode {
  display: flex;
  color: #ffffff94;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--motion-fast), color var(--motion-fast);
  background: none;
  border: 0;
  border-radius: 999px;
  justify-content: center;
  align-items:  center;
  gap: 3px;
  min-width: 0;
  padding: 0;
  font-size: .7rem;
  font-weight: 760;
  line-height: 1;
}

.off-hours-panel__mode[aria-pressed="true"] {
  color: #fffffff0;
  background: #ffffff26;
  box-shadow: 0 3px 10px #0000002e, inset 0 1px #ffffff24;
}

.off-hours-panel__mode svg {
  flex: none;
  width: 16px;
  height: 16px;
}

@media (width <= 600px) {
  #info-panel.info-panel--detail {
    top: auto;
    right: auto;
    bottom: calc(8px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    transform-origin: bottom center;
    animation-name: info-detail-panel-in-mobile;
    width: calc(100vw - 16px);
    padding: 8px 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  .info-stop-summary {
    padding: 8px calc(var(--summary-side-col)  + 12px) 8px 10px;
    margin: -3px;
  }

  .info-stop-summary__updated {
    font-size: .7rem;
    top: 10px;
    right: 12px;
  }

  .info-stop-summary__arrival {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .info-stop-summary__meta {
    bottom: 10px;
    right: 12px;
  }

  #info-panel.mode-switch {
    top: auto;
    bottom: calc(24px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    animation-name: info-mode-switch-mobile-in;
    width: 148px;
    height: 46px;
  }

  #info-panel.off-hours-panel {
    top: auto;
    bottom: calc(24px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    width: min(330px, 100vw - 32px);
  }

  .off-hours-panel__irishmaps {
    width: 40px;
    height: 40px;
  }

  .mode-switch__option {
    gap: 4px;
    font-size: .82rem;
  }
}

@keyframes info-detail-panel-in-mobile {
  0% {
    opacity: 0;
    transform: translateX(-50%)scale(.88);
  }

  62% {
    opacity: 1;
    transform: translateX(-50%)scale(1.018);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%);
  }
}

@keyframes info-mode-switch-mobile-in {
  0% {
    opacity: 0;
    transform: translateY(12px)scale(.82);
  }

  54% {
    opacity: 1;
    transform: translateY(-2px)scale(1.045);
  }

  78% {
    opacity: 1;
    transform: translateY(1px)scale(.992);
  }

  100% {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #info-panel.info-panel--detail, #info-panel.mode-switch, .info-stop-summary {
    animation: none;
  }
}

/* src/client/styles/about.css */
.about-fab {
  position: fixed;
  bottom: calc(144px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  z-index: 1000;
}

.about-fab__badge {
  position: absolute;
  background: #f05454;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  top: 6px;
  right: 6px;
  box-shadow: 0 0 0 2px #16161ce6;
}

@media (width <= 600px) {
  .about-fab {
    top: auto;
    bottom: calc(206px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  }
}

.about-overlay {
  position: fixed;
  z-index: 2500;
  display: flex;
  backdrop-filter: blur(4px) saturate(120%);
  -webkit-backdrop-filter: blur(4px) saturate(120%);
  animation: about-fade-in .2s ease-out;
  background: #08080e9e;
  justify-content: center;
  align-items:  center;
  padding: 24px;
  inset: 0;
}

@keyframes about-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.about-modal {
  position: relative;
  color: #f0f0f0;
  display: flex;
  overflow: hidden;
  animation: about-slide-in .28s cubic-bezier(.22, .61, .36, 1);
  background: linear-gradient(#1e1e26f5 0%, #121218f5 100%);
  border: 1px solid #ffffff14;
  border-radius: 20px;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 48px);
  box-shadow: 0 24px 60px #0000008c, inset 0 0 0 1px #ffffff08;
}

.about-modal__scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.about-modal__scroll::-webkit-scrollbar {
  display: none;
}

@keyframes about-slide-in {
  from {
    opacity: 0;
    transform: translateY(14px)scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.about-modal__close {
  position: absolute;
  color: #ffffffb3;
  cursor: pointer;
  display: flex;
  z-index: 2;
  background: #ffffff0f;
  border: 1px solid #ffffff14;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 32px;
  padding: 0;
  transition: background .15s, color .15s, transform .1s;
  top: 14px;
  right: 14px;
}

.about-modal__close:hover {
  color: #fff;
  background: #ffffff1f;
}

.about-modal__close:active {
  transform: scale(.92);
}

.about-modal__lang {
  position: absolute;
  display: flex;
  z-index: 2;
  background-color: #ffffff0f;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  gap: 2px;
  padding: 3px;
  transition: opacity .18s, transform .18s;
  top: 14px;
  left: 14px;
}

.about-modal__lang.is-scrolled {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.about-modal__lang__btn {
  color: #ffffffa6;
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 13px;
  min-width: 32px;
  height: 26px;
  padding: 0 10px;
  transition: background .15s, color .15s;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.about-modal__lang__btn:hover:not(.is-active) {
  color: #fff;
}

.about-modal__lang__btn.is-active {
  color: #25a864;
  background: #25a86440;
}

.about-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 36px 28px 28px;
}

.about-hero:before {
  content: "";
  position: absolute;
  pointer-events: none;
  background: radial-gradient(circle, #4dd6a02e 0%, #4dd6a000 60%);
  width: 320px;
  height: 320px;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.about-hero__mark {
  position: relative;
  display: inline-flex;
  filter: drop-shadow(0 6px 18px #00000073);
  animation: about-float 3.2s ease-in-out infinite;
  margin-bottom: 14px;
}

@keyframes about-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.about-hero__name {
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 6px;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.about-hero__pron {
  display: inline-flex;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: #4dd6a01a;
  border: 1px solid #4dd6a038;
  border-radius: 999px;
  align-items:  center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 600;
}

.about-hero__pron em {
  color: #ffffff73;
  letter-spacing: .08em;
  font-style: normal;
  font-weight: 500;
}

.about-hero__tag {
  color: #ffffffb8;
  max-width: 340px;
  margin: 0 auto;
  font-size: .88rem;
  line-height: 1.55;
}

.about-divider {
  background: linear-gradient(90deg, #0000, #ffffff1a 50%, #0000);
  height: 1px;
  margin: 0 24px;
}

.about-block {
  padding: 22px 28px;
}

.about-block__label {
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffffff6b;
  margin-bottom: 14px;
  font-size: .68rem;
  font-weight: 700;
}

.about-block__note {
  color: #ffffff6b;
  text-align: center;
  margin: 12px 0 0;
  font-size: .76rem;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.about-feature {
  display: flex;
  background: #ffffff09;
  border: 1px solid #ffffff0f;
  border-radius: 12px;
  align-items:  flex-start;
  gap: 12px;
  padding: 10px 12px;
  transition: background .15s, border-color .15s;
}

.about-feature:hover {
  background: #4dd6a00f;
  border-color: #4dd6a02e;
}

.about-feature__icon {
  display: inline-flex;
  color: var(--brand-light);
  background: #4dd6a01f;
  border-radius: 9px;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 34px;
  height: 34px;
}

.about-feature__title {
  color: #fff;
  margin-bottom: 2px;
  font-size: .88rem;
  font-weight: 600;
}

.about-feature__desc {
  color: #ffffff8c;
  font-size: .78rem;
  line-height: 1.45;
}

.about-install-callout {
  background: #4dd6a012;
  border: 1px solid #4dd6a038;
  border-radius: 14px;
  padding: 16px 16px 14px;
}

.about-install__heading {
  display: flex;
  color: #fff;
  align-items:  center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 600;
}

.about-install__heading svg {
  color: var(--brand-light);
  flex-shrink: 0;
}

.about-install__note {
  color: #ffffff80;
  text-align: center;
  margin: 12px 0 0;
  font-size: .76rem;
}

.about-install-btn {
  display: flex;
  background: var(--brand-mid);
  border: 1px solid var(--brand-mid);
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
  justify-content: center;
  align-items:  center;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
  padding: 11px 14px;
  transition: background .15s, border-color .15s, transform 50ms;
  font-size: .9rem;
  font-weight: 600;
}

.about-install-btn:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
}

.about-install-btn:active {
  transform: scale(.98);
}

.about-install {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.about-install__card {
  background: #ffffff09;
  border: 1px solid #ffffff0f;
  border-radius: 12px;
  padding: 12px 14px;
}

.about-install__platform {
  display: flex;
  letter-spacing: .04em;
  color: #ffffffc7;
  border-bottom: 1px solid #ffffff0f;
  align-items:  center;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  font-size: .72rem;
  font-weight: 600;
}

.about-install__steps {
  color: #ffffffb8;
  margin: 0;
  padding-left: 18px;
  font-size: .78rem;
  line-height: 1.6;
}

.about-install__steps li {
  margin-bottom: 2px;
}

.about-install__steps strong {
  color: #fff;
  font-weight: 600;
}

.about-footer {
  color: #ffffff61;
  text-align: center;
  padding: 18px 28px 26px;
  font-size: .72rem;
  line-height: 1.55;
}

.about-modal {
  color: #1a1a20;
  background: linear-gradient(#fffffffa 0%, #f5f5f8fa 100%);
  border-color: #00000014;
}

.about-modal__close {
  color: #0000008c;
  background: #0000000d;
  border-color: #00000014;
}

.about-modal__close:hover {
  color: #000;
  background: #0000001a;
}

.about-modal__lang {
  background-color: #0000000d;
  border-color: #00000014;
}

.about-modal__lang__btn {
  color: #0000008c;
}

.about-modal__lang__btn:hover:not(.is-active) {
  color: #000;
}

.about-modal__lang__btn.is-active {
  color: #25a864;
  background: #25a86440;
}

.about-hero__name {
  color: #16161c;
}

.about-hero__pron em {
  color: #00000073;
}

.about-hero__tag {
  color: #000000b3;
}

.about-divider {
  background: linear-gradient(90deg, #0000, #0000001a 50%, #0000);
}

.about-block__label, .about-block__note {
  color: #0000007a;
}

.about-install-callout {
  background: #30a0630f;
  border-color: #30a06338;
}

.about-install__heading {
  color: #16161c;
}

.about-install__heading svg {
  color: var(--brand-dark);
}

.about-install__note {
  color: #00000080;
}

.about-install__card {
  background: #fff;
  border-color: #0000000f;
  box-shadow: 0 1px 2px #0000000a;
}

.about-install__platform {
  color: #000000c7;
}

.about-install__steps {
  color: #000000b3;
}

.about-install__steps strong {
  color: #000;
}

.about-footer {
  color: #00000073;
}

@media (width <= 600px) {
  .about-overlay {
    align-items:  flex-end;
    padding: 0;
  }

  .about-modal {
    animation: about-sheet-in .28s cubic-bezier(.22, .61, .36, 1);
    border-radius: 22px 22px 0 0;
    max-width: 100%;
    max-height: 88dvh;
  }

  .about-modal:before {
    content: "";
    display: block;
    background: #ffffff2e;
    border-radius: 2px;
    flex-shrink: 0;
    width: 36px;
    height: 4px;
    margin: 8px auto 0;
  }

  @keyframes about-sheet-in {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .about-hero {
    padding: 24px 24px 22px;
  }

  .about-hero__name {
    font-size: 2rem;
  }

  .about-block {
    padding: 20px 22px;
  }

  .about-divider {
    margin: 0 20px;
  }

  .about-install {
    grid-template-columns: 1fr;
  }

  .about-footer {
    padding: 16px 24px 24px;
  }
}

.about-tour-btn {
  display: block;
  color: #25a864;
  cursor: pointer;
  background: #25a8641f;
  border: 1px solid #25a86473;
  border-radius: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 14px;
  transition: background .15s, border-color .15s;
  font-size: .85rem;
  font-weight: 600;
}

.about-tour-btn:hover {
  background: #25a86433;
  border-color: #25a864b3;
}

.about-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 26px;
}

.about-action {
  display: grid;
  gap: 10px;
}

.about-action--donate {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.about-action--source {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: -2px;
}

.about-action > a, .about-action > button {
  height: 100%;
}

.about-share-btn {
  display: flex;
  color: #86a9ff;
  cursor: pointer;
  background: #598dff17;
  border: 1px solid #598dff57;
  border-radius: 12px;
  justify-content: center;
  align-items:  center;
  gap: 8px;
  width: min(100%, 360px);
  min-height: 42px;
  padding: 9px 14px;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  font-size: .88rem;
  font-weight: 600;
}

.about-share-btn:hover {
  color: #a4bdff;
  background: #598dff29;
  border-color: #598dff8f;
}

.about-share-btn:active {
  transform: scale(.98);
}

.about-share-btn.is-copied {
  color: #58ce8f;
  background: #25a86424;
  border-color: #25a86485;
}

.about-feedback-btn {
  display: flex;
  color: #45ba7b;
  cursor: pointer;
  text-decoration: none;
  background: #25a86414;
  border: 1px solid #25a86457;
  border-radius: 12px;
  justify-content: center;
  align-items:  center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  font-size: .88rem;
  font-weight: 600;
}

.about-feedback-btn:hover {
  color: #58ce8f;
  background: #25a86424;
  border-color: #25a8648f;
}

.about-feedback-btn:active {
  transform: scale(.98);
}

.about-donate-btn {
  display: flex;
  color: #ff8fbd;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, #ff7bac2e, #ffdd6a24);
  border: 1px solid #ff7bac6b;
  border-radius: 14px;
  justify-content: center;
  align-items:  center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  transition: background .15s, border-color .15s, transform .1s;
  font-size: .9rem;
  font-weight: 600;
}

.about-donate-btn:hover {
  background: linear-gradient(135deg, #ff7bac42, #ffdd6a33);
  border-color: #ff7bacad;
}

.about-donate-btn:active {
  transform: scale(.98);
}

.about-source-btn {
  display: flex;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  background: #24292f;
  border: 1px solid #24292f;
  border-radius: 12px;
  justify-content: center;
  align-items:  center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  font-size: .86rem;
  font-weight: 600;
}

.about-source-btn:hover {
  color: #fff;
  background: #1f2328;
  border-color: #1f2328;
}

.about-source-btn:active {
  transform: scale(.98);
}

.about-donate-btn {
  color: #c73f7c;
  background: linear-gradient(135deg, #ff7bac24, #ffcc5c29);
  border-color: #e04d8847;
}

.about-donate-btn:hover {
  background: linear-gradient(135deg, #ff7bac38, #ffcc5c3d);
  border-color: #e04d8875;
}

.about-feedback-btn {
  color: #198754;
  background: #25a86412;
  border-color: #19875442;
}

.about-feedback-btn:hover {
  background: #25a86421;
  border-color: #19875470;
}

.about-share-btn {
  color: #315fb8;
  background: #598dff14;
  border-color: #3a69cd47;
}

.about-share-btn:hover {
  background: #598dff24;
  border-color: #3a69cd75;
}

.about-share-btn.is-copied {
  color: #198754;
  background: #25a8641f;
  border-color: #19875466;
}

.about-attribution {
  color: var(--text-muted);
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.about-attribution a {
  color: var(--brand-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* src/client/styles/favorites.css */
.fav-fab {
  position: fixed;
  bottom: calc(96px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  z-index: 1000;
}

@media (width <= 600px) {
  .fav-fab {
    top: auto;
    bottom: calc(158px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  }
}

.fav-star {
  display: inline-flex;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--motion-fast), transform .1s;
  background: none;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 32px;
  padding: 0;
}

.fav-star:hover {
  color: #e5a500;
}

.fav-star:active {
  transform: scale(.9);
}

.fav-star[aria-pressed="true"] {
  color: #e5a500;
}

.fav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.fav-title-row {
  display: flex;
  justify-content: flex-start;
  align-items:  center;
  gap: 10px;
  padding-right: 52px;
}

.fav-title-row .about-block__label {
  margin: 0;
}

.fav-title-row__edit {
  color: #00000094;
  cursor: pointer;
  font: inherit;
  background: #ffffffb8;
  border: 1px solid #0000001a;
  border-radius: 999px;
  min-height: 28px;
  padding: 0 12px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
}

.fav-title-row__edit:hover {
  color: #000000d1;
  background: #fff;
  border-color: #0000002e;
}

.fav-title-row__edit.is-active {
  border-color: var(--brand-mid);
  background: var(--brand-mid);
  color: #fff;
  box-shadow: 0 2px 8px #1a7a4a3d;
}

.fav-title-row__edit.is-active:hover {
  border-color: var(--brand-light);
  background: var(--brand-light);
  color: #fff;
}

.fav-section-header {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 12px;
  margin-bottom: 8px;
}

.fav-section-header .about-block__label {
  margin: 0;
}

.fav-section-header__controls {
  display: inline-flex;
  align-items:  center;
  gap: 4px;
}

.fav-section-header__move {
  display: inline-flex;
  color: #00000094;
  cursor: pointer;
  background: #ffffffb8;
  border: 1px solid #0000001f;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 26px;
  height: 26px;
  padding: 0;
}

.fav-section-header__move:hover:not(:disabled) {
  color: #000000d1;
  border-color: #00000038;
}

.fav-section-header__move:disabled {
  opacity: .32;
  cursor: default;
}

.fav-row {
  position: relative;
  display: flex;
  overflow: hidden;
  background: #ffffff0a;
  border: 1px solid #ffffff0f;
  border-radius: 10px;
  align-items:  center;
  gap: 8px;
  padding: 10px 12px;
  transition: box-shadow .14s, border-color .14s, background .14s;
}

.fav-row:hover {
  background: #ffffff12;
}

.fav-row--dublinbus {
  --op-stripe: var(--op-dublinbus);
}

.fav-row--buseireann {
  --op-stripe: var(--op-buseireann);
}

.fav-row--goahead {
  --op-stripe: var(--op-goahead);
}

.fav-row--train {
  --op-stripe: #25a864;
}

.fav-row--luas-green {
  --op-stripe: #008f5a;
}

.fav-row--luas-red {
  --op-stripe: #ed1b2f;
}

.fav-row--luas-both {
  --op-stripe: #6b6b70;
}

.fav-row.fav-row--dublinbus, .fav-row.fav-row--buseireann, .fav-row.fav-row--goahead, .fav-row.fav-row--train, .fav-row.fav-row--luas-green, .fav-row.fav-row--luas-red, .fav-row.fav-row--luas-both {
  box-shadow: inset 4px 0 0 var(--op-stripe);
}

.fav-row__main {
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  display: flex;
  background: none;
  border: 0;
  flex-wrap: wrap;
  flex: 1;
  align-items:  center;
  gap: 8px;
  min-width: 0;
  padding: 0;
}

.fav-row__remove {
  color: #ffffff8c;
  cursor: pointer;
  display: inline-flex;
  white-space: nowrap;
  background: none;
  border: 1px solid #ffffff1f;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  min-width: 24px;
  height: 24px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
}

.fav-row__remove:hover {
  color: #fff;
  border-color: #ffffff4d;
}

.fav-empty {
  color: var(--text-muted);
  padding: 8px 4px;
  font-size: .88rem;
}

.fav-row {
  background: #fff;
  border-color: #0000000f;
  box-shadow: 0 1px 2px #0000000a;
}

.fav-row.fav-row--dublinbus, .fav-row.fav-row--buseireann, .fav-row.fav-row--goahead, .fav-row.fav-row--train, .fav-row.fav-row--luas-green, .fav-row.fav-row--luas-red, .fav-row.fav-row--luas-both {
  box-shadow: inset 4px 0 0 var(--op-stripe), 0 1px 2px #0000000a;
}

.fav-row:hover {
  background: #fff;
  border-color: #0000001f;
  box-shadow: 0 2px 6px #0000000f;
}

.fav-row.fav-row--dublinbus:hover, .fav-row.fav-row--buseireann:hover, .fav-row.fav-row--goahead:hover, .fav-row.fav-row--train:hover, .fav-row.fav-row--luas-green:hover, .fav-row.fav-row--luas-red:hover, .fav-row.fav-row--luas-both:hover {
  box-shadow: inset 4px 0 0 var(--op-stripe), 0 2px 6px #0000000f;
}

.fav-row__remove {
  color: #00000080;
  border-color: #00000026;
}

.fav-row__remove:hover {
  color: #000;
  border-color: #00000059;
}

.fav-row__confirm {
  --confirm-button-width: 88px;
  position: absolute;
  z-index: 2;
  display: flex;
  animation: fav-confirm-slide-in .22s cubic-bezier(.2, .9, .2, 1);
  overflow: hidden;
  background: none;
  justify-content: flex-end;
  align-items:  center;
  gap: 7px;
  width: max-content;
  max-width: calc(100% - 4px);
  padding: 8px 12px;
  inset: 0 0 0 auto;
}

.fav-row__confirm-action, .fav-row__confirm-cancel {
  position: relative;
  z-index: 1;
  width: var(--confirm-button-width);
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
  background: #fff;
  border-radius: 999px;
  min-height: 32px;
  padding: 0 12px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
}

.fav-row__confirm-action {
  color: #a61f1f;
  border: 1.25px solid #df4b4b;
}

.fav-row__confirm-action:hover {
  color: #821616;
  border-color: #c92d2d;
}

.fav-row__confirm-cancel {
  color: #0000009e;
  border: 1px solid #00000024;
}

.fav-row__confirm-cancel:hover {
  color: #111;
  border-color: #00000047;
}

@keyframes fav-confirm-slide-in {
  from {
    transform: translateX(100%);
  }

  72% {
    transform: translateX(-3px);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fav-row__confirm {
    animation: none;
  }
}

/* src/client/styles/settings.css */
.about-theme-toggle {
  display: flex;
  background: #ffffff0d;
  border-radius: 10px;
  gap: 8px;
  padding: 4px;
}

.about-theme-btn {
  color: #f0f0f0a6;
  cursor: pointer;
  transition: background var(--motion-fast), color var(--motion-fast);
  white-space: nowrap;
  background: none;
  border: none;
  border-radius: 7px;
  flex: 1 1 0;
  min-width: 0;
  padding: 8px;
  font-size: .85rem;
  font-weight: 600;
}

.about-theme-btn:hover:not(.is-active) {
  color: #f0f0f0;
}

.about-theme-btn.is-active {
  color: #25a864;
  background: #25a86440;
}

.about-settings {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items:  center;
  gap: 12px;
}

.about-setting-row {
  display: contents;
}

.about-setting-row__head {
  display: inline-flex;
  align-self:  center;
  align-items:  center;
  gap: 6px;
}

.about-setting-row__label {
  color: #ffffffc7;
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 600;
}

.about-setting-row__info-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items:  center;
  width: 20px;
  height: 20px;
}

.about-setting-row__info {
  display: inline-flex;
  color: #fff6;
  cursor: pointer;
  transition: color var(--motion-fast), background var(--motion-fast);
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 20px;
  height: 20px;
  padding: 0;
}

.about-setting-row__info:hover {
  color: #ffffffbf;
  background: #ffffff0f;
}

.about-setting-row__info.is-open {
  color: #25a864;
  background: #25a86424;
}

.about-setting-row__tip {
  position: absolute;
  z-index: 10;
  color: #f0f0f0eb;
  text-align: left;
  white-space: normal;
  animation: about-tip-in .12s ease-out;
  background: #141418f7;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  width: max-content;
  max-width: 240px;
  padding: 8px 12px;
  font-size: .74rem;
  line-height: 1.5;
  top: calc(100% + 8px);
  left: -4px;
  box-shadow: 0 8px 24px #00000080;
}

.about-setting-row__tip:before {
  content: "";
  position: absolute;
  border: 5px solid #0000;
  border-bottom-color: #141418f7;
  bottom: 100%;
  left: 10px;
}

@keyframes about-tip-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-setting-row__control {
  align-self:  center;
  min-width: 0;
}

.about-theme-toggle {
  background: #0000000d;
}

.about-theme-btn {
  color: #0000008c;
}

.about-theme-btn:hover:not(.is-active) {
  color: #000;
}

.about-setting-row__label {
  color: #000000c7;
}

.about-setting-row__info {
  color: #0006;
}

.about-setting-row__info:hover {
  color: #000000b3;
  background: #0000000f;
}

.about-setting-row__info.is-open {
  color: var(--brand-dark);
  background: #30a0631f;
}

.about-setting-row__tip {
  color: #fffffff2;
  background: #1c1c22f5;
  border-color: #ffffff0f;
}

.about-setting-row__tip:before {
  border-bottom-color: #1c1c22f5;
}

.settings-fab {
  position: fixed;
  bottom: calc(192px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  z-index: 1000;
}

@media (width <= 600px) {
  .settings-fab {
    top: auto;
    bottom: calc(254px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  }
}

.settings-overlay {
  position: fixed;
  z-index: 2500;
  display: flex;
  backdrop-filter: blur(4px) saturate(120%);
  -webkit-backdrop-filter: blur(4px) saturate(120%);
  animation: settings-fade-in .2s ease-out;
  background: #08080e9e;
  justify-content: center;
  align-items:  center;
  padding: 24px;
  inset: 0;
}

@keyframes settings-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.settings-modal {
  position: relative;
  color: #f0f0f0;
  animation: settings-slide-in .28s cubic-bezier(.22, .61, .36, 1);
  background: linear-gradient(#1e1e26f7 0%, #121218f7 100%);
  border: 1px solid #ffffff14;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 20px;
  box-shadow: 0 24px 60px #0000008c, inset 0 0 0 1px #ffffff08;
}

@keyframes settings-slide-in {
  from {
    opacity: 0;
    transform: translateY(14px)scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.settings-modal__head {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: 14px;
}

.settings-modal__title {
  letter-spacing: .01em;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.settings-modal__close {
  display: inline-flex;
  color: #ffffff8c;
  cursor: pointer;
  transition: color var(--motion-fast), background var(--motion-fast);
  background: none;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 32px;
  padding: 0;
}

.settings-modal__close:hover {
  color: #f0f0f0;
  background: #ffffff14;
}

.settings-modal__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-status {
  display: inline-flex;
  color: #f0f0f0d9;
  align-items:  center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
}

.settings-status__dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 9px;
  height: 9px;
}

.settings-status__dot.is-configured {
  background: #25a864;
  box-shadow: 0 0 0 3px #25a8642e;
}

.settings-status__dot.is-not-configured {
  background: #ffffff47;
}

.settings-status__dot.is-loading {
  animation: settings-dot-pulse 1s ease-in-out infinite;
  background: #ffffff73;
}

.settings-status__dot.is-unknown {
  background: #e8a33d;
  box-shadow: 0 0 0 3px #e8a33d2e;
}

@keyframes settings-dot-pulse {
  0%, 100% {
    opacity: .4;
  }

  50% {
    opacity: 1;
  }
}

.settings-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-field__label {
  color: #ffffffe6;
  font-size: .85rem;
  font-weight: 700;
}

.settings-field__sub {
  color: #ffffff73;
  font-size: .74rem;
  line-height: 1.45;
}

.settings-field__control {
  position: relative;
  display: flex;
  align-items:  center;
  margin-top: 4px;
}

.settings-field__input {
  letter-spacing: .02em;
  color: #f0f0f0;
  outline: none;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
  background: #00000047;
  border: 1px solid #ffffff1f;
  border-radius: 10px;
  width: 100%;
  padding: 10px 40px 10px 12px;
  font-family: ui-monospace, SF Mono, Cascadia Code, Menlo, Consolas, monospace;
  font-size: .9rem;
}

.settings-field__input:focus {
  border-color: #25a864a6;
  box-shadow: 0 0 0 3px #25a86429;
}

.settings-field__input::placeholder {
  color: #ffffff4d;
}

.settings-field__input:disabled {
  opacity: .6;
}

.settings-field__toggle {
  position: absolute;
  display: inline-flex;
  color: #ffffff73;
  cursor: pointer;
  transition: color var(--motion-fast), background var(--motion-fast);
  background: none;
  border: none;
  border-radius: 7px;
  justify-content: center;
  align-items:  center;
  width: 30px;
  height: 30px;
  padding: 0;
  right: 6px;
}

.settings-field__toggle:hover {
  color: #ffffffd9;
  background: #ffffff14;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 10px;
}

.settings-btn {
  cursor: pointer;
  transition: background var(--motion-fast), color var(--motion-fast), opacity var(--motion-fast);
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 700;
}

.settings-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.settings-btn--save {
  color: #06130c;
  background: #25a864;
}

.settings-btn--save:hover:not(:disabled) {
  background: #2fc075;
}

.settings-btn--remove {
  color: #f0f0f0cc;
  background: none;
  border: 1px solid #ffffff29;
}

.settings-btn--remove:hover:not(:disabled) {
  color: #ff8a8a;
  background: #ff8a8a14;
  border-color: #ff8a8a80;
}

.settings-msg {
  min-height: 1em;
  font-size: .8rem;
  line-height: 1.45;
}

.settings-msg.is-saved {
  color: #4ade80;
}

.settings-msg.is-cleared {
  color: #f0f0f0b3;
}

.settings-msg.is-invalid, .settings-msg.is-failed {
  color: #ff8a8a;
}

.settings-note {
  color: #fff6;
  margin: 0;
  font-size: .74rem;
  line-height: 1.5;
}

@media (width <= 600px) {
  .settings-overlay {
    padding: 16px;
  }
}

/* src/client/styles/search.css */
#search-panel {
  position: fixed;
  top: calc(12px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  left: calc(12px + var(--safe-area-inset-left, env(safe-area-inset-left, 0px)));
  z-index: 1000;
  background: var(--glass-bg);
  color: var(--glass-text);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-panel);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  border-radius: 12px;
  flex-direction: column;
  gap: 8px;
  width: 260px;
  padding: 12px 14px;
}

.search-field {
  position: relative;
}

.search-field input {
  color: #f0f0f0;
  text-align: center;
  outline: none;
  transition: border-color var(--motion-fast);
  background: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 6px;
  width: 100%;
  padding: 6px 10px;
  font-size: .82rem;
}

.search-field input::placeholder {
  color: #888;
}

.search-field input:focus {
  border-color: #25a864;
}

.search-field input {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.search-field input:focus {
  -webkit-user-select: text;
  user-select: text;
}

.station-dropdown {
  position: absolute;
  list-style: none;
  overflow-y: auto;
  z-index: 1001;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: #1e1e24d9;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  max-height: 180px;
  margin: 4px 0 0;
  padding: 0;
  top: 100%;
  left: 0;
  right: 0;
}

.station-dropdown li {
  cursor: pointer;
  padding: 6px 10px;
  transition: background .1s;
  font-size: .78rem;
}

.station-dropdown li:hover, .station-dropdown li.highlighted {
  background: #25a8644d;
}

.route-operator-badge {
  float: right;
  opacity: .65;
  padding-left: 8px;
  font-size: .68rem;
}

.search-actions {
  display: flex;
  align-items:  center;
  gap: 6px;
}

.search-btn {
  background: var(--brand-mid);
  color: #fff;
  cursor: pointer;
  transition: background var(--motion-fast);
  border: none;
  border-radius: 6px;
  flex: 1;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 600;
}

.search-btn:hover:not(:disabled) {
  background: var(--brand-light);
}

.search-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.clear-btn {
  background: #ffffff1a;
}

.clear-btn:hover {
  background: #fff3;
}

.swap-btn {
  color: #ccc;
  cursor: pointer;
  transition: background var(--motion-fast), color var(--motion-fast);
  background: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  align-self:  center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: .9rem;
  line-height: 1;
}

.swap-btn:hover {
  color: #fff;
  background: #ffffff26;
}

.search-result-msg {
  text-align: center;
  animation: search-results-in .18s ease-out;
  padding-top: 2px;
  font-size: .75rem;
}

.search-result-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items:  center;
  min-height: 32px;
}

.search-result-header .fav-star {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
}

.search-results {
  display: flex;
  animation: search-results-in .18s ease-out;
  flex-direction: column;
  gap: 6px;
}

@keyframes search-results-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-result-msg.has-results {
  color: #25a864;
}

.search-result-msg.no-results {
  color: #f44336;
}

.train-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.train-item {
  cursor: pointer;
  transition: background var(--motion-fast), border-color var(--motion-fast);
  background: #ffffff0f;
  border: 1px solid #ffffff1a;
  border-radius: 6px;
  padding: 8px 10px;
}

.train-item:hover {
  background: #25a86426;
  border-color: #25a86466;
}

.train-item-header {
  display: flex;
  align-items:  center;
  gap: 8px;
  margin-bottom: 3px;
}

.train-item-code {
  color: #25a864;
  font-size: .82rem;
  font-weight: 700;
}

.train-item-times {
  display: flex;
  color: #ccc;
  align-items:  center;
  gap: 6px;
  font-size: .72rem;
}

.train-item-arrow {
  color: #666;
}

.train-item--scheduled, .train-item--unmapped {
  opacity: .78;
  cursor: default;
}

.train-item-status {
  border-radius: 3px;
  padding: 1px 6px;
  font-size: .65rem;
  font-weight: 600;
}

.train-item-status--running {
  color: #4caf50;
  background: #4caf5033;
}

.train-item-status--ready {
  color: #9e9e9e;
  background: #9e9e9e33;
}

.train-item-status--unmapped {
  color: #ffb74d;
  background: #ff98002e;
}

.train-item-status--scheduled {
  color: #bbb;
  background: #ffffff1f;
}

.train-item-route {
  color: #aaa;
  margin-bottom: 2px;
  font-size: .72rem;
}

.search-fab {
  display: flex;
  border: none;
}

#search-panel.collapsed {
  display: block;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: none;
  border: none;
  border-radius: 0;
  width: auto;
  padding: 0;
}

@media (width <= 600px) {
  #search-panel {
    top: calc(8px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
    border-radius: 8px;
    gap: 4px;
    width: auto;
    padding: 8px 10px;
    font-size: .75rem;
    left: 20%;
    right: 20%;
  }

  #search-panel.collapsed {
    top: calc(12px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .search-field input {
    padding: 5px 8px;
    font-size: 16px;
  }

  .swap-btn {
    width: 24px;
    height: 24px;
    font-size: .75rem;
  }

  .search-btn {
    padding: 5px 10px;
    font-size: .75rem;
  }

  .search-result-msg {
    font-size: .7rem;
  }
}

.station-dropdown li.search-empty, .station-dropdown li.search-empty:hover {
  color: #ffffff4d;
  cursor: default;
  pointer-events: none;
  background: none;
}

/* src/client/styles/popup.css */
.leaflet-popup-pane {
  z-index: 1500;
}

.leaflet-popup-content-wrapper {
  overflow: hidden;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 4px 20px #0000004d;
  background: var(--bg-surface) !important;
}

.leaflet-popup-content {
  margin: 0;
  width: auto !important;
}

.leaflet-popup-tip {
  background: var(--bg-surface) !important;
}

.leaflet-popup-close-button {
  color: var(--text-secondary) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.leaflet-popup-close-button:hover {
  color: var(--text-primary) !important;
}

.popup-content {
  color: var(--text-primary);
  background: var(--bg-surface);
  min-width: 360px;
  max-width: 500px;
  padding: 12px 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  font-size: .85rem;
}

.popup-stale-banner {
  display: flex;
  background: #fff6d6;
  border: 1px solid #e6d280;
  border-radius: 6px;
  align-items:  center;
  gap: 5px;
  margin-bottom: 3px;
  padding: 3px;
}

.popup-stale-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.popup-stale-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.popup-stale-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.popup-stale-text strong {
  color: #6b5200;
  font-size: .9rem;
}

.popup-stale-text span {
  color: var(--text-secondary);
  font-size: .76rem;
}

.popup-title {
  color: var(--brand-dark);
  letter-spacing: .02em;
  margin-bottom: 2px;
  font-size: 1.1rem;
  font-weight: 700;
}

.popup-train-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 10px;
  margin-bottom: 2px;
  padding-right: 22px;
}

.popup-train-title-row .popup-title, .popup-train-title-row .popup-meta {
  margin-bottom: 0;
}

.popup-route {
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-size: .82rem;
}

.popup-meta {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: 8px;
  margin-bottom: 8px;
}

.popup-status {
  background: var(--status-ontime-bg);
  color: var(--status-ontime-text);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: .75rem;
  font-weight: 600;
}

.popup-status--yellow {
  background: var(--status-late-bg);
  color: var(--status-late-text);
}

.popup-status--red {
  background: var(--status-early-bg);
  color: var(--status-early-text);
}

.popup-dir {
  color: var(--popup-dir-text);
  background: var(--popup-dir-bg);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: .75rem;
}

.popup-message {
  color: var(--text-faint);
  font-size: .78rem;
  line-height: 1.5;
}

.popup-loading {
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  align-items:  center;
  min-height: 260px;
  font-size: .78rem;
  font-style: italic;
}

.back-to-all-btn {
  position: fixed;
  top: calc(12px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  z-index: 1000;
  background: var(--brand-dark);
  color: #fff;
  cursor: pointer;
  transition: background var(--motion-fast);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 600;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 18px #00000073;
}

.back-to-all-btn:hover {
  background: var(--brand-light);
}

@media (width <= 600px) {
  .back-to-all-btn {
    top: auto;
    bottom: calc(110px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    white-space: nowrap;
    z-index: 1001;
    left: 50%;
    transform: translateX(-50%);
  }
}

.popup-header-row {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
  margin-bottom: 2px;
  padding-right: 22px;
}

.popup-route-jump {
  background: var(--brand-mid);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--motion-fast);
  border: none;
  border-radius: 12px;
  flex-shrink: 0;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
}

.popup-route-jump:hover {
  background: var(--brand-light);
}

.popup-table-wrap {
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  border-radius: 6px;
  max-height: 260px;
  margin-top: 6px;
}

.movements-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .76rem;
}

.movements-table thead {
  position: sticky;
  z-index: 1;
  background: var(--brand-dark);
  color: #fff;
  top: 0;
}

.movements-table th {
  text-align: left;
  white-space: nowrap;
  padding: 5px 8px;
  font-weight: 600;
}

.movements-table td {
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
  color: var(--text-primary);
  padding: 4px 8px;
}

.train-movements-table td:first-child, .movements-table:not(.train-movements-table) td:nth-child(2) {
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 220px;
}

.movements-table tbody tr:nth-child(2n) {
  background: var(--bg-elevated);
}

.movements-table tbody tr:hover {
  background: var(--bg-row-hover);
}

.movements-table tbody tr.movement-current {
  background: var(--bg-highlight);
  font-weight: 600;
}

.movements-table tbody tr.movement-current:nth-child(2n) {
  background: var(--bg-highlight);
}

.movements-table tbody tr.movement-pass-through {
  background: #f2f2f2;
}

.movements-table tbody tr.movement-pass-through:nth-child(2n) {
  background: #eee;
}

.movements-table tbody tr.movement-current.movement-pass-through, .movements-table tbody tr.movement-current.movement-pass-through:nth-child(2n) {
  background: var(--bg-highlight);
}

.movements-table tbody tr.movement-pass-through td {
  color: var(--text-muted);
}

.direction-buttons {
  display: flex;
  gap: 6px;
}

.direction-btn {
  color: #90caf9;
  cursor: pointer;
  text-align: center;
  background: #2196f326;
  border: 1px solid #2196f380;
  border-radius: 6px;
  flex: 1;
  padding: 6px 10px;
  transition: background .15s, color .15s;
  font-size: .78rem;
  font-weight: 600;
}

.direction-btn:hover {
  color: #fff;
  background: #2196f34d;
}

.direction-status {
  display: flex;
  color: #90caf9;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
  font-size: .78rem;
}

@media (width <= 600px) {
  .popup-content {
    min-width: min(300px, 100vw - 20px);
    max-width: calc(100vw - 20px);
    font-size: .78rem;
  }

  .popup-table-wrap {
    max-height: 180px;
  }

  .popup-loading {
    min-height: 180px;
  }

  .movements-table th, .movements-table td {
    padding: 3px 5px;
    font-size: .7rem;
  }

  .leaflet-popup-content-wrapper {
    border-radius: 8px;
  }
}

/* src/client/styles/stop.css */
.bus-map-view-toggle__spinner {
  animation: bus-map-view-spin .75s linear infinite;
  border: 2px solid #ffffff47;
  border-top-color: #fff;
  border-radius: 50%;
  flex: none;
  width: 14px;
  height: 14px;
}

.bus-map-focus-control {
  display: block;
}

@keyframes bus-map-view-spin {
  to {
    transform: rotate(360deg);
  }
}

.bus-map-stop-marker {
  background: none;
  border: 0;
}

.bus-map-stop-marker__dot {
  display: flex;
  box-sizing: border-box;
  background: var(--stop-map-color, var(--brand-mid));
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 100%;
  height: 100%;
  font-size: 0;
  font-weight: 800;
  box-shadow: 0 2px 6px #00000075;
}

.bus-map-stop-marker--dublinbus {
  --stop-map-color: var(--op-dublinbus);
}

.bus-map-stop-marker--buseireann {
  --stop-map-color: var(--op-buseireann);
}

.bus-map-stop-marker--goahead {
  --stop-map-color: var(--op-goahead);
}

.bus-map-stop-marker--selected .bus-map-stop-marker__dot {
  letter-spacing: -.04em;
  box-shadow: 0 3px 9px #0000008c, 0 0 0 4px color-mix(in srgb, var(--stop-map-color) 28%, transparent);
  border-width: 3px;
  font-size: .62rem;
}

.bus-stop-cluster {
  --stop-cluster-color: var(--op-dublinbus);
  --stop-cluster-text: var(--op-dublinbus-text);
  display: flex;
  box-sizing: border-box;
  background: var(--stop-cluster-color);
  box-shadow: 0 3px 10px #0006, 0 0 0 5px color-mix(in srgb, var(--stop-cluster-color) 20%, transparent);
  color: var(--stop-cluster-text);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 2px solid #ffffffe0;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  font-size: .72rem;
  font-weight: 800;
}

.bus-stop-cluster span {
  display: block;
  line-height: 1;
}

.bus-stop-cluster--medium {
  font-size: .76rem;
}

.bus-stop-cluster--large {
  font-size: .8rem;
}

.bus-stop-cluster--buseireann {
  --stop-cluster-color: var(--op-buseireann);
  --stop-cluster-text: #fff;
}

.bus-stop-cluster--goahead {
  --stop-cluster-color: var(--op-goahead);
  --stop-cluster-text: #fff;
}

.bus-map-focus-fab {
  position: fixed;
  right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  bottom: calc(48px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  z-index: 1003;
}

.bus-map-focus-fab svg {
  stroke-width: 2;
  width: 20px;
  height: 20px;
}

.bus-map-focus-control__dismiss {
  position: fixed;
  z-index: 1001;
  cursor: default;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  inset: 0;
}

.bus-map-focus-popover {
  position: fixed;
  right: calc(78px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
  bottom: calc(168px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  z-index: 1002;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  box-sizing: border-box;
  color: #fff;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  background: #1c1c21e6;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  gap: 3px;
  width: min(133px, 100vw - 24px);
  margin: 0;
  padding: 4px;
  box-shadow: 0 12px 34px #00000061, inset 0 1px #ffffff14;
}

.bus-map-focus-popover legend {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
}

.bus-map-focus-popover__option {
  position: relative;
  display: flex;
  box-sizing: border-box;
  color: #ffffffb3;
  cursor: pointer;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  gap: 4px;
  min-width: 0;
  min-height: 50px;
  padding: 5px 3px 4px;
  font-size: .62rem;
  font-weight: 700;
  line-height: 1;
}

.bus-map-focus-popover__option.is-selected {
  color: #fff;
  background: #38c77a24;
}

.bus-map-focus-popover__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.bus-map-focus-popover__option:has(input:focus-visible) {
  outline: 2px solid #38c77a;
  outline-offset: -2px;
}

.bus-map-focus-popover__option > svg {
  stroke-width: 2;
  width: 20px;
  height: 20px;
}

.bus-map-focus-popover__label {
  display: inline-flex;
  justify-content: center;
  align-items:  center;
}

.bus-map-focus-popover__live {
  position: absolute;
  display: flex;
  bottom: 5px;
  right: 5px;
}

.bus-map-focus-popover__live svg {
  fill: #42d982;
  stroke: #42d982;
  width: 6px;
  height: 6px;
}

.bus-map-focus-popover .bus-map-view-toggle__spinner {
  width: 19px;
  height: 19px;
}

@media (width <= 600px) {
  .bus-map-focus-fab {
    top: calc(20px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
    right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
    bottom: auto;
  }

  .bus-map-focus-popover {
    top: calc(80px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
    right: calc(12px + var(--safe-area-inset-right, env(safe-area-inset-right, 0px)));
    bottom: auto;
  }
}

@media (width <= 600px) and (orientation: portrait) {
  .bus-map-focus-fab {
    top: calc(20dvh - 20px);
  }

  .bus-map-focus-popover {
    top: calc(20dvh + 40px);
  }
}

@media (width >= 601px) {
  .bus-map-focus-control ~ .locate-btn {
    bottom: calc(96px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  }

  .bus-map-focus-control ~ .fav-fab {
    bottom: calc(144px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  }

  .bus-map-focus-control ~ .about-fab {
    bottom: calc(192px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  }

  .bus-map-focus-control ~ .settings-fab {
    bottom: calc(240px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .bus-map-view-toggle__spinner {
    animation-duration: 1.5s;
  }
}

.stop-tooltip.leaflet-tooltip {
  color: #f0f0f0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
  background: #16161ceb;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: .72rem;
  font-weight: 500;
  box-shadow: 0 2px 8px #00000059;
}

.stop-tooltip.leaflet-tooltip:before {
  border-top-color: #16161ceb;
}

.route-end-marker {
  filter: drop-shadow(0 1px 2px #00000080);
  background: none;
  border: none;
}

.focus-stop {
  box-sizing: border-box;
  background: #fff;
  border-style: solid;
  border-width: 2px;
  border-radius: 50%;
}

.focus-stop--dublinbus {
  border-color: var(--op-dublinbus);
}

.focus-stop--buseireann {
  border-color: var(--op-buseireann);
}

.focus-stop--goahead {
  border-color: var(--op-goahead);
}

.focus-pin {
  position: relative;
  filter: drop-shadow(0 2px 3px #00000073);
  background: none;
  border: none;
  width: 32px;
  height: 42px;
}

.focus-pin--dublinbus {
  --pin-color: var(--op-dublinbus);
}

.focus-pin--buseireann {
  --pin-color: var(--op-buseireann);
}

.focus-pin--goahead {
  --pin-color: var(--op-goahead);
}

.focus-pin__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.focus-pin__svg .sign, .focus-pin__svg .pole {
  fill: var(--pin-color);
}

.focus-pin__svg .sign {
  stroke: #fff;
  stroke-width: 1.5;
}

.focus-pin__code {
  position: absolute;
  display: flex;
  color: #fff;
  letter-spacing: -.02em;
  pointer-events: none;
  justify-content: center;
  align-items:  center;
  width: 100%;
  height: 22px;
  font-size: .72rem;
  font-weight: 700;
  top: 1px;
  left: 0;
}

.focus-pin__code[data-len="5"] {
  letter-spacing: -.04em;
  font-size: .62rem;
}

.focus-pin__code[data-len="6"], .focus-pin__code[data-len="7"] {
  letter-spacing: -.06em;
  font-size: .54rem;
}

.bus-search-tabs {
  display: flex;
  background: #ffffff0f;
  border-radius: 8px;
  gap: 4px;
  margin-bottom: 8px;
  padding: 3px;
}

.bus-search-tab {
  color: #bbb;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 6px;
  flex: 1;
  padding: 6px 10px;
  transition: background .15s, color .15s;
  font-size: .78rem;
  font-weight: 600;
}

.bus-search-tab:hover:not(.active) {
  color: #f0f0f0;
  background: #ffffff14;
}

.bus-search-tab.active {
  background: var(--brand-mid);
  color: #fff;
}

.stop-selected {
  display: flex;
  background: #25a8642e;
  border: 1px solid #25a86459;
  border-left-width: 4px;
  border-radius: 6px;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
  padding: 6px 6px 6px 10px;
}

.stop-selected--loading {
  opacity: .55;
  background: #ffffff0d;
  border-color: #ffffff1f;
}

.stop-selected--dublinbus {
  border-left-color: var(--op-dublinbus);
}

.stop-selected--buseireann {
  border-left-color: var(--op-buseireann);
}

.stop-selected--goahead {
  border-left-color: var(--op-goahead);
}

.luas-stop-selected {
  display: flex;
  background: #ffffff0f;
  border: 1px solid #ffffff1f;
  border-left: 4px solid #26a65b;
  border-radius: 6px;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
  padding: 6px 6px 6px 10px;
}

.luas-stop-selected--red {
  border-left-color: #d71920;
}

.luas-stop-selected--both {
  border-left-color: #fff;
}

.luas-stop-selected__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.luas-stop-selected__text strong {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .8rem;
}

.luas-stop-selected .fav-star {
  flex: 0 0 32px;
}

.luas-stop-selected .search-btn {
  flex: none;
  min-width: 0;
  padding-inline-start: 12px;
  padding-inline-end: 12px;
}

.stop-selected .fav-star, .direction-status .fav-star {
  flex: 0 0 32px;
}

.stop-selected .search-btn, .direction-status .search-btn {
  flex: none;
  min-width: 0;
  padding-inline-start: 12px;
  padding-inline-end: 12px;
}

.direction-status > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.luas-stop-selected__text span {
  color: #ccc;
  font-size: .72rem;
}

.stop-result, .route-result, .luas-stop-result {
  border-left: 3px solid #0000;
  padding-left: 9px;
}

.stop-result--dublinbus, .route-result--dublinbus {
  border-left-color: var(--op-dublinbus);
}

.stop-result--buseireann, .route-result--buseireann {
  border-left-color: var(--op-buseireann);
}

.stop-result--goahead, .route-result--goahead {
  border-left-color: var(--op-goahead);
}

.luas-stop-result {
  display: flex;
  align-items:  center;
  gap: 8px;
}

.luas-stop-result--green {
  border-left-color: #26a65b;
}

.luas-stop-result--red {
  border-left-color: #d71920;
}

.luas-stop-result--both {
  border-left-color: #fff;
}

.luas-stop-result strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.luas-stop-result span {
  color: #ffffff94;
  white-space: nowrap;
  margin-left: auto;
  font-size: .68rem;
  font-weight: 700;
}

.operator-badge {
  letter-spacing: .02em;
  color: #ddd;
  background: #ffffff14;
  border-radius: 4px;
  flex-shrink: 0;
  margin-left: auto;
  padding: 1px 6px;
  font-size: .65rem;
  font-weight: 700;
}

.operator-badge--dublinbus {
  background: var(--op-dublinbus);
  color: var(--op-dublinbus-text);
}

.operator-badge--buseireann {
  background: var(--op-buseireann);
  color: #fff;
}

.operator-badge--goahead {
  background: var(--op-goahead);
  color: #fff;
}

.stop-results .stop-result .operator-badge, .route-results .route-result .operator-badge {
  float: right;
  margin-left: 8px;
}

.bus-unified-results {
  padding: 4px 0;
}

.bus-result-group + .bus-result-group {
  border-top: 1px solid #ffffff14;
  margin-top: 4px;
  padding-top: 4px;
}

.bus-result-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bus-result-heading {
  color: #ffffff7a;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px 3px;
  font-size: .64rem;
  font-weight: 800;
}

.bus-unified-results .search-empty {
  color: #ffffff57;
  text-align: center;
  padding: 10px;
  font-size: .78rem;
}

.bus-unified-results .stop-result .operator-badge, .bus-unified-results .route-result .operator-badge {
  float: right;
  margin-left: 8px;
}

.stop-selected__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items:  flex-start;
  gap: 2px;
  min-width: 0;
}

.stop-selected__text strong {
  color: #fff;
  font-size: .8rem;
}

.stop-selected__text span {
  color: #ccc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: .72rem;
}

.stop-arrivals {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-height: 260px;
  margin-top: 8px;
}

.stop-arrivals::-webkit-scrollbar {
  display: none;
}

.stop-arrivals__empty {
  text-align: center;
  color: #888;
  padding: 14px 8px;
  font-size: .78rem;
}

.stop-arrivals__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.stop-arrivals__list li {
  margin: 0;
  padding: 0;
}

.stop-arrival {
  display: flex;
  color: #f0f0f0;
  cursor: pointer;
  text-align: left;
  background: #ffffff0d;
  border: none;
  border-radius: 6px;
  align-items:  center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  transition: background .12s, box-shadow .16s ease-out, transform .16s ease-out;
  font-family: inherit;
}

.stop-arrival:hover:not(:disabled) {
  background: #ffffff1f;
}

.stop-arrival--scheduled {
  opacity: .55;
  cursor: default;
}

.stop-arrival--dublinbus .stop-arrival__route {
  background: var(--op-dublinbus);
  color: var(--op-dublinbus-text);
}

.stop-arrival--buseireann .stop-arrival__route {
  background: var(--op-buseireann);
}

.stop-arrival--goahead .stop-arrival__route {
  background: var(--op-goahead);
}

.stop-arrival--luas {
  cursor: pointer;
}

.stop-arrival--luas-red .stop-arrival__route {
  background: #c5161d;
}

.stop-arrival--selected {
  animation: stop-arrival-selected-in .26s cubic-bezier(.2, .8, .2, 1) both;
  background: #25a8642e;
  box-shadow: inset 0 0 0 1px #25a8646b, 0 5px 14px #00000029;
}

.stop-arrival--selected:hover:not(:disabled) {
  background: #25a8643b;
}

.stop-arrival__route {
  background: var(--brand-mid);
  color: #fff;
  text-align: center;
  border-radius: 4px;
  flex: none;
  min-width: 36px;
  padding: 3px 8px;
  font-size: .78rem;
  font-weight: 700;
}

.stop-arrival__headsign {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ccc;
  flex: auto;
  font-size: .78rem;
}

.stop-arrival__eta {
  color: var(--brand-light);
  flex: none;
  font-size: .78rem;
  font-weight: 600;
}

.stop-arrival__eta.late {
  color: #ff9a6b;
}

@keyframes stop-arrival-selected-in {
  0% {
    transform: scale(.985);
  }

  58% {
    transform: scale(1.012);
  }

  100% {
    transform: none;
  }
}

@media (width <= 600px) {
  .train-item {
    padding: 6px 8px;
  }

  .train-item-code {
    font-size: .75rem;
  }

  .train-item-route, .train-item-times {
    font-size: .68rem;
  }

  .train-item-status {
    font-size: .6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stop-arrival--selected {
    animation: none;
  }
}

/* src/client/styles/markers.css */
.bus-marker {
  display: flex;
  pointer-events: auto;
  background: none;
  border: none;
  flex-direction: column;
  align-items:  center;
}

.bus-icon {
  color: var(--op-dublinbus);
  filter: drop-shadow(0 1px 2px #0006);
  display: block;
  width: 24px;
  height: 16px;
}

.bus-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.bus-label {
  background: var(--op-dublinbus);
  color: var(--op-dublinbus-text);
  white-space: nowrap;
  border-radius: 3px;
  margin-top: 1px;
  padding: 1px 5px;
  font-size: .65rem;
  font-weight: 700;
  box-shadow: 0 1px 3px #0000004d;
}

.bus-marker--buseireann .bus-icon {
  color: var(--op-buseireann);
}

.bus-marker--buseireann .bus-label {
  background: var(--op-buseireann);
  color: #fff;
}

.bus-marker--goahead .bus-icon {
  color: var(--op-goahead);
}

.bus-marker--goahead .bus-label {
  background: var(--op-goahead);
  color: #fff;
}

.bus-marker--stale .bus-stale-art {
  display: flex;
  filter: drop-shadow(0 1px 2px #00000059);
  justify-content: center;
  align-items:  center;
  width: 36px;
  height: 36px;
}

.bus-marker--stale .bus-stale-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.bus-marker--stale .bus-label {
  opacity: .85;
  margin-top: 2px;
}

.bus-cluster {
  background: var(--op-dublinbus);
  color: var(--op-dublinbus-text);
  display: flex;
  border: 2px solid #ffffffe6;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  font-family: inherit;
  font-weight: 700;
  box-shadow: 0 1px 3px #0006;
}

.bus-cluster--small {
  font-size: .75rem;
}

.bus-cluster--medium {
  font-size: .85rem;
}

.bus-cluster--large {
  font-size: .95rem;
}

.bus-cluster--dublinbus {
  background: var(--op-dublinbus);
  color: var(--op-dublinbus-text);
}

.bus-cluster--buseireann {
  background: var(--op-buseireann);
  color: #fff;
}

.bus-cluster--goahead {
  background: var(--op-goahead);
  color: #fff;
}

.train-marker, .train-hit-marker {
  background: none;
  border: none;
}

.train-icon {
  filter: drop-shadow(0 1px 2px #0006);
  display: block;
  width: 22px;
  height: 22px;
}

.train-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.luas-stop-marker {
  background: none;
  border: none;
}

.luas-stop-marker span {
  display: block;
  background: #26a65b;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  box-shadow: 0 1px 3px #0000006b, 0 0 0 3px #26a65b33;
}

.luas-stop-marker--red span {
  background: #d71920;
  box-shadow: 0 1px 3px #0000006b, 0 0 0 3px #d7192033;
}

.luas-stop-marker--both span {
  background: linear-gradient(90deg, #26a65b 0 50%, #d71920 50% 100%);
  box-shadow: 0 1px 3px #0000006b, 0 0 0 3px #ffffff29;
}

.luas-stop-marker--selected span {
  border-width: 3px;
  width: 18px;
  height: 18px;
  box-shadow: 0 2px 7px #00000080, 0 0 0 5px #ffffff38;
}

/* src/client/styles/tour.css */
.tour {
  position: fixed;
  z-index: 3000;
  pointer-events: none;
  inset: 0;
}

.tour__backdrop {
  position: absolute;
  pointer-events: auto;
  animation: tour-fade-in .2s ease-out;
  background: none;
  inset: 0;
}

.tour--no-target .tour__backdrop {
  background: #08080ea6;
}

.tour__highlight {
  position: absolute;
  pointer-events: none;
  animation: tour-pulse 1.8s ease-in-out infinite;
  border: 2px solid #25a864f2;
  border-radius: 12px;
  transition: top .25s, left .25s, width .25s, height .25s;
  box-shadow: 0 0 0 9999px #08080ea6;
}

@keyframes tour-pulse {
  0%, 100% {
    border-color: #25a864f2;
  }

  50% {
    border-color: #25a8648c;
  }
}

@keyframes tour-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tour__tooltip {
  position: absolute;
  color: #f0f0f0;
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  pointer-events: auto;
  animation: tour-fade-in .25s ease-out;
  background: linear-gradient(#1e1e26fa 0%, #121218fa 100%);
  border-radius: 14px;
  width: 280px;
  max-width: calc(100vw - 24px);
  padding: 16px 18px 14px;
  box-shadow: 0 12px 36px #00000080;
}

.tour__tooltip--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tour__progress {
  color: #f0f0f08c;
  letter-spacing: .5px;
  margin-bottom: 6px;
  font-size: .7rem;
}

.tour__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.tour__body {
  color: #f0f0f0d1;
  margin: 0 0 14px;
  font-size: .85rem;
  line-height: 1.45;
}

.tour__actions {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 8px;
}

.tour__skip {
  color: #f0f0f080;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  min-width: 40px;
  padding: 6px 4px;
  font-size: .78rem;
}

.tour__skip:hover {
  color: #f0f0f0cc;
}

.tour__nav {
  display: flex;
  gap: 6px;
}

.tour__btn {
  cursor: pointer;
  transition: background var(--motion-fast), border-color var(--motion-fast);
  border: 1px solid #0000;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
}

.tour__btn--ghost {
  color: #f0f0f0;
  background: none;
  border-color: #ffffff26;
}

.tour__btn--ghost:hover {
  background: #ffffff0f;
}

.tour__btn--primary {
  color: #fff;
  background: #25a864;
}

.tour__btn--primary:hover {
  background: #1f9357;
}

/* src/client/styles/error-boundary.css */
.error-fallback {
  display: flex;
  background: #f7faf5;
  justify-content: center;
  align-items:  center;
  min-height: 100dvh;
  padding: 40px 24px;
}

.error-fallback__inner {
  text-align: center;
  max-width: 320px;
}

.error-fallback__inner svg {
  opacity: .85;
  margin-bottom: 16px;
  transform: rotate(-6deg);
}

.error-fallback__title {
  color: #1a4a2e;
  margin: 0 0 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.error-fallback__text {
  color: #5a7a60;
  margin: 0 0 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.error-fallback__btn {
  display: inline-block;
  color: #fff;
  cursor: pointer;
  transition: background var(--motion-fast);
  background: #1a7a4a;
  border: none;
  border-radius: 12px;
  padding: 10px 28px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.error-fallback__btn:hover {
  background: #156135;
}

/* src/client/style.css */

