body {
    background-color: #F3F5F7;
}

body.hide {
    display: none;
}


ul {
    padding-left: 0;
}

#think_page_trace,
#think_page_trace_open {
    display: none !important;
}

ul li {
    list-style: none;
}



a:hover {
    text-decoration: none;
}


.ad-boxs img {
    max-width: 100%;
}

.ad-boxs {
    margin-bottom: 16px;
}



/* 頂部-start */

.header-container {
    width: 100%;
    background-color: #000000;
    border-bottom: 5px solid #CC0303;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.logo-nav {

    display: flex;

    align-items: center;

    gap: 20px;

}



.header-logo {

    width: 200px;

    height: auto;

}



.header-logo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.logo-nav {

    display: flex;

    align-items: center;

}



.header-nav>ul {

    display: flex;

    gap: 20px;

    align-items: center;

    margin: 0;

}



.header-nav ul>li {

    list-style: none;

    background-color: #1E1E1E;

    border-radius: 10px;

    max-width: 100px;

    min-width: 100px;

    height: 40px;

    display: flex;

    justify-content: center;

    transition: all 0.3s ease;

}

.header-nav ul>li:hover,
.header-nav ul>li.active {

    background-color: #CC0303;

}

.header-nav ul>li.download-app {

    background-color: #036BCC;

}

.header-nav ul>li.download-app:hover {

    background-color: #036BCC;

}





.header-nav ul>li>a {

    display: flex;

    align-items: center;

    color: #fff;

    gap: 3px;

}

.header-nav ul>li>a:hover {

    text-decoration: none;

}



.header-nav ul>li>a>span {

    font-size: 15px;

    color: #fff;

    font-weight: 500;

}



.header-nav ul>li>a>img {

    width: 20px;

    height: 20px;

}



.right-header {

    display: flex;

    align-items: center;

    margin-right: 122px;

    gap: 40px;

}



.language-wrapper {

    position: relative;

}



.language-selected {

    display: flex;

    align-items: center;

    gap: 5px;

    cursor: pointer;

}



.language-selected span {

    font-size: 15px;

    color: #fff;

    position: relative;

    padding-left: 18px;

}



.language-selected::after {

    content: '';

    position: absolute;

    top: 51%;

    left: 0;

    transform: translateY(-50%);

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background-color: #CC0303;

}



.language-list {

    position: absolute;

    top: 130%;

    left: -13px;

    width: 110px;

    background-color: #fff;

    border-radius: 5px;

    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);

    z-index: 9;

    display: none;

}



.language-list.active {

    display: block;

}



.language-list ul {

    list-style: none;

    padding: 0;

    margin: 0;

}



.language-list ul li {

    padding: 13px 0;

    text-align: center;

    cursor: pointer;

    font-size: 15px;

}



.language-list ul li:hover {

    background-color: #CC0303;

    color: #fff;

}



.login-wrapper {

    display: flex;

    align-items: center;

    gap: 5px;

}



.login-wrapper a.guest-btn {

    display: flex;

    align-items: center;

    gap: 5px;

    background-color: #CC0303;

    padding: 7px 15px;

    border-radius: 5px;
    text-decoration: none;

}



.login-wrapper a.member-btn {

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 7px 16px;

    border-radius: 5px;

    padding-left: 42px;

}



.login-wrapper a.member-btn span {

    opacity: 0;

}



.login-wrapper a.member-btn.user-rookies {

    background: url("../images/rookies.png") no-repeat center center;
    background-size: 100% 100%;

}



.login-wrapper a.member-btn.user-legend {

    background: url("../images/legend.png") no-repeat center center;
    background-size: 100% 100%;
}



.login-wrapper a.member-btn.user-captain {

    background: url("../images/captain.png") no-repeat center center;
    background-size: 100% 100%;

}

/* 手機端會員按鈕樣式 - 與PC端保持一致 */

.mobile-member-wrapper .member-icon-btn {

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 7px 16px;

    border-radius: 5px;

    padding-left: 42px;

    text-decoration: none;

    color: #000;

    width: 100%;
    height: auto;

}

.mobile-member-wrapper .member-icon-btn span {

    opacity: 0;

}

.mobile-member-wrapper .member-icon-btn.user-rookies {

    background: url("../images/rookies.png") no-repeat center center;
    background-size: 100% 100%;

}

.mobile-member-wrapper .member-icon-btn.user-legend {

    background: url("../images/legend.png") no-repeat center center;
    background-size: 100% 100%;

}

.mobile-member-wrapper .member-icon-btn.user-captain {

    background: url("../images/captain.png") no-repeat center center;
    background-size: 100% 100%;

}

.mobile-member-wrapper .member-icon-btn img {
    border-radius: 50%;
}

@media screen and (max-width: 485px) {
    .mobile-icon-btn.member-icon-btn {
        background: none;

    }

    .mobile-icon-btn.member-icon-btn.mobile-header-login-btn {
        padding: 0;
    }

    .mobile-member-reg .mobile-icon-btn.member-icon-btn span {
        opacity: 1;
        color: white;
        line-height: 38px;
        border-radius: 3px;
        font-size: 13px;
        background-color: #CC0303 !important;
        padding: 0 10px;
        font-weight: 600;
    }

    .mobile-member-reg .mobile-dropdown ul li a,
    .mobile-member-reg .mobile-dropdown ul li {
        padding: 3px 11px;
    }

    .mobile-member-reg .mobile-icon-btn:hover {
        background: none;
    }


}

@media screen and (max-width: 375px) {

    .mobile-nav-icons {
        gap: 8px !important;
    }

    .mobile-member-wrapper .member-icon-btn {
        padding: 7px 10px;
        padding-left: 45px;
        max-height: 40px;
    }

    .mobile-nav-icons {
        padding-left: 6px;
    }

}

.login-wrapper a img {

    width: 22px;

    height: 22px;

    object-fit: cover;

    border-radius: 50%;

    position: relative;

    /* top: 2px; */

}



.login-wrapper a span {

    font-size: 15px;

    color: #fff;

}



/* 頂部-end */



/* 手機頂部-start */

.mobile-header {

    display: none;

    width: 100%;

    background-color: #000000;

    /*border-bottom: 3px solid #CC0303;*/

    position: fixed;

    top: 0;

    left: 0;

    z-index: 1000;

    transition: all 0.3s ease;

}



.mobile-header.sticky {

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);

}



.mobile-header-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0px 0px;

    height: 60px;

    padding-right: 15px;

}





.mobile-logo {

    width: 120px;

    height: 100%;

}



.mobile-logo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.mobile-nav-icons {

    display: flex;

    align-items: center;

    gap: 15px;

}



.mobile-icon-btn {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #1E1E1E;

    border-radius: 8px;

    cursor: pointer;

    transition: all 0.3s ease;

    position: relative;

}



.mobile-icon-btn.menu-icon-btn img {

    width: 17px;

    height: 17px;

}



.mobile-icon-btn:hover {

    background-color: #CC0303;

}



.mobile-icon-btn img {

    width: 20px;

    height: 20px;

}



/* 手機下拉菜單樣式 */

.mobile-member-wrapper,

.mobile-language-wrapper {

    position: relative;

}



.mobile-dropdown {

    position: absolute;

    top: 120%;

    right: 0;

    background-color: #fff;

    border-radius: 8px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);

    min-width: 140px;

    z-index: 1001;

    opacity: 0;

    visibility: hidden;

    transform: translateY(-10px);

    transition: all 0.3s ease;

}



.mobile-dropdown.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}



.mobile-dropdown::before {

    content: '';

    position: absolute;

    top: -8px;

    right: 15px;

    width: 0;

    height: 0;

    border-left: 8px solid transparent;

    border-right: 8px solid transparent;

    border-bottom: 8px solid #fff;

}



.mobile-dropdown ul {

    list-style: none;

    margin: 0;

    padding: 8px 0;

}



.mobile-dropdown ul li {

    margin: 0;

}



.mobile-dropdown ul li a,

.mobile-dropdown ul li {

    display: block;

    padding: 12px 16px;

    color: #333;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    cursor: pointer;

}



.mobile-dropdown ul li:hover,

.mobile-dropdown ul li a:hover {

    background-color: #f8f9fa;

    color: #CC0303;

}



.mobile-dropdown ul li.logout a {

    color: #CC0303;

    font-weight: 600;

}



.mobile-dropdown ul li.logout a:hover {

    background-color: #fff5f5;

}



/* 全屏菜單層 */

.mobile-fullscreen-menu {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100vh;

    background-color: #000000;

    z-index: 1002;

    opacity: 0;

    visibility: hidden;

    transform: translateX(100%);

    transition: all 0.4s ease;

}



.mobile-fullscreen-menu.show {

    opacity: 1;

    visibility: visible;

    transform: translateX(0);

}



.menu-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0px 20px;

    border-bottom: 3px solid #CC0303;

    height: 60px;

    padding-left: 0;

}



.menu-logo {

    width: 120px;

    height: 100%;

}



.menu-logo img {

    width: 100%;

    height: 102%;

    object-fit: cover;

}



.menu-close-btn {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #CC0303;

    border-radius: 50%;

    cursor: pointer;

    transition: all 0.3s ease;

}



.menu-close-btn:hover {

    background-color: #a00202;

    transform: scale(1.1);

}



.menu-close-btn span {

    color: #fff;

    font-size: 24px;

    font-weight: bold;

    line-height: 1;

}



.menu-content {

    padding: 40px 20px;

}



.menu-nav-list {

    list-style: none;

    margin: 0;

    padding: 0;

}



.menu-nav-list li {

    /* margin-bottom: 15px; */

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    text-align: center;

    padding: 15px 0;

}



.menu-nav-list li:last-child {

    border-bottom: none;

}



.menu-nav-list li a {

    display: block;

    /* padding: 10px 0; */

    color: #fff;

    text-decoration: none;

    font-size: 18px;

    font-weight: 500;

    transition: all 0.3s ease;

    position: relative;

}



.menu-nav-list li a.active {

    color: #CC0303;

}



.menu-nav-list li a:hover {

    color: #CC0303;

    padding-left: 20px;

}



.menu-nav-list li a::after {

    content: '→';

    position: absolute;

    right: 0;

    top: 50%;

    transform: translateY(-50%);

    opacity: 0;

    transition: all 0.3s ease;

    color: #f0f0f0;

}



.menu-nav-list li a:hover::after {

    opacity: 1;

    right: 10px;

}



/* 遮罩層 */

.mobile-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);

    z-index: 999;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

}



.mobile-overlay.show {

    opacity: 1;

    visibility: visible;

}



/* 響應式顯示 */

@media (max-width: 1068px) {

    .header {

        display: none;

    }



    .mobile-header {

        display: block;

    }



    /* 為手機頂部預留空間 */

    body {

        padding-top: 60px;

    }

}



/* 手機頂部-end */







/* 底部-start */

.footer {

    width: 100%;

    background-image: url('../images/footer-bg.jpg');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    padding: 50px 0 20px 0;

}



.footer-container {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 30px;

}



.footer-logo {

    width: 150px;

    height: auto;

}



.footer-logo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.footer-nav {

    display: flex;

    align-items: center;

}



.footer-nav ul {

    display: flex;

    gap: 60px;

    align-items: center;

    margin: 0;

}



.footer-nav ul li {

    list-style: none;

}



.footer-nav ul li a {

    text-decoration: none;

    color: #fff;

}



.footer-nav ul li a span {

    font-size: 15px;

    color: #fff;

    font-weight: 500;

}



.footer-nav ul li a:hover span {

    color: #CC0303;

}



.footer-link ul {

    display: flex;

    gap: 30px;

    align-items: center;

    margin: 0;

}



.footer-link ul li {

    list-style: none;

}



.footer-link ul li a {

    text-decoration: none;

    color: #fff;

}



.footer-link ul li a img {

    width: 17px;

    height: 17px;

}



.footer-copyright {

    margin-top: 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding-top: 30px;

}



.footer-copyright p {

    text-align: center;

    font-size: 13px;

    color: rgba(255, 255, 255, 0.7);

}



.footer-copyright a {

    color: rgba(255, 255, 255, 0.7);

}



.footer-copyright a:hover {

    color: #fff;

}





/* 會員菜單樣式 */

.login-wrapper {

    position: relative;

}



.member-menu {

    position: absolute;

    top: 100%;

    right: 0;

    background-color: #fff;

    border-radius: 8px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);

    min-width: 160px;

    z-index: 1000;

    opacity: 0;

    visibility: hidden;

    transform: translateY(-10px);

    transition: all 0.3s ease;

    margin-top: 10px;

}



.member-menu.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}



.member-menu::before {

    content: '';

    position: absolute;

    top: -8px;

    right: 20px;

    width: 0;

    height: 0;

    border-left: 8px solid transparent;

    border-right: 8px solid transparent;

    border-bottom: 8px solid #fff;

}



.member-menu ul {

    list-style: none;

    margin: 0;

    padding: 8px 6px;

}



.member-menu ul li {

    margin: 0;

}



.member-menu ul li a {

    display: block;

    padding: 12px 20px;

    color: #333;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    background: none;

}



.member-menu ul li:last-child a {

    border-bottom: none;

}



.member-menu ul li a:hover {

    background-color: #f8f9fa;

    color: #CC0303;

}



.member-menu ul li.logout a {

    color: #CC0303;

    font-weight: 600;

}



.member-menu ul li.logout a:hover {

    background-color: #fff5f5;

}



/* 遮罩層 */

.member-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.3);

    z-index: 999;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

}



.member-overlay.show {

    opacity: 1;

    visibility: visible;

}

.pagination {
    display: flex;
    justify-content: center;
}


/* 響應式調整 */

@media (max-width: 768px) {

    .member-menu {

        right: -10px;

        min-width: 140px;

    }



    .member-menu ul li a {

        padding: 10px 16px;

        font-size: 13px;

    }



    .footer-nav ul {

        display: flex;
        gap: 18px;
        justify-content: center;

    }



    .footer-copyright {

        padding: 0 15px;
        padding-top: 15px;

    }

}


#pages {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 25px;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {

    background-color: rgba(208, 13, 9, 0.9);
    border-color: rgba(208, 13, 9, 0.9);
}

.pagination>li>a,
.pagination>li>span {
    color: rgba(208, 13, 9, 0.9);
}

/* 底部-end */

/* 空狀態提示樣式-start */
.empty-tips {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #fff;
    border-radius: 10px;
}

.empty-tips img {
    width: 185px;
    height: 185px;
    object-fit: contain;
    opacity: 0.6;
}

.empty-tips p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.main-container {

    width: 100%;

    max-width: 1720px;

    padding: 50px 50px;

    margin: 0 auto;

    display: flex;

    gap: 20px;

    padding-bottom: 70px;

}

.empty-data {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    padding: 40px 0px;
    background: white;
}

.empty-data .empty-tit {
    color: #999;
    line-height: 38px;
    font-size: 18px;
}

@media screen and (max-width: 767px) {

    .main-container {

        padding: 30px 12px;

        gap: 15px;

        padding-bottom: 40px;

    }





}



@media screen and (max-width: 520px) {

    .main-container {

        flex-direction: column;

        gap: 20px;

    }



    .footer-copyright p {

        font-size: 12px;

    }

    .mobile-icon-btn img {
        width: 20px;
        height: auto;
    }

    .empty-tips img {
        width: 115px;
        height: 115px;
    }

}



/* 處理電腦中小屏問題 */

@media screen and (min-width: 1368px) and (max-width:1440px) {

    .header-nav>ul {
        gap: 15px;
    }

    .header-nav ul>li {
        min-width: 95px;
    }


}



@media screen and (min-width: 1268px) and (max-width:1367px) {

    .header-nav>ul {
        gap: 13px;
    }



    .header-nav ul>li {
        min-width: 85px;
    }



    .header-nav ul>li>a>span {

        font-size: 14px;

    }





}



@media screen and (min-width: 1068px) and (max-width:1267px) {

    .header-nav>ul {

        gap: 14px;

    }



    .header-nav ul>li {

        min-width: 85px;

    }



    .header-nav ul>li>a>span {

        font-size: 14px;

    }



    .header-nav ul>li.download-app {

        display: none;

    }



    .header-nav ul>li>a>img {

        display: none;

    }





}


/* 購物商城菜單樣式 */
.shop-menu-wrapper {
    position: relative;
}

.shop-menu-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1E1E1E;
    border-radius: 5px;
    padding: 2px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    height: 36px;
}

.shop-menu-selected:hover,
.shop-menu-selected.active {
    background-color: #CC0303;
}

.shop-menu-selected span {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}

.shop-menu-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
}

.shop-menu-list.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.shop-menu-list::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.shop-menu-list ul {
    list-style: none;
    padding: 6px;
    margin: 0;
}

.shop-menu-list ul li {
    padding: 0;
    text-align: center;
    font-size: 14px;
}

.shop-menu-list ul li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.shop-menu-list ul li a:hover {
    background-color: #f8f9fa;
    color: #CC0303;
}




/* 站內風格彈窗（layui） */
.layui-layer-dialog.layui-layer {
    border-radius: 11px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    min-width: 260px;
}

.layui-layer-dialog .layui-layer-title {
    height: 46px;
    line-height: 46px;
    background: #111;
    color: #fff;
    border-bottom: 1px solid #2A2A2A;
    font-size: 15px;
    font-weight: 600;
    padding: 0 46px 0 16px;
}

.layui-layer-dialog .layui-layer-setwin .layui-layer-close1 {
    opacity: 0.8;
    padding: 0;
    margin: 0;
    line-height: 16px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.layui-layer-dialog .layui-layer-setwin .layui-layer-close1:hover {
    opacity: 1;
}

.layui-layer-dialog .layui-layer-content {
    background: #fff;
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    padding: 25px 18px 25px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.layui-layer-dialog .layui-layer-setwin {
    position: absolute;
    right: 13px;
    top: 13px;
    font-size: 8px;
    line-height: initial;
    color: #fff;
    background: #CC0303;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layui-layer-dialog .layui-layer-btn {
    padding: 0 16px 16px;
    text-align: center;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.layui-layer-dialog .layui-layer-btn a {
    height: 35px;
    line-height: 35px;
    border-radius: 30px;
    padding: 0 22px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
}

.layui-layer-dialog .layui-layer-btn .layui-layer-btn0 {
    background: #CC0303;
    border-color: #CC0303;
    color: #fff;
    flex: 1;
}

.layui-layer-dialog .layui-layer-btn .layui-layer-btn0:hover {
    background: #B30202;
    border-color: #B30202;
}

.layui-layer-dialog .layui-layer-btn .layui-layer-btn1 {
    background: #fff;
    border-color: #D9D9D9;
    color: #333;
    flex: 1;
}

.layui-layer-dialog .layui-layer-btn .layui-layer-btn1:hover {
    border-color: #CC0303;
    color: #CC0303;
}

.layui-layer-dialog .layui-layer-content .layui-layer-face {
    font-size: 21px;
    position: relative;
    top: 0;
    left: 0;
}

.layui-layer-msg .layui-layer-setwin {
    display: none !important;
}

/* 站內風格輕提示（layui msg） */
.layui-layer-msg.layui-layer {
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16) !important;
    overflow: hidden;
    min-width: 240px;
    border: none !important;
}

.layui-layer-msg .layui-layer-content {
    background: #000 !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding: 14px 18px 14px 35px !important;
    position: relative;
}

.layui-layer-msg .layui-layer-content::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: #CC0303;
    transform: translateY(-50%);
}

.layui-layer-msg .layui-layer-content .layui-layer-ico {
    color: #CC0303;
}

.layui-layer-msg .layui-layer-content .layui-icon {
    display: none !important;
}

/* 站內風格 loading：圖片繞中軸旋轉 */
.layui-layer-loading {
    background: transparent !important;
    box-shadow: none !important;
}

.layui-layer-loading .layui-layer-content {
    width: 110px !important;
    height: 110px !important;
    padding: 0 !important;
    background: transparent !important;
}

.layui-layer-loading .layui-layer-content [class*="layui-layer-loading"] {
    width: 100px;
    height: 100px;
    position: relative;
    /* animation: none !important; */
    border-radius: 10px;

    display: flex;
    align-items: center;
    animation: goal365-loading-pulse 2.8s ease-in-out infinite !important;
}

.layui-layer-loading-2 {
    background-color: #CC0303 !important;
}

.layui-layer-loading .layui-layer-content [class*="layui-layer-loading"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/static/images/logo.png") center center / 85px 85px no-repeat !important;
    transform-origin: 50% 50%;
    /* animation: goal365-loading-pulse 2.5s ease-in-out infinite; */
    width: 140px;
    height: 140px;
    border: none !important;
    border-radius: 10px !important;

}

.layui-layer-loading-2:after {
    border: none !important;
}

@keyframes goal365-loading-pulse {
    0% {
        transform: rotateY(0deg);
        opacity: 1;
    }

    100% {
        transform: rotateY(360deg);
        opacity: 1;
    }
}

.layui-layer-shade {
    opacity: 0.3 !important;
}

input:focus {
    border-color: #CC0303 !important;
}

input:hover {
    border-color: #CC0303 !important;
}

input:active {
    border-color: #CC0303 !important;
}

.layui-laydate .layui-this,
.layui-laydate .layui-this>div {
    background-color: #CC0303 !important;
}




/* AI 樣本彈窗（layui-layer skin: layui-layer-iframe） */
.layui-layer.layui-layer-iframe {
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22) !important;
    background: #fff;
}

.layui-layer.layui-layer-iframe .layui-layer-title {
    height: 52px;
    line-height: 52px;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 0 52px 0 18px;
    border: none;
}

.layui-layer.layui-layer-iframe .layui-layer-setwin .layui-layer-close1 {
    opacity: 1;
    width: 28px;
    height: 28px;
    line-height: 28px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.layui-layer.layui-layer-iframe .layui-layer-setwin .layui-layer-close1:hover {
    background: rgba(255, 255, 255, 0.24);
}

.layui-layer.layui-layer-iframe .layui-layer-body {
    padding: 0;
}

.layui-layer.layui-layer-iframe .layui-layer-content {
    background: #fff;
    padding: 0 !important;
    /* 內容字串本身已含 padding */
    color: #222;
    font-size: 14px;
    line-height: 1.7;
    height: 100%;
    overflow-y: auto;
}

.layui-layer.layui-layer-iframe .layui-layer-setwin {
    top: 12px;
}

/* 底部按鈕：了解更多 / 關閉 */
.layui-layer.layui-layer-iframe .layui-layer-btn {
    padding: 16px 16px 18px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #F0F0F0;
}

.layui-layer.layui-layer-iframe .layui-layer-btn a {
    height: 38px;
    line-height: 38px;
    border-radius: 22px;
    padding: 0 24px;
    margin: 0 6px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
}

.layui-layer.layui-layer-iframe .layui-layer-btn .layui-layer-btn0 {
    background: #CC0303;
    border-color: #CC0303;
    color: #fff;
}

.layui-layer.layui-layer-iframe .layui-layer-btn .layui-layer-btn0:hover {
    background: #B30202;
    border-color: #B30202;
}

.layui-layer.layui-layer-iframe .layui-layer-btn .layui-layer-btn1 {
    background: #fff;
    border-color: #D9D9D9;
    color: #333;
}

.layui-layer.layui-layer-iframe .layui-layer-btn .layui-layer-btn1:hover {
    border-color: #CC0303;
    color: #CC0303;
}



.footer-container .download-section {
    margin-top: 0px;
    display: none;
}

.footer-container .download-title {
    font-size: 15px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 500;
    text-align: center;
}

.footer-container .download-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-container .download-btn {
    display: block;
    transition: transform 0.3s ease;
}

.footer-container .download-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

.footer-container .download-btn img {
    height: 50px;
    width: auto;
}

.footer-container .device-note {
    font-size: 13px;
    color: #999;
    margin-top: 15px;
    font-style: italic;
    text-align: center;
}

@media screen and (max-width: 767px) {

    .footer-container .download-section {
        display: block;
    }
    .footer-container .download-btn img{
        height: 40px;
    }
}


.download-header-app-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    background-color: #000;
    border-bottom: 2px solid #CC0303;
}

.download-header-app-wrapper .download-app-icon{
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.download-header-app-wrapper .download-app-icon img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.download-header-app-wrapper .download-content{
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
    margin-right: auto;
    margin-left: 10px;
}

.download-header-app-wrapper .download-content .name{
    display: flex;
    align-items: center;
    gap: 5px;
}

.download-header-app-wrapper .download-content .name span{
    font-size: 13px;
    color: #fff;
}

.download-header-app-wrapper .download-content .name .stars{
    display: flex;
    align-items: center;
}

.download-header-app-wrapper .download-content .name .stars img{
    width: 10px;
    height: 10px;
    object-fit: contain;
}

.download-header-app-wrapper .download-content .description span{
    font-size: 11px;
    color: #fff;
}

.download-header-app-wrapper .download-app-text-btn{
    display: flex;
    align-items: center;
    background-color: #cc0303;
    padding: 5px 10px;
    border-radius: 3px;
    gap: 3px;
    margin-right: 10px;
}

.download-header-app-wrapper .download-app-text-btn img{
    width: 15px;
    height: 15px;
    object-fit: contain;
    /* margin-bottom: 2px; */
}

.download-header-app-wrapper .download-app-text-btn span{
    color: #fff;
    font-size: 13px;
}

.download-header-app-wrapper .download-close-btn{
    width: 20px;
    height: 20px;
    /* margin-bottom: 2px; */
}

.download-header-app-wrapper .download-close-btn img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
