
.cfx {
    zoom: 1;
}

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

.space-1 {
    height: 10px;
}

.space-2 {
    height: 15px;
}

.space-5 {
    height: 50px;
}

html, body {
    height: 100%;
    margin: 0 auto;
}

p {
    line-height: 1.6;
}

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

.hidden-xs {
    display: block;
}

.hidden-lg {
    display: none;
}

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

.c-orange {
    color: #ED6F2D;
}

.container {
    position: relative;
    height: 100%;
    min-height: 800px;
    background: url(../images/bg.png) no-repeat center top;
    overflow: hidden;
}

.wrapper {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}

img {
    cursor: pointer;
}

ul li {
    display: inline-block;
}

#j-logo {
    width: 200px;
}

.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 {
    color: #474747;
    width: 740px;
}

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

.ui-wrapper {
    padding: 10px;
}

footer {
    width: 100%;
    height: 80px;
    background: url(../images/foot.jpg) no-repeat center;
    display: block;
    position: absolute;
    bottom: 0px;
}

.wrapper > .cfx > .fl {
    width: 470px;
}

.wrapper > .cfx > .fr {
    width: 730px;
    zoom: .85
}

.btns-box img {
    max-height: 36px;
    max-width: 25px;
    margin-right: 10px
}

.btns-box {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    width: 230px;
    height: 60px;
    background: var(--Linear, linear-gradient(180deg, #FFF6ED 0%, #FFEAD7 100%));
    position: relative;
}

.btns-box span {
    width: 170px;
    color: #606060;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.down-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

.down-text a {
    margin: 20px 40px;
    width: 132px;
    height: 42px;
    text-align: center;
    line-height: 42px;
    border-radius: 21px;
    background: linear-gradient(180deg, #FFF1E4 -2.8%, #F8A553 18.73%, #E97B43 63.4%, #ED5537 86.01%, #CF0D00 100%);
    color: #fff;
    font-size: 14px;
}

.btns-wp {
    display: flex;
    justify-content: space-between;
    position: relative;
}

#j-people {
    padding-top: 100px;
    margin-left: -200px;
    width: 800px;
}

#j-logo {
    padding-top: 50px;
}

#j-banner {
    padding-top: 35px;
    width: 100%;
}

#j-status {
    width: 740px;
    height: 60px;
    line-height: 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #f5f5f5;
    font-size: 14px;
    flex-wrap: wrap; /* 保證小螢幕也能換行 */
}

#j-status ul li {
    display: inline-block;
}

#j-status .status-left ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

#j-status .status-left li {
    margin-right: 8px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

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

.green-bg {
    background-color: #28a745;
}
.yellow-bg {
    background-color: #ffc107;
}
.red-bg {
    background-color: #dc3545;
}

#j-status .status-right {
    margin-left: auto;
    white-space: nowrap;
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

#j-speed-list {
    width: 740px;
}

#j-speed-list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    list-style: none;
}

#j-speed-list ul li {
    width: 32%;
    background: #fff;
    color: #333;
    margin: 10px 0;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
}

/* 第一排內容：名稱 + 秒數 + 圖表 */
.row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.box1 {
    font-size: 16px;
    color: #333;
}

.box2 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

.box2 label {
    /*font-weight: bold;*/
    position: relative;
    top: 2px;
    color:#333 !important;
}

/* 第二排：按鈕 */
.row-bottom .box3 {
    text-align: right;
    background: #ED6F2D;
    border-radius: 6px;
    padding: 10px;
    height: 30px;
    line-height: 30px;
    margin-top:5px;
}

.box3 a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;

}

.box3{
    transition: all 0.2s ease;
}

.box3:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



#j-zip {
    background: url(../images/small-bg.png) no-repeat center;
    width: 740px;
    height: 154px;

}

#j-zip ul {
    padding-top: 32px;
}

#j-zip ul li {
    display: inline-block;

    text-align: center;
    font-size: 14px;
}

#j-zip ul li:nth-child(1) {
    text-align: left;
    width: 35%;
    position: relative;
    top: 15px;
}

#j-zip ul li:nth-child(2) {
    width: 30%;
}

#j-zip ul li:nth-child(3) {
    width: 25%;
}

#j-zip .h1 {
    font-size: 18px;
}

#j-download {
    background: url(../images/icon-down.png) no-repeat center;
    width: 200px;
    height: 50px;
    background-size: 100%;
    display: inline-block;
    position: relative;
    top: 18px;
    cursor: pointer;
}

#j-download:hover {
    opacity: .9;
}

#j-people {
    animation: fadeInLeft 1s;
}

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

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

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

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

@-webkit-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

.new-text {
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 20px;
    color: #fff;
}

.kefubtn-wp, .down-wp {
    width: 240px;
    height: 54px;
    display: inline-block;
    margin: 0 auto;
    margin-bottom: 20px;
}

.down-wp {
    margin-right: 35px;
    position: relative;
}

.ewm-box {
    position: absolute;
    top: 61px;
    width: 171px;
    height: 204px;
    background: url(../images/box.png) no-repeat;
    background-size: 100%;
    left: 40px;
    z-index: 22;
    display: none;
}

.down-wp:hover .ewm-box {
    display: block;
}

.ewm {
    width: 120px;
    height: 120px;
    position: absolute;
    left: 24px;
    top: 30px;
}

.kefubtn-wp img {
    width: 100%;
    height: 100%;
}

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


#j-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#j-btns > div {
    padding: 10px;
    height: 30px;
    border-radius: 12px;
    background: linear-gradient(265deg, #FFB27A 0%, #FF6F42 50.75%, #ED6F2D 99.5%);
    color: #fff;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#j-btns > div:nth-child(1) {
    width: 20%;
    height: 30px;
    margin: auto 10px;
}

#j-btns > div:nth-child(2) {
    width: 60%;
    height: 30px;
    gap: 90px;
}

#j-btns > div:nth-child(3) {
    width: 20%;
    height: 30px;
    margin: auto 10px;
    cursor: pointer;
}

#j-btns > div img {
    width: 30px;
    height: 30px;
}

#j-btns > div:not(:first-child) img {
    width: 20px;
    height: 20px;
}

a span {
    color: #fff;
}

.chat-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background: #fff; /* 背景色視需求設定 */
    border-radius: 8px;
}

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

.chat-info img {
    width: 24px;
    height: 24px;
}

.chat-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.chat-actions a {
    padding: 4px 10px;
    border-radius: 15px;
    background: #F6F6F6;
    color: #868686;
    font-size: 14px;
    text-decoration: none;
}

.chat-actions a.dl {
    color: #ED6F2D;
}

/*爱加速*/
#icon-speed {
    width: 79px;
    height: 78px;
}

#speed-notice {
    display: flex;
    align-items: center; /* 垂直置中 */
    gap: 10px; /* 圖與文字間距，可依需要調整 */
}

#speed-notice img {
    width: 60px;
    height: auto;
    flex-shrink: 0;
    padding: 15px;
}

#speed-notice p {
    margin: 0;
    line-height: 1.5;
    text-align: left;

    font-family: PingFang SC;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    /*line-height: 100%;*/
    letter-spacing: 0%;

}

#speed-notice p span {
    font-family: PingFang SC;
    font-weight: 600;
    font-style: Semibold;
    font-size: 14px;
    leading-trim: NONE;
    /*line-height: 100%;*/
    letter-spacing: 0%;
}

#j-loveSpeedBtn {
    width: 310px;
    height: 44px;
    angle: 0deg;
    opacity: 1;
    border-radius: 10px;
    padding-right: 100px;
    padding-left: 100px;
    gap: 15px;

    background: linear-gradient(264.73deg, #FFB27A 0%, #FF6F42 50.75%, #ED6F2D 99.5%);

    font-family: PingFang SC;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;

    margin-top: 25px;
    color: #fff;
    transition: all 0.2s ease;
}

#j-loveSpeedBtn a {
    color: #fff;
}

@media (max-width: 480px) {
    .chat-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .chat-actions {
        align-self: flex-end;
    }
}


.download-entry a {
    display: flex;
    align-items: center; /* 垂直置中 */
    gap: 15px; /* 圖與字的距離 */
    text-decoration: none;
    color: #fff; /* 依設計需要可調整 */
    font-size: 14px;
}


/* 統一按鈕樣式基礎設定 */
#j-btns > div {
    cursor: pointer;
    transition: all 0.25s ease;
    transform: translateZ(0); /* 防止抖動 */
}

/* 滑過動畫效果 */
#j-btns > div:hover,
#j-loveSpeedBtn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* chat-actions 裡的按鈕也加點滑過效果 */
.chat-actions a,
#j-loveSpeedBtn a {
    transition: all 0.2s ease;
}

.chat-actions a:hover {
    background-color: #eee;
    color: #ED6F2D;
    transform: scale(1.05);
}

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

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

/* 客服按鈕內文字（補強 hover） */
#j-btns > div:last-child {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #fff;
}