
.cfx {
    zoom: 1;
}

.cfx:after {
    display: block;
    visibility: hidden;
    clear: both;
    overflow: hidden;
    height: 0;
    content: '.';
}

.space-1 {
    height: 10px;
}

.space-2 {
    height: 20px;
}

.space-5 {
    height: 50px;
}

html, body {
    margin: 0 auto;
}

p {
    line-height: 1.6;
}

.btns-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 50px;

    line-height: 50px;
    border-radius: 5px;
    background: linear-gradient(180deg, #FFF6ED 0%, #FFEAD7 100%);
    color: #606060;
    font-size: 14px;
    font-weight: 400;
}

.btns-box span {
    width: 140px;
    text-align: left;
    white-space: nowrap;
}

.btns-box span:last-child {
    width: 50px;
}

.btns-box span:first-child {
    width: 36px;
    text-align: center;
    margin-right: 10px;
}

.btns-wp {
    text-align: center;
}

.btns-wp div {
    width: 350px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 10px 10px 0;
}

.down-btn {
    width: 90px;
    height: 50px;
    border-radius: 5px;
    background: linear-gradient(180deg, #FFF1E4 -2.8%, #F8A553 18.73%, #E97B43 63.4%, #ED5537 86.01%, #CF0D00 100%);
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.down-text a {
    display: flex;
    width: 250px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 10px;
    background: linear-gradient(180deg, #FFF6ED 0%, #FFEAD7 100%);
    font-size: 12px;
}

.down-text {
    padding-left: 25px;
    padding-bottom: 25px;
}

.btns-wp a img {
    max-width: 36px;
    max-height: 36px;
}

.text-center {
    text-align: center;
}

.new-text {
    text-align: center;
    font-size: 13px;
    color: #878787;
    padding: 20px 0 10px;
}

.hidden-xs {
    display: block;
}

.hidden-lg {
    display: none;
}

.gray-bg {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

.c-orange {
    color: #ED6F2D;
}

body {
    background: url(../../images/mobile-bg.png) no-repeat center top;
}

.container {
    width: 90%;
    margin: 0 auto;
}

img {
    cursor: pointer;
}

ul li {
    display: inline-block;
}

.circle {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 20px;
}

.c-green {
    color: #4fd819;
}

.c-yellow {
    color: #e2b915;
}

.c-red {
    color: #ff3b3b;
}

.green-bg {
    background: #4fd819;
}

.yellow-bg {
    background: #e2b915;
}

.red-bg {
    background: #ff3b3b;
}

.ui-section {
    text-align: center;
}

.ui-title {
    margin: 30px 0;
}

#j-logo {
    padding: 20px 0;
}

#j-speed-list {
    padding: 10px;
}

#j-speed-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#j-speed-list ul li {
    width: 100%;
    min-height: 55px;
    background: #fff;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    box-sizing: border-box;
    border-radius: 6px;
}

#j-speed-list .box1,
#j-speed-list .box2,
#j-speed-list .box3 {
    flex: 1 1 33%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 80px;
    box-sizing: border-box;
    font-size: 15px;
}

#j-speed-list .box2 label {
    margin-left: 5px;
    font-size: 14px;
}

#j-speed-list .box3 a {
    background-color: #ED6F2D;
    color: #fff;
    font-size: 14px;
    border-radius: 6px;
    padding: 6px 10px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

#j-status {
    box-sizing: border-box;
    padding: 10px 15px;
    height: auto; /* 高度自適應 */
    line-height: 1.4;
    text-align: left;
    color: #878787;
    font-size: 14px;
}

#j-status ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
}

#j-status li {
    margin-right: 10px;
    font-size: 13px;
    white-space: nowrap;
}

#j-status .circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.green-bg {
    background-color: #38b000;
}

.yellow-bg {
    background-color: #ffcc00;
}

.red-bg {
    background-color: #d90429;
}

#j-status p {
    font-size: 13px;
    margin-top: 5px;
}


.level-1, .level-2, .level-4 {
    width: 24px;
    height: 22px;
    position: relative;
    top: 2px;
}

.level-2 {
    background: url(../../images/level2.png) no-repeat center;
}

.level-4 {
    background: url(../../images/level4.png) no-repeat center;
}

#j-cs {
    background: -webkit-linear-gradient(#0057ca, #007cdd);
    background: -o-linear-gradient(#0057ca, #007cdd);
    background: -moz-linear-gradient(#0057ca, #007cdd);
    background: linear-gradient(#0057ca, #007cdd);
    display: inline-block;
    width: 100%;
    height: 40px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.j-copytips {
    position: fixed;
    width: 80px;
    height: 35px;
    line-height: 35px;
    font-size: 12px;
    color: #666;
    border-radius: 5px;
    background-color: #fff;
    top: 10%;
    left: 50%;
    margin-left: -50px;
    display: none;
    text-align: center;
}

@media (max-width: 390px) {
    .down-text {
        padding-left: 22px;
        padding-bottom: 25px;
    }

    .paopaotext {
        margin-left: 36px;
        background: rgb(255, 115, 91) !important;
    }
}

@media (max-width: 375px) {
    .down-text {
        padding-left: 22px;
        padding-bottom: 25px;
    }

    .paopaotext {
        margin-left: 29px;
        background: rgb(255, 115, 91) !important;
    }
}

@media (max-width: 320px) {
    .down-text {
        padding-left: 9px;
        padding-bottom: 25px;
    }

    .paopaotext {
        margin-left: 18px;
        background: rgb(255, 115, 91) !important;
    }
}

.banner {
    width: 100%;;
}

#j-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cfx .fl,
.cfx .fr {
    width: 49%;
}

.btn-box {
    flex: 1;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(265deg, #FFB27A 0%, #FF6F42 50.75%, #ED6F2D 99.5%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 0;
}

.btn-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    gap: 6px;
    padding: 0 10px;
    box-sizing: border-box;
}

.btn-box img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* hover 動畫 */
#j-btns .btn-box:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 94chat 整排樣式 */
#j-btns .chat-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 0 0 transparent;
    transition: all 0.25s ease;
}

.chat-line .btn-box{
    gap:10px;
}

#j-btns .chat-line span {
    color: #fff;
}

#j-btns .chat-line:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.chat-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-actions {
    display: flex;
    gap: 10px;
}

.chat-actions a {
    background: #F6F6F6;
    color: #868686;
    padding: 4px 10px;
    border-radius: 15px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.chat-actions a:nth-child(2) {
    color: #ED6F2D;
}

.chat-actions a:hover {
    background-color: #eee;
    color: #ED6F2D;
}

/* icon 圖片尺寸統一 */
#j-btns img {
    width: 24px;
    height: 24px;
}

/* APP下載連結樣式 */
.download-entry a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.download-entry a:hover {
    color: #ED6F2D;
}


/*爱加速*/
/* 整體容器 */
#speed-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

/* 第一排：圖片＋文字橫向排列 */
#speed-notice {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 圖片樣式 */
#speed-notice img {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}

/* 提示文字 */
#speed-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* 文字中橘色提示字 */
#speed-notice p span {
    font-weight: bold;
    color: #FF6F42;
}

/* 第二排：立即下载按钮獨立佔一行 */
#speed-btn-wrap {
    width: 100%;
}

/* 按鈕樣式 */
#j-loveSpeedBtn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    padding: 14px 0;
    font-size: 16px;
    background: linear-gradient(264.73deg, #FFB27A 0%, #FF6F42 50.75%, #ED6F2D 99.5%);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#j-loveSpeedBtn:hover {
    transform: scale(1.03);
}

#j-loveSpeedBtn a {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 600px) {
    #speed-notice img {
        margin-top: 5px;
    }

    #j-loveSpeedBtn {
        font-size: 15px;
        padding: 12px 0;
    }
}

@media screen and (max-width: 400px) {
    #j-status {
        font-size: 12px;
        padding: 10px 20px;
    }

    #j-status li {
        font-size: 12px;
        margin-right: 0px;
    }

    #j-status p {
        font-size: 12px;
    }

    #j-speed-list .box3 a {
        font-size: 13px;
        padding: 5px 12px;
    }

    .chat-actions {
        gap: 5px;
    }

    .btn-box a {
        font-size: 12px;
    }

    #speed-notice img {
        width: 40px;
    }

    #speed-notice p {
        font-size: 12px;
    }
}
