@font-face {
    font-family: 'LINESeedTW';
    src: url('/fonts/LINESeedTW_OTF_Th.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINESeedTW';
    src: url('/fonts/LINESeedTW_OTF_Rg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINESeedTW';
    src: url('/fonts/LINESeedTW_OTF_Bd.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINESeedTW';
    src: url('/fonts/LINESeedTW_OTF_Eb.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

html,
body {
    overflow-x: hidden; /* Prevent scroll on narrow devices */
}


body {
    padding-top: 60px;
    background-color: transparent !important;
    font-family: 'LINESeedTW', 'Microsoft JhengHei', sans-serif;
}



main {
    padding-bottom: 50px
    /*min-height: calc(100vh - 850px);*/
}

.fill-page {
    min-height: calc(100vh - 140px);
}
.fill-page-110 {
    min-height: calc(100vh - 110px);
}
.fill-page-85 {
    min-height: calc(100vh - 60px);
}

.fill-page-60 {
    min-height: calc(100vh - 85px);
}

@media (min-width: 768px) {
    .fill-page-md-85 {
        min-height: calc(100vh - 59px);
    }
}

.fill-page-71 {
    min-height: calc(100vh - 71px);
}



.sidebar-menu-page {
    min-height: calc(100vh - 170px);
}


.min-h-750px {
    min-height: 750px
}
.min-h-350px {
    min-height: 350px
}

.max-h-750px {
    max-height: 750px
}

.m-h-350px {
    max-height: 350px
}

.h-955px {
    height: 955px;
}
.h-950px {
    height: 950px;
}
.h-900px {
    height: 900px;
}
.h-867px {
    height: 867px;
}
.h-850px {
    height: 850px;
}
.h-800px {
    height: 800px;
}
.h-750px {
    height: 750px;
}
.h-700px {
    height: 700px;
}
.h-650px {
    height: 650px;
}
.h-600px {
    height: 600px;
}
.h-550px {
    height: 550px;
}
.h-500px {
    height: 500px;
}
.h-400px {
    height: 400px;
}
.h-350px {
    height: 350px;
}
.h-300px {
    height: 300px;
}
.h-250px {
    height: 250px;
}
.h-200px {
    height: 200px;
}
.h-150px {
    height: 150px;
}
.h-125px {
    height: 125px;
}
.h-100px {
    height: 100px;
}
.h-80px {
    height: 80px;
}
.h-60px {
    height: 60px;
}
.h-50px {
    height: 50px;
}
.h-48px {
    height: 48px;
}
.h-36px {
    height: 36px;
}
.h-30px {
    height: 30px;
}
.h-20px {
    height: 20px;
}
.h-3px {
    height: 3px;
}
.h-2px {
    height: 2px;
}
.h-1px {
    height: 1px;
}




.vh-95 {
    height: 95vh;
}
.vh-90 {
    height: 90vh;
}
.vh-85 {
    height: 85vh;
}
.vh-80 {
    height: 80vh;
}
.vh-60 {
    height: 60vh;
}

@media (min-width: 768px) {
    .h-md-400px {
        height: 400px;
    }
    .h-md-600px {
        height: 600px;
    }
}




.w-1px {
    width: 1px;
}
.w-2px {
    width: 2px;
}
.w-3px {
    width: 3px;
}
.w-5px {
    width: 5px;
}
.w-10px {
    width: 10px;
}
.w-20px {
    width: 20px;
}
.w-30px {
    width: 30px;
}
.w-36px {
    width: 36px;
}
.w-48px {
    width: 48px;
}
.w-60px {
    width: 60px;
}
.w-80px {
    width: 80px;
}
.w-100px {
    width: 100px;
}
.w-200px {
    width: 200px;
}
.w-300px {
    width: 300px;
}
.w-400px {
    width: 400px;
}
.w-1740px {
    width: 1740px;
}
.w-1750px {
    width: 1750px;
}
.w-100vw {
    width: 100vw;
}
.w-18rem {
    width: 18rem;
}
.w-36rem {
    width: 36rem;
}



.z-index-1000 {
    z-index: 1000;
}
.z-index-999 {
    z-index: 1000;
}
.z-index-998 {
    z-index: 1000;
}



.scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    cursor: grab;
    user-select: none; /* 避免選取文字 */
}

.scroll-container:active {
    cursor: grabbing;
}

.scroll-item {
    display: inline-block;
    margin-right: 1rem;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-container {
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}





.hide-scroll {
    overflow: auto; /* 允許滾動 */
    /* 隱藏滾動條 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

    .hide-scroll::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }






/* 左側滑鼠偵測區 */
#left-edge-trigger {
    position: fixed;
    left: 0;
    top: 0;
    width: 10px;
    height: 100vh;
    z-index: 1055;
}

/* 左側滑鼠偵測區 */
#right-edge-trigger {
    position: fixed;
    right: 0;
    top: 0;
    width: 10px;
    height: 100vh;
    z-index: 1055;
}




.overtake-content {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}


.main-center-wrapper {
    min-height: calc(100vh - 80px);

}

    .main-center-wrapper > .m-auto {
        margin: auto;
    }






.hover-box:hover {
    background-color: #ddd;
    border-radius: 0.5rem;
}

.aspect-16-9 {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}




.backdrop-1 {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3); /* 半透明背景 */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(5px); /* 支持 Safari 和舊版瀏覽器 */
}
.backdrop-2 {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3); /* 半透明背景 */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(5px); /* 支持 Safari 和舊版瀏覽器 */
}
.backdrop-3 {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3); /* 半透明背景 */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(5px); /* 支持 Safari 和舊版瀏覽器 */
}
.backdrop-4 {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3); /* 半透明背景 */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(5px); /* 支持 Safari 和舊版瀏覽器 */
}
.backdrop-5 {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3); /* 半透明背景 */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* 支持 Safari 和舊版瀏覽器 */
}



.radio-readonly {
    pointer-events: none;
    opacity: 0.7;
}




.min-vh-80 {
    min-height: 80vh;
}








/* From Uiverse.io by Kabak */
.atomization-button {
    height: 50px;
    margin: 5px;
    width: 120px;
    background: #333;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: Consolas, Courier New, monospace;
    border: solid #404c5d 1px;
    font-size: 16px;
    color: rgb(161, 161, 161);
    -webkit-transition: 500ms;
    transition: 500ms;
    border-radius: 5px;
    background: linear-gradient(145deg, #2e2d2d, #212121);
    -webkit-box-shadow: -1px -5px 15px #41465b, 5px 5px 15px #41465b, inset 5px 5px 10px #212121, inset -5px -5px 10px #212121;
    box-shadow: -1px -5px 15px #41465b, 5px 5px 15px #41465b, inset 5px 5px 10px #212121, inset -5px -5px 10px #212121;
}

    .atomization-button:hover {
        -webkit-box-shadow: 1px 1px 13px #20232e, -1px -1px 13px #545b78;
        box-shadow: 1px 1px 13px #20232e, -1px -1px 13px #545b78;
        color: #d6d6d6;
        -webkit-transition: 500ms;
        transition: 500ms;
    }

    .atomization-button:active {
        -webkit-box-shadow: 1px 1px 13px #20232e, -1px -1px 33px #545b78;
        box-shadow: 1px 1px 13px #20232e, -1px -1px 33px #545b78;
        color: #d6d6d6;
        -webkit-transition: 100ms;
        transition: 100ms;
    }











.space-button {
    cursor: pointer;
    width: 7em;
    aspect-ratio: 1/0.25;
    color: white;
    background-size: cover;
    background-blend-mode: overlay;
    border-radius: 0.5em;
    outline: 0.1em solid #353535;
    text-align:center;
    transition: all 0.3s ease-in-out;
    position: relative;
}

    .space-button:hover {
        transform: scale(1.1);
        box-shadow: 0 0 1em 0.45em rgba(0, 0, 0, 0.1);
        background: linear-gradient(45deg, #212121, #252525);
        background: radial-gradient( circle at bottom, rgba(50, 100, 180, 0.5) 10%, #212121 70% );
        outline: 0;
    }







.bw-transform-button {
    width: 130px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #272727;
    border: none;
    color: white;
    font-weight: 600;
    gap: 8px;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.103);
    position: relative;
    overflow: hidden;
    transition-duration: .3s;
}

.svgIcon {
    width: 16px;
}

    .svgIcon path {
        fill: white;
    }

.bw-transform-button::before {
    width: 130px;
    height: 130px;
    position: absolute;
    content: "";
    background-color: white;
    border-radius: 50%;
    left: -100%;
    top: 0;
    transition-duration: .3s;
    mix-blend-mode: difference;
}

.bw-transform-button:hover::before {
    transition-duration: .3s;
    transform: translate(100%,-50%);
    border-radius: 0;
}

.bw-transform-button:active {
    transform: translate(5px,5px);
    transition-duration: .3s;
}







/* 由下往上 */
.animate-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

    .animate-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* 由右往左 */
.animate-left {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

    .animate-left.is-visible {
        opacity: 1;
        transform: translateX(0);
    }






.flag-style {
    width: 100%;
    aspect-ratio: 16/9; /* 統一比例（可改 3/2、4/3） */
    overflow: hidden;
}

    .flag-style img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 不變形，裁切 */
    }

/* iOS Safari 專用修正 */
@supports (-webkit-touch-callout: none) {
    .flag-style img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: auto; /* 改為 auto 避免放大 */
        height: 100%; /* 高度填滿容器 */
        min-width: 100%; /* 保證寬度不出現空白 */
        object-fit: cover; /* 保持裁切比例 */
        transform: translate(-50%, -50%);
    }
}







.full-yellow-btn {
    font-size: 17px;
    background: transparent;
    border: none;
    padding: 1em 1.5em;
    text-transform: uppercase;
    position: relative;
    transition: 0.5s ease;
    cursor: pointer;
}

    .full-yellow-btn::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 2px;
        width: 0;
        background-color: #f0c674;
        transition: 0.5s ease;
    }

    .full-yellow-btn:hover {
        color: #1e1e2b;
        transition-delay: 0.5s;
    }

        .full-yellow-btn:hover::before {
            width: 100%;
        }

    .full-yellow-btn::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 0;
        width: 100%;
        background-color: #f0c674;
        transition: 0.4s ease;
        z-index: -1;
        border-radius: 10px 10px 0 0;
    }

    .full-yellow-btn:hover::after {
        height: 100%;
        transition-delay: 0.4s;
        color: aliceblue;
    }




.card-scale {
    transition: transform 0.3s ease;
}

.card-scale:hover {
    transform: scale(1.05);
}


.img-scale {
    transition: transform 0.3s ease;
}

    .img-scale:hover {
        transform: scale(1.02);
    }




/*文字換行*/
.text-pre-line {
    white-space: pre-line;
}













