#departures-open,
#bus-routes-open {
  min-height: 32px;
  padding: 6px 9px;
  font: inherit;
  font-size: 10px;
  color: #dfc490;
  white-space: nowrap;
  text-decoration: none;
  background: #162e2dd9;
  border: 1px solid #dfc49066;
  border-radius: 4px;
}
#departures-open[data-state="live"]::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  content: "";
  background: #a6c79e;
  border-radius: 50%;
}
.rail-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
#rail-mode {
  min-height: 32px;
  padding: 6px 9px;
  font: inherit;
  font-size: 10px;
  color: #dfc490;
  white-space: nowrap;
  background: #162e2dd9;
  border: 1px solid #dfc49066;
  border-radius: 4px;
}
#rail-status {
  flex-basis: 100%;
  font-size: 9px;
  color: #b5c6bc;
}
footer {
  gap: 14px;
}
@media (max-width: 1000px) {
  footer #navigation-hint {
    display: none;
  }
}
@media (max-width: 700px) {
  .rail-controls {
    gap: 6px;
  }
  #rail-mode {
    font-size: 9px;
  }
  #rail-status {
    flex-basis: auto;
    max-width: 156px;
    font-size: 8px;
    line-height: 1.6;
  }
}
#departures-dialog {
  width: min(780px, calc(100vw - 32px));
}
#departures-dialog h2 {
  margin-bottom: 14px;
}
#departures-status {
  color: #dfc490;
}
.departures-station-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: #b5c6bc;
}
#departures-station {
  max-width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  color: #dfc490;
  background: #162e2d;
  border: 1px solid #dfc49066;
  border-radius: 4px;
}
#departures-station:focus-visible {
  outline: 2px solid #dfc490;
  outline-offset: 3px;
}
#departures-dialog .departures-scroll {
  overflow-x: auto;
}
#departures-table {
  width: 100%;
  margin: 20px 0;
  font-size: 12px;
  text-align: left;
  border-collapse: collapse;
}
#departures-table th {
  font-size: 10px;
  font-weight: 500;
  color: #c5b489;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
#departures-table caption {
  padding-bottom: 12px;
  font-size: 11px;
  color: #b5c6bc;
  text-align: left;
}
#departures-table td,
#departures-table th {
  padding: 12px 8px;
  border-bottom: 1px solid #ffffff18;
}
#departures-table td:first-child {
  font-variant-numeric: tabular-nums;
  color: #efce8c;
  white-space: nowrap;
}
#departures-table .departure-cancelled td {
  color: #ffa99e;
}
#departures-table .departure-operator {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #b5c6bc;
}
#platform-note {
  max-width: 330px;
  line-height: 1.65;
}
#departures-dialog .departures-note {
  font-size: 11px;
  line-height: 1.7;
  color: #b5c6bc;
}
#departures-dialog a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  #departures-open {
    padding: 5px 7px;
    font-size: 9px;
  }
  #departures-dialog {
    padding: 32px 18px 20px;
  }
  #departures-table {
    font-size: 11px;
  }
  #departures-table td,
  #departures-table th {
    padding: 10px 4px;
  }
}
