:root {
    /*#4c9eea*/
    --btnBg: linear-gradient(98.26deg, #939397, #242424 95.32%);
    --fontColor: #242424;
}

* {
    padding: 0;
    margin: 0;
    font-family: 微軟正黑體, sans-serif;
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    zoom: 1;
    max-width: 750px !important;
}

.main {
    max-width: 750px;

    width: 100%;
    display: flex;
    flex-direction: column;
}

.app_content {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    flex: 1 1;
}

.header {
    width: 100%;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.header .customer_service {
    height: 24px;
}

.header .customer_service > img {
    height: 30px;
}

.header > img {
    height: 40px;
}

.header .lang {
    height: 20px;
    width: 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}

.image_content {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    height: auto;
}

.swiper {
    width: 100%;
    margin-top: 20px;
    outline: none;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    height: 100%;
    object-fit: cover;
}

.main .right .swiper-pagination {
    height: 23px;
}

.swiper-pagination .swiper-pagination-bullet {
    width: 4px;
    height: 4px;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {

}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 8px;
    transform: translateY(50%);
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 20px;
    height: 12px;
    border: 1px solid #eee;
    border-radius: 7.5px;
    background-color: #fff;
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 10%);
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 8px 15px 0;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    max-width: 750px;
}

.footer .btns {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    flex-shrink: 0;
    padding: 0 15px;
}

.footer .btns .down {
    height: 52px;
    width: 100%;
    background: var(--btnBg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    border: 0;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    font-family: inherit;
    line-height: 1.15;
    margin: 0;
    text-decoration: none;
}

.footer .btns .web_entry_button {
    width: 100%;
    margin-top: 15px;
    height: 52px;
    background: var(--btnBg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    border: 0;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    font-family: inherit;
    line-height: 1.15;
    text-decoration: none;
}

.tutorial_block {
    width: 100%;
    text-align: center;
}

.tutorial_block .tutorial_block_btn {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    position: relative;
    margin: 0;
    color: var(--fontColor);
    font-size: 14px;
    font-weight: 700;
}

.dialog_panel {
    display: none;
    z-index: 3;
    -ms-scroll-chaining: none;
    overscroll-behavior: none;
    touch-action: none;
    position: fixed;
    right: 0;
    left: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    top: -60px;
    bottom: -60px;
}

.dialog_panel .mask {
    display: none;
    width: 100%;
    height: 100%;
    touch-action: none;
    position: fixed;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    will-change: opacity;
    cursor: pointer;
    z-index: 4;
    opacity: 1;
}

.dialog_panel .dialog {
    z-index: 5;
    -ms-scroll-chaining: none;
    overscroll-behavior: none;
    touch-action: none;
    position: fixed;
    right: 0;
    bottom: -675px;
    left: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    background: #fff;
    flex-direction: column;
    height: 675px;
    transform: translate3d(0, 0px, 0);
    will-change: height;
}

.dialog_panel .dialog .icon {
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index: 1;
    padding-top: 20px;
    padding-bottom: 8px;
    box-shadow: none;
    height: 20px;
}

.dialog_panel .dialog .icon:before {
    position: absolute;
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    top: calc(8px + env(safe-area-inset-top));
    left: 50%;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, .14);
    transform: translateX(-50%) scaleY(.75);
}

.dialog_panel .dialog .content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px 50px;
    position: relative;
}

.dialog_panel .dialog .content img:first-child {
    margin-bottom: 10px;
}

.dialog_panel .content p {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 10px auto 20px auto;
    text-align: center;
}

.dialog_panel .dialog img {
    display: block;
    width: 100%;
    height: auto;
}

.dialog_panel .tutorial_block {
    width: 100%;
    text-align: center;
}

.dialog_panel .tutorial_block .tutorial_block_btn {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    position: relative;
    margin: 0;
    color: var(--fontColor);
    font-size: 14px;
    font-weight: 700;
}

.dialog_panel .tutorial_block img {
    margin-bottom: 0px;
    display: inline;
    width: auto;
    height: 18px;
}

.line_panel {
    display: none;
    width: 100%;
    height: 100%;
    color: white;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 1000;
}

.line_panel .refresh {
    height: 33px;
    line-height: 23px;
    padding: 5px 10px;
    background: var(--btnBg);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 5;
}

.line_panel .panel {
    width: calc(100% - 50px);
    height: auto;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, .3);
    border: 1px solid white;
    border-radius: 8px;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    max-width: 750px;
}

.line_panel .panel ul {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding: 0 20px;
}

.line_panel .panel li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 45px;
}

.line_panel .panel li .signal {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    flex-shrink: 0;
    width: 30px;
}

.line_panel .panel li .signal span {
    width: 6px;
    height: 22px;
    margin-right: 3px;
    border-radius: 5rem;
    background-color: rgb(4, 190, 2);
}

.line_panel .panel li .signal span:nth-child(1) {
    height: 10px;
}

.line_panel .panel li .signal span:nth-child(2) {
    height: 15px;
}

.line_panel .panel .delay {
    margin-left: 10px;
    color: rgb(4, 190, 2);
}

.line_panel .panel .btn {
    height: 33px;
    padding: 5px 10px;
    background: var(--btnBg);
    border-radius: 8px;
    color: #fff;
    flex-shrink: 0;
    max-width: 30%;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.line_panel .panel .close_btn {
    width: 40px;
    height: 40px;
    background: url(./btn_xf_close.png) no-repeat center center/contain;
    text-align: center;
    display: block;
    background-size: cover;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.app_download_panel {
    display: none;
    width: 100%;
    height: 100%;
    color: white;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 1000;
}

.app_download_panel .panel {
    list-style: none;
    width: calc(100% - 50px);
    height: auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, .3);
    border: 1px solid white;
    border-radius: 8px;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    max-width: 750px;
}

.app_download_panel .panel a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
    line-height: 45px;
    color: white;
    text-decoration: none;
    border: 1px solid white;
    border-radius: 10px;
    margin-bottom: 20px;
    padding-right: 10px;
}

.app_download_panel .panel a:last-child {
    margin-bottom: 0;
}

.app_download_panel .panel a .icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    /*width: 45px;*/
    height: 45px;
    padding-left:10px;
}

.app_download_panel .panel a img {
    width: 25px;
    height: 25px;
}

.app_download_panel .panel a span {
    flex: 1;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.app_download_panel .panel .close_btn {
    width: 40px;
    height: 40px;
    background: url(./btn_xf_close.png) no-repeat center center/contain;
    text-align: center;
    display: block;
    background-size: cover;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}