﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: Noto Sans JP !important;
}

* {
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.2;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    font-family: 'Noto Sans TC', sans-serif, serif;
}

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
   * Remove the gray background on active links in IE 10.
   */

a {
    background-color: transparent;
    display: block;
    text-decoration: none;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
    font-weight: bolder;
    display: inline-block;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
    font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/**
   * Remove the border on images inside links in IE 10.
   */

img {
    border-style: none;
    width: 100%;
    height: auto;
}

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

    /**
   * Remove the inner border and padding in Firefox.
   */

    button::-moz-focus-inner,
    [type="button"]::-moz-focus-inner,
    [type="reset"]::-moz-focus-inner,
    [type="submit"]::-moz-focus-inner {
        border-style: none;
        padding: 0;
    }

    /**
   * Restore the focus styles unset by the previous rule.
   */

    button:-moz-focusring,
    [type="button"]:-moz-focusring,
    [type="reset"]:-moz-focusring,
    [type="submit"]:-moz-focusring {
        outline: 1px dotted ButtonText;
    }

/**
   * Correct the padding in Firefox.
   */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
    vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
    overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

    /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

    [type="search"]::-webkit-search-decoration {
        -webkit-appearance: none;
    }

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

.custom-cursor-pointer {
    cursor: pointer;
}
/* public ========================================================================== */
.publicTitleHeader {
    display: flex;
    justify-content: space-between;
}

    .publicTitleHeader a {
        color: #1A1A1A !important;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 110px;
        height: 42px;
        background: #F2F2F2;
        border: 1px solid #1A1A1A;
        box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.016);
        border-radius: 8px;
    }
/****publicTitle******/
.publicTitle1 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 30px;
    /*margin-top: 30px;*/
    display: flex;
    align-items: center;
}

.publicTitle2 {
    font-size: 18px;
    color: #000;
    margin-bottom: 0px;
    font-weight: 600;
    /* word-break: keep-all;
    white-space: nowrap; */
    padding: 16px;
    min-width: 250px;
}

.publicText6 {
    font-size: 12px;
    color: #000000;
    font-weight: 300;
}

.publicText247 {
    line-height: 1.4;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.publicText184 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
}


/****publicTopAd****/
.publicTopAd {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #DADADA;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

    .publicTopAd a {
        color: #000000 !important;
        font-size: 14px;
    }

/****publicFooter****/
.publicFooter {
    margin-top: 75px;
    padding: 20px 0 60px;
    background: #0C090A;
    color: #fff;
}
    /* .publicFooter .publicWidth{
  max-width: 1200px;
} */
    .publicFooter b {
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .publicFooter a {
        color: inherit;
        font-size: 12px;
        font-weight: 200;
        margin-bottom: 12px;
        opacity: .8;
    }

    .publicFooter .top {
        text-align: center;
        margin-bottom: 36px;
    }

        .publicFooter .top .logo {
            max-width: 74px;
            margin: 0 auto 6px;
        }

        .publicFooter .top h3 {
            font-weight: 700;
            font-size: 18px;
            margin-bottom: 12px;
        }

        .publicFooter .top p {
            font-weight: 400;
            font-size: 12px;
        }

    .publicFooter .middle,
    .publicFooter .bottom {
        display: flex;
        /* justify-content: center; */
        justify-content: space-around;
    }

    .publicFooter .middle {
        padding-bottom: 20px;
        border-bottom: 1px solid #fff;
        /* margin: auto; */
        position: relative;
        padding: 0 0 20px;
    }
    /* .publicFooter .bottom .item,
.publicFooter .middle .item{
  width: 200px;
} */
    .publicFooter .bottom {
        margin-top: 30px;
    }

    .publicFooter .share {
       
    }

    .publicFooter .share ul {
        display: flex;
    }

    .publicFooter .share ul svg {
        fill: #fff;
        opacity: 0.8;
        width: 24px;
        height: auto;
    }

    .publicFooter .share ul li + li {
        margin-left: 8px;
    }

@media(max-width: 620px) {
    .publicFooter {
        margin-top: 48px;
    }

    .publicFooter .middle,
    .publicFooter .bottom {
        justify-content: flex-start;
        flex-wrap: wrap;
        max-width: 300px;
        margin: auto;
        text-align: center;
    }

    .publicFooter .bottom {
        margin-top: 30px;
    }

        .publicFooter .bottom .item,
        .publicFooter .middle .item {
            width: 50%;
            text-align: left;
        }

    .publicFooter .share ul {
        justify-content: left;
    }

  /*  .publicLastestActivity .col-md-4 {
        max-width: unset;
    }*/
}

@media(min-width: 768px){
   
}

.swiper2-LatestNews {
    height: 45px;
}

.swiper-pagination-market4 {
    text-align: center;
}


/* 商城強打跑馬燈：對齊內容區滿寬（與上方卡片、熱門商品區塊同寬） */
.swiper4{
    width: 100%;
    margin: auto;
    border-radius: 24px;
    overflow: hidden;
}

/* .swiper4 .swiper-pagination-market4 {
    display: none;
} */

.swiper-button-prev-market4 {
    margin-left: 30px;
}
.swiper-button-next-market4 {
    margin-right: 30px;
}

/* 覆蓋 Swiper 左箭頭樣式 */
.swiper-button-prev::after {
    content: 'prev'; /* 更改箭頭內容 */
    font-size: 20px; /* 自定義大小 */
    color: blue; /* 自定義顏色 */
    content: url('../../img/left-arrow.png') !important;
}

/* 覆蓋 Swiper 右箭頭樣式 */
.swiper-button-next::after {
    content: 'next'; /* 更改箭頭內容 */
    font-size: 20px; /* 自定義大小 */
    color: red; /* 自定義顏色 */
    content: url('../../img/right-arrow.png')!important;   
}

.swiper-button-prev1 {
   margin-left: 10px;
}

.swiper-button-next1 {
    margin-right: 10px;
}

.swiper-button-prev5 {
    margin-left: 0;
    left: 8px !important;
    top: 40% !important;
}

.swiper-button-next5 {
    margin-right: 0;
    right: 8px !important;
    top: 40% !important;
}

/****publicNav****/
.publicNav {
    position: relative;
    /* top: 56px;
  left: 0; */
    /* width: 100%; */
    /* transition: background .4s; */
    /* z-index: 99; */
    background: #fff;
    /*box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);*/
    /* 有主打文宣(.publicTopAd)時才預留 56px；沒有時勿留白（LandingPage 常見） */
    margin-top: 0;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 11;
}

body:has(.publicTopAd) .publicNav {
    margin-top: 56px;
}
/*content*/
.publicNav > .content {
    max-width: 1360px;
    margin: auto;
    position: relative;
    padding: 15px;
    padding-bottom: 25px;
}

.publicNav > .content-box {
    background-color: #f9f9f9;
    padding: 15px 0;
    display: none;
}

.publicNav > .content-box > .content {
    max-width: 1360px;
    margin: auto;
    position: relative;
    padding-top: 0;
}
/*topNav*/
.publicNav .topNav {
    display: flex;
    justify-content: end;
    margin-bottom: 0px;
    /*margin-right: 20px;*/
}

.publicNav .topNav .member_icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 5px;
}

.publicNav .topNav li + li {
    margin-left: 20px;
}

.publicNav .topNav li {
    display: flex;
}

.publicNav .topNav a {    
    font-weight: 400;
    display: inline-table;
    color: #000000;
    cursor: pointer;
    font-size: 15px;
}

.publicNav .topNav a label {
    cursor: pointer;
    font-size: 15px;
}

.publicNav .topNav a svg {
    margin-right: 5px;
    cursor: pointer;
}

/* 2026-09-16：右上角鈴鐺跟旁邊的文字沒有對齊。
   上面那條 .topNav a 是 display:inline-table，是用基準線排版的，
   鈴鐺那一顆裡面只有 svg、其他幾顆是 圖+文字，算出來的基準線不一樣所以會偏。
   整排改成 flex 垂直置中就齊了，HTML 不用動。 */
.publicNav .topNav {
    align-items: center;
    /* 2026-09-16：這排跟下面的主選單黏太近，拉開一點 */
    margin-bottom: 12px;
}

.publicNav .topNav li {
    align-items: center;
}

.publicNav .topNav a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.publicNav .topNav a svg {
    display: block;
}

.publicNav .topNav a label {
    margin-bottom: 0;
    line-height: 1;
}

.publicNav .topNav .bellIcon-wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
}

/*mainNav*/
.publicNav .mainNav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 2026-09-16 phenix 指定：跟上面那排再拉開 */
    margin-top: 10px;
}

.publicNav .mainNav .logo {
    /*flex: 0 0 130px;*/
    display: flex;
    justify-content: right;
    cursor: pointer;
    align-items: center;
    cursor: pointer;
}        

.publicNav .mainNav .logo img {
    width: 49px;
    height: 29px;
}

.publicNav .mainNav .logo h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;               
}

.publicNav .mainNav .nav ul,
.publicNav .mainNav .nav {
    display: flex;
}

.publicNav .mainNav .nav {
    height: 24px;
}

.publicNav .mainNav .nav li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-right: 0px;
    padding-left: 70px;
}

.publicNav .mainNav .nav li:first-child {
    /*border-right: 1px solid #9D9D9D;*/
}

.publicNav .mainNav .nav li:last-child {
    /*border-left: 1px solid #9D9D9D;*/
}

.publicNav .mainNav .nav a {
    font-size: 18px;
    color: #000;
    font-weight: 400;   
    font-weight: 600;
}

.publicNav .mainNav .shoppingCart {
    margin-right: 10px;
}

.publicNav .mainNav #menuBtn,
.publicNav .mainNav .menuBtn,
.publicNav .mainNav .nav .other {
    display: none;
}

#member_cellphone {
    display: none;
}

.bellIcon_cellphone {
    display: none;
}

#login_btn_cellphone {
    display: none;
}

#NotifyModal .modal-header {
    background-color: #DC1415;
}

#NotifyModal .modal-title {
    color: #FFFFFF;
}

#NotifyModal .modal-dialog {
    width: 450px;
}

.nav_image_cellphone {
    display: none;
}

.nav_image_pc {
    display: inline-block;
}

/* arrow common style */
.arrow, .arrow-top, .arrow-bottom {
    display: none;
}
/*箭頭 end*/

/*導覽列 start*/
.SubNav {
    display: flex;
    margin-bottom: 10px;
    /*justify-content: space-between;*/
}   

.SubNav .SubNav_Sub{

}

.SubNav_item{
    margin-right: 90px;
}

.SubNav_item svg {
    display: none;
}

    .SubNav .pc {
        display: block;
    }

    .SubNav .cellphone {
        display: none;
    }

    .SubNav img {
        width: 256px;
        /* 2026-09-18 phenix：原本高度是 153，比例 1.67，跟後台要求的 1140x500（2.28）對不上，
           不管上傳什麼都會被擠變形。改成 112 讓框的比例＝2.28。 */
        height: 112px;
        object-fit: cover; /* 2026-09-18 上傳的圖不是剛好 2.28 時用裁的，不要用擠的 */
    }

.SubNav_Main {
    font-weight: 600;
    display: flex;
    padding-bottom: 7px;
    color: #000000;
}

.SubNav_Sub a {
    font-size: 13px;
    padding-bottom: 7px;
    cursor: pointer;
    color: #1a1a1a;
}

.cell_SubNav {
    display: none;
}

.cell_closeBtn {
    padding: 0;
    margin: 0;
    scale: 4;
    display: flex;
    width: 10px;
    transform: rotate(-45deg);
    position: absolute;
    right: 30px;
}

/*導覽列 end*/

@media(max-width: 1180px) {
    .publicNav .mainNav .shoppingCart, .publicNav .topNav {
        display: none;
    }

    .publicNav .mainNav .nav ul,
    .publicNav .mainNav .nav .other {
        display: block;
        padding: 0 40px;
        background-color: #FFFFFF;
    }

    .publicNav .mainNav {
        align-items: center;
    }

    .publicNav .mainNav .nav {
        display: block;
        position: absolute;
        width: 100%;
        left: 0;
        top: 105%;
        z-index: 99;
        /*background: #f1f1f1;*/
        height: auto;
        /* padding: 10px 0; */
        overflow: hidden;
        max-height: 0px;
        transition: max-height .8s cubic-bezier(0, 1, 0, 1) -.1s;
    }

    .publicNav .mainNav .nav a {
        padding: 8px 10px;
        text-align: left;
        display: flex;
        align-items: baseline;
        font-weight: 500;
    }

    .publicNav .mainNav .nav ul:first-child {
        padding-top: 15px;
    }

    .publicNav .mainNav .nav ul:last-child {
        padding-bottom: 15px;
    }

    .publicNav .mainNav .menuBtn {
        display: block;
        position: absolute;
        cursor: pointer;
        height: 38px;
        width: 45px;
        margin: 0 20px 0 0;
    }

    .nav_image_cellphone {
        display: inline-block;
    }

    .nav_image_pc {
        display: none;
    }

    .publicNav .mainNav .menuBtn div {
        display: inline-block;
        height: 3px;
        width: 30px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -15px;
        background: #1A1A1A;
        transform-origin: center center;
        transition: margin .2s .3s, transform .2s .1s
    }

    .publicNav .mainNav .menuBtn div:nth-child(1) {
        margin-top: -15px;
        width: 25px;
        transform: rotate(0);
    }

    .publicNav .mainNav .menuBtn div:nth-child(2) {                  
        width: 25px;
        margin-top: -5px;
        transform: scaleX(1);
    }

    .publicNav .mainNav .menuBtn div:nth-child(3) {
        width: 25px;
        margin-top: 5px;
        transform: rotate(0);
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* 或者根据需要设置宽度 */
    }

    .publicNav .mainNav #menuBtn:checked ~ .menuBtn div {
        transition: margin .2s .1s, transform .2s .3s;
    }

    .publicNav .mainNav #menuBtn:checked ~ .header-container .menuBtn div:nth-child(1) {
        margin-top: 0;
        transform: rotate(-45deg);
    }

    .publicNav .mainNav #menuBtn:checked ~ .header-container .menuBtn div:nth-child(2) {
        margin-top: 0;
        transform: scaleX(0);
    }

    .publicNav .mainNav #menuBtn:checked ~ .header-container .menuBtn div:nth-child(3) {
        margin-top: 0;
        transform: rotate(45deg);
    }

    .publicNav .mainNav #menuBtn:checked ~ .header-container .menuBtn div:nth-child(4) {
        display: none;
    }

    .publicNav .mainNav #menuBtn:checked ~ .nav {
        max-height: calc(100vh - 119px);
        transition-timing-function: cubic-bezier(0.5, 0, 1, 0);
        transition-delay: 0s;
        width: 80%;
        background-color: #FFFFFF;
        overflow: scroll;
        height: calc(100vh - 119px);
        position: fixed;
        top: 119px;
        left: 0;
        overflow-y: auto;
        z-index: 1000;
    }

    .publicNav .mainNav {
        justify-content: space-between;
    }

    .publicNav .mainNav .logo {
        text-align: center;
        margin: 0 auto;
        /* flex: none; */
    }

    .publicNav .mainNav .logo h2 {
        display: none;
    }

    .SubNav_Main {
        display: none;
        justify-content: left;
        font-weight: 500 !important;
        font-size: 16px !important;
        margin-top: 10px;
    }

    .SubNav {
        display: block !important;
        text-align: center;
        margin-bottom: 0px;
    }

    .SubNav_Sub a {
        font-weight: 400 !important;
        font-size: 14px !important;
        padding: 0px !important;
        font-family: 'Noto Sans JP';
        font-style: normal;
    }

    .cell_SubNav {
        display: block !important;
        background-color: #f1f1f1;
        /* padding: 20px 0; */
        /* border-top: 1px solid #FFFFFF; */
        border-bottom: 1px solid #FFFFFF;
    }

    .cell_closeBtn {
        padding: 0;
        margin: 0;
        scale: 4;
        display: flex;
        width: 10px;
        transform: rotate(-45deg);
        position: absolute;
        right: 30px;
    }

    .SubNav .pc {
        display: none !important;
    }

    .SubNav .cellphone {
        display: inline-block !important;
    }

    .publicTopTitle {
        background: #ffffff00 !important;
        padding-top: 13px !important;
    }

    .publicTopTitle h3 {
        color: #000000 !important;
        font-size: 20px !important;
    }

    /*會員中心 start*/
    .publicMemberData .member-box {
        flex: 1;
        /*padding: 10px;*/
    }

    .publicMemberData img {    
        width: 27px;
        margin: 3px;
    }

    /*頁尾 start*/
    .publicMemberFooter {
        left: 50% !important; /* 將元素左邊界設置在水平中心 */
        transform: translateX(-50%) !important; /* 將元素左移自身寬度的一半，使其居中 */
        width: 97% !important;
        max-width: 100% !important;
        background-color: #FFFFFF;
        border-top-left-radius: 6px; /* 設置左上圓角 */
        border-top-right-radius: 6px; /* 設置右上圓角 */
    }

    .publicMemberFooter .icon-box {
        display: flex !important;
        width: auto !important;
        margin: 0 auto !important;
        padding: 0 25px !important;
        padding-top: 43px !important;
    }
    /*頁尾 end*/
    /*會員中心 end*/

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* 或者根据需要设置宽度 */
    }

    #login_btn_cellphone {
        position: absolute; 
        cursor: pointer;
        height: 38px;
        margin-right: 5px;
        right: 5px; 
        background-color: #F2F2F2;
        color: #1A1A1A;
        border-radius: 8px;
        border: 0px;
        display: block;
    }

    #member_cellphone {
        position: absolute;
        cursor: pointer;
        /* 2026-09-16 樣式2：跟鈴鐺之間留 12px（鈴鐺佔 14~54）。
           高度原本是 38px、鈴鐺那顆是 40px，兩顆都是 absolute 用各自的靜態位置定位，
           高度不一樣就會差兩三個 px，所以這裡也改成 40px 讓兩顆同高。 */
        height: 40px;
        margin-right: 0;
        right: 66px;
        display: flex;
        align-items: center;
    }

    #member_cellphone .member_icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    #member_cellphone:hover {
        text-decoration: none;
    }

    /* 2026-09-16 樣式2（phenix 選的）：頭像是實心圓照片、鈴鐺是細線條，
       視覺重量差太多，而且兩顆原本是貼在一起的（頭像右緣 50px、鈴鐺 10px~50px，中間 0 間距）。
       改成鈴鐺也放進一顆 40px 的淡灰圓，兩顆等大、中間固定 12px。
       右邊界 14px → 鈴鐺 14~54 → 頭像右緣 54+12=66。 */
    .bellIcon_cellphone {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 14px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #f1f3f5;
    }

    .bellIcon_cellphone svg {
        width: 22px;
        height: 22px;
        margin-right: 0;
    }

    .bellIcon_cellphone .bellIcon-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    #NotifyModal .modal-dialog {
        width: auto !important;
        position: unset !important;
    }

    .publicNav > .content {
        padding: 15px;
    }

    .publicNav > .content-box{
        display: none;
    }
    /* arrow common style */

    .arrow {
        display: inline-block;
        width: 10px;
        height: 10px;
        border-top: 2px solid #a19e9e;
        border-right: 2px solid #a19e9e;
    }

    .arrow-top {
        transform: rotate(-45deg);
        display: block;
    }

    .arrow-right {
        transform: rotate(45deg);
        display: block;
    }

    .arrow-bottom {
        transform: rotate(135deg);
    }

    .arrow-left {
        transform: rotate(-135deg);
    }

    .arrow-top-narrow {
        transform: rotate(-45deg) skew(-15deg, -15deg);
    }

    .arrow-top-wide {
        transform: rotate(-45deg) skew(7deg, 7deg);
    }

    .arrow-top-left {
        transform: rotate(-90deg) skew(-10deg, -10deg);
    }

    .arrow-top-right {
        transform: rotate(0) skew(-10deg, -10deg);
    }

    .arrow-bottom-left {
        transform: rotate(180deg) skew(-10deg, -10deg);
    }

    .arrow-bottom-right {
        transform: rotate(90deg) skew(-10deg, -10deg);
    }

    /*箭頭 end*/

    /*導覽列 start*/
    .publicNav .mainNav .nav li {
       
        border-bottom: 1px solid #FFFFFF;
        background-color: #f2f2f2;
        padding-right: 15px;
        padding-left: 0px;
    }

    .SubNav img {
        width: 100%;
        height: auto;
        /*margin-top: 15px;*/
    }

    .SubNav_ {
        margin-top: -1px !important;
    }
    /*導覽列 end*/

    .publicLastestActivity img {
        /*width: auto!important;*/
    }

    .publicLastestActivity .content {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }

    .publicLastestActivity img {
        /* 2026-10-01 封面顯示。原本高度寫死、寬度 100%，沒鎖比例也沒有
           object-fit，圖會被拉長變形。
           後台規格是「不可超過 1140*500」，上限不是固定比例，
           實際上傳的有 385x220 這種，所以不能固定框：
           固定框要嘛裁掉（cover）要嘛留白（contain），兩個都不是要的。
           改成高度 auto，讓圖用自己的比例把卡片寬度撐滿——
           不變形、不裁切、不留白。高度不一致由下面的 flex 規則吸收。 */
        width: 100%;
        height: auto!important;
        display: block;
    }

    .publicLastestActivity .content::-webkit-scrollbar {
        display: none; /* 隱藏 Chrome, Safari 和 Opera 的滾動條 */
    }

    .publicLastestActivity .content .col-md-4 {
        max-width: 90%;
        margin-bottom: 0px;
    }

    /**/
    .publicLastestActivity div a {
        display: inline-block;
        padding: 0 6px;
        padding-bottom: 3px;
       /* min-width: fit-content;*/
        /*padding-right: 20px;*/
    }

    .publicLastestActivity div a .border {           
        margin-bottom: 0px!important;
    }

    .SubNav_item {
        margin-right: 0px;
    }

    .SubNav_item svg {
        position: absolute;
        right: 4em;
        transform: translateY(-3em);
        display: flex;
        align-items: center;
    }

    .hr_cellphone {
        display: block !important;
        border: 1px solid #e1e1e1;
        margin: 0px;
    }

    .mileageStatus {
        display: unset !important;
    }

    .SubNav .SubNav_item .SubNav_Sub {
        /*border-bottom: 1px solid #FFFFFF;*/
        padding: 5px 10px;
    }

    .navigationBarFooterLink{
        display: none!important;
    }

    .menu-footer {
        display: block !important;
        text-align: center;
        margin-bottom: 30px;
    }

    .menu-footer h3 {
        font-style: normal;
        font-weight: 700;
        font-size: 25px;
        line-height: 26px;
        text-align: center;
        color: #000000;
        margin-top: 35px;
    }

    .menu-footer svg {
        display: flex;
        margin: 0 auto;
    }

    .menu-footer button {
        border: 1px solid #000000;
        color: #000000;
        background-color: #FFFFFF;
        border-radius: 12px;
        font-weight: 600;
        padding: 4px 8px;
        word-break: keep-all;
        margin-top: 15px;        
    }

    .publicNav .mainNav .nav li {
        padding-right: 15px;
        border-bottom: 1px solid #FFFFFF;
        background-color: #f2f2f2;
    }

    .bg-gray {
        background-color: #f2f2f2 !important;
        padding: 10px !important;
    }

    .publicHeader .content {
        max-width: 1360px;
        justify-content: center !important;
    }

    .swiper4 {
        width: 100% !important;
        margin-bottom: 35px;
    }

    .swiper5 {
        width: 90% !important;
        margin-bottom: 35px;
    }

    .hot-product-block {
        margin-top: 24px;
        padding: 20px 12px 28px;
    }

    .hot-product-block .swiper5 {
        width: 100% !important;
    }

    /*熱門商品 標題*/
    .commodity_title {
        display: none !important;
    }

    .magazine .list .text h3{
        font-size: 20px !important;
    }

    .publicLastestActivity .row{
        margin: 0px;
    }

    .swiper-button-next, .swiper-button-prev {
        scale: 0.6;      
    }

    .swiper-button-next1, .swiper-button-prev1 { 
        top: 55% !important;
    }

    .swiper-button-prev1{
        margin-left: 0px;
    }
    .swiper-button-next1 {
        margin-right: 0px;
    }

    .swiper-button-prev-market4 {
        margin-left: 0px;
    }

    .swiper-button-next-market4 {
        margin-right: 0px;
    }

    .swiper-button-prev5, .swiper-button-next5 {
        top: 40% !important;
    }    
}
/**************media 1180 endline*****************/

/****publicHeader****/
.publicHeader {
    overflow: hidden;
    position: relative;
    /* 後台電腦版規格 1140×500；高度隨全寬等比縮放，避免 cover 裁切變形 */
    --home-banner-aspect: 1140 / 500;
}

    .publicHeader .swiper1 .swiper-slide,
    .publicHeader .swiper .swiper-slide {
        height: auto;
        position: relative;
        display: block;
    }

    .publicHeader .swiper1 .swiper-slide .img,
    .publicHeader .swiper .swiper-slide .img {
        position: relative;
        width: 100%;
        max-width: none;
        margin: 0;
        display: block;
        background: #1a1a1a;
    }

    .publicHeader .img-media {
        position: relative;
        display: block;
        width: 100%;
        max-width: none;
        line-height: 0;
        vertical-align: top;
        aspect-ratio: var(--home-banner-aspect);
    }

    .publicHeader .banner-image-link {
        display: block;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

    .publicHeader .text {
        position: absolute;
        bottom: 28px;
        right: 28px;
        left: auto;
        z-index: 3;
        pointer-events: none;
    }

    .publicHeader .text .banner-cta {
        pointer-events: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 120px;
        padding: 12px 22px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.02em;
        color: #fff !important;
        background: linear-gradient(135deg, #DC1415 0%, #a80f10 100%);
        border: 2px solid rgba(255, 255, 255, 0.95);
        border-radius: 999px;
        box-shadow: 0 6px 20px rgba(220, 20, 21, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18);
        text-decoration: none;
        white-space: nowrap;
        max-width: none;
        margin: 0;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

        .publicHeader .text .banner-cta::after {
            content: "›";
            font-size: 18px;
            font-weight: 700;
            line-height: 1;
            margin-left: 2px;
        }

        .publicHeader .text .banner-cta:hover {
            color: #fff !important;
            background: linear-gradient(135deg, #ef1a1b 0%, #c01112 100%);
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(220, 20, 21, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2);
        }

    .publicHeader .img-media picture {
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
    }

    .publicHeader .img-media img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }

    /* 首頁 Banner：全寬填滿左右兩邊，高度依 1140:500 等比 */
    .publicHeader .swiper1,
    .publicHeader .swiper {
        width: 100%;
        height: auto;
    }

    .publicHeader .content {
        /*max-width: 1360px;*/
        padding: 30px;
        color: #fff;
        display: flex;
        align-items: center;
        /*justify-content: center;*/
        justify-content: end;
        font-weight: 400;
        font-size: 24px;
        margin: auto;
    }

        .publicHeader .content a {
            color: #000;
            background: rgba(255, 255, 255, 0.48);
            padding: 4px 17px;
            max-width: 110px;
            border: 1px solid #1A1A1A;
            border-radius: 8px;
            font-size: 12px;
            margin-left: 10px;
            text-align: center;
            box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.016);
            white-space: nowrap;
            /* button */
        }

        .publicHeader .content p {
            overflow: hidden;
            white-space: normal;
            display: -webkit-box;
            /* 行數 */
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            font-size: 18px;
            margin-bottom: 0px;
        }
/*swiper*/
.swiper-initialized {
    overflow: hidden;
    position: relative;
}

.publicHeader .swiper-button-next,
.publicHeader .swiper-button-prev {
    color: #9D9D9D;
}

    .publicHeader .swiper-button-next:after,
    .publicHeader .swiper-button-prev:after {
        font-weight: bold;
    }

.publicHeader .swiper-pagination {
    /*bottom: 110px;*/
    bottom: -3px
}

.publicHeader .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: rgba(255, 255, 255, 1);
    /*width: 80px;*/
    height: 10px;
}

.publicHeader .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.3);
    width: 30px;
    height: 10px;
    border-radius: 4px;
    opacity: 1;
}

@media (max-width: 820px) {
    .publicHeader {
        /* 後台手機版為正方形；未上傳手機圖時仍顯示電腦版，改回 1140:500 以免裁太多 */
        --home-banner-aspect: 1 / 1;
    }

    /* 沒有手機版 source 時（只剩電腦版 img），維持長方形比例 */
    .publicHeader .img-media:not(:has(source)) {
        --home-banner-aspect: 1140 / 500;
        aspect-ratio: 1140 / 500;
    }

    .publicHeader .text {
        bottom: 18px;
        right: 16px;
    }

    .publicHeader .text .banner-cta {
        min-width: 96px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/****publicNew****/
.publicNew {
    background: transparent;
    display: flex;
    justify-content: center;
    padding: 0;
}
    .publicNew .publicWidthNew {
        display: flex !important;
        align-items: center !important;
        padding-top: 0 !important;
        background: #DADADA;
        max-width: 100%;
        width: auto;
        border-radius: 0;
        box-sizing: border-box;
    }

    .publicNew .publicTitle2 {
        white-space: nowrap;
        padding: 0!important;
    }

    .publicNew .content {
        max-width: 990px;
        margin: 0 auto;
        display: flex;
        height: 45px;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }

        .publicNew .content h3 {
            flex: 0 0 80px;
            margin-bottom: 0px;
        }

        .publicNew .content a {
            font-weight: 600;
            word-break: keep-all;
            color: #808080;
            border-bottom: 0.05em solid;
            word-wrap: break-word;
            fill: rgba(51, 126, 169, 1);
            white-space: nowrap;
            /* flex: 0 0 50px;
            background-color: #e49b43;
            color: #ffffff;
            font-weight: 600;
            border-radius: 8px;
            padding: 3px 7px;
            word-break: keep-all;*/
        }

        .publicNew .content p {
            overflow: hidden;
            white-space: normal;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            margin-bottom: 0px;
            width: 780px;
            text-align: center;
            padding: 0 25px;
            padding-left: 0px;
        }

    .publicNew a,
    .publicNew p {
        font-size: 18px;
        color: #000;
        font-weight: 400;
    }

    .publicNew a {
        color: #9D9D9D;
    }

/*****publicContent****/
.publicContent {
    background: #fff;
    /* padding: 30px 0 100px; */
}

.publicWidth {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 40px;
}

/*****publicCarousel****/
.publicCarousel .nav {
    display: flex;
    font-size: 18px;
    font-weight: 400;
    /* margin-bottom: 45px; */
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 30px;
    margin-bottom: 15px;
}

.publicCarousel .publicTitle2{
    padding: 0;
}

.publicCarousel .nav::-webkit-scrollbar {
    height: 8px;
}

.publicCarousel .nav::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.publicCarousel .nav::-webkit-scrollbar-thumb {
    background: #ccc;
}

.publicCarousel .nav::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.publicCarousel .nav a {
    position: relative;
    color: #000;
    white-space: nowrap;
    cursor: pointer;
}

.publicCarousel .nav a + a {
    margin-left: 24px;
}

.publicCarousel .nav a.active {
    color: #DC1415;
}

.publicCarousel .nav a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #DC1415;
    left: 0;
    bottom: -20px;
}

.publicCarousel .content {
    position: relative;
}

/* 熱門焦點箭頭：跟卡片同寬度容器對齊，不要用全螢幕定位 */
.popular .publicWidth {
    overflow: visible;
}

.popular .publicCarousel,
.popular .publicCarousel .content {
    position: relative;
    overflow: visible;
}

.popular .publicCarousel .swiper-button-prev2,
.popular .publicCarousel .swiper-button-next2 {
    margin-top: 0;
    top: 38%;
    width: 40px;
    height: 40px;
    z-index: 3;
    transform: translateY(-50%);
}

.popular .publicCarousel .swiper-button-prev2 {
    left: -12px;
}

.popular .publicCarousel .swiper-button-next2 {
    right: -12px;
}

@media (max-width: 1120px) {
    .popular .publicCarousel .swiper-button-prev2 {
        left: 4px;
    }

    .popular .publicCarousel .swiper-button-next2 {
        right: 4px;
    }
}

.publicCarousel img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.publicCarousel .img img {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
}

.publicCarousel .swiper-initialized {
    overflow: hidden;
}

.publicCarousel .swiper-slide {
    /* background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 8px; */
    margin-bottom: 10px;
    box-shadow: 1px 4px 6px 0px rgba(0, 0, 0, 0.1);
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.publicCarousel .swiper-button-next,
.publicCarousel .swiper-button-prev {
    margin-top: 0px;
    position: absolute;
    top: 50%;
    width: 45px;
    height: 45px;
    transform: translateY(-50%);
    color: #9D9D9D;
}

.publicCarousel .swiper-button-next {
    right: -60px;
}

.publicCarousel .swiper-button-prev {
    left: -60px;
}

    .publicCarousel .swiper-button-next:after,
    .publicCarousel .swiper-button-prev:after {
        font-weight: bold;
    }

.publicCarousel .content a {
    border: 1px #eaeaea solid;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

@media(max-width: 1120px) {
    .publicCarousel .swiper-button-next, .publicCarousel .swiper-button-prev {
        /*display: none;*/
    }
    .publicCarousel .swiper-button-next{
        right: 20px;
    }

    .publicCarousel .swiper-button-prev {
        left: 20px;
    }
}

/*****publicTextMore****/
.publicTextMore {
    text-align: right;
}

    

/*****publicJumpWindow****/
.publicJumpWindow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .publicJumpWindow .box {
        width: 465px;
        padding: 30px;
        background: #FFFFFF;
        border-radius: 8px;
    }

    .publicJumpWindow .top {
        border-bottom: 2px solid #D6E4EC;
        padding-bottom: 20px;
        display: flex;
        justify-content: space-between;
    }

        .publicJumpWindow .top .title {
            font-weight: 700;
            font-size: 24px;
        }

        .publicJumpWindow .top .close {
            cursor: pointer;
        }

    .publicJumpWindow .content {
        padding: 10px 10px 0 0;
        min-height: 200px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        align-items: end;
    }

        .publicJumpWindow .content p.remind {
            font-weight: 400;
            font-size: 18px;
            color: #9D9D9D;
            line-height: 26px;
        }

    .publicJumpWindow .bottom {
        width: 100%;
        display: flex;
        justify-content: end;
    }

        .publicJumpWindow .bottom .send,
        .publicJumpWindow .bottom .cancel {
            padding: 15px 35px;
            border-radius: 4px;
            box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.016);
            cursor: pointer;
            user-select: none;
        }

        .publicJumpWindow .bottom .cancel {
            border: 1px solid #0C090A;
            color: #0C090A;
            margin-right: 23px;
        }

        .publicJumpWindow .bottom .send {
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), #0C090A;
            color: #fff;
        }
/*****publicTopTitle****/
.publicTopTitle {
    height: 40px;
    background: #1A1A1A;
    text-align: center;
    padding: 5px;
}

    .publicTopTitle h3 {
        color: #FFFFFF;
        font-size: 24px;
        font-weight: 700;
    }

/*****publicTopLink****/
.publicTopLink {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 10px;
    display: flex;
}

    .publicTopLink a {
        color: #3D97CA;
        font-weight: 700;
        font-size: 19px;
    }

/*****publicData****/
.publicData {
    max-width: 1100px;
    margin: 0 auto;
}

/****publicRegisterContent****/
.publicRegisterContent {
    max-width: 500px;
    margin: 0 auto;
    color: #000000;
    padding: 0 15px;
}

    .publicRegisterContent .info {
        display: flex;
        background: #FFFFFF;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
        border-radius: 16px;
        padding: 10px;
        align-items: center;
        margin-bottom: 30px;
    }

        .publicRegisterContent .info .img {
            flex: 0 0 50px;
            margin-right: 10px;
        }

        .publicRegisterContent .info .text h4 {
            font-weight: 700;
            font-size: 18px;
            /* color: #000000; */
            margin-bottom: 10px;
        }

        .publicRegisterContent .info .text p {
            font-weight: 700;
            font-size: 13px;
            text-align: justify;
            color: #000000;
            line-height: 17px;
            display: inline-flex;
            vertical-align: sub;
        }

    .publicRegisterContent .form {
        background: #ECECEC;
        border-radius: 8px;
        padding: 36px 64px 16px;
        margin-bottom: 120px;
    }

    .publicRegisterContent .item {
        margin-bottom: 20px;
    }

    .publicRegisterContent label {
        font-weight: 400;
        font-size: 18px;
        margin-bottom: 8px;
        display: block;
    }

    .publicRegisterContent .input {
        position: relative;
    }

        .publicRegisterContent .input .remind {
            position: absolute;
            top: 14px;
            width: 13px;
            height: 12px;
        }

        .publicRegisterContent .getButton.error .remind,
        .publicRegisterContent .input .remind {
            background: url('../img/from1.png');
        }

        .publicRegisterContent .input.ok .remind {
            background: url('../img/from.png');
        }

    .publicRegisterContent .getButton.ok .remind {
        background: url('../img/from2.png');
    }

    .publicRegisterContent #agree {
        width: auto!important;
    }

    .publicRegisterContent input {
        width: 100% !important;
    }

    .publicRegisterContent input[type='email'],
    .publicRegisterContent input[type='password'],
    .publicRegisterContent input[type='text'] {
        height: 40px;
        padding: 10px;
        border: 1px solid #000;
        border-radius: 4px;
        width: calc(100% - 20px);
        margin-bottom: 5px;
    }

    .publicRegisterContent select {
        /*height: 40px;*/
        padding: 10px;
        border: 1px solid #000;
        border-radius: 4px;
        margin-bottom: 5px;
    }

.errorText {
    color: #DC1415;
    font-size: 12px;
    display: block;
}

.publicRegisterContent .getButton {
    display: flex;
}

    .publicRegisterContent .getButton .link {
        font-weight: 400;
        font-size: 18px;
        padding: 8px;
        background: #FFFFFF;
        box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.016);
        border-radius: 4px;
        border: 1px solid #000;
        color: #000;
        cursor: pointer;
    }

        .publicRegisterContent .getButton .link + .input {
            display: none;
        }

        .publicRegisterContent .getButton .link.active {
            color: #9D9D9D;
            border-color: #9D9D9D;
        }

            .publicRegisterContent .getButton .link.active + .input {
                display: block;
            }

    .publicRegisterContent .getButton input {
        width: 110px;
        margin-bottom: 0;
        margin-left: 10px;
    }

.publicRegisterContent button{
    word-break:keep-all;
}

.publicRegisterContent .agree label,
.publicRegisterContent .agree {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

    .publicRegisterContent .agree label {
        margin-bottom: 0;
        margin-left: 10px;
        font-weight: 400;
        font-size: 18px;
        /* word-break: break-all; */
        line-height: 1.2;
    }

        .publicRegisterContent .agree label a {
            color: #004788;
            text-decoration: revert;
            display: contents;
        }

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

    .publicRegisterContent .sendLink a {
        color: #DC1415;
        font-weight: 400;
        font-size: 24px;
        padding: 8px;
        border: 1px solid #DC1415;
        border-radius: 4px;
        box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.016);
        background: #fff;
        display: inline-block;
        cursor: pointer;
    }

    .publicRegisterContent .sendLink button {
        color: #DC1415;
        font-weight: 400;
        font-size: 24px;
        padding: 2px 8px;
        border: 1px solid #DC1415;
        border-radius: 4px;
        box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.016);
        background: #fff;
        display: inline-block;
        cursor: pointer;
    }

        .publicRegisterContent .sendLink button:hover {
            background-color: #DC1415;
            color: #FFFFFF;
        }

.publicRegisterContent .getPassword,
.publicRegisterContent .loginLink {
    color: #3D97CA;
    font-weight: 400;
    font-size: 18px;
}

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

@media(max-width: 820px) {
    .publicRegisterContent .form {
        padding: 36px 36px 16px;
    }

    .publicHeader .content {
        padding: 10px;
    }
}


/****publicEventsList****/
.publicEventsList {
    padding: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 8px;
}

    .publicEventsList .img {
        height: 123px;
        border-radius: 4px;
        overflow: hidden;
        position: relative;
    }

        .publicEventsList .img img {
            position: absolute;
            width: 100%;
            height: 100%;
            display: block;
            -o-object-fit: cover;
            object-fit: cover;
        }

        .publicEventsList .img .date {
            padding: 10px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 10px;
            position: absolute;
            left: 6px;
            top: 6px;
            text-align: center;
            font-size: 12px;
            color: #B62627;
            z-index: 1;
        }

        .publicEventsList .img .love {
            position: absolute;
            right: 6px;
            top: 6px;
            z-index: 1;
        }

    .publicEventsList .text {
        padding: 12px 6px;
    }

        .publicEventsList .text .publicText6 {
            margin-bottom: 12px;
        }

        .publicEventsList .text .publicTitle2 {
            margin-bottom: 8px;
            height: 50px;
            overflow: hidden;
            white-space: normal;
            display: -webkit-box;
            /* 行數 */
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .publicEventsList .text .line {
            color: #F5222D;
            font-weight: 400;
            font-size: 12px;
            padding: 3px 6px;
            border: 1px solid #FFA39E;
            border-radius: 8px;
            background: #FFF1F0;
            display: inline-block;
            margin-bottom: 18px;
        }

    .publicEventsList .list li {
        display: flex;
        margin-bottom: 12px;
        align-items: center;
    }

    .publicEventsList .text .time,
    .publicEventsList .list p {
        color: #9D9D9D;
        font-size: 12px;
    }

        .publicEventsList .list p:first-child {
            flex: 0 0 70px;
        }

        .publicEventsList .list p:last-child {
            flex: 1 1;
        }

        .publicEventsList .list p:first-child svg {
            transform: translate(0,1px);
        }

    .publicEventsList .list .red {
        color: #DC1415;
        font-weight: 800;
        font-size: 18px;
    }

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

    .publicEventsList .text .registerNow a {
        font-weight: 400;
        font-size: 12px;
        padding: 4px 8px;
        background: #FFFFFF;
        border: 1px solid #DC1415;
        border-radius: 4px;
        text-align: center;
        color: #DC1415;
        margin-bottom: 12px;
    }

/****publicCheckboxButton*****/
.publicCheckboxButton {
    display: inline-block;
}

    .publicCheckboxButton input {
        display: none;
    }

    .publicCheckboxButton label {
        border: 1px solid #000000;
        color: #000000;
        background-color: #FFFFFF;
        border-radius: 4px;
        font-weight: 600;
        padding: 4px 8px;
        word-break: keep-all;
        margin-left: 5px;
    }

    .publicCheckboxButton input:checked + label {
        background: #000;
        color: #fff;
    }

/****publicPage(頁碼)-activity****/
.publicPage {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

    .publicPage a {
        margin-right: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        border: 1px solid #9D9D9D;
        background: #FFFFFF;
        border-radius: 3px;
        cursor: pointer;
    }

    .publicPage .page {
        height: 32px;
        font-weight: 700;
        font-size: 12px;
        color: rgba(0, 0, 0, 0.85);
    }

        .publicPage .page.active {
            color: #DC1415;
        }

    .publicPage .more {
        height: 17px;
    }

    .publicPage .next svg,
    .publicPage .previous svg {
        fill: rgba(0, 0, 0, 0.85);
    }

    .publicPage .next.active svg,
    .publicPage .previous.active svg {
        fill: #d9d9d9;
    }

    .publicPage select {
        border: 1px solid #9D9D9D;
        height: 32px;
        border-radius: 3px;
        font-size: 12px;
        color: rgba(0, 0, 0, 0.85);
    }

@media(max-width: 820px) {
    .publicPage .more,
    .publicPage .page {
        display: none;
    }

        .publicPage .page.next,
        .publicPage .page.previous {
            display: flex;
        }
}


/****homeSection(首頁區塊說明 + 數據展示)****/
.homeSection .homeSectionBox {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.016);
    padding: 32px 24px;
    margin-bottom: 20px;
    word-break: break-word;
}

.homeSection .homeSectionBox:last-child {
    margin-bottom: 0;
}

.homeSection .homeSectionBox img {
    max-width: 100%;
    height: auto;
}

.homeSection .homeSectionBox iframe {
    max-width: 100%;
}

.homeSection .homeSectionBox table {
    max-width: 100%;
}

/* 數據展示預設樣式(後台可自行以 HTML 覆寫) */
.homeSection .homeSectionStat {
    text-align: center;
}

.homeSection .homeSectionStat .stat-label {
    font-size: 18px;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.homeSection .homeSectionStat .stat-number {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.homeSection .homeSectionStat .stat-slogan {
    font-size: 18px;
    font-weight: 700;
    color: #E60012;
    margin-top: 16px;
    margin-bottom: 0;
}

@media(max-width: 620px) {
    .homeSection .homeSectionBox {
        padding: 24px 16px;
    }

    .homeSection .homeSectionStat .stat-number {
        font-size: 40px;
    }

    .homeSection .homeSectionStat .stat-label,
    .homeSection .homeSectionStat .stat-slogan {
        font-size: 16px;
    }
}

/****popular****/
.popular {
}

.popular .img {
    height: 225px;
    border-radius: 8px;
}

.popular .text {
    padding: 18px 24px;
}

.popular .text p {
    margin-bottom: 12px;
}

.popular .text h3 {
    min-height: 50px;
    /* overflow: hidden; */
    /* white-space: normal; */
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 2; */
    /* -webkit-box-orient: vertical; */
    text-align: left;
    word-break: break-all;
    min-width: 90px;
}

/****magazine*****/
.magazine {
    /*margin-top: 40px;*/
    margin-bottom: 50px;
}

.magazine .content {
    display: flex;
}

.magazine .content > a{
    flex: 1;
}

.magazine .main {
    flex: 0 0 350px;
}

.magazine .main h3 {
    margin: 16px 0 8px;
}

.magazine .main .publicText184,
.magazine .main h3 {
    overflow: hidden;
    white-space: normal;
    display: -webkit-box;
    /* 行數 */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.magazine .main .publicText6 {
    margin-bottom: 8px;
}

.magazine .list {
    flex: 1 1;
    margin-left: 35px;
    margin-bottom: 75px;
}

.magazine .list a {
    display: flex;
    align-items: center;
}

.magazine .list a + a {
    margin-top: 23px;
}

.magazine .list .img {
    flex: 0.2 0 180px;
}

.magazine .list .text {
    margin-left: 12px;
    flex: 1 1;
}

.magazine .list .text h3 {
    margin-bottom: 6px;
    overflow: hidden;
    white-space: normal;
    display: contents;
    /* 行數 */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media(max-width: 820px) {
    .magazine .content {
        display: block;
    }

    .magazine .list {
        margin: 30px 0 60px 0;
    }
}


/****eventsList*****/
.eventsList {
    margin-top: 60px;
}

    .eventsList .publicCarousel {
        margin-bottom: 36px;
    }
/* .eventsList .swiper-slide{
  padding: 8px 7px;
} */


/****mallandcommodity*****/
.mallandcommodity {
    margin-top: 40px;
}

/* 商城強打活動標題：不再是灰底容器上的頁籤，改為與其他區塊一致的一般標題 */
.mallandcommodity .mall_title{
    font-weight: 700;
    font-size: 28px;
    line-height: 52px;
    display: flex;
    align-items: center;
    letter-spacing: 0.08em;
    color: #1A1A1A;
    text-align: left;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.mall_title label{
    white-space: nowrap;
    margin-bottom: 0px;
}

/* 熱門商品外圍區塊 */
.hot-product-block {
    margin-top: 40px;
    padding: 32px 24px 40px;
    background: #F5F5F5;
    border-radius: 12px;
    border: 1px solid #E8E8E8;
}

.commodity_title{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hot-product-block .commodity_title {
    margin-top: 0;
    margin-bottom: 24px;
}

.hot-product-block .swiper5 {
    width: 100%;
}

.commodity_title label{
    /* 熱門商品 */
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 46px;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.08em;
    white-space: nowrap;
    /* logo黑 */
    color: #1A1A1A;
}

.swiper5 .publicTitle2 {
    min-height: 80px !important;
}

.swiper5{
    position: relative;
    width: 80%;
    margin: auto;
}

/* 灰底容器移除後，商品卡改用外框線維持卡片感 */
.swiper5 .swiper-slide{
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
    overflow: hidden;
}

.swiper5 .swiper-slide img{
    border-radius: 8px 8px 0px 0px;
}

/****commodity*****/
.commodity {
    margin-top: 30px;
}

    .commodity .publicTitle1 {
        margin-bottom: 30px;
    }

    .commodity .img {
        height: 240px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-top: 2px #eaeaea solid;
        border-right: 2px #eaeaea solid;
        border-left: 2px #eaeaea solid;
    }

    .commodity .text {
        padding: 12px 0px;
        text-align: center;
        border-bottom: 2px #eaeaea solid;
        border-right: 2px #eaeaea solid;
        border-left: 2px #eaeaea solid;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

        .commodity .text .publicTitle2 {
            height: 50px;
            overflow: hidden;
            white-space: normal;
            display: -webkit-box;
            /* 行數 */
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            font-weight: 800;
            padding: 0 10px;
        }

    .commodity .list li {
        /* display: flex; */
        margin-bottom: 12px;
        align-items: baseline;
    }

    .commodity .list p {
        color: #9D9D9D;
        font-size: 12px;
        display: inline-block;
    }

        .commodity .list p:first-child {
            flex: 0 0 50px;
        }

        .commodity .list p:last-child {
            flex: 1 1;
        }

        .commodity .list p:first-child svg {
            transform: translate(0,1px);
        }

    .commodity .list .red {
        color: #DC1415;
        font-weight: 800;
        font-size: 18px;
    }

    .commodity .buy a {
        font-size: 12px;
        font-weight: 400;
        color: #DC1415;
        padding: 6px 8px;
        border: 1px solid #DC1415;
        border-radius: 4px;
        display: inline-block;
    }

    .blackBorder_button_box{
        display : flex;
        justify-content: center;
        margin-top: 40px;
    }

    .blackBorder_button{
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 17px 51px;
        background: #1A1A1A;
        border: 1.42857px solid #1A1A1A;
        box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.016);
        border-radius: 24px;
        color: #FFFFFF;
    }

/****collaboration*****/
.collaboration {
    margin-top: 60px;
    margin-bottom: 100px;
}

    .collaboration .list {
        display: flex;
        margin-bottom: 70px;
    }

        .collaboration .list .img {
            width: 20%;
            padding: 0 10px;
        }

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

        .collaboration .link a {
            font-weight: 700;
            font-size: 24px;
            color: #000;
            padding: 6px 8px;
            border-radius: 4px;
            border: 1px solid #000;
            display: inline-block;
        }

@media(max-width: 620px) {
    .collaboration .list {
        flex-wrap: wrap;
        justify-content: center;
    }

        .collaboration .list .img {
            width: 50%;
        }
}

/****activity****/
.activity .publicNew {
    background: rgba(0, 0, 0, 0.6);
}

    .activity .publicNew .publicWidthNew {
        background: rgba(0, 0, 0, 0.6);
    }

    .activity .publicNew .publicTitle2,
    .activity .publicNew a,
    .activity .publicNew p {
        color: #fff;
        font-size: 16px;
    }

    .activity .publicNew a {
        font-size: 12px;
        color: #DC1415;
        background: #fff;
        border: 1px solid #DC1415;
        box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.016);
        border-radius: 4px;
        padding: 8px;
        flex: 0 0 70px;
        text-align: center;
    }

.activity .publicContent .nav {
    margin-bottom: 40px;
    display: block;
}

    .activity .publicContent .nav .publicTitle1 {
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .activity .publicContent .nav .chooseDate input {
        max-width: 256px;
        padding: 8px 25px;
        color: #9D9D9D;
        border: 1px solid #000;
        border-radius: 4px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
    }

.activity .publicContent .content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

    .activity .publicContent .content .publicEventsList {
        width: 24%;
        margin-bottom: 24px;
    }

@media(max-width: 860px) {
    .activity .publicContent .content .publicEventsList {
        width: 49%;
    }
}


@media (min-width: 480px) {
    .swiper2 .swiper-slide {
        width: calc((100% / 2.2) - 16px);
        height: calc((100% / 2.2) - 16px);
    }
}

@media(max-width: 480px) {
    .activity .publicContent .content .publicEventsList {
        width: 100%;
    }

    .publicMileageList .mileage-box {
        width: 100%;
        justify-content: space-around;
    }

    .hint_text {
        font-size: 12px !important;
        word-break: keep-all;
        /* width: 100% !important; */
        min-width: max-content;        
    }

    .publicTitle2 {         
        min-width: auto !important;     
    }

    .publicCarousel .publicTitle2 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* 限制顯示 3 行 */
        overflow: hidden;
        line-height: 1.5em; /* 行高調整 */
        max-height: calc(1.5em * 2); /* 計算出限制的總高度 */
    }

    .publicCarousel .text {
        padding: 18px 24px;
        min-height: 120px;
    }
}

.redText {
    color: #DC1415 !important;
}

.is-invalid {
    border-color: #EB5757 !important;
}

.hint_text {
    color: gray;
    font-size: 14px!important;
}

/*bootstrap */
.modal-title {
    font-family: 'arial,"Microsoft JhengHei","微軟正黑體",sans-serif !important';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;
    color: #1A1A1A;
}

.modal-body {
    font-family: 'arial,"Microsoft JhengHei","微軟正黑體",sans-serif !important';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    display: flex;
    align-items: center;
    color: #606060;
    padding: 3rem 1rem !important;
}

.btn-dark-border {
    border-color: #000000 !important;
    background-color: #FFFFFF !important;
    font-weight: 600 !important;
}

/*首頁-最新活動*/
.publicLastestActivity div a:nth-child(-n+3) {
    margin-bottom: 30px;
}

.publicLastestActivity div a .border {
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.1), /* 右侧 */ -1px 2px 2px rgba(0, 0, 0, 0.1), /* 左侧 */ 0px 4px 4px rgba(0, 0, 0, 0.25);
    /*margin-bottom: 30px;*/
}
  
.publicLastestActivity div a div img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    /* 2026-10-01 封面顯示。原本高度寫死、寬度 100%，沒鎖比例也沒有
       object-fit，圖會被拉長變形。
       後台規格是「不可超過 1140*500」，上限不是固定比例，
       實際上傳的有 385x220 這種，所以不能固定框：
       固定框要嘛裁掉（cover）要嘛留白（contain），兩個都不是要的。
       改成高度 auto，讓圖用自己的比例把卡片寬度撐滿——
       不變形、不裁切、不留白。高度不一致由下面的 flex 規則吸收。 */
    width: 100%;
    height: auto;
    display: block;
}

/* 2026-10-01 圖高度不再一致，所以把卡片排成直向：
   文字那一塊吃掉剩下的空間，狀態列就固定在卡片底部，同一排還是對齊的。 */
.publicLastestActivity div a .border {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.publicLastestActivity div a .border > div:first-child {
    flex: 1 1 auto;
}

.publicLastestActivity .ActivityType {
    background-color: #FFF1F0;
    border: 1px #FFA39E solid;
    color: #F5222D;
    border-radius: 8px;
    display: inline-block;
    padding: 0 5px;
    font-size: 13px;
    margin-left: 20px;
    margin-top: 15px;
    margin-bottom: 0px;
}

.black-point {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
}

.cost {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
}

.publicLastestActivity .redText {
    font-size: 24px;
}

.publicLastestActivity div a div label {
    text-align: left;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    padding-top: 4px !important;
    margin-bottom: 0px;
    padding: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: auto !important;
}

.publicLastestActivity div a .sign {
    /* 2026-10-01 跟上面的標題／活動期間要留點間隔，本來是貼著的 */
    margin-top: 12px;
    text-align: center;
    background-color: #FFBB38;
    color: #1A1A1A;
    padding: 4px 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: 600;    
    font-size: 14px;
}

.publicLastestActivity div a .sign3days {
    /* 2026-10-01 跟上面的標題／活動期間要留點間隔，本來是貼著的 */
    margin-top: 12px;
    text-align: center;
    background-color: #DB242B;
    color: #FFFFFF;
    padding: 4px 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: 600;    
    font-size: 14px;
}

/* 2026-10-01 還沒到開報日期的狀態。
   跟「現正報名中」的琥珀色、「已截止」的灰色要分得開，所以用淡藍。 */
.publicLastestActivity div a .signSoon {
    margin-top: 12px;
    text-align: center;
    background-color: #D6E9FF;
    color: #1A1A1A;
    padding: 4px 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.publicLastestActivity div a .signEnd {
    /* 2026-10-01 跟上面的標題／活動期間要留點間隔，本來是貼著的 */
    margin-top: 12px;
    text-align: center;
    background-color: #F2F2F2;
    color: #1A1A1A;
    padding: 4px 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.point-box {
    text-align: center;
    color: #FFFFFF;
    padding: 10px 0;
    font-weight: 600;
    display: flex;
    justify-content: center;
}

.publicLastestActivity div a div h3 {
    font-weight: 600;
    font-size: 17px;
    padding: 10px 20px;
    padding-bottom: 0px;
    text-align: left;
    min-height: 35px;
    /* word-break: keep-all; */
    /* width: 290px; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.border {
    border: 2px #eaeaea solid;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/*關於我們 start*/

.publicAboutUsContent {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

/*關於我們 end*/


/*會員中心 start */
#memberData section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    text-align: center;
}

.publicMemberBanner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px 0;
}

    .publicMemberBanner .swiper-member-banner {
        width: 100%;
        overflow: hidden;
        border-radius: 8px;
        background: #f3f3f3;
    }

    .publicMemberBanner .swiper-slide picture,
    .publicMemberBanner .swiper-slide a {
        display: block;
        width: 100%;
        line-height: 0;
    }

    .publicMemberBanner .swiper-slide img {
        display: block;
        width: 100%;
        height: auto;
    }

    .publicMemberBanner .swiper-button-prev-member-banner,
    .publicMemberBanner .swiper-button-next-member-banner {
        color: #9D9D9D;
    }

    .publicMemberBanner .swiper-pagination-member-banner {
        bottom: 8px;
    }

    .publicMemberBanner .swiper-pagination-bullet {
        background: rgba(255, 255, 255, 0.55);
        opacity: 1;
    }

    .publicMemberBanner .swiper-pagination-bullet-active {
        background: #fff;
    }

.publicMemberData {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

    .publicMemberData .member img {
        width: 75px !important;
        height: 75px !important;
        border-radius: 50%;
        object-fit: cover;
    }

    .publicMemberData img {
        width: 23px;
        margin: 7px;
    }

    .publicMemberData div {
        /*padding: 10px;*/
        box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.25);
        margin: 10px 6px;
        border-radius: 10px;
    }

    /*會員 start*/
    .publicMemberData .member {
        font-size: 20px;
        font-weight: 600;
        justify-content: space-between;
        text-align: center;
        display: flex;
        align-content: center;
    }

        .publicMemberData .member span {
            display: grid;
            text-align: center;
            align-content: center;
        }

            .publicMemberData .member span:nth-child(1) {
                display: inline-block;
                width: 20% !important;
                padding: 0 30px
            }

            .publicMemberData .member span:nth-child(2) {
                width: 50% !important;
                padding: 0 5px;
            }

                .publicMemberData .member span:nth-child(2) label {
                    font-weight: 700;
                    font-size: 23px;
                    align-items: center;
                }

            .publicMemberData .member span:nth-child(3) {
                width: 20% !important;
                /*padding: 0 30px;*/
            }
    /*會員 end*/

    /*黑黑幣 start*/
    .publicMemberData .member-box span {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 7px 0;
        height: 33%;
    }

    .publicMemberData .member-box span span {
        justify-content: end;
    }

    .publicMemberData .member-box button {
        background-color: #FFFFFF;
        border: 1px solid #d7d7d7;
        padding: 10px;
        border-radius: 5px;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
        height: 35px;
        display: flex;
        align-items: center;
        color: #000000;
        word-break: keep-all;
        font-size: 14px;
    }

    .publicMemberData .member-box span label {
        margin: 0;
    }

    .publicMemberData .member-box,
    .publicMemberData .member-box * {
        cursor: pointer !important;
        user-select: none;
    }

    .publicMemberData .member-box label,
    .publicMemberData .member-box .member-box-title {
        font-weight: 600;
        font-size: 17px;
        margin: 0 auto;
        vertical-align: middle;
    }

    .publicMemberData .member-box .coin {
        font-weight: 600;
        font-size: 30px;
    }

    .publicMemberData .member-box .bind-status-empty {
        color: #999;
        font-size: 15px;
        font-weight: 500;
    }
/*黑黑幣 end*/

/*完成任務 start*/
.publicMission .title {
    text-align: left;
}

.publicMission .title svg {
    margin: 10px 0;
    margin-bottom: 0px;
}

.publicMission span {
    display: block;
}

.progress-container {
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.progress-container .percent {
    position: relative;
    top: -6px;
    padding: 0 25px;
}

.publicMission label {
    font-size: 20px;
    font-weight: 600;
    padding: 0 15px;
}

.svg-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap; /* 確保SVG在同一行上 */
    padding: 0 10px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.svg-container svg {
    display: inline-block;
}

/*完成任務 end*/

.publicTitle {
    display: block;
    text-align: left;
    color: #9D9D9D;
    font-size: 24px;
    font-weight: 700;
    padding: 0 15px;
}

/*運動月曆 start*/
.publicSportCalendar div {
    background-color: #ebeaea;
    border-radius: 8px;
    margin: 0 15px;
    padding: 10px;
}

#calendar_title {
    font-size: 28px;
    font-weight: 700;
    color: #DC1415;
    /* .publicSportCalendar div 那條會給裡面每個 div 灰底＋圓角＋margin，
       月份標題也吃到了，畫面上會多出一條灰色橫槓。只清掉它自己的。 */
    background-color: transparent;
    margin: 0;
    padding: 4px 0 10px;
}

#calendar_title svg {
    cursor: pointer;
}

/* 2026-09-24 Allen：點月份跳出年月選擇面板。
   ★上面 .publicSportCalendar div 那條會給「裡面每一個 div」灰底＋圓角＋margin＋padding，
     面板本身跟裡面兩個 div 都會吃到，所以三個都要明確蓋掉。 */
#calendar_title {
    position: relative;
}

#calendar_date {
    cursor: pointer;
    margin: 0;
}

.publicSportCalendar .rb-mp-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #DC1415;
    cursor: pointer;
}

.publicSportCalendar #rb-mp {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    z-index: 30;
    width: 264px;
    margin: 0;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e6e6e8;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
}

.publicSportCalendar #rb-mp[hidden] {
    display: none;
}

.publicSportCalendar #rb-mp .rb-mp-yr {
    background-color: transparent;
    border-radius: 0;
    margin: 0 0 10px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 18px;
    font-weight: 700;
    color: #22262b;
}

.publicSportCalendar #rb-mp .rb-mp-nav {
    border: 0;
    background: #f3f3f5;
    color: #33383d;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}

.publicSportCalendar #rb-mp .rb-mp-nav:disabled {
    opacity: .35;
    cursor: default;
}

.publicSportCalendar #rb-mp .rb-mp-grid {
    background-color: transparent;
    border-radius: 0;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.publicSportCalendar #rb-mp .rb-mp-m {
    border: 1px solid #ececee;
    background: #fff;
    border-radius: 8px;
    padding: 9px 0;
    font-size: 15px;
    font-weight: 400;
    color: #33383d;
    cursor: pointer;
}

.publicSportCalendar #rb-mp .rb-mp-m:hover {
    border-color: #f7a7a6;
    color: #DB242B;
}

.publicSportCalendar #rb-mp .rb-mp-m.is-cur {
    background: #DB242B;
    border-color: #DB242B;
    color: #fff;
    font-weight: 700;
}

.publicSportCalendar #rb-mp .rb-mp-m:disabled {
    opacity: .3;
    cursor: default;
}

@media (min-width: 768px) {
    .publicSportCalendar #rb-mp {
        width: 320px;
        padding: 14px;
    }

    .publicSportCalendar #rb-mp .rb-mp-m {
        font-size: 16px;
        padding: 11px 0;
    }
}

#calendar_week_day {
    width: 100%;
}

/* 2026-09-18：原本寫成「#calendar_week_day th, td」，逗號後面那個 td 沒帶前綴，
   等於全站每一個 td 都被套上白底、黑字、1px 邊框與 height:40px。
   幫助中心貼上來的多欄內容被切掉就是這個 height 造成的。只讓它管日曆自己的格子。 */
#calendar_week_day th,
#calendar_week_day td {
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #ebeaea;
    height: 40px;
    vertical-align: middle;
}

#calendar_week_day tbody span {
    display: block;
}

/* ────────── 2026-09-23 運動月曆改熱力圖 ──────────
   里程越多紅色越深。原本的格線表格與鞋子 ICON 都拿掉了。
   ★選擇器一律綁 #calendar_week_day 或 rb- 前綴，不影響其他頁面。
   ★.publicSportCalendar div 那條會給「裡面每一個 div」灰底＋margin＋padding，
     所以底下自己加的兩塊（圖例、統計）都要把那三項明確蓋掉，否則會多出灰塊。 */
/* ★一定要 fixed。用預設的 auto 版面，表格會被每一格的最小內容寬度撐開，
   量到 483px 卻塞在 360px 的容器裡：格子被拉成長方形，右邊兩欄還會被切掉。 */
#calendar_week_day {
    table-layout: fixed;
}

/* 桌機限寬置中。
   色塊本身鎖在 52px，但欄寬會跟著容器長：瀏覽器開到 1100px 時每欄有 150px，
   小方塊散在中間，中間空一大片很難看。把月曆、圖例、統計三塊一起限寬置中，
   桌機看到的就跟手機同一個比例。460px 大於手機的 360px，所以手機不受影響。 */
.publicSportCalendar .rb-heat-box #calendar_week_day {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

/* 月曆外框：白底卡片。
   站上 .publicSportCalendar div 原本是灰底 #ebeaea，淡灰的空格子疊上去幾乎看不見，
   所以改白底；但頁面本身也是白的，只有白底會失去「一塊卡片」的感覺，
   所以補上邊框、圓角與淡陰影。 */
.publicSportCalendar .rb-heat-box {
    background-color: #ffffff;
    border: 1px solid #ececee;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 14px 12px 16px;
}

#calendar_week_day th,
#calendar_week_day td {
    background-color: transparent;
    border: 0;
    height: auto;
}

#calendar_week_day th {
    color: #8e8e96;
    font-size: 13px;
    font-weight: 400;
    padding-bottom: 8px;
}

#calendar_week_day th.rb-sun {
    color: #d33;
}

#calendar_week_day td {
    padding: 2px;
    vertical-align: top;
}

/* 色塊鎖成正方形。max-width 是給桌機用的：欄位變寬時色塊不跟著變成一大片，
   維持跟手機一樣的比例，置中對齊。min-height 是萬一瀏覽器不吃 aspect-ratio
   時的保底，不會塌成一條。 */
#calendar_week_day .rb-cell {
    width: 100%;
    max-width: 52px;
    aspect-ratio: 1 / 1;
    min-height: 40px;
    margin: 0 auto;
    border-radius: 9px;
    background: #f3f3f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#calendar_week_day .rb-d {
    font-size: 16px;
    color: #8b8b93;
}

#calendar_week_day .calendar_mileage {
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
    padding: 0;
    color: inherit;
}

/* 鞋子 ICON 在熱力圖用不到了（空格子也會有這個 span，留著會多出一張圖） */
#calendar_week_day .calendar_mileage img {
    display: none;
}

#calendar_week_day .rb-l1 { background: #fde3e3; }
#calendar_week_day .rb-l1 .rb-d,
#calendar_week_day .rb-l1 .calendar_mileage { color: #b3211f; }

#calendar_week_day .rb-l2 { background: #f7a7a6; }
#calendar_week_day .rb-l2 .rb-d,
#calendar_week_day .rb-l2 .calendar_mileage { color: #7d1412; }

#calendar_week_day .rb-l3 { background: #e8514f; }
#calendar_week_day .rb-l3 .rb-d,
#calendar_week_day .rb-l3 .calendar_mileage { color: #fff; }

#calendar_week_day .rb-l4 { background: #b5100e; }
#calendar_week_day .rb-l4 .rb-d,
#calendar_week_day .rb-l4 .calendar_mileage { color: #fff; }

.publicSportCalendar .rb-heat-legend {
    background-color: transparent;
    border-radius: 0;
    /* ★margin 要寫在這裡。上面那條共用規則的 margin:auto 會被這一行蓋掉
       （優先權一樣，寫在後面的贏），桌機就只有表格置中、圖例還靠左。 */
    max-width: 460px;
    margin: 0 auto;
    padding: 10px 2px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.publicSportCalendar .rb-heat-legend label {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.publicSportCalendar .rb-heat-legend i {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.publicSportCalendar .rb-heat-legend .rb-l0 { background: #f3f3f5; }
.publicSportCalendar .rb-heat-legend .rb-l1 { background: #fde3e3; }
.publicSportCalendar .rb-heat-legend .rb-l2 { background: #f7a7a6; }
.publicSportCalendar .rb-heat-legend .rb-l3 { background: #e8514f; }
.publicSportCalendar .rb-heat-legend .rb-l4 { background: #b5100e; }

.publicSportCalendar .rb-heat-sum {
    background-color: transparent;
    max-width: 460px;
    margin: 10px auto 0;
    padding: 0;
    /* 同上：圓角也是繼承來的，留著會讓這排看起來像一個獨立的框 */
    border-radius: 0;
    display: flex;
    border-top: 1px solid #dedede;
}

.publicSportCalendar .rb-heat-sum > div {
    background-color: transparent;
    margin: 0;
    padding: 10px 0 2px;
    border-radius: 0;
    flex: 1;
    text-align: center;
}

.publicSportCalendar .rb-heat-sum > div + div {
    border-left: 1px solid #dedede;
}

.publicSportCalendar .rb-heat-sum b {
    display: block;
    font-size: 22px;
    color: #DC1415;
}

.publicSportCalendar .rb-heat-sum label {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* 桌機放大：色塊跟著欄寬長大，不是把整塊縮小。
   768px 以下不進這一段，手機維持原本的樣子。 */
@media (min-width: 768px) {
    .publicSportCalendar .rb-heat-box #calendar_week_day,
    .publicSportCalendar .rb-heat-legend,
    .publicSportCalendar .rb-heat-sum {
        max-width: 720px;
    }

    #calendar_week_day td {
        padding: 4px;
    }

    #calendar_week_day .rb-cell {
        max-width: 96px;
        border-radius: 12px;
    }

    /* 2026-09-24 Allen：網頁版文字再大一點。
       ★只動字級，色塊大小（.rb-cell max-width 96px）、間距、排列一律不動，
       上次就是順手改了版面才變成跟原本不一樣。 */
    #calendar_week_day th {
        font-size: 17px;
        padding-bottom: 10px;
    }

    #calendar_week_day .rb-d {
        font-size: 23px;
    }

    #calendar_week_day .calendar_mileage {
        font-size: 17px;
        margin-top: 4px;
    }

    .publicSportCalendar .rb-heat-legend label {
        font-size: 13px;
    }

    .publicSportCalendar .rb-heat-sum b {
        font-size: 29px;
    }

    .publicSportCalendar .rb-heat-sum label {
        font-size: 16px;
    }
}
/*運動月曆 end*/
/*我的排行榜 start*/
.publicRank .rank_type {
    display: flex;
    overflow: scroll;
    padding: 0 15px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.publicRank .rank_type div {
    cursor: flex;
    cursor: pointer;
}

.publicRank .rank_type .active {
    color: #DB242B;
    border-bottom: 2px solid currentColor;
}

.publicRank .table-box .tool .active {
    color: #FFFFFF;
    background-color: #000000;
}

#memberData .table-box {
    margin: 0 15px;
    border: 1px solid #dee2e6;
    display: block;
    padding: 20px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#memberData .table-box .tool {
    text-align: left;
    display: flex;
    justify-content: space-between;
}

#memberData .table-box .tool .active {
    color: #FFFFFF;
    background-color: #000000;
}

#memberData .table-box button {
    border: 1px solid #000000;
    color: #000000;
    background-color: #FFFFFF;
    border-radius: 4px;
    font-weight: 600;
    padding: 4px 8px;
    word-break: keep-all;
    margin-left: 5px;
}

.publicRank .rank_type div {
    font-weight: 600;
    font-size: 20px;
    padding: 0 20px;
    color: #606060;
    word-break: keep-all;
}

.publicRank .table {
    margin: 10px 0;
}

.publicRank table td {
    border-right: 0px !important;
    border-left: 0px !important;
}

.publicRank .table th {
    color: #7C7979;
    font-weight: 800;
}

.publicRank .table td, .table th {
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.publicRank .table .name {
    color: #606060;
}

/*我的排行榜 end*/
/*正在參與活動 start*/
.publicActivity .activity-box {
    margin: 0 auto;
    padding: 10px;
}

.publicActivity .activity-box div,
.publicActivity .activity-box a.col-md-3 {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 8px;
    margin: 5px 0;
}

.publicActivity .activity-box .activity_content {
    padding: 0 20px;
}

.publicActivity .col-md-3 span {
    display: block;
}

.publicActivity .col-md-3 .activity_type {
    font-size: 16px;
    color: #000000;
    text-align: left;
    margin-top: 10px;
}

/* 與首頁活動列表 ActivityType 紅色標籤一致 */
.publicActivity .col-md-3 .activity_type .ActivityType {
    background-color: #FFF1F0;
    border: 1px #FFA39E solid;
    color: #F5222D;
    border-radius: 8px;
    display: inline-block;
    padding: 0 5px;
    font-size: 13px;
    margin: 0;
    font-weight: 400;
}

.publicActivity .activity-box a.col-md-3 {
    display: block;
    color: inherit;
}

.publicActivity .col-md-3 .activity_title {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    text-align: left;
    margin-top: 0px;
}

.publicActivity .col-md-3 .activity_time {
    text-align: left;
    color: gray;
}
/*正在參與活動 end*/

/*里程帳務 start*/
.publicMileageList .table {
    margin: 10px 0;
}

.publicMileageList .publicTitle {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.publicMileageList .table-box .tool {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.publicMileageList .mileage-box {
    display: flex;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 10px;
}

.publicMileageList .mileage-box .line {
    display: flex;
    align-items: center;
}

.publicMileageList .mileage-box span {
    display: block;
    margin: 0 15px;
}

.publicMileageList .mileage-box span .point {
    color: #000000;
    margin-bottom: 0;
    font-size: 23px;
    font-weight: 700;
}

.publicMileageList .mileage-box span label {
    display: block;
    font-size: 16px;
}

    /*里程帳務 end*/
    /*頁尾 start*/
    .publicMemberFooter {
        background-position: center;
        display: block;
        text-align: center;        
        box-shadow: rgba(99, 99, 99, 1.2) 0px 2px 8px 0px;
        position: fixed;
        height: 135px;
        z-index: 999999;
        bottom: 0px;
        width: 100%;
        background-color: #FFFFFF;
        z-index: 3;
    }

.publicMemberFooter .icon-box {
    display: flex;
    width: 855px;
    margin: 0 auto;
    justify-content: space-between;
    padding: 0 150px;
    padding-top: 43px;
}

.publicMemberFooter .icon-box div, label {
    cursor: pointer;
}

.publicMemberFooter .icon-box div label {
    display: block;
    margin-top: 7px;
    color: #595F67;
    font-weight: 300;
}

.publicMemberFooter .icon-box col-md-4 {
    position: relative;
    top: -67px;
}
/*頁尾 end*/

/*手動上傳里程 modal start*/
#UploadMileageModal .modal-body form {
    width: 100%;
}

#UploadMileageDirectionsModal .screen_shot_item {
    color: #DB242B;
}

.mileageDirections_type2 {
    display: none;
}
/*手動上傳里程 modal end*/

/*串接設定 start*/
.ConnectApp2, .ConnectApp3, .ConnectApp4, .ConnectApp5, .ConnectApp6, .ConnectApp7, .ConnectApp8, .ConnectApp9, .ConnectApp10, .ConnectApp11, .ConnectApp12, .ConnectApp13, .ConnectApp14, .ConnectApp15, .ConnectApp16 {
    display: none !important;
}

#ConnectAppModal .modal-body {
    padding: 15px 0px !important;
    margin: 0 auto;
}

#ConnectAppModal .modal-footer {
    justify-content: space-between;
}
/*串接設定 end*/
/*會員中心 end */
/*編輯會員資訊 start*/
.publicAccountSetting {
    border-radius: 8px;
    padding: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin-bottom: 50px;
}

/*更改emai;*/
#EditEmailModal .modal-body {
    display: block;
    padding: 2em 1em !important;
}

/*更改密碼*/
#EditPasswordModal .modal-body {
    display: block;
}

/*編輯會員資訊 end*/

/*百名榜 start*/
.publicRank100Data {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 10px;
}
/*百名榜 end*/

@media(max-width: 530px) {
    .mileage_ex {
        display: none !important;
    }    
}

.responsive-table button {
    border: none !important;
    background-color: #f3f3f3 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
}

@media screen and (max-width: 600px) {
    /* 對於小屏幕設備，將表格的行和單元格設置為塊狀元素 */
    .responsive-table, .responsive-table thead, .responsive-table tbody, .responsive-table th, .responsive-table td, .responsive-table tr {
        display: block;
        border: 1px solid #e4e4e4;
    }

    /* 隱藏表頭 */
    .responsive-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /* 為每個單元格添加一個標籤，這個標籤的內容是 `data-title` 屬性的值 */
    .responsive-table td {
        position: relative;
        padding-left: 50%;
        text-align: left;
        border: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px dotted #dee2e6 !important;
    }

    .responsive-table td:last-child {
        justify-content: end;
    }

    .responsive-table td:before {
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-title);
        font-weight: bold;
    }

    /* 根據需要調整樣式 */

    .publicMileageList .publicTitle {
        display: block !important;
    }

    .publicMileageList .mileage-box {
        margin-bottom: 10px;
        border-radius: 8px;
        justify-content: space-around;
    }
}

@media(max-width: 450px) {
    #code {
        max-width: 152px;
    }
}

.modal-open {
    padding-right: 0px !important;
    overflow: auto !important;
}

/*箭頭start*/
.arrow_top {
    position: absolute;
}

.arrow_top:before, .arrow_top:after {
    position: absolute;
    content: '';
    border-top: 10px transparent dashed;
    border-left: 10px transparent dashed;
    border-right: 10px transparent dashed;
    border-bottom: 10px #fff solid;
}

.arrow_top:before {
    border-bottom: 10px #0099CC solid;
}

.arrow_top:after {
    top: 1px; /*覆蓋並錯開1px*/
    border-bottom: 10px #fff solid;
}

/**css*/

.mask-dark, .mask-dark-cellphone, .mask-dark-modal {
    position: fixed; /* 或者 absolute，取决于页面结构 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1acc; /* 黑色半透明 */
    z-index: 10; /* 确保它位于页面其他内容之上 */
    display: none; /* 默认不显示，通过 jQuery 控制显示 */
}

.mask-dark-modal {
    z-index: 1050;
}

.hr_cellphone {
    display: none;
}

.bg-white {
    background-color: #fff !important;
    padding: 0px !important;
}

.body-no-scroll {
    overflow: hidden; /* 禁止滾動 */
    position: fixed; /* 固定位置，防止頁面跳動 */
    width: 100%; /* 保持全寬 */
    top: 0; /* 確保從頁面頂部開始 */
    left: 0; /* 從左側邊緣開始 */
}

.font24px{
    font-size: 24px;
}

.pd-lr-60{
    padding: 0 60px;
}

.text-black{
    color:#000000;
}

.text-align-center{
    text-align: center;
}
/****helpCenter(幫助中心 常見 Q&A)****/
.helpCenter .helpCenterContent {
    margin-bottom: 32px;
    word-break: break-word;
}

.helpCenter .helpCenterContent img {
    max-width: 100%;
    height: auto;
}

.helpCenter .helpCenterContent iframe,
.helpCenter .helpCenterContent table {
    max-width: 100%;
}

.helpCenter .helpCenterStepTitle {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #E60012;
    margin-bottom: 16px;
}

/* 問題分類卡片 */
.helpCenter .helpCenterCategoryList {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.helpCenter .helpCenterCategoryCard {
    display: flex;
    align-items: center;
    flex: 0 0 calc(50% - 8px);
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 30px;
    padding: 14px 20px;
    color: #1A1A1A;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}

.helpCenter .helpCenterCategoryCard:hover {
    border-color: #E60012;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #1A1A1A;
}

.helpCenter .helpCenterCategoryCard .icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 12px;
}

.helpCenter .helpCenterCategoryCard .name {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
}

.helpCenter .helpCenterCategoryCard .helpCenterCategoryArrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-left: 12px;
    line-height: 0;
}

.helpCenter .helpCenterCategoryCard .helpCenterCategoryArrow svg {
    display: block;
    width: 16px;
    height: 16px;
}

/* 問題區塊 */
.helpCenter .helpCenterBlock {
    margin-bottom: 40px;
}

.helpCenter .helpCenterBlock[id^="helpCenterCategory_"] {
    scroll-margin-top: 88px;
}

.helpCenter .helpCenterBlockTitle {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 16px;
}

.helpCenter .helpCenterBlockMemo {
    font-size: 14px;
    color: #8C8C8C;
    margin-top: -8px;
    margin-bottom: 16px;
}

/* 問答手風琴 */
.helpCenter .helpCenterQa {
    background: #FAFAFA;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.helpCenter .helpCenterQa .question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    color: #1A1A1A;
    padding: 16px 20px;
    cursor: pointer;
}

.helpCenter .helpCenterQa .question .sign {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-left: 16px;
}

.helpCenter .helpCenterQa .question .sign:before,
.helpCenter .helpCenterQa .question .sign:after {
    content: '';
    position: absolute;
    background: #1A1A1A;
    transition: transform .2s;
}

.helpCenter .helpCenterQa .question .sign:before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.helpCenter .helpCenterQa .question .sign:after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

/* 展開時「＋」變成「－」 */
.helpCenter .helpCenterQa.open .question .sign:after {
    transform: scaleY(0);
}

.helpCenter .helpCenterQa .answer {
    display: none;
    background: #fff;
    border-top: 1px solid #E5E5E5;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #595959;
    word-break: break-word;
}

.helpCenter .helpCenterQa.open .answer {
    display: block;
}

.helpCenter .helpCenterQa .answer img {
    max-width: 100%;
    height: auto;
}

.helpCenter .helpCenterQa .answer a {
    color: #E60012;
    text-decoration: underline;
}

.helpCenter .helpCenterEmpty {
    text-align: center;
    color: #8C8C8C;
    padding: 40px 0;
}

/*自訂區塊獨立內頁(由問題內文的文字超連結進入)*/
.helpCenterPage .helpCenterContent {
    margin-bottom: 32px;
}

.helpCenterPage .helpCenterContent a {
    color: #E60012;
    text-decoration: underline;
}

.helpCenterPage .helpCenterPageBack {
    padding: 8px 0 40px;
}

.helpCenterPage .helpCenterPageBack a {
    color: #1A1A1A;
    font-size: 16px;
}

.helpCenterPage .helpCenterPageBack a:hover {
    color: #E60012;
}

@media(max-width: 620px) {
    .helpCenter .helpCenterCategoryCard {
        flex: 0 0 100%;
    }

    .helpCenter .helpCenterQa .question {
        font-size: 15px;
        padding: 14px 16px;
    }

    .helpCenter .helpCenterQa .answer {
        padding: 14px 16px;
        font-size: 14px;
    }
}
/* ===== Website3 里程存簿（Account/Index）===== */
.website3-dashboard {
    font-family: "Microsoft JhengHei", "Noto Sans TC", sans-serif;
    margin: 20px 0 60px;
}
.website3-dashboard .container {
    max-width: 1100px;
}
.website3-dashboard .member {
    margin: 20px 0 0;
}
.website3-dashboard .member ul.user-nav {
    background: #f9f9f9;
    padding: 0;
    list-style: none;
    margin: 0 0 10px;
    overflow: hidden;
}
.website3-dashboard .member ul.user-nav li {
    float: left;
}
.website3-dashboard .member ul.user-nav li a {
    display: block;
    padding: 10px 20px;
    border-bottom: 4px solid transparent;
    color: #777;
    text-decoration: none;
}
.website3-dashboard .member ul.user-nav li a:hover {
    background: #ea4f16;
    color: #fff;
}
.website3-dashboard .member ul.user-nav li a.selected {
    background: #fff;
    border-bottom: 4px solid #ea4f16;
    color: #333;
}
.website3-dashboard .member ul.user-nav li:last-child {
    float: right;
}
.website3-dashboard .member .user-content {
    background: #fff;
    padding: 20px 20px 30px;
    font-size: 14px;
}
.website3-dashboard .member .user-content h1 {
    color: #d5001c;
    font-size: 1.4em;
    margin: 0;
}
.website3-dashboard .ad-block {
    text-align: center;
    margin-bottom: 10px;
}
.website3-dashboard .ad-block img {
    margin: 0 auto;
    display: block;
    width: 100%;
}
.website3-dashboard .marquee {
    position: relative;
    margin-bottom: 10px;
}
.website3-dashboard .marquee:before {
    content: "\f0a1";
    font-family: FontAwesome;
    position: absolute;
    left: 10px;
    top: 8px;
    color: #ea4f16;
    font-size: 1.4em;
    z-index: 2;
}
.website3-dashboard .marquee .marquee-scroll-text {
    background: #fff;
    border-bottom: 2px solid #ea4f16;
    width: 100%;
    overflow: hidden;
    padding: 8px 10px 8px 40px;
}
.website3-dashboard .marquee .marquee-scroll-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.website3-dashboard .marquee .marquee-scroll-text ul li a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold;
    color: #333;
}
.website3-dashboard input.button {
    border-radius: 4px;
    color: #f15a24;
    background-color: transparent;
    border: 2px solid #f15a24;
    transition: all 0.4s;
    padding: 6px 16px;
    cursor: pointer;
}
.website3-dashboard input.button:hover {
    background: #f15a24;
    color: #fff;
}
.website3-dashboard #thisMonthTotalKM {
    display: block;
    margin: 0 auto 15px;
    font-weight: 600;
}
.website3-dashboard .passed,
.website3-dashboard .failed,
.website3-dashboard .pending {
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
    display: inline-block;
}
.website3-dashboard .passed { background: #39b54a; }
.website3-dashboard .failed,
.website3-dashboard .pending { background: #666; }
.website3-dashboard .mileage {
    font-size: 1.8rem;
    font-family: "Teko", sans-serif;
}
.website3-dashboard .mileage:after {
    content: "k";
    font-size: 1rem;
    font-family: sans-serif;
    padding-left: 2px;
}
.website3-dashboard .mileage.expense { color: #d5001c; }
.website3-dashboard .mileage.income { color: #39b54a; }
.website3-dashboard table.table-box {
    width: 100%;
    border-top: 1px solid #d5001c;
    border-collapse: collapse;
}
.website3-dashboard table.table-box thead {
    border-bottom: 1px solid #ddd;
}
.website3-dashboard table.table-box tr {
    background: #fff;
    border-bottom: 1px solid #eee;
}
.website3-dashboard table.table-box tr td {
    font-size: 16px;
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
}
.website3-dashboard table.table-box tr td:first-child {
    text-align: left;
}
/* 類別欄位 Strava/Garmin/RQ 圖示：對齊 Website3 width=25px（蓋過全域 img{width:100%}） */
.website3-dashboard table.table-box img {
    width: 25px !important;
    max-width: 25px !important;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
}
.website3-dashboard table.table-box thead td {
    font-weight: 700;
}
.website3-dashboard .page {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 10px;
    text-align: center;
}
.website3-dashboard .fc-content { text-align: center; }
.website3-dashboard .fc-row.fc-week.fc-widget-content {
    height: auto !important;
    min-height: 60px !important;
}
.website3-dashboard .fc-scroller { height: auto !important; }
.website3-dashboard .fc-other-month { background-color: #bfbfbf; }

@media screen and (max-width: 767px) {
    .website3-dashboard .member ul.user-nav li,
    .website3-dashboard .member ul.user-nav li:last-child {
        float: none;
        display: block;
        width: 100%;
    }
    .website3-dashboard table.table-box thead { display: none; }
    .website3-dashboard table.table-box tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #eee;
        padding: 8px;
    }
    .website3-dashboard table.table-box tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-align: right;
        border-bottom: 1px dotted rgba(0,0,0,0.1);
        min-height: 48px;
        padding: 8px 4px;
    }
    .website3-dashboard table.table-box tr td:before {
        content: attr(data-label);
        color: #666;
        font-size: 0.86em;
        text-align: left;
        margin-right: 8px;
    }
}

/* Website3 串接/上傳里程（uploadPoint） */
.website3-upload-point .member {
    margin-top: 12px;
}
.website3-upload-point .member ul.user-nav {
    margin-bottom: 16px;
}
.website3-upload-point .member .user-content.upload {
    background: #fff;
    padding: 28px 20px 40px;
    border-top: 1px solid #eee;
}
.website3-upload-point .upload-point-panel {
    max-width: 560px;
    margin: 0 auto;
}
.website3-upload-point .upload-point-panel > h1 {
    color: #d5001c;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 18px;
    text-align: left;
}
.website3-upload-point ul.concatenate {
    display: flex;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    gap: 10px;
}
.website3-upload-point ul.concatenate li.concatenate-item {
    flex: 1;
}
.website3-upload-point ul.concatenate li.concatenate-item a {
    display: block;
    text-align: center;
    padding: 14px 12px;
    background: #ececec;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 2px;
    user-select: none;
}
.website3-upload-point ul.concatenate li.concatenate-item.selected a {
    background: #d5001c;
    color: #fff;
}
.website3-upload-point .upload-point-hint {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 18px;
    color: #222;
    font-size: 1.05rem;
    line-height: 1.5;
}
.website3-upload-point .upload-point-hint p {
    margin: 0;
    flex: 1;
}
.website3-upload-point .upload-point-hint .qa-link {
    flex-shrink: 0;
    color: #d5001c;
    text-decoration: none;
    white-space: nowrap;
}
.website3-upload-point .upload-point-hint .qa-link:hover {
    text-decoration: underline;
}
.website3-upload-point .upload-bind-list {
    display: grid;
    gap: 14px;
}
.website3-upload-point .upload-bind-card {
    background: #d8d4d4;
    padding: 22px 18px 16px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: background-color .15s ease, transform .15s ease;
}
.website3-upload-point .upload-bind-card:hover {
    background: #cdc8c8;
}
.website3-upload-point .upload-bind-card.is-bound {
    background: #2196F3;
    color: #fff;
}
.website3-upload-point .upload-bind-card .bind-brand {
    display: block;
    max-width: 280px;
    width: 70%;
    height: auto;
    margin: 0 auto 10px;
}
.website3-upload-point .upload-bind-card .bind-note {
    font-size: 0.95rem;
    margin: 0 0 10px;
    color: #333;
}
.website3-upload-point .upload-bind-card.is-bound .bind-note {
    color: #fff;
}
.website3-upload-point .upload-bind-card .bind-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    color: #111;
}
.website3-upload-point .upload-bind-card.is-bound .bind-status {
    color: #fff;
}
.website3-upload-point .upload-bind-card .status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #666;
    background: #fff;
    box-sizing: border-box;
}
.website3-upload-point .upload-bind-card .status-dot.on,
.website3-upload-point .upload-bind-card.is-bound .status-dot {
    border-color: #fff;
    background: #fff;
    box-shadow: inset 0 0 0 3px #2196F3;
}
.website3-upload-point .upload-cancel-wrap {
    margin-top: 18px;
}
.website3-upload-point .upload-cancel-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #666;
    color: #fff !important;
    padding: 12px 16px;
    text-decoration: none !important;
    font-weight: 600;
    border-radius: 2px;
}
.website3-upload-point .upload-cancel-btn:hover {
    background: #555;
    color: #fff !important;
}
.website3-upload-point .keyin-intro {
    margin-bottom: 20px;
    color: #444;
    line-height: 1.7;
    font-size: 0.98rem;
}
.website3-upload-point .keyin-qa {
    margin-top: 10px;
}
.website3-upload-point .keyin-qa a {
    color: #d5001c;
    font-weight: 600;
}
.website3-upload-point .keyin-action {
    text-align: center;
}
.website3-upload-point .keyin-upload-btn {
    min-width: 180px;
    padding: 10px 24px;
    font-weight: 600;
}

@media (max-width: 766px) {
    .website3-upload-point .member .user-content.upload {
        padding: 20px 12px 32px;
    }
    .website3-upload-point .upload-point-hint {
        flex-direction: column;
        align-items: stretch;
    }
    .website3-upload-point .upload-point-hint .qa-link {
        text-align: right;
    }
    .website3-upload-point .upload-bind-card .bind-brand {
        width: 78%;
    }
}


/* ══ 2026-09-16 手機版側欄「樣式3：會員卡置頂、選單分組」 ══════════════════
   這個元件電腦版是橫向導覽列、手機版是側欄，共用同一份 HTML。
   下面第一段先讓新加的元素在電腦版一律不顯示，
   第二段（media query）才是手機版真正的樣子。順序不能反過來。 */
.publicNav .mainNav .nav .nav-card,
.publicNav .mainNav .nav .nav-cap,
.publicNav .mainNav .nav .nav-sep,
.publicNav .mainNav .nav .nav-ico,
.publicNav .mainNav .nav .nav-subs {
    display: none;
}

@media (max-width: 1180px) {
    /* 側欄整體：白底、拉到滿版寬（原本只有 80%，右邊會露出一截後面的內容） */
    .publicNav .mainNav #menuBtn:checked ~ .nav {
        width: 100%;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        /* 2026-09-16：原本寫死 top:119px（文宣條 + 導覽列的高度），
           後台把文宣條關掉之後導覽列變矮，側欄上面就會空一段。
           改吃 JS 量出來的 --navDrawerTop，量不到才退回 119px。 */
        top: var(--navDrawerTop, 119px);
        height: calc(100vh - var(--navDrawerTop, 119px));
        max-height: calc(100vh - var(--navDrawerTop, 119px));
        /* 側欄有固定高度（calc(100vh - 119px)），直向排列又允許換行的話，
           內容超過一個畫面就會自己折成第二欄跑到右邊去（帳戶那組原本就是這樣飛出去的）。
           一定要 nowrap，超過就用捲的。 */
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .publicNav .mainNav #menuBtn:checked ~ .nav > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .publicNav .mainNav .nav ul,
    .publicNav .mainNav .nav .other {
        padding: 0;
        background-color: #fff;
    }

    /* 會員卡 */
    .publicNav .mainNav .nav .nav-card {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 10px 14px 14px;
        padding: 14px;
        background: #f7f8f9;
        border-radius: 14px;
        text-decoration: none;
    }

    .publicNav .mainNav .nav .nav-card img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
        flex: 0 0 auto;
    }

    .publicNav .mainNav .nav .nav-card-who {
        flex: 1 1 auto;
        min-width: 0;
    }

    .publicNav .mainNav .nav .nav-card-name {
        display: block;
        font-size: 16px;
        font-weight: 700;
        color: #22262b;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .publicNav .mainNav .nav .nav-card-sub {
        display: block;
        font-size: 12px;
        color: #7b838c;
        margin-top: 3px;
    }

    .publicNav .mainNav .nav .nav-card-go {
        color: #b9bec4;
        flex: 0 0 auto;
    }

    /* 小標題與分隔帶 */
    .publicNav .mainNav .nav .nav-cap {
        display: block;
        padding: 6px 20px;
        font-size: 12px;
        color: #9aa1a8;
        letter-spacing: 1px;
    }

    .publicNav .mainNav .nav .nav-sep {
        display: block;
        height: 8px;
        background: #f3f4f6;
        margin: 10px 0;
    }

    /* 大項目一列 */
    .publicNav .mainNav .nav .nav_bar_menu li {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: 0 20px;
        /* 舊的規則給每個 li 灰底 #f2f2f2 + 白色分隔線，整片看起來就是一塊灰。
           改成白底、分隔線縮在內容寬度裡。 */
        background-color: #fff;
        border-bottom: 1px solid #f0f1f3;
    }

    .publicNav .mainNav .nav .nav_bar_menu li:last-child {
        border-bottom: 0;
    }

    .publicNav .mainNav .nav .nav-ico {
        display: block;
        color: #7b838c;
        flex: 0 0 auto;
        margin-right: 14px;
    }

    .publicNav .mainNav .nav .nav_bar_menu li > a.navLink {
        flex: 1 1 auto;
        padding: 0;
        height: 52px;
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 600;
        color: #22262b;
        text-decoration: none;
    }

    .publicNav .mainNav .nav .nav_bar_menu li > .arrow {
        flex: 0 0 auto;
        width: 9px;
        height: 9px;
        border-top: 2px solid #c3c8cd;
        border-right: 2px solid #c3c8cd;
        margin: 0 2px 4px 0;
    }

    .publicNav .mainNav .nav .nav_bar_menu li > .arrow.arrow-top {
        border-color: #22262b;
        margin: 0 2px -2px 0;
    }

    /* 展開的子項目：是既有的 JS 從 .SubNav_Id_N 複製過來插在 li 後面的，
       原本長得像另一份灰底清單還帶一張大宣傳圖，這裡整個改成純文字縮排。 */
    .cell_SubNav {
        background-color: #fff !important;
        border-bottom: 1px solid #f0f1f3;
        padding: 0 20px 8px 54px;
    }

    .cell_SubNav .SubNav {
        text-align: left;
        margin: 0;
    }

    .cell_SubNav .SubNav_Sub {
        display: flex;
        flex-direction: column;
    }

    .cell_SubNav .SubNav_Sub a {
        display: block;
        padding: 10px 0 !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        color: #5b6268;
        text-decoration: none;
    }

    /* 2026-09-16：宣傳圖要留著（正式站本來就有，phenix 指出我藏掉了）。
       只是把原本那塊灰底拿掉、圖片改成圓角、右下角的箭頭鈕壓在圖上。 */
    .cell_SubNav .bg-gray {
        background-color: transparent !important;
        padding: 2px 0 10px !important;
        position: relative;
        display: block !important;
    }

    .cell_SubNav .nav_image_cellphone {
        display: block !important;
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .cell_SubNav .bg-gray svg {
        position: absolute;
        right: 10px;
        bottom: 20px;
    }

    /* 電腦版那張圖跟多組子項目之間的分隔線在側欄裡不需要 */
    .cell_SubNav .nav_image_pc,
    .cell_SubNav .hr_cellphone {
        display: none !important;
    }

    /* 帳戶那一組 */
    .publicNav .mainNav .nav .other li {
        padding: 0 20px;
        background-color: #fff;
        border-bottom: 1px solid #f0f1f3;
    }

    .publicNav .mainNav .nav .other li:last-child {
        border-bottom: 0;
    }

    .publicNav .mainNav .nav .other li > a {
        height: 52px;
        display: flex;
        align-items: center;
        padding: 0;
        font-size: 16px;
        font-weight: 600;
        color: #22262b;
        text-decoration: none;
    }

    .publicNav .mainNav .nav .other li > a.is-out {
        color: #d8232a;
    }

    /* 2026-09-16 樣式1（phenix 選的）：註冊/登入 改成品牌紅膠囊。
       原本是淡灰底黑字，整個頁首只有它是按鈕、也是唯一要人行動的入口，
       顏色卻最淡，看起來像被停用的。紅色用站上既有的 #DC1415，不另外開一個紅。
       右邊界 14px，跟登入後的鈴鐺對齊。 */
    #login_btn_cellphone {
        right: 14px;
        margin-right: 0;
        height: 38px;
        padding: 0 18px;
        background-color: #DC1415;
        color: #fff;
        border-radius: 19px;
        border: 0;
        font-size: 15px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    /* 頁尾的 logo 壓在最下面，不要浮在清單正下方 */
    .menu-footer {
        margin-top: auto;
        margin-bottom: 0 !important;
        padding: 18px 0 22px;
    }
}

/* 2026-09-18 phenix：百名榜的「返回上一頁」原本是一個沒有樣式的藍色連結，
   跟整頁格格不入。改成一顆有邊框的小按鈕（樣式2 那張圖的樣子）。 */
.publicTopLink.rk-back {
    /* 2026-09-22：原本把 .publicTopLink 的 padding 20px 10px 整個蓋掉寫成 0，
       按鈕就直接貼在上面那條黑色標題下緣，沒有間隔。 */
    padding: 16px 15px 0;
    margin-bottom: 6px;
}

.publicTopLink.rk-back a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #d7dade;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 13px;
    color: #4b5258;
    text-decoration: none;
    background: #fff;
}

.publicTopLink.rk-back a:hover {
    border-color: #DB242B;
    color: #DB242B;
}

.publicTopLink.rk-back .rk-back-ar {
    font-size: 15px;
    line-height: 1;
}

/* 2026-09-18 phenix 選的樣式2：里程帳務手機版依月份分組，一筆一張小卡。
   電腦維持原本的表格，只有手機換掉（原本手機是一筆拆成四行，很佔空間）。 */
#mileageTimeline { display: none; }

@media (max-width: 767px) {
    #mileageTimeline { display: block; }

    .publicMileageList .table.responsive-table { display: none; }

    /* 卡片本身 padding 20，月份標題要拉滿整張卡所以往外推 */
    .publicMileageList #mileageTimeline { margin: 0 -20px; }

    .mt-mo {
        display: flex;
        align-items: baseline;
        padding: 9px 20px 7px;
        background: #fafbfc;
        border-top: 1px solid #f2f3f5;
        border-bottom: 1px solid #f2f3f5;
        /* 2026-09-23 客戶反映太小：13 -> 15 */
        font-size: 15px;
        font-weight: 800;
        color: #22262b;
    }

    .mt-mo span {
        margin-left: auto;
        font-size: 13px;
        font-weight: 400;
        color: #9aa1a8;
        font-variant-numeric: tabular-nums;
    }

    /* 2026-09-23 方案二：整張卡改成三欄 —— 圖示／中段／里程。
       中段自己再分兩行，第一行來源＋日期，第二行內容＋明細。 */
    .mt-c {
        margin: 8px 16px;
        padding: 11px 12px;
        border: 1px solid #eef0f2;
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mt-c:active { background: #fafbfc; }

    .mt-mid {
        flex: 1;
        min-width: 0;
    }

    /* ★ .mt-src 原本有 flex:1（舊版卡片上排靠它把里程推到右邊）。
       放進新的 .mt-l1 之後，它會吃掉整行剩餘寬度，把日期擠到最右邊、跟明細對不齊。
       在新結構裡不要讓它長。 */
    .mt-l1 .mt-src {
        flex: 0 0 auto;
    }

    .mt-l1 {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .mt-d {
        font-size: 14.5px;
        color: #9aa1a8;
        font-variant-numeric: tabular-nums;
    }

    .mt-l2 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 3px;
        font-size: 15px;
        color: #6b7178;
    }

    .mt-l2 span {
        min-width: 0;
        flex: 0 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* 2026-09-23：照範例圖，「明細」緊接在文字後面，不是固定靠右。 */
    .publicMileageList .mt-c .mt-l2 a {
        margin-left: 0;
        flex: 0 0 auto;
        color: #2f6fd0;
        text-decoration: none;
    }

    .mt-top {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mt-bi {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        border-radius: 5px;
        object-fit: contain;
    }

    .mt-bi.mt-gi {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f3f5f7;
    }

    .mt-src {
        flex: 1;
        min-width: 0;
        text-align: left;
        /* 2026-09-23 客戶反映太小：14 -> 16；2026-09-24 再加大：16 -> 18 */
        font-size: 18px;
        font-weight: 700;
        color: #22262b;
    }

    .mt-km {
        text-align: right;
        font-size: 21px;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
        flex: 0 0 auto;
        max-width: 40%;
        overflow: hidden;
    }

    .mt-bot {
        display: flex;
        align-items: center;
        margin-top: 5px;
        /* 2026-09-23 日期與「明細」客戶反映太小：12 -> 13.5 */
        font-size: 13.5px;
        color: #9aa1a8;
        font-variant-numeric: tabular-nums;
    }

    /* bootstrap 有一條 a:not([href]):not([tabindex]){color:inherit}，權重跟兩層一樣，
       而且它排在 custom.css 後面，所以要多一層才壓得過去，「明細」才會是藍色 */
    /* 待審／未通過的小標記跟在日期後面，不要跟里程數擠在卡片右上角（會爆出去） */
    .mt-bot .mileageStatus {
        margin-left: 8px;
        display: inline-flex;
        align-items: center;
    }

    .mt-bot .mileageStatus svg {
        height: 16px;
        width: auto;
    }

    .publicMileageList .mt-c .mt-bot a {
        margin-left: auto;
        color: #2f6fd0;
        text-decoration: none;
    }

    /* 原本表格裡的顏色類別沿用，待審／未通過的小標籤也跟著搬過來 */
    .mt-km .green_text { color: #1f9254; }
    .mt-km .red_text { color: #DB242B; }
    .mt-km .gray_text { color: #9aa1a8; }
    .mt-km div { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
}

/* 2026-09-18 phenix：「分頁樣式也改掉」。
   里程帳務的分頁原本是 bootstrap 預設的藍色連結，
   活動歷程那邊早就改成白底圓角、選到的是紅字（.ahp-btn），這裡跟著一致。 */
.publicMileageList .dataTables_wrapper {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 4px 0 2px;
}

.publicMileageList .dataTables_wrapper .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.publicMileageList .dataTables_wrapper .pagination .page-item {
    margin: 0;
}

.publicMileageList .dataTables_wrapper .pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    box-shadow: none;
    transition: all .15s ease;
}

.publicMileageList .dataTables_wrapper .pagination .page-link:hover {
    border-color: #FFA39E;
    color: #DB242B;
    background: #fff;
    text-decoration: none;
}

.publicMileageList .dataTables_wrapper .pagination .page-link:focus {
    outline: none;
    box-shadow: none;
}

.publicMileageList .dataTables_wrapper .pagination .active .page-link,
.publicMileageList .dataTables_wrapper .pagination .page-item.active .page-link {
    background: #FFF1F0;
    border-color: #FFA39E;
    color: #F5222D;
}

.publicMileageList .dataTables_wrapper .pagination .disabled .page-link {
    border-color: transparent;
    background: transparent;
    color: #bbb;
}

/* 2026-09-18 phenix：「你只有調整到列表樣式而已」。
   樣式1 那張圖是整塊的：統計卡、篩選頁籤、列表、分頁字級一致。
   之前只換了列表，上面還是舊的（數字 23px、頁籤是全黑框方塊），所以看起來不搭。
   以下全部只在手機生效，電腦版與排行榜的頁籤不動。  [ledger-block] */
@media (max-width: 767px) {

    /* 標題與統計卡原本是同一列的左右兩端，視窗一窄統計卡就被擠成一條、標籤折行。
       ≤767px 改成上下排，統計卡自己佔滿一整行。 */
    .publicMileageList .publicTitle {
        display: block;
    }

    .publicMileageList .publicTitle > label {
        display: block;
        margin-bottom: 8px;
    }

    /* 統計卡：陰影換成細框，數字縮到跟列表同一個字級 */
    .publicMileageList .mileage-box {
        background: #fff;
        border: 1px solid #eef0f2;
        border-radius: 12px;
        box-shadow: none;
        padding: 13px 4px;
        align-items: center;
    }

    .publicMileageList .mileage-box span {
        flex: 1;
        margin: 0 4px;
        text-align: center;
    }

    .publicMileageList .mileage-box span .point {
        font-size: 20px;
        font-weight: 800;
        line-height: 1.2;
    }

    .publicMileageList .mileage-box span label {
        font-size: 11.5px;
        color: #8b9298;
        margin-bottom: 0;
        white-space: nowrap;   /* 「累積總支出」不要被折成兩行 */
    }

    .publicMileageList .mileage-box .line svg {
        height: 34px;
    }

    /* 篩選頁籤：全黑方框改成細框膠囊，選到的才是黑底 */
    #memberData .publicMileageList .table-box .tool {
        padding: 2px 0 4px;
    }

    #memberData .publicMileageList .table-box button {
        border: 1px solid #d7dade;
        border-radius: 6px;
        color: #4b5258;
        background: #fff;
        /* 2026-09-23 客戶反映太小：12.5 -> 14 */
        font-size: 14px;
        font-weight: 600;
        padding: 4px 12px;
        margin-left: 0;
        margin-right: 7px;
    }

    #memberData .publicMileageList .table-box .tool .active {
        background: #1a1a1a;
        border-color: #1a1a1a;
        color: #fff;
    }

    /* 右邊本來是硬切掉，加一層漸層才看得出還能往右滑 */
    .publicMileageList .table-box .tool > div {
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent 100%);
        mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent 100%);
        padding-right: 4px;
    }

    .publicMileageList .dataTables_wrapper {
        padding-top: 10px;
    }
}

/* ============================================================
   2026-09-18 phenix：「landing page 為什麼有些還是跑版」
   後台貼上去的內容（landing page、幫助中心自訂區塊、問答答案）都是從舊官網搬來的 HTML，
   行內寫死 width:1905px / 1070px / 500px 這種絕對寬度，在窄視窗一定爆版。
   內容會一直新增，所以規則寫在容器上（class="richContent"），不是去改某一頁的內容。
   ============================================================ */
.richContent {
    max-width: 100%;
}

/* 任何一層都不准比容器寬；padding 算進寬度裡，不然加了 padding 又會爆出去 */
.richContent * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.richContent img,
.richContent iframe,
.richContent video,
.richContent embed {
    height: auto !important;
}

/* 貼上來的內容不吃外面設定的固定高度，不然內容一長就被切掉 */
.richContent td,
.richContent th {
    height: auto !important;
}

/* ★關鍵：行內用 display:table / table-cell 排版的區塊要換成一般區塊。
   table-layout:fixed 的表格不吃 max-width（實測 .wsite-section-wrap 還是 1905px），
   只有把 display 換掉才會跟著容器縮。 */
.richContent [style*="display: table"],
.richContent [style*="display:table"] {
    /* 用 flow-root 不用 block：舊官網那些區塊裡面是 float 排版，
       table-cell 本來會包住浮動元素，換成純 block 會包不住、父層高度縮掉，
       外面 overflow:hidden 的卡片就把內容切掉了。flow-root 是會包住浮動的區塊。 */
    display: flow-root !important;
    width: auto !important;
}

/* 舊官網的收合元件（accordion）在這裡是死的——它的 JS 沒有一起搬過來，
   所以永遠停在收合狀態。它寫死 max-height:508px + overflow:hidden，
   原本 1070px 寬剛好塞得下，寬度一收內容變高就被攔腰切掉。
   這裡一律解開，內容才不會不見。 */
.richContent [style*="max-height"] {
    max-height: none !important;
}

.richContent [style*="overflow: hidden"],
.richContent [style*="overflow:hidden"] {
    overflow: visible !important;
}

/* 舊官網的多欄版面：桌機維持等分並排 */
.richContent .wsite-multicol-table {
    width: 100% !important;
    table-layout: fixed !important;
}

.richContent .wsite-multicol-col {
    width: auto !important;
}

/* 內容裡真的有資料表格時，讓它自己橫向捲，不要把整頁撐寬 */
.richContent table {
    max-width: 100% !important;
}

@media (max-width: 767px) {
    /* 手機把多欄改成上下排，不然一欄只剩幾十 px */
    .richContent .wsite-multicol-table,
    .richContent .wsite-multicol-tbody,
    .richContent .wsite-multicol-tr,
    .richContent .wsite-multicol-col {
        display: flow-root !important;   /* 同上：要包得住裡面的 float */
        width: auto !important;
    }

    .richContent .wsite-multicol-col + .wsite-multicol-col {
        margin-top: 12px;
    }

    /* 貼上來的內容常有固定 padding，手機上收一點才不會只剩一條字 */
    .richContent .container,
    .richContent .wsite-section-content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ============================================================
   2026-09-18 phenix：「跳出的 modal 水平垂直置中，後面要有遮罩」
   ============================================================ */

/* 1. modal-dialog 一律置中（等同 Bootstrap 的 modal-dialog-centered，
      不用一個一個去 markup 加 class；modal-dialog-scrollable 的例外交給 Bootstrap 自己處理） */
.modal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}

.modal .modal-dialog > .modal-content,
.modal .modal-dialog > form {
    width: 100%;
}

/* 內容比視窗高的時候要能捲，不然置中會把上緣推出畫面外 */
.modal .modal-content {
    max-height: calc(100vh - 3.5rem);
    overflow-y: auto;
    /* 2026-09-24 Allen 指定 5px（Bootstrap 預設 .3rem = 4.8px，幾乎看不出來） */
    border-radius: 5px;
}

/* 2. 遮罩：用站上深色那一階，透明度拉到看得出來 */
.modal-backdrop {
    background-color: #1a1a1a;
}

.modal-backdrop.show {
    opacity: .75;
}

/* 3. 開著 modal 的時候，這幾個 z-index 開很高的東西要壓下去，
      不然它們會蓋在遮罩（1040）甚至對話框（1050）上面 */
body.modal-open .publicMemberFooter,
body.modal-open .publicJumpWindow,
body.modal-open .publicTopAd {
    z-index: 1 !important;
}

@media (max-width: 767px) {
    /* 手機的邊距小一點，對話框才不會擠 */
    .modal .modal-dialog {
        min-height: calc(100% - 1.5rem);
        /* 一定要帶 auto：576~767px 之間 Bootstrap 有 max-width:500px，
           只寫 0.75rem 的話對話框會靠左不置中 */
        margin: 0.75rem auto;
        /* 2026-09-24 Allen：對話框左右要跟畫面邊框有間隔。
           ★光改 margin 沒用：未滿 576px 時 Bootstrap 沒給 .modal-dialog
           max-width，寬度變成 100%，auto 就算成 0，實測是「12px 0」。
           改用 max-width 把寬度收起來，auto 才有空間可以分。 */
        max-width: calc(100% - 1.5rem);
    }

    .modal .modal-content {
        max-height: calc(100vh - 1.5rem);
    }
}

/* ============================================================
   2026-09-18 phenix 選的樣式1：里程明細（#MileageDetailModal）重點卡
   里程數當主角，其餘做成兩欄資訊格，沒有值的欄位在 JS 就不產生。
   ============================================================ */
#MileageDetailModal .modal-body {
    display: block;
    padding: 18px !important;
    text-align: left;
}

#MileageDetailModal .md-top {
    text-align: center;
    padding: 4px 0 14px;
    border-bottom: 1px solid #f2f3f5;
}

#MileageDetailModal .md-date {
    font-size: 13px;
    color: #9aa1a8;
}

#MileageDetailModal .md-km {
    margin: 6px 0 2px;
    line-height: 1;
}

#MileageDetailModal .md-km b {
    font-size: 40px;
    font-weight: 800;
    color: #22262b;
}

#MileageDetailModal .md-km i {
    font-size: 16px;
    font-style: normal;
    color: #9aa1a8;
    margin-left: 4px;
}

#MileageDetailModal .md-unit {
    font-size: 12px;
    color: #9aa1a8;
}

#MileageDetailModal .md-tags {
    text-align: center;
    margin-top: 10px;
}

#MileageDetailModal .md-tag {
    display: inline-block;
    background: #f3f5f7;
    border-radius: 999px;
    padding: 3px 14px;
    font-size: 13px;
    color: #4b5258;
}

#MileageDetailModal .md-tag.md-pass {
    background: #eaf6ee;
    color: #1f9254;
}

#MileageDetailModal .md-tag.md-fail {
    background: #fdecec;
    color: #DB242B;
}

#MileageDetailModal .md-tag.md-wait {
    background: #fff5e6;
    color: #b06f00;
}

#MileageDetailModal .md-tag.md-appeal {
    background: #eef2fb;
    color: #2f6fd0;
}

#MileageDetailModal .md-reason {
    background: #fff8f8;
    border-left: 3px solid #DB242B;
    padding: 8px 12px;
    font-size: 14px;
    color: #4b5258;
    line-height: 1.7;
    white-space: pre-wrap;
}

#MileageDetailModal .md-tags {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

#MileageDetailModal .md-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

#MileageDetailModal .md-grid > div {
    background: #fafbfc;
    border: 1px solid #f0f1f3;
    border-radius: 8px;
    padding: 9px 12px;
    min-width: 0;
}

#MileageDetailModal .md-grid span {
    display: block;
    font-size: 11.5px;
    color: #9aa1a8;
}

#MileageDetailModal .md-grid b {
    font-size: 15px;
    color: #22262b;
    word-break: break-all;
}

#MileageDetailModal .md-sec {
    margin: 16px 0 6px;
    font-size: 12px;
    font-weight: 800;
    color: #22262b;
}

#MileageDetailModal .md-shot img {
    width: 100%;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    cursor: zoom-in;
}

/* 說明（後端的 mileageOutlay）：markup 是後端既有的（hr + title + outlay），
   不改 markup，只把外觀拉成跟「未通過原因」那一區 md-sec 一樣。 */
#MileageDetailModal .modal-body hr {
    display: none;
}

#MileageDetailModal .modal-body .title {
    padding: 0;
    margin: 16px 0 6px;
    font-size: 12px;
    font-weight: 800;
    color: #22262b;
}

#MileageDetailModal .outlay {
    padding: 8px 12px !important;
    background: #fafbfc;
    border-left: 3px solid #d7dade;
    font-size: 14px;
    font-weight: 400 !important;
    line-height: 1.7;
    color: #4b5258;
    word-break: break-word;
}

/* ── 里程明細（待審核）樣式1　2026-09-21 ──
   截圖改成直接顯示（md-sec + md-shot，跟通過／未通過那兩種狀態一致），
   不再用「點一下放大」的內嵌容器 —— 那個展開時會撐破 modal 版面。
   欄位標籤放輸入框上方，底部兩顆按鈕等寬，整體字級往上調一級。 */
#MileageDetailModal .md-fld {
    margin-top: 14px;
}

#MileageDetailModal .md-lbl {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #626a75;
}

#MileageDetailModal .md-fld .form-control {
    height: 46px;
    border: 1px solid #d6dae0;
    border-radius: 8px;
    font-size: 16px;
    color: #22262b;
}

/* 底部兩顆按鈕等寬。只有一顆（確定）時不套，維持原本靠右。 */
#MileageDetailModal .modal-footer {
    gap: 10px;
    padding: 14px 16px 16px;
}

#MileageDetailModal .modal-footer .ReUpload_Btn,
#MileageDetailModal .modal-footer #btn-edit {
    flex: 1 1 0;
    margin: 0 !important;
    height: 46px;
    border-radius: 8px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── 字級：原本整體偏小，各往上一級 ── */
#MileageDetailModal .md-date {
    /* 2026-09-21：從 13 調到 14 還是太小，再往上到 16 並把顏色加深一階 */
    font-size: 16px;
    color: #7d848c;
    letter-spacing: .02em;
}

#MileageDetailModal .md-km b {
    font-size: 46px;
}

#MileageDetailModal .md-km i {
    font-size: 18px;
}

#MileageDetailModal .md-unit {
    font-size: 13.5px;
}

#MileageDetailModal .md-tag {
    font-size: 14px;
    padding: 4px 15px;
}

#MileageDetailModal .md-sec {
    font-size: 14px;
    margin: 18px 0 7px;
}

#MileageDetailModal .modal-title {
    font-size: 19px;
}

#MileageDetailModal .md-reason,
#MileageDetailModal .outlay {
    font-size: 15px !important;
}

#MileageDetailModal .md-grid span {
    font-size: 13px;
}

#MileageDetailModal .md-grid b {
    font-size: 16px;
}

/* ── 里程截圖卡＋燈箱　2026-09-21 ── */
#MileageDetailModal .md-shotcard {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 16px;
    padding: 11px 13px;
    border: 1px solid #e8eaee;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
}

#MileageDetailModal .md-shotcard:active {
    background: #fafbfc;
}

#MileageDetailModal .md-thumb {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 7px;
    object-fit: cover;
    background: #f1f2f4;
}

#MileageDetailModal .md-shotcard-txt {
    min-width: 0;
}

#MileageDetailModal .md-shotcard-txt b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #22262b;
}

#MileageDetailModal .md-shotcard-txt span {
    display: block;
    font-size: 13px;
    color: #9aa1a8;
    margin-top: 2px;
}

#MileageDetailModal .md-shotcard-go {
    margin-left: auto;
    flex: none;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    color: #e0333f;
}

/* 燈箱：z-index 要高過 bootstrap 的 modal(1050)／backdrop(1040) */
.md-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .82);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.md-lightbox.show {
    display: flex;
}

.md-lightbox img {
    /* ★全域有 img{width:100%;height:auto}，只寫 max-width/max-height 擋不住：
       寬度被撐成 100% 之後再被 max-height 壓扁，圖就變形了。
       這裡要把 width/height 明確寫回 auto，再用 max-* 限制大小。 */
    width: auto;
    height: auto;
    max-width: min(88vw, 620px);
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.md-lightbox-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #22262b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

/* ── 里程帳務列表的「待審中／未通過」標記　2026-09-21 ──
   原本是 52x18 的內嵌 SVG，文字用向量路徑畫、藍色還帶一條底線，
   看起來像超連結，又緊貼在里程數字後面。改成文字徽章，配色沿用里程明細那組。
   display 要加 !important：上面某個 media query 有 .mileageStatus{display:unset!important}。*/
.ml-badge {
    /* 這三個都要 !important：頁面內嵌 <style> 有 .mileageStatus{width:15px;display:inline-block}，
       它排在 custom.css 後面、權重又相同，不加就會把徽章壓成 15px 寬，只剩文字看得到。 */
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin-left: 7px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    line-height: 1.6;
    font-weight: 500;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
}

.ml-badge.ml-wait {
    background: #fff5e6;
    color: #b06f00;
}

.ml-badge.ml-fail {
    background: #fdecec;
    color: #DB242B;
}

/* 待審核里程明細的提示列（2026-09-21 改成唯讀之後加的） */
#MileageDetailModal .md-note {
    margin-top: 16px;
    padding: 10px 12px;
    background: #f7f8fa;
    border-left: 3px solid #d7dade;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #626a75;
}

/* ── 里程明細：標題對齊 ＋ 捲軸　2026-09-21 ──
   一、「說明」「申訴說明」這幾區是後端既有的 markup（col-md-12 > col-12.title），
       bootstrap 的 .col-* 自帶左右 15px padding，所以它們比「未通過原因」(.md-sec)
       往右縮了 15px，兩組標題對不齊。在這個 modal 裡把 col 的 padding 歸零。
   二、捲軸保留功能但改細、顏色調淡（Firefox 用 scrollbar-*，WebKit 用 ::-webkit-scrollbar）。*/
#MileageDetailModal .modal-body [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

#MileageDetailModal .modal-body .form-row {
    margin-left: 0;
    margin-right: 0;
}

#MileageDetailModal .modal-content {
    /* ★真正在捲的是 .modal-content（上面那條 .modal .modal-content 設了 overflow-y:auto），
       不是 .modal-body —— 所以捲軸才會整張卡從標題就開始。
       他要的是「看不到捲軸但還能捲」，所以用 scrollbar-width:none。
       ⚠只要有設標準屬性 scrollbar-width/scrollbar-color，Chrome 就會忽略
         ::-webkit-scrollbar 那組，下面那組是留給舊版 WebKit 的。 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#MileageDetailModal .modal-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* 申訴中（2026-09-21 補）。配色沿用里程明細裡的 md-appeal。 */
.ml-badge.ml-appeal {
    background: #eef2fb;
    color: #2f6fd0;
}
