.cabin-pagination {
    display: none
}

.mobile-intro-break {
    display: none
}

@media (max-width:1099px) {
    html {
        scrollbar-gutter: auto
    }

    body {
        min-width: 0
    }

    .brand {
        left: 4%;
        top: 5cqw;
        width: 27%
    }

    .menu-toggle {
        right: 4%;
        top: 3cqw;
        width: 44px;
        padding: 4px;
        border: 2px solid #fff;
        border-radius: 6px;
        background: transparent
    }

    #site-menu {
        top: max(17cqw, 64px);
        left: 0;
        right: 0;
        width: 100%;
        padding: 16px 24px;
        border-radius: 0;
        max-height: calc(100dvh - max(17cqw, 64px));
        overflow-y: auto
    }

    #site-menu a {
        padding: 20px 12px;
        font-size: 20px;
        line-height: 1.5
    }

    .hero {
        aspect-ratio: 1242/2480;
        background-image: url('../images/s01/bg_01m.jpg')
    }

    .hero .hero-plane {
        width: 68%;
        left: 16%;
        top: 5.331cqw
    }

    .hero h1 {
        width: 75.6%;
        left: 12.2%;
        top: 28.432cqw
    }

    .hero h1 img {
        height: auto
    }

    .hero-subtitle {
        width: 76%;
        left: 12%;
        top: 71.079cqw
    }

    .timetable {
        left: 8%;
        width: 84%;
        top: 133.806cqw
    }

    .route-tabs {
        gap: 1cqw;
        margin-bottom: 1.2cqw
    }

    .route-tabs button {
        position: relative
    }

    .route-tabs button::before {
        content: '';
        position: absolute;
        inset: -8px 0
    }

    .schedule-note {
        margin-top: 1.2cqw;
        font-size: 1.8cqw
    }

    .discount {
        width: 70%;
        left: 15%;
        top: 159.928cqw
    }

    .section-title,
    .cities .section-title,
    .journeys .section-title,
    .dining .section-title {
        top: 9cqw;
        font-size: 4.3cqw;
        letter-spacing: .35cqw;
        padding-bottom: 2cqw;
        border-bottom-width: .4cqw
    }

    .section-title::after {
        bottom: -3cqw;
        border-left-width: 2.2cqw;
        border-right-width: 2.2cqw;
        border-top-width: 3cqw
    }

    .section-intro,
    .journeys .section-intro {
        top: 21cqw;
        font-size: 2.7cqw;
        line-height: 1.8;
        left: 9%;
        width: 82%;
        letter-spacing: .15cqw
    }

    .lottery {
        aspect-ratio: 1242/1635;
        background-image: url('../images/s02/bg_02m.jpg')
    }

    .lottery .section-title {
        top: 16cqw
    }

    .lottery-intro {
        top: 27cqw;
        font-size: 2.7cqw;
        line-height: 2;
        left: 8%;
        width: 84%
    }

    .prize-grid {
        top: 35%;
        left: 15%;
        width: 70%;
        display: block;
        overflow: hidden
    }

    .prize-grid .swiper-wrapper {
        align-items: start
    }

    .prize-grid img {
        height: auto
    }

    .prize-arrow {
        top: calc(35% + 30cqw);
        width: 36px;
        height: 44px;
        font-size: 34px;
    }

    .prize-prev {
        left: 2%;
    }

    .prize-next {
        right: 2%;
    }

    .lottery-actions {
        top: 85%;
        gap: 4cqw
    }

    .pill {
        font-size: 3.2cqw;
        letter-spacing: .3cqw;
        padding: 1cqw 3cqw;
        border-radius: 2cqw;
        min-height: 32px
    }

    .pill span {
        font-size: 4cqw
    }

    .cities {
        aspect-ratio: 1242/1785;
        background-image: url('../images/s03/bg_03m.jpg')
    }

    .city-grid {
        top: 38cqw;
        left: 9%;
        width: 82%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4cqw 3cqw
    }

    .journeys {
        aspect-ratio: 1242/2690;
        background-image: url('../images/s04/bg_04m.jpg')
    }

    .video-grid {
        top: 16%;
        left: 22%;
        width: 56%;
        grid-template-columns: 1fr;
        gap: 3cqw
    }

    .video-trigger {
        border-radius: 4cqw
    }

    figcaption {
        font-size: 2.8cqw;
        margin-top: 1.5cqw
    }

    .cabin {
        aspect-ratio: auto;
        padding: 7cqw 0 12cqw;
        min-height: 157cqw
    }

    .business {
        background-image: url('../images/s05/bg_05m.jpg')
    }

    .economy {
        background-image: url('../images/s06/bg_06m.jpg')
    }

    .cabin .section-title {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: max-content;
        margin: 0 auto;
        font-size: 4.3cqw
    }

    .cabin h3 {
        position: static;
        font-size: 3.1cqw;
        line-height: 1.8;
        margin: 5cqw auto 0;
        width: 90%
    }

    .cabin-intro {
        position: static;
        font-size: 2.7cqw;
        line-height: 1.65;
        width: 88%;
        margin: 5cqw auto 0;
        letter-spacing: .1cqw
    }

    .cabin-intro br {
        display: none
    }

    .cabin-carousel {
        position: relative;
        top: auto;
        left: auto;
        width: 56%;
        margin: 5cqw auto 0
    }

    .cabin-carousel .swiper-slide {
        width: 100%
    }

    .carousel-prev,
    .carousel-next {
        display: none
    }

    .cabin-pagination {
        display: flex;
        justify-content: center;
        gap: 1.5cqw;
        margin-top: 5cqw
    }

    .cabin-pagination .swiper-pagination-bullet {
        width: 6cqw;
        height: 1.3cqw;
        background: white;
        border-radius: 1px;
        opacity: .35
    }

    .cabin-pagination .swiper-pagination-bullet-active {
        opacity: 1
    }

    .dining {
        aspect-ratio: auto;
        min-height: 192cqw;
        padding: 10cqw 8% 16cqw;
        background-image: url('../images/s07/bg_07m.jpg')
    }

    .dining .section-title {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: max-content;
        margin: 0 auto 8cqw;
        font-size: 4cqw
    }

    .food-carousel {
        position: static;
        width: 100%
    }

    #food-slider .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4cqw 3cqw
    }

    .food-card {
        background: #fff;
        border-radius: 1cqw;
        overflow: hidden;
        min-width: 0
    }

    .food-card>picture {
        display: block;
        height: 25cqw;
        overflow: hidden
    }

    .food-card>picture img {
        width: 100%;
        height: auto
    }

    .food-copy {
        position: static;
        width: auto;
        padding: 2cqw 2.5cqw 4cqw;
        letter-spacing: .12cqw
    }

    .food-copy h3 {
        font-size: 2.8cqw;
        line-height: 1.65;
        text-align: center
    }

    .food-copy p {
        font-size: 2.75cqw;
        line-height: 1.85;
        margin-top: 2cqw;
        letter-spacing: .06cqw
    }

    .food-pagination {
        display: none
    }

    .floating-actions {
        right: 10px;
        bottom: 49px
    }

    .back-top {
        width: 36px;
        right: 10px;
        bottom: 12px
    }

    #app .modal-overlay,
    #rulesModal {
        padding: 60px 16px 24px
    }

    #app .modal-container,
    #rulesModal .modal-container {
        padding: 28px 20px;
        min-width: 0
    }

    #rulesModal .rules-content {
        overflow-wrap: anywhere
    }

    #rules-modal-title {
        font-size: min(22px, calc((100vw - 72px) / 15.5));
        letter-spacing: normal;
        white-space: nowrap;
    }

    #rulesModal .rules-content h2,
    #app .title {
        font-size: 22px
    }

    .video-modal-container {
        padding: 8px;
        border-radius: 10px
    }

    .video-modal-overlay {
        padding: 56px 12px 24px
    }

    /* Intro line breaks follow the supplied temp_m layouts. */
    .section-intro,
    .journeys .section-intro {
        left: 5%;
        width: 90%;
        font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
        font-size: 2.9cqw;
        line-height: 1.65;
        letter-spacing: .1cqw
    }

    .lottery-intro {
        font-size: 2.9cqw;
        line-height: 1.9
    }

    .cabin h3 {
        font-size: 3.1cqw;
        line-height: 1.5
    }

    .cabin-intro {
        width: 96%;
        font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
        font-size: 2.9cqw;
        line-height: 1.6;
        letter-spacing: .03cqw
    }

    .cabin-intro br,
    .mobile-intro-break {
        display: revert
    }

    .desktop-intro-break,
    .cabin-intro .desktop-intro-break {
        display: none
    }
}
