@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif+HK:wght@200..900&display=swap');
:root {
    --font-arrivals: "Lonton Regular", "Lonton Regular", "Noto Serif HK";
    --font-platformcircle: "Lonton Regular", "Lonton Regular";
    --font-size: 12vmin;
    --eta-font-size: 13vmin;
    --route-color: transparent;
    --font-weight: 600;
    --platcircle-family: 'Lonton Regular', 'Lonton Regular', 'Noto Serif HK';
    --dest-family: 'Lonton Regular', 'Lonton Regular', 'Noto Serif HK';
    --eta-family: "Lonton Regular", "Lonton Regular", "Noto Serif HK";
    --eta-width: 260px;
    --aqua: #c8ebfa;
}

.main {
    font-family: var(--font-arrivals);
}

#arrivals {
    position: absolute;
    top: var(--title-height);
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(100vh - var(--title-height));
}

#arrivalOverlay {
    position: absolute;
    table-layout: fixed;
    margin: auto;
    left: 0;
    right: 0;
    height: 100%;
    width: calc(100vw - 5.208% - 5.208%);
    background: transparent;
}

#arrivalOverlay tr td {
    padding: 0;
    margin: 0;
    vertical-align: middle;
}

#arrivalBackground {
    position: absolute;
    width: 100%;
    height: 100%;
}

.divider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0.5vh;
    background: black;
}

#arrivalBackground tr:nth-child(even) {
    background-color: var(--aqua);
}

#widthCheck {
    position: absolute;
    visibility: hidden;
    overflow: visible;
    white-space: nowrap;
}

.lrt-route {
    display: inline-block;
    width: 11vw;
    min-width: 128px;
    text-align: center;
    vertical-align: middle;
    background-color: white;
    font-size: 6vh;
    color: black;
    overflow: visible;
    border-radius: 50vh;
    border: 2.2vh solid orange;
    outline: 1.2vh solid black;
    margin: 0 3vw 0 1vw;
}

.destination {
    font-size: var(--font-size);
    font-family: var(--dest-family);
    font-weight: var(--font-weight);
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.plat {
    width: 11vmin;
    font-family: var(--platcircle-family);
}

.plat-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    height: 11vmin;
    width: 11vmin;
    border-radius: 50%;
    line-height: 0;
    font-size: 10vmin;
    color: #fff;
}

#promo {
    position: absolute;
    z-index: 2;
    top: var(--title-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--title-height) - ((100vh - var(--title-height)) / 4));
    background-color: #000000;
}

#promo.promo-full {
    height: calc(100vh - var(--title-height));
}

#promo iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.eta {
    font-family: var(--eta-family);
    font-weight: var(--font-weight);
    font-size: var(--eta-font-size);
    min-width: max-content;
    width: calc(calc(1vw + 1vh) * 14.5);
    text-align: right;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
}

.etamin {
    font-size: 65%;
}
