html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}
.container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    touch-action: none;
}
.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top left;
    will-change: transform;
    visibility: hidden;
}
img {
    max-width: none;
    user-select: none;
    pointer-events: none;
    display: block;
}
#mapContainer {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    touch-action: none;
    position: relative;
    background-color: #FFFFFF;
    /* background: #DCDDDD; */
}
#imgWrapper {
    will-change: transform;
    transform-origin: 0 0;
    position: absolute;
}
#mapImage {
    display: block;
    max-width: none;
    user-select: none;
    pointer-events: none;
}
.carIcon {
    position: absolute;
    pointer-events: none;
    user-select: none;
}
#countdown {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 18px 20px;
    font-size: 30px;
    font-family: monospace;
    border-radius: 6px;
    z-index: 1001;
}

.arrival-time-box {
    position: absolute;
    z-index: 1000;
    transform: translate(-50%, 0);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 5px;
    padding: 0px 0px;
    box-sizing: border-box; 
    font-family: 'Microsoft JhengHei', '微軟正黑體', sans-serif;
    color: black;
    text-align: center;
    font-size: 30px;
    font-weight: bold;  /*粗體*/
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    color: white;
    font-family: 'Microsoft JhengHei', '微軟正黑體', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-sizing: border-box;
    font-size: 14px;
}
#redirectButton {
    position: fixed;
    z-index: 1001;
    top: 100px;
    right: 10px;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center; 
    height: 105px; 
    width: 78px; 
    padding: 0; 
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.top-bar.mobile-top-bar {
    height: 60px; 
    font-size: 16px;
}


.top-bar.mobile-top-bar ~ #countdown {
    top: 5px;
    left: 5px;
    padding: 10px 15px;
    font-size: 20px;
}

#redirectButton {
    top: 100px; 
    right: 10px;
    height: 105px; 
    width: 78px; 
}

@media (max-width: 600px) { 
    .top-bar {
        height: 60px !important; 
        font-size: 8px !important; 
    }

    #countdown {
        top: 5px !important;
        left: 5px !important;
        padding: 10px 15px !important;
        font-size: 20px !important;
    }
    
    #redirectButton {
        top: 65px !important; 
        right: 5px !important;
        height: 70px !important; 
        width: 52px !important; 
    }
}