* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #0b1d33;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #081526;
    padding: 12px 16px;
}

.title {
    font-size: 20px;
    font-weight: bold;
}

#fullscreenBtn {
    font-size: 18px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.board {
    width: 100%;
    border-collapse: collapse;
}

.board thead {
    background: #10294a;
}

.board th,
.board td {
    padding: 10px 8px;
    text-align: left;
}

.board tbody tr:nth-child(even) {
    background: #0f2542;
}

.time {
    font-weight: bold;
    font-size: 18px;
}

.delay {
    color: #4caf50;
}

.delay.zero {
    color: #aaa;
}

.direction {
    font-weight: bold;
}

.via {
    font-size: 12px;
    color: #b0c4de;
    white-space: nowrap;
    overflow: hidden;
    animation: scroll-left 12s linear infinite;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}
