/*
|--------------------------------------------------------------------------
| Xiaohuye Homepage Hero
|--------------------------------------------------------------------------
| 真實服務畫面版－服務畫面柔灰遮罩版
| Version: 2026-08-05 MOBILE V1 COMPACT ACTIVE SLIDE
|--------------------------------------------------------------------------
*/


/* =========================================================
   Hero 基礎
========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 730px;

    padding:
        108px
        24px
        48px;

    overflow: hidden;
    isolation: isolate;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 84% 12%,
            rgba(245, 154, 35, 0.18) 0,
            rgba(245, 154, 35, 0) 32%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(55, 160, 205, 0.14) 0,
            rgba(55, 160, 205, 0) 34%
        ),
        linear-gradient(
            135deg,
            #07111d 0%,
            #0b1a2b 52%,
            #102b46 100%
        );
}

.hero,
.hero * {
    box-sizing: border-box;
}

.hero a {
    text-decoration: none;
}


/* =========================================================
   背景
========================================================= */

.hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;

    opacity: 0.052;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.55) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.55) 1px,
            transparent 1px
        );

    background-size:
        48px
        48px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            #000000,
            transparent 88%
        );

    mask-image:
        linear-gradient(
            to bottom,
            #000000,
            transparent 88%
        );
}

.hero__glow {
    position: absolute;
    z-index: 0;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(74px);
}

.hero__glow--gold {
    top: -220px;
    right: -130px;

    width: 570px;
    height: 570px;

    background: rgba(245, 154, 35, 0.17);
}

.hero__glow--blue {
    bottom: -230px;
    left: -170px;

    width: 520px;
    height: 520px;

    background: rgba(48, 154, 201, 0.13);
}


/* =========================================================
   主要排列
========================================================= */

.hero__container {
    position: relative;
    z-index: 5;

    display: grid;

    width: 100%;
    max-width: 1320px;

    margin-right: auto;
    margin-left: auto;

    grid-template-columns:
        minmax(390px, 0.82fr)
        minmax(610px, 1.18fr);

    align-items: center;

    gap: 54px;
}


/* =========================================================
   左側文案
========================================================= */

.hero__content {
    min-width: 0;
}

.hero__eyebrow {
    display: inline-flex;

    min-height: 32px;

    padding:
        6px
        13px;

    align-items: center;
    gap: 8px;

    border: 1px solid rgba(255, 195, 90, 0.36);
    border-radius: 999px;

    color: #ffc35a;
    background: rgba(245, 154, 35, 0.09);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.hero__eyebrow-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #ffc35a;

    box-shadow:
        0 0 13px rgba(255, 195, 90, 0.72);
}

.hero__title {
    margin:
        23px
        0
        0;

    color: #ffffff;

    font-size: clamp(46px, 4.6vw, 66px);
    font-weight: 900;
    line-height: 1.07;
    letter-spacing: -0.045em;
}

.hero__title > span,
.hero__title > strong {
    display: block;
}

.hero__title > strong {
    margin-top: 8px;

    color: transparent;

    background:
        linear-gradient(
            100deg,
            #ffe3a5 0%,
            #ffc35a 45%,
            #f59a23 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    font-weight: 900;
}

.hero__description {
    max-width: 530px;

    margin:
        25px
        0
        0;

    color: rgba(226, 238, 248, 0.78);

    font-size: 17px;
    line-height: 1.82;
}


/* =========================================================
   按鈕
========================================================= */

.hero__actions {
    display: flex;

    margin-top: 32px;

    flex-wrap: wrap;
    gap: 12px;
}

.hero__button {
    display: inline-flex;

    min-height: 52px;

    padding:
        11px
        20px;

    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 13px;

    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

.hero__button:hover {
    transform: translateY(-2px);
}

.hero__button svg {
    display: block;

    width: 18px;
    height: 18px;

    flex: 0 0 auto;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__button--primary {
    border: 1px solid #ffc35a;

    color: #07111d;

    background:
        linear-gradient(
            135deg,
            #ffc35a,
            #f59a23
        );

    box-shadow:
        0 13px 30px rgba(245, 154, 35, 0.25);
}

.hero__button--primary:hover {
    box-shadow:
        0 17px 36px rgba(245, 154, 35, 0.34);
}

.hero__button--secondary {
    border: 1px solid rgba(162, 193, 220, 0.34);

    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
}

.hero__button--secondary:hover {
    border-color: rgba(255, 195, 90, 0.48);

    background: rgba(255, 255, 255, 0.09);
}

.hero__button-arrow {
    margin-left: 2px;

    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   重點標籤
========================================================= */

.hero__highlights {
    display: flex;

    margin-top: 28px;

    flex-wrap: wrap;
    gap: 9px;
}

.hero__highlights span {
    display: inline-flex;

    min-height: 31px;

    padding:
        6px
        11px;

    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;

    color: rgba(218, 232, 244, 0.72);
    background: rgba(255, 255, 255, 0.035);

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   真實畫面舞台
========================================================= */

.hero__visual {
    min-width: 0;
}

.hero__stage {
    position: relative;

    width: 100%;
    max-width: 760px;
    min-height: 660px;

    margin-left: auto;
}


/* =========================================================
   共用截圖卡
========================================================= */

.hero-shot {
    position: absolute;

    display: block;

    overflow: hidden;

    border: 1px solid rgba(163, 191, 217, 0.26);
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 30px 62px rgba(0, 0, 0, 0.39),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    transition:
        transform 0.20s ease,
        box-shadow 0.20s ease;
}

.hero-shot:hover {
    box-shadow:
        0 35px 72px rgba(0, 0, 0, 0.47);
}

.hero-shot__bar {
    position: relative;
    z-index: 4;

    display: flex;

    min-height: 46px;

    padding:
        10px
        14px;

    align-items: center;
    justify-content: space-between;
    gap: 14px;

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

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            #0a1828,
            #102c48
        );
}

.hero-shot__bar-title {
    min-width: 0;

    overflow: hidden;

    font-size: 12px;
    font-weight: 900;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-shot__bar-badge {
    display: inline-flex;

    min-height: 23px;

    padding:
        4px
        8px;

    flex: 0 0 auto;

    align-items: center;

    border: 1px solid rgba(255, 195, 90, 0.34);
    border-radius: 999px;

    color: #ffc35a;
    background: rgba(245, 154, 35, 0.10);

    font-size: 9px;
    font-weight: 800;
}

.hero-shot__image-wrap {
    position: relative;

    overflow: hidden;

    background: #ffffff;
}

.hero-shot__image {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;
}

/* =========================================================
   數據對決主畫面
========================================================= */

.hero-shot--compare {
    top: 4px;
    right: 90px;
    left: 15px;
    z-index: 3;

    transform:
        perspective(1200px)
        rotateY(1.4deg)
        rotateX(0.3deg);
}

.hero-shot--compare:hover {
    transform:
        perspective(1200px)
        rotateY(0deg)
        rotateX(0deg)
        translateY(-3px);
}

.hero-shot--compare .hero-shot__image-wrap {
    aspect-ratio: 742 / 560;
}

/*
 * 原始截圖左上角有 186 × 32 px 的黑色區塊。
 * 不修改原圖，只在畫面上以白色遮片覆蓋。
 */
.hero-shot--compare .hero-shot__image-wrap::after {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    width: 25.1%;
    height: 4.85%;

    pointer-events: none;

    background: #ffffff;
}


/* =========================================================
   盤口比較副畫面
========================================================= */

.hero-shot--odds {
    right: -45px;
    bottom: 0;
    z-index: 6;

    width: 88%;

    transform:
        perspective(1000px)
        rotateY(-1deg)
        translateY(0);
}

.hero-shot--odds .hero-shot__image-wrap {
    aspect-ratio: 1035 / 500;
}

.hero-shot--odds:hover {
    transform:
        perspective(1000px)
        rotateY(0deg)
        translateY(-3px);
}


/* =========================================================
   中型桌機
========================================================= */

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero__container {
        grid-template-columns:
            minmax(350px, 0.82fr)
            minmax(540px, 1.18fr);

        gap: 32px;
    }

    .hero__title {
        font-size: 51px;
    }

    .hero__description {
        font-size: 15px;
    }

    .hero__stage {
        min-height: 530px;
    }

    .hero-shot--compare {
        right: 62px;
        left: 25px;
    }

    .hero-shot--odds {
        width: 69%;
    }

}


/* =========================================================
   平板與窄桌機
========================================================= */

@media (max-width: 1023px) {

    .hero {
        min-height: 0;

        padding:
            116px
            22px
            64px;
    }

    .hero__container {
        max-width: 780px;

        grid-template-columns:
            minmax(0, 1fr);

        gap: 48px;
    }

    .hero__content {
        text-align: center;
    }

    .hero__eyebrow {
        margin-right: auto;
        margin-left: auto;
    }

    .hero__title {
        font-size: clamp(46px, 8vw, 64px);
    }

    .hero__description {
        max-width: 650px;

        margin-right: auto;
        margin-left: auto;
    }

    .hero__actions,
    .hero__highlights {
        justify-content: center;
    }

    .hero__stage {
        max-width: 720px;

        margin-right: auto;
        margin-left: auto;
    }

}


/* =========================================================
   手機
========================================================= */

@media (max-width: 639px) {

    .hero {
        padding:
            104px
            14px
            45px;
    }

    .hero__eyebrow {
        min-height: 29px;

        padding:
            5px
            10px;

        font-size: 11px;
    }

    .hero__title {
        margin-top: 18px;

        font-size: clamp(37px, 11.8vw, 50px);
        line-height: 1.08;
    }

    .hero__description {
        margin-top: 19px;

        font-size: 14px;
        line-height: 1.72;
    }

    .hero__actions {
        width: 100%;

        margin-top: 25px;

        flex-direction: column;
        gap: 10px;
    }

    .hero__button {
        width: 100%;
        min-height: 50px;
    }

    .hero__highlights {
        margin-top: 22px;
    }

    .hero__highlights span {
        min-height: 28px;

        padding:
            5px
            9px;

        font-size: 10px;
    }

    .hero__container {
        gap: 36px;
    }

    .hero__stage {
        display: flex;

        min-height: 0;

        flex-direction: column;
        gap: 14px;
    }

    .hero-shot {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;

        border-radius: 17px;

        transform: none;
    }

    .hero-shot:hover,
    .hero-shot--compare:hover,
    .hero-shot--odds:hover {
        transform: none;
    }

    .hero-shot--compare .hero-shot__image-wrap,
    .hero-shot--odds .hero-shot__image-wrap {
        aspect-ratio: auto;
    }

    .hero-shot__bar {
        min-height: 42px;

        padding:
            9px
            11px;
    }

    .hero-shot__bar-title {
        font-size: 11px;
    }

    .hero-shot__bar-badge {
        font-size: 8px;
    }

}


/* =========================================================
   小型手機
========================================================= */

@media (max-width: 374px) {

    .hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__highlights {
        gap: 6px;
    }

    .hero__highlights span {
        font-size: 9px;
    }

}


/* =========================================================
   防止全站樣式干擾
========================================================= */

.hero svg {
    display: block;

    max-width: none;
}

.hero img {
    max-width: none;
}

.hero__grid,
.hero__glow {
    pointer-events: none;
}


/* =========================================================
   減少動畫
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero__button,
    .hero-shot {
        transition: none;
    }

}


/* =========================================================
   V3：盤口比較表放大補強
========================================================= */

.hero-shot--odds .hero-shot__bar {
    min-height: 50px;

    padding:
        11px
        16px;
}

.hero-shot--odds .hero-shot__bar-title {
    font-size: 13px;
}

.hero-shot--odds .hero-shot__bar-badge {
    min-height: 24px;

    padding:
        4px
        9px;

    font-size: 9px;
}

@media (min-width: 1200px) {

    .hero-shot--odds {
        width: 88%;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__stage {
        min-height: 590px;
    }

    .hero-shot--compare {
        top: 4px;
        right: 76px;
        left: 10px;
    }

    .hero-shot--odds {
        right: -28px;
        bottom: 0;

        width: 84%;
    }


    .hero-shot--odds .hero-shot__image-wrap {
        aspect-ratio: 1035 / 470;
    }

}

@media (max-width: 639px) {

    .hero-shot--odds {
        width: 100%;
    }

    .hero-shot--odds .hero-shot__bar {
        min-height: 42px;

        padding:
            9px
            11px;
    }

    .hero-shot--odds .hero-shot__bar-title {
        font-size: 11px;
    }

}


/* =========================================================
   V3.2：縮短整體高度、增加錯位與重疊
========================================================= */

@media (min-width: 1200px) {

    .hero {
        min-height: 680px;

        padding-top: 104px;
        padding-bottom: 42px;
    }

    .hero__stage {
        min-height: 660px;
    }

    .hero-shot--compare {
        top: 4px;
        right: 90px;
        left: 15px;
    }

    .hero-shot--odds {
        right: -45px;
        bottom: 0;

        width: 88%;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero {
        min-height: 650px;

        padding-top: 102px;
        padding-bottom: 40px;
    }

    .hero__stage {
        min-height: 590px;
    }

    .hero-shot--compare {
        top: 4px;
        right: 76px;
        left: 10px;
    }

    .hero-shot--odds {
        right: -28px;
        bottom: 0;

        width: 84%;
    }

}


/* =========================================================
   V3.3：兩張核心工具再錯開
========================================================= */

/*
 * 目標：
 * 1. 數據對決往左移。
 * 2. 盤口比較表往右下移。
 * 3. 保留目前 Hero 整體高度。
 * 4. 讓球隊名稱、賽事資訊與對戰數據露出更多。
 */

@media (min-width: 1200px) {

    .hero__stage {
        min-height: 660px;
    }

    .hero-shot--compare {
        top: 0;
        right: 108px;
        left: -28px;
    }

    .hero-shot--odds {
        right: -62px;
        bottom: -18px;

        width: 84%;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__stage {
        min-height: 590px;
    }

    .hero-shot--compare {
        top: 0;
        right: 92px;
        left: -18px;
    }

    .hero-shot--odds {
        right: -42px;
        bottom: -14px;

        width: 81%;
    }

}

/*
 * 平板與手機維持上下排列，
 * 不套用桌機版錯位位置。
 */
@media (max-width: 1023px) {

    .hero-shot--compare,
    .hero-shot--odds {
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
    }

}


/* =========================================================
   V3.4：兩張核心工具同步縮小並加大錯位
========================================================= */

@media (min-width: 1200px) {

    .hero__stage {
        min-height: 650px;
    }

    /*
     * 數據對決同步縮小：
     * 左右內縮增加，並再往左上移。
     */
    .hero-shot--compare {
        top: -6px;
        right: 132px;
        left: -34px;
    }

    /*
     * 盤口比較表同步縮小：
     * 由 84% 縮至 78%，再往右下錯開。
     */
    .hero-shot--odds {
        right: -78px;
        bottom: -26px;

        width: 78%;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__stage {
        min-height: 575px;
    }

    .hero-shot--compare {
        top: -4px;
        right: 112px;
        left: -24px;
    }

    .hero-shot--odds {
        right: -54px;
        bottom: -20px;

        width: 76%;
    }

}

/*
 * 平板與手機維持上下排列與原本寬度，
 * 不套用桌機版縮小、錯位值。
 */
@media (max-width: 1023px) {

    .hero-shot--compare,
    .hero-shot--odds {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
    }

}


/* =========================================================
   V3.5：兩張服務畫面統一縮放至 87%
========================================================= */

@media (min-width: 1200px) {

    .hero-shot--compare {
        transform-origin: top left;

        transform:
            perspective(1200px)
            rotateY(1.4deg)
            rotateX(0.3deg)
            scale(0.87);
    }

    .hero-shot--compare:hover {
        transform:
            perspective(1200px)
            rotateY(0deg)
            rotateX(0deg)
            scale(0.87)
            translateY(-3px);
    }

    .hero-shot--odds {
        /*
         * 原本 bottom 為 -26px，
         * 改為 0，讓盤口比較表往上移 26px。
         */
        bottom: 0;

        transform-origin: bottom right;

        transform:
            perspective(1000px)
            rotateY(-1deg)
            scale(0.87);
    }

    .hero-shot--odds:hover {
        transform:
            perspective(1000px)
            rotateY(0deg)
            scale(0.87)
            translateY(-3px);
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-shot--compare {
        transform-origin: top left;

        transform:
            perspective(1200px)
            rotateY(1.4deg)
            rotateX(0.3deg)
            scale(0.87);
    }

    .hero-shot--compare:hover {
        transform:
            perspective(1200px)
            rotateY(0deg)
            rotateX(0deg)
            scale(0.87)
            translateY(-3px);
    }

    .hero-shot--odds {
        bottom: 0;

        transform-origin: bottom right;

        transform:
            perspective(1000px)
            rotateY(-1deg)
            scale(0.87);
    }

    .hero-shot--odds:hover {
        transform:
            perspective(1000px)
            rotateY(0deg)
            scale(0.87)
            translateY(-3px);
    }

}

/* 平板與手機維持原本上下排列，不縮放。 */
@media (max-width: 1023px) {

    .hero-shot--compare,
    .hero-shot--odds,
    .hero-shot--compare:hover,
    .hero-shot--odds:hover {
        transform: none;
    }

}


/* =========================================================
   V3.6：盤口比較表再往上移 26px
========================================================= */

@media (min-width: 1024px) {

    .hero-shot--odds {
        bottom: 26px;
    }

}

/* 平板與手機維持上下排列。 */
@media (max-width: 1023px) {

    .hero-shot--odds {
        bottom: auto;
    }

}


/* =========================================================
   V3.7：右側改為統一堆疊展示
========================================================= */

/*
 * 原圖本身已有標題，因此移除額外深藍標題列。
 * 兩張卡改用實際 width 定位，不再使用 scale，
 * 避免視覺大小、陰影與空間計算不一致。
 */

.hero-shot__bar {
    display: none;
}

@media (min-width: 1200px) {

    .hero {
        min-height: 680px;

        padding-top: 104px;
        padding-bottom: 42px;
    }

    .hero__stage {
        max-width: 760px;
        min-height: 625px;
    }

    /*
     * 主圖：左上。
     * 維持足夠大小，讓雙隊、VS 與對戰區清楚。
     */
    .hero-shot--compare {
        top: 0;
        right: auto;
        bottom: auto;
        left: 0;

        width: 78%;

        transform: none;
        transform-origin: center;
    }

    .hero-shot--compare:hover {
        transform: translateY(-3px);
    }

    /*
     * 副圖：右下。
     * 與主圖使用接近的視覺比例，
     * 重疊集中在主圖中下方，避免畫面四散。
     */
    .hero-shot--odds {
        top: 318px;
        right: 0;
        bottom: auto;
        left: auto;

        width: 72%;

        transform: none;
        transform-origin: center;
    }

    .hero-shot--odds:hover {
        transform: translateY(-3px);
    }

    .hero-shot--compare .hero-shot__image-wrap {
        aspect-ratio: 742 / 560;
    }

    .hero-shot--odds .hero-shot__image-wrap {
        aspect-ratio: 1035 / 500;
    }

    .hero-shot {
        border-radius: 20px;

        box-shadow:
            0 26px 56px rgba(0, 0, 0, 0.36),
            inset 0 1px 0 rgba(255, 255, 255, 0.10);
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero {
        min-height: 650px;

        padding-top: 102px;
        padding-bottom: 40px;
    }

    .hero__stage {
        max-width: 690px;
        min-height: 570px;
    }

    .hero-shot--compare {
        top: 0;
        right: auto;
        bottom: auto;
        left: 0;

        width: 77%;

        transform: none;
    }

    .hero-shot--compare:hover {
        transform: translateY(-3px);
    }

    .hero-shot--odds {
        top: 286px;
        right: 0;
        bottom: auto;
        left: auto;

        width: 71%;

        transform: none;
    }

    .hero-shot--odds:hover {
        transform: translateY(-3px);
    }

    .hero-shot--odds .hero-shot__image-wrap {
        aspect-ratio: 1035 / 485;
    }

}

/*
 * 平板與手機仍採上下排列，
 * 原圖完整顯示。
 */
@media (max-width: 1023px) {

    .hero-shot--compare,
    .hero-shot--odds,
    .hero-shot--compare:hover,
    .hero-shot--odds:hover {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;

        transform: none;
    }

    .hero-shot--compare .hero-shot__image-wrap,
    .hero-shot--odds .hero-shot__image-wrap {
        aspect-ratio: auto;
    }

}


/* =========================================================
   V3.8：補回精簡標籤＋縮減過多留白
========================================================= */

.hero-shot__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 8;

    display: inline-flex;
    max-width: calc(100% - 32px);
    min-height: 32px;

    padding:
        8px
        12px;

    align-items: center;
    gap: 10px;

    border: 1px solid rgba(255, 195, 90, 0.28);
    border-radius: 999px;

    color: #ffffff;
    background: rgba(7, 17, 29, 0.82);

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

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    pointer-events: none;
}

.hero-shot__tag::before {
    content: "";

    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #ffc35a;

    box-shadow:
        0 0 10px rgba(255, 195, 90, 0.60);
}

.hero-shot__tag-kicker {
    display: inline-block;

    margin-right: 1px;

    color: #ffc35a;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.hero-shot__tag-title {
    display: inline-block;

    min-width: 0;

    overflow: hidden;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero {
    padding-top: 92px;
    padding-bottom: 36px;
}

.hero__content {
    align-self: start;
    padding-top: 8px;
}

.hero__description {
    max-width: 540px;
}

.hero__visual {
    margin-left: -10px;
}

@media (min-width: 1200px) {

    .hero {
        min-height: 650px;

        padding-top: 74px;
        padding-bottom: 34px;
    }

    .hero__container {
        gap: 42px;
    }

    .hero__stage {
        max-width: 745px;
        min-height: 615px;
    }

    .hero-shot--compare {
        width: 77%;
    }

    .hero-shot--odds {
        top: 330px;
        width: 70%;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero {
        min-height: 620px;

        padding-top: 80px;
        padding-bottom: 34px;
    }

    .hero__container {
        gap: 28px;
    }

    .hero__stage {
        max-width: 680px;
        min-height: 560px;
    }

    .hero-shot--compare {
        width: 76%;
    }

    .hero-shot--odds {
        top: 300px;
        width: 69%;
    }

}

@media (max-width: 1023px) {

    .hero-shot__tag {
        top: 12px;
        left: 12px;

        min-height: 30px;

        padding:
            7px
            10px;

        gap: 8px;
    }

    .hero-shot__tag-kicker {
        font-size: 9px;
    }

    .hero-shot__tag-title {
        font-size: 11px;
    }

    .hero__content {
        align-self: auto;
        padding-top: 0;
    }

    .hero__visual {
        margin-left: 0;
    }

}

@media (max-width: 639px) {

    .hero {
        padding-top: 88px;
        padding-bottom: 38px;
    }

    .hero-shot__tag {
        max-width: calc(100% - 24px);
    }

}


/* =========================================================
   V3.9：移除膠囊，改用卡片角標
========================================================= */

/* 舊版膠囊標籤停用 */
.hero-shot__tag {
    display: none !important;
}

/*
 * 角標只標示「主打工具／核心工具」，
 * 不再重複截圖內已有的服務名稱。
 */
.hero-shot__corner-tag {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;

    display: inline-flex;
    min-width: 78px;
    min-height: 28px;

    padding:
        6px
        12px;

    align-items: center;
    justify-content: center;

    border-left: 1px solid rgba(255, 195, 90, 0.34);
    border-bottom: 1px solid rgba(255, 195, 90, 0.34);
    border-radius:
        0
        0
        0
        10px;

    color: #ffc35a;
    background:
        linear-gradient(
            135deg,
            rgba(7, 17, 29, 0.96),
            rgba(16, 44, 72, 0.94)
        );

    box-shadow:
        -8px
        8px
        18px
        rgba(0, 0, 0, 0.18);

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;

    pointer-events: none;
}

.hero-shot__corner-tag::before {
    content: "";

    width: 5px;
    height: 5px;

    margin-right: 7px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #ffc35a;

    box-shadow:
        0
        0
        8px
        rgba(255, 195, 90, 0.52);
}

@media (max-width: 1023px) {

    .hero-shot__corner-tag {
        min-width: 70px;
        min-height: 26px;

        padding:
            5px
            10px;

        font-size: 9px;
    }

}


/* =========================================================
   V4.0：項目名稱與服務擴充版
========================================================= */

/* 舊角標停用 */
.hero-shot__corner-tag {
    display: none !important;
}

/*
 * 改成顯示實際項目名稱。
 * 樣式低調、扁平，不再像貼片角標。
 */
.hero-shot__name {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 8;

    display: inline-flex;
    min-height: 34px;

    padding:
        8px
        14px;

    align-items: center;

    border: 1px solid rgba(255, 195, 90, 0.26);
    border-radius: 12px;

    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(7, 17, 29, 0.90),
            rgba(16, 32, 51, 0.86)
        );

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

    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;

    pointer-events: none;
}

/*
 * Hero 下方服務項目改大，並擴充為六個服務。
 */
.hero__highlights {
    display: flex;

    margin-top: 28px;

    flex-wrap: wrap;
    gap: 11px;
}

.hero__highlights span {
    display: inline-flex;

    min-height: 38px;

    padding:
        9px
        14px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    color: rgba(238, 245, 252, 0.88);
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

@media (min-width: 1200px) {

    .hero__highlights {
        max-width: 560px;
    }

}

@media (max-width: 1023px) {

    .hero__highlights {
        justify-content: center;
    }

    .hero__highlights span {
        min-height: 36px;

        padding:
            8px
            12px;

        font-size: 12px;
    }

    .hero-shot__name {
        top: 12px;
        left: 12px;

        min-height: 32px;

        padding:
            7px
            12px;

        font-size: 12px;
    }

}

@media (max-width: 639px) {

    .hero__highlights {
        gap: 8px;
    }

    .hero__highlights span {
        min-height: 34px;

        padding:
            7px
            10px;

        font-size: 11px;
    }

    .hero-shot__name {
        min-height: 30px;

        padding:
            6px
            10px;

        font-size: 11px;
    }

}


/* =========================================================
   V4.1：項目名稱移至右上角＋整體服務說明
========================================================= */

.hero-shot__name {
    top: 14px;
    right: 14px;
    left: auto;

    border-color: rgba(255, 195, 90, 0.30);
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(7, 17, 29, 0.92),
            rgba(16, 32, 51, 0.88)
        );

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

    text-align: center;
}

.hero__highlights {
    display: flex;

    margin-top: 28px;

    flex-wrap: wrap;
    gap: 12px;
}

.hero__highlights span {
    min-height: 40px;

    padding:
        10px
        16px;

    border-radius: 14px;

    color: rgba(244, 248, 252, 0.92);

    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

@media (min-width: 1200px) {

    .hero__highlights {
        max-width: 580px;
    }

}

@media (max-width: 1023px) {

    .hero-shot__name {
        top: 12px;
        right: 12px;
        left: auto;

        min-height: 32px;

        padding:
            7px
            12px;

        font-size: 12px;
    }

    .hero__highlights {
        justify-content: flex-start;
    }

}

@media (max-width: 639px) {

    .hero__highlights {
        gap: 9px;
    }

    .hero__highlights span {
        min-height: 36px;

        padding:
            8px
            12px;

        font-size: 11px;
    }

    .hero-shot__name {
        min-height: 30px;

        padding:
            6px
            10px;

        font-size: 11px;
    }

}


/* =========================================================
   V4.2：移除浮標與方塊，改成極簡主打說明
========================================================= */

/* 舊版浮標與方塊全部停用 */
.hero-shot__name,
.hero__highlights {
    display: none !important;
}

/* 右側主打項目名稱，放在圖片組外，不遮畫面 */
.hero__visual-heading {
    display: flex;

    margin:
        0
        4px
        12px
        0;

    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;

    color: rgba(229, 239, 248, 0.72);

    font-size: 12px;
    line-height: 1.2;
}

.hero__visual-heading > span {
    color: #ffc35a;

    font-weight: 800;
}

.hero__visual-heading > strong {
    color: rgba(255, 255, 255, 0.92);

    font-weight: 800;
}

.hero__visual-heading > i {
    display: block;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: rgba(255, 195, 90, 0.72);
}

/* 左側改成單一平台說明，不再做三個按鈕式方塊 */
.hero__service-overview {
    display: flex;

    max-width: 590px;

    margin-top: 28px;

    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;

    color: rgba(215, 230, 243, 0.72);

    font-size: 13px;
    line-height: 1.55;
}

.hero__service-overview strong {
    position: relative;

    padding-left: 15px;

    color: #ffffff;

    font-weight: 800;
}

.hero__service-overview strong::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 0;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ffc35a;

    box-shadow:
        0
        0
        10px
        rgba(255, 195, 90, 0.52);

    transform: translateY(-50%);
}

.hero__service-overview span {
    color: rgba(205, 222, 237, 0.70);
}

@media (min-width: 1200px) {

    .hero__visual-heading {
        margin-right: 12px;
    }

}

@media (max-width: 1023px) {

    .hero__visual-heading {
        margin:
            0
            0
            12px;

        justify-content: center;

        text-align: center;
    }

    .hero__service-overview {
        justify-content: center;

        margin-right: auto;
        margin-left: auto;

        text-align: center;
    }

}

@media (max-width: 639px) {

    .hero__visual-heading {
        gap: 7px;

        font-size: 11px;
    }

    .hero__service-overview {
        margin-top: 22px;

        font-size: 12px;
    }

}


/* =========================================================
   V4.3：反轉前後層級，數據對決在前
========================================================= */

@media (min-width: 1024px) {

    .hero-shot--compare {
        z-index: 7;
    }

    .hero-shot--odds {
        z-index: 3;
    }

}

/* 平板與手機維持上下排列，不套用堆疊層級。 */
@media (max-width: 1023px) {

    .hero-shot--compare,
    .hero-shot--odds {
        z-index: auto;
    }

}


/* =========================================================
   V4.4：兩張工具畫面實際位置互換
========================================================= */

/*
 * 不是只改前後層級：
 * - 盤口比較表改到原本數據對決的左上位置。
 * - 數據對決改到原本盤口比較表的右下位置。
 * - 兩張圖同步套用該位置原本的寬度。
 */

@media (min-width: 1200px) {

    /* 原本數據對決的位置，改放盤口比較表 */
    .hero-shot--odds {
        top: 0;
        right: auto;
        bottom: auto;
        left: 0;

        width: 77%;
        z-index: 3;
    }

    /* 原本盤口比較表的位置，改放數據對決 */
    .hero-shot--compare {
        top: 330px;
        right: 0;
        bottom: auto;
        left: auto;

        width: 70%;
        z-index: 7;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-shot--odds {
        top: 0;
        right: auto;
        bottom: auto;
        left: 0;

        width: 76%;
        z-index: 3;
    }

    .hero-shot--compare {
        top: 300px;
        right: 0;
        bottom: auto;
        left: auto;

        width: 69%;
        z-index: 7;
    }

}

/* 平板與手機維持原本上下排列。 */
@media (max-width: 1023px) {

    .hero-shot--compare,
    .hero-shot--odds {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        z-index: auto;
    }

}


/* =========================================================
   V4.5：保留位置互換，但補回重疊
========================================================= */

/*
 * 需求：
 * - 盤口比較表維持在左上
 * - 數據對決維持在右下
 * - 兩張卡要重新產生明顯重疊
 * - 數據對決在前層
 */

@media (min-width: 1200px) {

    .hero__stage {
        max-width: 760px;
        min-height: 610px;
    }

    .hero-shot--odds {
        top: 0;
        right: auto;
        bottom: auto;
        left: 0;

        width: 76%;
        z-index: 3;
    }

    .hero-shot--compare {
        top: 245px;
        right: -6px;
        bottom: auto;
        left: auto;

        width: 74%;
        z-index: 7;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__stage {
        max-width: 690px;
        min-height: 565px;
    }

    .hero-shot--odds {
        top: 0;
        right: auto;
        bottom: auto;
        left: 0;

        width: 75%;
        z-index: 3;
    }

    .hero-shot--compare {
        top: 225px;
        right: -4px;
        bottom: auto;
        left: auto;

        width: 73%;
        z-index: 7;
    }

}

/* 平板與手機維持上下排列。 */
@media (max-width: 1023px) {

    .hero-shot--compare,
    .hero-shot--odds {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        z-index: auto;
    }

}


/* =========================================================
   V4.6：數據對決往上移，增加重疊
========================================================= */

@media (min-width: 1200px) {

    .hero-shot--compare {
        top: 175px;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-shot--compare {
        top: 165px;
    }

}


/* =========================================================
   V4.7：上邊界加大一點，重疊再多一點
========================================================= */

@media (min-width: 1200px) {

    /*
     * 上方盤口比較表：
     * top: 0 -> 18px
     * 增加與 Header / Hero 頂部的留白。
     */
    .hero-shot--odds {
        top: 18px;
    }

    /*
     * 下方數據對決：
     * top: 175px -> 150px
     * 往上移，與盤口比較表產生更多重疊。
     */
    .hero-shot--compare {
        top: 150px;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-shot--odds {
        top: 16px;
    }

    .hero-shot--compare {
        top: 142px;
    }

}


/* =========================================================
   V4.8：數據對決縮小並往左移
========================================================= */

@media (min-width: 1200px) {

    .hero-shot--compare {
        right: 28px;

        width: 68%;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-shot--compare {
        right: 20px;

        width: 67%;
    }

}


/* =========================================================
   V4.9：依示意圖改為階梯式重疊＋小虎爺點綴
========================================================= */

@media (min-width: 1200px) {

    .hero__stage {
        max-width: 760px;
        min-height: 610px;
    }

    /*
     * 上方卡：盤口比較表
     * 往右錯開，放在後層。
     */
    .hero-shot--odds {
        top: 18px;
        right: 0;
        bottom: auto;
        left: auto;

        width: 76%;
        z-index: 3;
    }

    /*
     * 下方卡：數據對決
     * 往左錯開，放在前層。
     */
    .hero-shot--compare {
        top: 170px;
        right: auto;
        bottom: auto;
        left: 0;

        width: 68%;
        z-index: 7;
    }

    /*
     * 小虎爺放在下方數據對決卡右側外緣，
     * 對應使用者藍色圈選位置。
     */
    .hero__mascot {
        position: absolute;
        top: 375px;
        left: 61%;
        z-index: 10;

        height: 215px;
        width: auto;

        pointer-events: none;
    }

    .hero__mascot-glow {
        position: absolute;
        right: 4px;
        bottom: 4px;
        left: 4px;
        z-index: 0;

        height: 62px;

        border-radius: 50%;

        background:
            radial-gradient(
                circle,
                rgba(245, 154, 35, 0.42) 0%,
                rgba(245, 154, 35, 0.12) 48%,
                rgba(245, 154, 35, 0) 76%
            );

        filter: blur(15px);
    }

    .hero__mascot img {
        position: relative;
        z-index: 2;

        display: block;

        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: contain;
        object-position: center bottom;

        filter:
            drop-shadow(
                0 13px 18px rgba(0, 0, 0, 0.40)
            );
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__stage {
        max-width: 690px;
        min-height: 560px;
    }

    .hero-shot--odds {
        top: 16px;
        right: 0;
        bottom: auto;
        left: auto;

        width: 75%;
        z-index: 3;
    }

    .hero-shot--compare {
        top: 158px;
        right: auto;
        bottom: auto;
        left: 0;

        width: 67%;
        z-index: 7;
    }

    .hero__mascot {
        position: absolute;
        top: 345px;
        left: 60%;
        z-index: 10;

        width: 112px;
        height: 122px;

        pointer-events: none;
    }

    .hero__mascot-glow {
        position: absolute;
        right: 4px;
        bottom: 3px;
        left: 4px;
        z-index: 0;

        height: 54px;

        border-radius: 50%;

        background:
            radial-gradient(
                circle,
                rgba(245, 154, 35, 0.38) 0%,
                rgba(245, 154, 35, 0.10) 48%,
                rgba(245, 154, 35, 0) 76%
            );

        filter: blur(13px);
    }

    .hero__mascot img {
        position: relative;
        z-index: 2;

        display: block;

        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: contain;
        object-position: center bottom;

        filter:
            drop-shadow(
                0 11px 16px rgba(0, 0, 0, 0.38)
            );
    }

}

/*
 * 平板與手機維持上下排列，
 * 先隱藏小虎爺，避免遮住真實頁面內容。
 */
@media (max-width: 1023px) {

    .hero-shot--compare,
    .hero-shot--odds {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        z-index: auto;
    }

    .hero__mascot {
        display: none;
    }

}


/* =========================================================
   V4.9.1：小虎爺位置／響應式大小／盤口左移
========================================================= */

/*
 * PC：
 * 1. 小虎爺往上 10px（375px → 365px）
 * 2. 維持目前 PC 高度 215px，寬度依原圖比例同步
 * 3. 盤口比較表往左 20px
 */
@media (min-width: 1200px) {

    .hero__mascot {
        top: 365px;

        height: 215px;
        width: auto;
        aspect-ratio: 1003 / 896;
    }

    .hero-shot--odds {
        right: 50px;
    }

}


/*
 * 中型桌機：
 * 依舞台寬度 690 / 760 的比例，
 * 將 PC 215px 等比例縮為約 195px。
 */
@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__mascot {
        height: 195px;
        width: auto;
        aspect-ratio: 1003 / 896;
    }

    .hero-shot--odds {
        right: 20px;
    }

}


/*
 * 1023px 以下沿用目前設計：
 * 小虎爺維持隱藏，避免遮住上下排列的服務畫面。
 */
@media (max-width: 1023px) {

    .hero__mascot {
        display: none;
    }

}


/* =========================================================
   FINAL V3：盤口左移＋全圖預覽 Modal
========================================================= */

/*
 * 右側「本頁主打」已從 HTML 移除。
 */
.hero__visual-heading {
    display: none !important;
}

/*
 * 截圖卡現在是 button。
 * 清除瀏覽器預設按鈕樣式，維持原本卡片外觀。
 */
.hero-shot--preview {
    padding: 0;

    border-width: 1px;

    font: inherit;
    text-align: left;

    cursor: zoom-in;

    -webkit-appearance: none;
    appearance: none;
}

.hero-shot--preview:focus-visible {
    outline: 3px solid rgba(255, 195, 90, 0.90);
    outline-offset: 4px;
}

/*
 * 盤口比較表再往左 20px：
 * PC：right 50px → 70px
 * 中型桌機：right 20px → 40px
 */
@media (min-width: 1200px) {

    .hero-shot--odds {
        right: 70px;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-shot--odds {
        right: 40px;
    }

}


/* =========================================================
   全圖預覽 Modal
========================================================= */

.hero-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;

    display: none;

    padding:
        28px
        24px;

    align-items: center;
    justify-content: center;
}

.hero-preview-modal.is-open {
    display: flex;
}

.hero-preview-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(2, 9, 17, 0.86);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-preview-modal__dialog {
    position: relative;
    z-index: 2;

    display: flex;

    width: min(1280px, 94vw);
    max-height: 92vh;

    overflow: hidden;

    flex-direction: column;

    border: 1px solid rgba(163, 191, 217, 0.30);
    border-radius: 20px;

    background: #07111d;

    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.62);
}

.hero-preview-modal__header {
    display: flex;

    min-height: 58px;

    padding:
        12px
        14px
        12px
        20px;

    align-items: center;
    justify-content: space-between;
    gap: 16px;

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

    background:
        linear-gradient(
            90deg,
            #07111d,
            #102b46
        );
}

.hero-preview-modal__title {
    min-width: 0;

    overflow: hidden;

    color: #ffffff;

    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-preview-modal__close {
    display: inline-flex;

    width: 36px;
    height: 36px;

    padding: 0;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
}

.hero-preview-modal__close:hover {
    border-color: rgba(255, 195, 90, 0.48);

    color: #ffc35a;
    background: rgba(255, 195, 90, 0.08);
}

.hero-preview-modal__body {
    display: flex;

    min-height: 0;

    padding: 18px;

    overflow: auto;

    align-items: flex-start;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #08131f,
            #0d2135
        );
}

.hero-preview-modal__image {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: calc(92vh - 94px);

    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.38);

    object-fit: contain;
}

body.hero-preview-open {
    overflow: hidden;
}

@media (max-width: 639px) {

    .hero-preview-modal {
        padding:
            12px
            10px;
    }

    .hero-preview-modal__dialog {
        width: 100%;
        max-height: 94vh;

        border-radius: 15px;
    }

    .hero-preview-modal__header {
        min-height: 52px;

        padding:
            9px
            10px
            9px
            14px;
    }

    .hero-preview-modal__title {
        font-size: 14px;
    }

    .hero-preview-modal__close {
        width: 34px;
        height: 34px;

        font-size: 23px;
    }

    .hero-preview-modal__body {
        padding: 10px;
    }

    .hero-preview-modal__image {
        max-height: calc(94vh - 82px);

        border-radius: 9px;
    }

}


/* =========================================================
   FINAL V3.1：全圖預覽填滿內容區
========================================================= */

/*
 * 預覽圖片直接填滿 Modal 內容寬度：
 * - 移除內容區四周留白
 * - 移除深色背景
 * - 圖片寬度固定 100%
 * - 長圖可在 Modal 內上下捲動
 */

.hero-preview-modal__header {
    flex: 0 0 auto;
}

.hero-preview-modal__body {
    display: block;

    min-height: 0;

    padding: 0;

    flex: 1 1 auto;

    overflow-x: hidden;
    overflow-y: auto;

    background: #ffffff;
}

.hero-preview-modal__image {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;
    max-height: none;

    margin: 0;

    border-radius: 0;

    background: #ffffff;

    box-shadow: none;

    object-fit: initial;
}

@media (max-width: 639px) {

    .hero-preview-modal__body {
        padding: 0;
    }

    .hero-preview-modal__image {
        width: 100%;
        max-height: none;

        border-radius: 0;
    }

}


/* =========================================================
   FINAL V3.2：全圖預覽不捲動、完整縮放
========================================================= */

/*
 * Modal 固定使用視窗可用高度。
 * 圖片會完整縮放進內容區，不再產生垂直或橫向捲軸。
 */
.hero-preview-modal__dialog {
    height: 92vh;
    max-height: 92vh;
}

.hero-preview-modal__body {
    display: flex;

    min-width: 0;
    min-height: 0;

    padding: 0;

    flex: 1 1 auto;

    overflow: hidden;

    align-items: center;
    justify-content: center;

    background: #ffffff;
}

.hero-preview-modal__image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    margin: 0;

    border-radius: 0;

    background: #ffffff;

    box-shadow: none;

    object-fit: contain;
    object-position: center center;
}

@media (max-width: 639px) {

    .hero-preview-modal__dialog {
        height: 94vh;
        max-height: 94vh;
    }

    .hero-preview-modal__body {
        overflow: hidden;
    }

    .hero-preview-modal__image {
        width: 100%;
        height: 100%;

        max-width: 100%;
        max-height: 100%;

        object-fit: contain;
    }

}


/* =========================================================
   FINAL V3.3：右側兩個服務畫面加入極淡灰色遮罩
========================================================= */

/*
 * 只作用於 Hero 右側兩張服務截圖。
 * 遮罩非常淡，降低純白刺眼感，
 * 不影響 Modal 全圖預覽。
 */
.hero-shot--compare .hero-shot__image-wrap::before,
.hero-shot--odds .hero-shot__image-wrap::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background: rgba(28, 40, 52, 0.055);
}

/*
 * 數據對決左上角原本的白色遮片，
 * 同步改成接近遮罩後的淡灰色，
 * 避免出現一塊特別白的區域。
 */
.hero-shot--compare .hero-shot__image-wrap::after {
    background: #f3f4f5;
}


/* =========================================================
   FINAL V3.4：遮罩加深至 8%＋Hero 上邊界增加 15px
========================================================= */

/*
 * 右側兩張服務截圖：
 * 極淡冷灰遮罩由 5.5% 調整為 8%。
 */
.hero-shot--compare .hero-shot__image-wrap::before,
.hero-shot--odds .hero-shot__image-wrap::before {
    background: rgba(28, 40, 52, 0.08);
}

/*
 * Hero 上方留白整體增加 15px。
 * 各裝置依目前實際值同步增加。
 */
.hero {
    padding-top: 107px;
}

@media (min-width: 1200px) {

    .hero {
        min-height: 665px;
        padding-top: 89px;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero {
        min-height: 635px;
        padding-top: 95px;
    }

}

@media (max-width: 639px) {

    .hero {
        padding-top: 103px;
    }

}


/* =========================================================
   FINAL V3.5：左側文字換行＋保留中間空白＋移除底部空帶
========================================================= */

/*
 * 左側說明固定分成兩行，
 * 不讓文字向右延伸進入中間保留的空白區。
 */
.hero__description-break {
    display: block;
}

/*
 * 服務總覽改成上下兩行，
 * 讓左側資訊層級更清楚，也縮短橫向延伸。
 */
.hero__service-overview {
    display: block;

    max-width: 510px;
}

.hero__service-overview strong,
.hero__service-overview span {
    display: block;
}

.hero__service-overview span {
    margin-top: 5px;
    padding-left: 15px;
}

/*
 * 桌機左側文字寬度收斂，
 * 右側服務畫面位置不動，因此紅框中間空白完整保留。
 */
@media (min-width: 1200px) {

    .hero__content {
        max-width: 545px;
    }

    .hero__description {
        max-width: 520px;
    }

    /*
     * 移除 Hero 下方過多的深藍空帶。
     * 舞台仍保留足夠高度容納小虎爺與陰影。
     */
    .hero {
        min-height: 0;
        padding-bottom: 6px;
    }

    .hero__stage {
        min-height: 590px;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__content {
        max-width: 500px;
    }

    .hero__description {
        max-width: 485px;
    }

    .hero {
        min-height: 0;
        padding-bottom: 6px;
    }

    .hero__stage {
        min-height: 548px;
    }

}

/*
 * 平板與手機不強制斷行，
 * 由裝置寬度自行換行。
 */
@media (max-width: 1023px) {

    .hero__description-break {
        display: none;
    }

    .hero__service-overview span {
        padding-left: 0;
    }

}


/* =========================================================
   FINAL V3.6：回補底部空間＋放大中間留白
========================================================= */

/*
 * 上一版底部收得過多，這版只回補適量空間，
 * 不恢復成原本大片深藍空帶。
 */
@media (min-width: 1200px) {

    .hero {
        min-height: 675px;
        padding-bottom: 22px;
    }

    .hero__stage {
        min-height: 610px;
    }

    /*
     * 中間留白加回一些。
     * 右側服務畫面定位不動，只調整左右欄間距。
     */
    .hero__container {
        gap: 56px;
    }

    .hero__content {
        max-width: 530px;
    }

    .hero__description {
        max-width: 510px;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero {
        min-height: 645px;
        padding-bottom: 20px;
    }

    .hero__stage {
        min-height: 565px;
    }

    .hero__container {
        gap: 42px;
    }

    .hero__content {
        max-width: 490px;
    }

    .hero__description {
        max-width: 475px;
    }

}

/*
 * 新主標三行字數較平均，不需要額外縮小字級。
 */
.hero__title > span,
.hero__title > strong {
    white-space: nowrap;
}

@media (max-width: 639px) {

    .hero__title > span,
    .hero__title > strong {
        white-space: normal;
    }

}


/* =========================================================
   FINAL V3.9：右側兩個服務畫面縮放至原版 93%
========================================================= */

/*
 * 以 FINAL V3.6 原始尺寸為基準，
 * 直接縮放至 93%。
 *
 * 不是把上一版 85% 再放大到 93%，
 * 因此實際尺寸就是原版的 93%。
 */
@media (min-width: 1200px) {

    .hero-shot--compare {
        transform: scale(0.93);
        transform-origin: left top;
    }

    .hero-shot--odds {
        transform: scale(0.93);
        transform-origin: right top;
    }

    .hero-shot--compare:hover,
    .hero-shot--odds:hover {
        transform: scale(0.93) translateY(-3px);
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-shot--compare {
        transform: scale(0.93);
        transform-origin: left top;
    }

    .hero-shot--odds {
        transform: scale(0.93);
        transform-origin: right top;
    }

    .hero-shot--compare:hover,
    .hero-shot--odds:hover {
        transform: scale(0.93) translateY(-3px);
    }

}

/*
 * 平板與手機維持原本完整寬度，不縮放。
 */
@media (max-width: 1023px) {

    .hero-shot--compare,
    .hero-shot--odds,
    .hero-shot--compare:hover,
    .hero-shot--odds:hover {
        transform: none;
    }

}


/* =========================================================
   FINAL V3.10：兩個服務畫面特效外框
========================================================= */

/*
 * 兩張服務畫面加入低調的金藍漸層外框。
 * 不改目前 93% 尺寸、位置與重疊關係。
 */
.hero-shot--compare,
.hero-shot--odds {
    isolation: isolate;

    border-color: transparent;
}

/*
 * 漸層光框：
 * 只顯示外框區域，不覆蓋截圖內容。
 */
.hero-shot--compare::before,
.hero-shot--odds::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 12;

    padding: 2px;

    border-radius: inherit;

    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            rgba(255, 195, 90, 0.92) 0%,
            rgba(245, 154, 35, 0.50) 26%,
            rgba(87, 181, 225, 0.58) 56%,
            rgba(255, 255, 255, 0.30) 74%,
            rgba(255, 195, 90, 0.82) 100%
        );

    background-size: 220% 220%;

    -webkit-mask:
        linear-gradient(#ffffff 0 0) content-box,
        linear-gradient(#ffffff 0 0);

    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#ffffff 0 0) content-box,
        linear-gradient(#ffffff 0 0);

    mask-composite: exclude;

    animation:
        heroShotBorderFlow
        6s
        ease-in-out
        infinite;
}

/*
 * 外側柔光。
 * 數據對決稍強，盤口比較表稍弱，
 * 保留主次層級。
 */
.hero-shot--compare {
    box-shadow:
        0 0 0 1px rgba(255, 195, 90, 0.16),
        0 0 24px rgba(245, 154, 35, 0.18),
        0 26px 56px rgba(0, 0, 0, 0.36);
}

.hero-shot--odds {
    box-shadow:
        0 0 0 1px rgba(104, 188, 226, 0.14),
        0 0 20px rgba(69, 160, 205, 0.14),
        0 24px 52px rgba(0, 0, 0, 0.32);
}

.hero-shot--compare:hover {
    box-shadow:
        0 0 0 1px rgba(255, 195, 90, 0.30),
        0 0 30px rgba(245, 154, 35, 0.28),
        0 32px 68px rgba(0, 0, 0, 0.44);
}

.hero-shot--odds:hover {
    box-shadow:
        0 0 0 1px rgba(104, 188, 226, 0.26),
        0 0 26px rgba(69, 160, 205, 0.22),
        0 30px 64px rgba(0, 0, 0, 0.40);
}

@keyframes heroShotBorderFlow {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}

/*
 * 手機版外框稍微收斂，避免過度發光。
 */
@media (max-width: 1023px) {

    .hero-shot--compare::before,
    .hero-shot--odds::before {
        padding: 1px;

        animation-duration: 8s;
    }

    .hero-shot--compare,
    .hero-shot--odds {
        box-shadow:
            0 0 0 1px rgba(255, 195, 90, 0.12),
            0 14px 34px rgba(0, 0, 0, 0.28);
    }

}

/*
 * 使用者偏好減少動畫時停用流動效果。
 */
@media (prefers-reduced-motion: reduce) {

    .hero-shot--compare::before,
    .hero-shot--odds::before {
        animation: none;
    }

}


/* =========================================================
   FINAL V3.11：主標水平字距再加大＋服務外框再強調
========================================================= */

/*
 * 主標題只增加「水平字距」。
 * 不調整三行之間的垂直距離。
 */
.hero__title {
    letter-spacing: 0.018em;
}

/*
 * 外框由 2px 加強為 3px，
 * 並提高金藍漸層的亮度與對比。
 */
.hero-shot--compare::before,
.hero-shot--odds::before {
    padding: 3px;

    background:
        linear-gradient(
            115deg,
            rgba(255, 211, 124, 1) 0%,
            rgba(245, 154, 35, 0.78) 24%,
            rgba(83, 190, 235, 0.82) 54%,
            rgba(255, 255, 255, 0.52) 74%,
            rgba(255, 195, 90, 0.98) 100%
        );

    background-size: 220% 220%;
}

/*
 * 數據對決維持主視覺，外光更明顯。
 */
.hero-shot--compare {
    box-shadow:
        0 0 0 1px rgba(255, 195, 90, 0.34),
        0 0 18px rgba(255, 195, 90, 0.24),
        0 0 38px rgba(245, 154, 35, 0.20),
        0 28px 60px rgba(0, 0, 0, 0.40);
}

/*
 * 盤口比較表使用偏藍外光，
 * 強度略低於數據對決，但比上一版明顯。
 */
.hero-shot--odds {
    box-shadow:
        0 0 0 1px rgba(104, 198, 238, 0.30),
        0 0 17px rgba(104, 198, 238, 0.20),
        0 0 34px rgba(69, 160, 205, 0.17),
        0 26px 56px rgba(0, 0, 0, 0.36);
}

.hero-shot--compare:hover {
    box-shadow:
        0 0 0 1px rgba(255, 211, 124, 0.54),
        0 0 24px rgba(255, 195, 90, 0.34),
        0 0 46px rgba(245, 154, 35, 0.28),
        0 34px 72px rgba(0, 0, 0, 0.46);
}

.hero-shot--odds:hover {
    box-shadow:
        0 0 0 1px rgba(104, 198, 238, 0.48),
        0 0 22px rgba(104, 198, 238, 0.30),
        0 0 42px rgba(69, 160, 205, 0.24),
        0 32px 68px rgba(0, 0, 0, 0.43);
}

/*
 * 手機版仍保留外框，但縮為 2px，
 * 避免小畫面顯得過厚。
 */
@media (max-width: 1023px) {

    .hero-shot--compare::before,
    .hero-shot--odds::before {
        padding: 2px;
    }

    .hero__title {
        letter-spacing: 0.012em;
    }

}


/* =========================================================
   FINAL V3.12：小虎爺往上移 10px
========================================================= */

@media (min-width: 1200px) {

    .hero__mascot {
        top: 355px;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__mascot {
        top: 335px;
    }

}


/* =========================================================
   FINAL V3.13：小虎爺再上移 10px＋底部再收 20px
========================================================= */

@media (min-width: 1200px) {

    .hero__mascot {
        top: 345px;
    }

    .hero {
        min-height: 655px;
        padding-bottom: 2px;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__mascot {
        top: 325px;
    }

    .hero {
        min-height: 625px;
        padding-bottom: 0;
    }

}


/* =========================================================
   FINAL V3.15：服務外框改為純外擴式設計＋盤口左移 8px
========================================================= */

/*
 * 這版不在圖片內側畫任何線條。
 * 外框與光暈全部往卡片外側延伸。
 */
.hero-shot--compare,
.hero-shot--odds {
    overflow: visible;

    border-color: transparent;
    background: transparent;

    isolation: isolate;
}

/*
 * 截圖本體維持原本圓角裁切。
 */
.hero-shot--compare .hero-shot__image-wrap,
.hero-shot--odds .hero-shot__image-wrap {
    position: relative;
    z-index: 3;

    overflow: hidden;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.34);
}

/*
 * 第一層：貼近卡片外緣的細框。
 * inset 使用負值，只往外延伸。
 */
.hero-shot--compare::before,
.hero-shot--odds::before {
    content: "";

    position: absolute;
    inset: -5px;
    z-index: 2;

    padding: 2px;

    border-radius: 25px;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            rgba(255, 218, 142, 0.98) 0%,
            rgba(245, 154, 35, 0.82) 34%,
            rgba(76, 176, 222, 0.72) 72%,
            rgba(190, 229, 247, 0.92) 100%
        );

    -webkit-mask:
        linear-gradient(#ffffff 0 0) content-box,
        linear-gradient(#ffffff 0 0);

    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#ffffff 0 0) content-box,
        linear-gradient(#ffffff 0 0);

    mask-composite: exclude;
}

/*
 * 第二層：更外側的半透明光環。
 * 同樣只存在卡片外部，不覆蓋截圖。
 */
.hero-shot--compare::after,
.hero-shot--odds::after {
    content: "";

    position: absolute;
    inset: -11px;
    z-index: 1;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 31px;

    pointer-events: none;

    opacity: 0.78;
}

/*
 * 主服務：偏金色外光。
 */
.hero-shot--compare::after {
    border-color: rgba(255, 195, 90, 0.34);

    box-shadow:
        0 0 18px rgba(255, 195, 90, 0.18),
        0 0 34px rgba(245, 154, 35, 0.14);
}

/*
 * 副服務：偏藍色外光。
 */
.hero-shot--odds::after {
    border-color: rgba(111, 201, 239, 0.30);

    box-shadow:
        0 0 17px rgba(111, 201, 239, 0.16),
        0 0 32px rgba(69, 160, 205, 0.12);
}

/*
 * Hover 只加強外側光感，
 * 不在圖片內部產生任何裝飾。
 */
.hero-shot--compare:hover::after,
.hero-shot--odds:hover::after {
    opacity: 1;
}

.hero-shot--compare:hover::after {
    box-shadow:
        0 0 22px rgba(255, 195, 90, 0.26),
        0 0 42px rgba(245, 154, 35, 0.20);
}

.hero-shot--odds:hover::after {
    box-shadow:
        0 0 21px rgba(111, 201, 239, 0.24),
        0 0 40px rgba(69, 160, 205, 0.18);
}

/*
 * 盤口比較表往左 8px：
 * PC right 70px → 78px
 * 中型桌機 right 40px → 48px
 */
@media (min-width: 1200px) {

    .hero-shot--odds {
        right: 78px;
    }

}

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-shot--odds {
        right: 48px;
    }

}

/*
 * 手機版外框縮薄，避免畫面太重。
 */
@media (max-width: 1023px) {

    .hero-shot--compare .hero-shot__image-wrap,
    .hero-shot--odds .hero-shot__image-wrap {
        border-radius: 17px;
    }

    .hero-shot--compare::before,
    .hero-shot--odds::before {
        inset: -3px;

        padding: 1px;

        border-radius: 20px;
    }

    .hero-shot--compare::after,
    .hero-shot--odds::after {
        inset: -6px;

        border-radius: 23px;

        opacity: 0.60;
    }

}


/* =========================================================
   FINAL V3.16：外側柔光減弱，保留清楚外框
========================================================= */

/*
 * 保留兩層外擴框線，
 * 但大幅降低第二層柔光，避免畫面看起來發糊。
 */
.hero-shot--compare::after,
.hero-shot--odds::after {
    inset: -9px;

    opacity: 0.42;
}

/* 數據對決：保留淡金色外框，柔光收斂。 */
.hero-shot--compare::after {
    border-color: rgba(255, 195, 90, 0.24);

    box-shadow:
        0 0 8px rgba(255, 195, 90, 0.10),
        0 0 16px rgba(245, 154, 35, 0.07);
}

/* 盤口比較表：保留淡藍色外框，柔光收斂。 */
.hero-shot--odds::after {
    border-color: rgba(111, 201, 239, 0.22);

    box-shadow:
        0 0 8px rgba(111, 201, 239, 0.09),
        0 0 15px rgba(69, 160, 205, 0.06);
}

/*
 * Hover 僅小幅加強，
 * 不再出現大片模糊光暈。
 */
.hero-shot--compare:hover::after,
.hero-shot--odds:hover::after {
    opacity: 0.62;
}

.hero-shot--compare:hover::after {
    box-shadow:
        0 0 10px rgba(255, 195, 90, 0.15),
        0 0 20px rgba(245, 154, 35, 0.10);
}

.hero-shot--odds:hover::after {
    box-shadow:
        0 0 10px rgba(111, 201, 239, 0.14),
        0 0 19px rgba(69, 160, 205, 0.09);
}

/*
 * 第一層外框稍微提高銳利度，
 * 補回柔光降低後的清楚度。
 */
.hero-shot--compare::before,
.hero-shot--odds::before {
    opacity: 0.96;
}

@media (max-width: 1023px) {

    .hero-shot--compare::after,
    .hero-shot--odds::after {
        inset: -5px;

        opacity: 0.30;

        box-shadow: none;
    }

}


/* =========================================================
   FINAL V3.17：小虎爺底部改為漸層淡出
========================================================= */

/*
 * 避免小虎爺底部被直接切斷，
 * 改成往下自然淡出。
 */
.hero__mascot,
.hero__mascot img {
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 72%,
        rgba(255, 255, 255, 0.92) 82%,
        rgba(255, 255, 255, 0.60) 90%,
        rgba(255, 255, 255, 0.18) 96%,
        rgba(255, 255, 255, 0) 100%
    );

    mask-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 72%,
        rgba(255, 255, 255, 0.92) 82%,
        rgba(255, 255, 255, 0.60) 90%,
        rgba(255, 255, 255, 0.18) 96%,
        rgba(255, 255, 255, 0) 100%
    );

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/*
 * 若想再更晚才開始淡出，
 * 之後可只調整 72% / 82% / 90% 這三段數值。
 */


/* =========================================================
   FINAL V3.18：小虎爺更晚開始淡出＋縮短淡出範圍
========================================================= */

/*
 * 原本約從 72% 開始淡出。
 * 這版改為 88% 以前維持完整，
 * 只在最後 12% 高度內快速淡出。
 */
.hero__mascot,
.hero__mascot img {
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 88%,
        rgba(255, 255, 255, 0.82) 92%,
        rgba(255, 255, 255, 0.38) 96%,
        rgba(255, 255, 255, 0) 100%
    );

    mask-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 88%,
        rgba(255, 255, 255, 0.82) 92%,
        rgba(255, 255, 255, 0.38) 96%,
        rgba(255, 255, 255, 0) 100%
    );
}


/* =========================================================
   FINAL V3.19：小虎爺最後 5% 淡出＋服務遮罩 12%
========================================================= */

/*
 * 小虎爺：
 * 95% 高度以前完全維持原圖，
 * 只在最後 5% 內快速淡出。
 */
.hero__mascot,
.hero__mascot img {
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 95%,
        rgba(255, 255, 255, 0.70) 97%,
        rgba(255, 255, 255, 0.28) 99%,
        rgba(255, 255, 255, 0) 100%
    );

    mask-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 95%,
        rgba(255, 255, 255, 0.70) 97%,
        rgba(255, 255, 255, 0.28) 99%,
        rgba(255, 255, 255, 0) 100%
    );
}

/*
 * 右側兩個服務畫面的冷灰遮罩：
 * 8% 調整為 12%。
 */
.hero-shot--compare .hero-shot__image-wrap::before,
.hero-shot--odds .hero-shot__image-wrap::before {
    background: rgba(28, 40, 52, 0.12);
}


/* =========================================================
   FINAL V3.20：修正服務灰色遮罩＋調整為 10%
========================================================= */

/*
 * 兩張服務畫面的冷灰遮罩改為 10%。
 */
.hero-shot--compare .hero-shot__image-wrap::before,
.hero-shot--odds .hero-shot__image-wrap::before {
    background: rgba(28, 40, 52, 0.10);
}

/*
 * 數據對決原圖左上角有一塊黑色區域，
 * 原本使用白色遮片覆蓋，但白色遮片沒有套到灰色遮罩，
 * 因此會出現左上角一塊明顯不同色的方塊。
 *
 * 這裡把遮片改成「白底套用 10% 冷灰遮罩後」的同等色，
 * 讓整張服務畫面的灰度一致。
 */
.hero-shot--compare .hero-shot__image-wrap::after {
    background: rgb(232, 234, 235);
}


/* =========================================================
   FINAL V3.21：服務外框改為電腦螢幕效果
========================================================= */

/*
 * 改掉前一版外擴光框。
 * 兩張服務畫面改成深色螢幕邊框，
 * 外框只往圖片外側延伸，不壓到截圖內容。
 */
.hero-shot--compare,
.hero-shot--odds {
    overflow: visible;

    border: 0;
    background: transparent;

    box-shadow: none;
}

/*
 * 螢幕本體：
 * - 深色金屬外殼
 * - 上方中央保留小型鏡頭／指示燈
 * - 下邊框略厚，增加螢幕感
 */
.hero-shot--compare::before,
.hero-shot--odds::before {
    content: "";

    position: absolute;
    top: -8px;
    right: -8px;
    bottom: -15px;
    left: -8px;
    z-index: 1;

    padding: 0;

    border: 1px solid rgba(145, 174, 198, 0.34);
    border-radius: 27px;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 7px,
            rgba(116, 210, 246, 0.96) 0,
            rgba(116, 210, 246, 0.96) 1.5px,
            rgba(116, 210, 246, 0.22) 2.5px,
            rgba(116, 210, 246, 0) 4px
        ),
        linear-gradient(
            180deg,
            #263746 0%,
            #152331 38%,
            #0a1118 72%,
            #05090d 100%
        );

    background-size: 100% 100%;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(4, 8, 12, 0.88),
        0 18px 36px rgba(0, 0, 0, 0.34);

    -webkit-mask: none;
    mask: none;

    animation: none;
}

/*
 * 螢幕底座：
 * 位於卡片外側，不遮住內容。
 */
.hero-shot--compare::after,
.hero-shot--odds::after {
    content: "";

    position: absolute;
    top: auto;
    right: auto;
    bottom: -29px;
    left: 50%;
    z-index: 0;

    width: 26%;
    height: 12px;

    border: 1px solid rgba(129, 157, 181, 0.26);
    border-radius: 2px 2px 8px 8px;

    pointer-events: none;

    opacity: 1;

    background:
        linear-gradient(
            180deg,
            #202f3d 0%,
            #0d1822 58%,
            #05090d 100%
        );

    box-shadow:
        0 -7px 0 -4px #0e1923,
        0 8px 16px rgba(0, 0, 0, 0.30);

    transform: translateX(-50%);

    clip-path:
        polygon(
            16% 0,
            84% 0,
            100% 100%,
            0 100%
        );
}

/*
 * 截圖本體保留清楚圓角，
 * 並加入極細的內側玻璃邊緣。
 */
.hero-shot--compare .hero-shot__image-wrap,
.hero-shot--odds .hero-shot__image-wrap {
    position: relative;
    z-index: 3;

    overflow: hidden;

    border: 1px solid rgba(210, 226, 238, 0.32);
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.22),
        0 2px 8px rgba(0, 0, 0, 0.20);
}

/*
 * Hover 時只加強螢幕外殼陰影，
 * 不使用霓虹光暈。
 */
.hero-shot--compare:hover::before,
.hero-shot--odds:hover::before {
    border-color: rgba(173, 201, 224, 0.46);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.78),
        0 0 0 1px rgba(4, 8, 12, 0.92),
        0 22px 44px rgba(0, 0, 0, 0.40);
}

/*
 * 手機版不加底座，避免上下排列時產生多餘空間。
 */
@media (max-width: 1023px) {

    .hero-shot--compare::before,
    .hero-shot--odds::before {
        top: -5px;
        right: -5px;
        bottom: -8px;
        left: -5px;

        border-radius: 21px;
    }

    .hero-shot--compare::after,
    .hero-shot--odds::after {
        display: none;
    }

    .hero-shot--compare .hero-shot__image-wrap,
    .hero-shot--odds .hero-shot__image-wrap {
        border-radius: 17px;
    }

}


/* =========================================================
   FINAL V3.22：提高螢幕外框與深藍背景的對比
========================================================= */

/*
 * 保留電腦螢幕造型，
 * 但把外殼由接近背景的深藍黑，
 * 改成更明顯的冷灰金屬色。
 */
.hero-shot--compare::before,
.hero-shot--odds::before {
    border-color: rgba(184, 205, 220, 0.76);

    background:
        radial-gradient(
            circle at 50% 7px,
            rgba(132, 220, 255, 1) 0,
            rgba(132, 220, 255, 1) 1.6px,
            rgba(132, 220, 255, 0.30) 2.8px,
            rgba(132, 220, 255, 0) 4.2px
        ),
        linear-gradient(
            180deg,
            #6f8493 0%,
            #4c6170 18%,
            #2c3f4d 52%,
            #14232e 82%,
            #0b141b 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(210, 226, 237, 0.20),
        0 0 0 3px rgba(8, 16, 23, 0.54),
        0 18px 36px rgba(0, 0, 0, 0.38);
}

/*
 * 內層再加一道較亮的金屬邊，
 * 讓螢幕輪廓不會被 Hero 背景吃掉。
 */
.hero-shot--compare .hero-shot__image-wrap,
.hero-shot--odds .hero-shot__image-wrap {
    border-color: rgba(220, 233, 242, 0.72);

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.26),
        0 0 0 1px rgba(13, 24, 33, 0.72),
        0 3px 10px rgba(0, 0, 0, 0.24);
}

/*
 * 底座同步提亮成冷灰金屬色，
 * 避免底座融入深藍背景。
 */
.hero-shot--compare::after,
.hero-shot--odds::after {
    border-color: rgba(180, 202, 217, 0.56);

    background:
        linear-gradient(
            180deg,
            #637784 0%,
            #3c505e 44%,
            #1a2a35 76%,
            #0b141b 100%
        );

    box-shadow:
        0 -7px 0 -4px #253744,
        0 8px 16px rgba(0, 0, 0, 0.34);
}

/*
 * 主服務加入極細暖金屬外緣，
 * 副服務維持冷灰藍，保留主次。
 */
.hero-shot--compare::before {
    outline: 1px solid rgba(255, 195, 90, 0.34);
    outline-offset: 2px;
}

.hero-shot--odds::before {
    outline: 1px solid rgba(126, 202, 236, 0.30);
    outline-offset: 2px;
}

/*
 * Hover 僅提高外殼對比，
 * 不改成霓虹效果。
 */
.hero-shot--compare:hover::before,
.hero-shot--odds:hover::before {
    border-color: rgba(220, 235, 244, 0.90);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        inset 0 -1px 0 rgba(0, 0, 0, 0.78),
        0 0 0 1px rgba(226, 238, 246, 0.28),
        0 0 0 3px rgba(7, 15, 22, 0.58),
        0 22px 44px rgba(0, 0, 0, 0.42);
}

@media (max-width: 1023px) {

    .hero-shot--compare::before,
    .hero-shot--odds::before {
        outline-width: 0;
    }

}


/* =========================================================
   FINAL V3.23：螢幕下框提亮＋取消服務點擊功能
========================================================= */

/*
 * 取消服務畫面的點擊／預覽功能。
 * 卡片改為純展示，不顯示手型游標，也不執行 hover 位移。
 */
.hero-shot {
    cursor: default;
    pointer-events: none;
}

.hero-shot:hover,
.hero-shot--compare:hover,
.hero-shot--odds:hover {
    transform: scale(0.93);
}

/*
 * 螢幕下方邊框加亮：
 * 使用較明顯的銀灰金屬帶，
 * 避免下框與深藍 Hero 背景融合。
 */
.hero-shot--compare::before,
.hero-shot--odds::before {
    background:
        radial-gradient(
            circle at 50% 7px,
            rgba(132, 220, 255, 1) 0,
            rgba(132, 220, 255, 1) 1.6px,
            rgba(132, 220, 255, 0.30) 2.8px,
            rgba(132, 220, 255, 0) 4.2px
        ),
        linear-gradient(
            to bottom,
            transparent 0,
            transparent calc(100% - 18px),
            rgba(187, 205, 218, 0.88) calc(100% - 18px),
            rgba(111, 135, 151, 0.96) calc(100% - 10px),
            rgba(43, 61, 73, 1) 100%
        ),
        linear-gradient(
            180deg,
            #6f8493 0%,
            #4c6170 18%,
            #2c3f4d 52%,
            #14232e 82%,
            #0b141b 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -2px 0 rgba(224, 235, 242, 0.48),
        inset 0 -8px 0 rgba(92, 116, 132, 0.42),
        0 0 0 1px rgba(210, 226, 237, 0.24),
        0 0 0 3px rgba(8, 16, 23, 0.54),
        0 18px 36px rgba(0, 0, 0, 0.38);
}

/*
 * 螢幕底座同步提亮，增加與背景的分離感。
 */
.hero-shot--compare::after,
.hero-shot--odds::after {
    border-color: rgba(211, 225, 234, 0.68);

    background:
        linear-gradient(
            180deg,
            #a2b2bd 0%,
            #6f8493 30%,
            #3e5361 62%,
            #1a2a35 100%
        );

    box-shadow:
        0 -7px 0 -4px #506674,
        0 1px 0 rgba(255, 255, 255, 0.28) inset,
        0 8px 16px rgba(0, 0, 0, 0.34);
}

/*
 * 取消已不使用的預覽按鈕樣式。
 */
.hero-shot--preview,
.hero-shot--preview:focus-visible {
    cursor: default;
    outline: none;
}

@media (max-width: 1023px) {

    .hero-shot:hover,
    .hero-shot--compare:hover,
    .hero-shot--odds:hover {
        transform: none;
    }

}


/* =========================================================
   IMAC / PRO DISPLAY MIX VERSION
   更穩、更深、更有高級感
========================================================= */

/*
 * 整體方向：
 * - 太空灰／石墨灰金屬
 * - 比 Studio Display 更深、更穩重
 * - 不使用突兀的下緣切色
 */

.hero-shot--compare::before,
.hero-shot--odds::before {
    top: -7px;
    right: -7px;
    bottom: -13px;
    left: -7px;

    border: 1px solid rgba(154, 165, 175, 0.78);
    border-radius: 26px;

    outline: 1px solid rgba(220, 228, 234, 0.10);
    outline-offset: 1px;

    background:
        radial-gradient(
            circle at 50% 7px,
            rgba(112, 202, 238, 0.88) 0,
            rgba(112, 202, 238, 0.88) 1.4px,
            rgba(112, 202, 238, 0.22) 2.6px,
            rgba(112, 202, 238, 0) 4px
        ),
        linear-gradient(
            180deg,
            #78838c 0%,
            #616c75 16%,
            #48535c 42%,
            #323c44 70%,
            #20282f 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.30),
        inset 0 -1px 0 rgba(0, 0, 0, 0.48),
        inset 0 -9px 14px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(8, 14, 19, 0.78),
        0 15px 34px rgba(0, 0, 0, 0.36);

    -webkit-mask: none;
    mask: none;

    animation: none;
}

.hero-shot--compare .hero-shot__image-wrap,
.hero-shot--odds .hero-shot__image-wrap {
    border: 1px solid rgba(180, 192, 201, 0.58);
    border-radius: 20px;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(8, 15, 20, 0.72),
        0 3px 10px rgba(0, 0, 0, 0.22);
}

/*
 * 底座：
 * 以石墨鋁色連續過渡，
 * 接點與螢幕外殼保持同一材質感。
 */
.hero-shot--compare::after,
.hero-shot--odds::after {
    bottom: -28px;

    width: 25%;
    height: 14px;

    border: 1px solid rgba(137, 148, 157, 0.54);
    border-radius: 2px 2px 8px 8px;

    background:
        linear-gradient(
            180deg,
            #a3adb5 0%,
            #858f98 24%,
            #66717a 52%,
            #465159 78%,
            #2a333a 100%
        );

    box-shadow:
        0 -8px 0 -5px rgba(101, 112, 121, 0.96),
        0 1px 0 rgba(255, 255, 255, 0.24) inset,
        0 8px 16px rgba(0, 0, 0, 0.30);

    clip-path:
        polygon(
            18% 0,
            82% 0,
            100% 100%,
            0 100%
        );
}

.hero-shot--compare:hover::before,
.hero-shot--odds:hover::before {
    border-color: rgba(176, 187, 196, 0.88);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(0, 0, 0, 0.52),
        inset 0 -9px 14px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(9, 15, 20, 0.82),
        0 20px 42px rgba(0, 0, 0, 0.42);
}

@media (max-width: 1023px) {

    .hero-shot--compare::before,
    .hero-shot--odds::before {
        top: -5px;
        right: -5px;
        bottom: -8px;
        left: -5px;

        border-radius: 21px;
    }

    .hero-shot--compare::after,
    .hero-shot--odds::after {
        display: none;
    }

}

/* =========================================================
   HERO CAROUSEL V1
   第二張：每日免費小虎爺賽事推薦
========================================================= */

/*
 * 兩張 Hero 使用同一個格線位置疊放。
 * 未顯示的 Slide 不會接收滑鼠與鍵盤操作。
 */
.hero--carousel {
    position: relative;
}

.hero-carousel__slides {
    position: relative;
    z-index: 5;

    display: grid;

    width: 100%;
}

.hero-carousel__slide {
    grid-area: 1 / 1;

    min-width: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(26px);

    transition:
        opacity 0.44s ease,
        transform 0.44s ease,
        visibility 0s linear 0.44s;
}

.hero-carousel__slide.is-active {
    z-index: 2;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(0);

    transition:
        opacity 0.44s ease,
        transform 0.44s ease,
        visibility 0s linear 0s;
}

/*
 * 第二張沿用第一張的兩欄比例，
 * 讓切換時整體位置不跳動。
 */
.hero__container--recommendation {
    min-height: 610px;
}

.hero__content--recommendation {
    align-self: center;
}

.hero__title--recommendation {
    font-size: clamp(44px, 4.4vw, 64px);
}


/* =========================================================
   輪播控制
========================================================= */

.hero-carousel__controls {
    position: absolute;
    right: auto;
    bottom: 19px;
    left: 50%;
    z-index: 30;

    display: inline-flex;

    min-height: 40px;

    padding:
        5px
        8px;

    align-items: center;
    gap: 7px;

    border: 1px solid rgba(174, 196, 215, 0.19);
    border-radius: 999px;

    background: rgba(7, 17, 29, 0.72);

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transform: translateX(-50%);
}

.hero-carousel__arrow {
    display: inline-flex;

    width: 29px;
    height: 29px;

    padding: 0;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    color: rgba(232, 241, 248, 0.76);
    background: transparent;

    cursor: pointer;

    transition:
        color 0.18s ease,
        background-color 0.18s ease;
}

.hero-carousel__arrow:hover,
.hero-carousel__arrow:focus-visible {
    color: #07111d;
    background: #ffc35a;

    outline: none;
}

.hero-carousel__arrow svg {
    display: block;

    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-carousel__dots {
    display: inline-flex;

    min-height: 29px;

    padding:
        0
        4px;

    align-items: center;
    gap: 7px;
}

.hero-carousel__dot {
    display: block;

    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(222, 235, 245, 0.34);

    cursor: pointer;

    transition:
        width 0.20s ease,
        background-color 0.20s ease,
        box-shadow 0.20s ease;
}

.hero-carousel__dot.is-active {
    width: 22px;

    background: #ffc35a;

    box-shadow:
        0 0 10px rgba(255, 195, 90, 0.44);
}

.hero-carousel__dot:focus-visible {
    outline: 2px solid #ffc35a;
    outline-offset: 3px;
}

.hero-carousel__counter {
    min-width: 48px;

    padding-right: 4px;

    color: rgba(221, 233, 243, 0.58);

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: center;
}

.hero-carousel__status {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip: rect(0 0 0 0);
    clip-path: inset(50%);

    white-space: nowrap;
}


/* =========================================================
   第二張右側推薦舞台
========================================================= */

.hero__visual--recommendation {
    position: relative;
}

.hero-recommendation-stage {
    position: relative;

    display: flex;

    width: 100%;
    max-width: 720px;
    min-height: 610px;

    margin-left: auto;

    align-items: center;
    justify-content: center;
}

.hero-recommendation-stage__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;

    width: 78%;
    height: 58%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(245, 154, 35, 0.24) 0%,
            rgba(245, 154, 35, 0.08) 42%,
            rgba(49, 146, 194, 0.05) 66%,
            rgba(49, 146, 194, 0) 80%
        );

    filter: blur(34px);

    pointer-events: none;

    transform: translate(-50%, -50%);
}


/* =========================================================
   免費推薦卡
========================================================= */

.hero-recommendation-card {
    position: relative;
    z-index: 3;

    width: min(620px, 100%);

    overflow: hidden;

    border: 1px solid rgba(176, 187, 196, 0.78);
    border-radius: 28px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(15, 31, 48, 0.98) 0%,
            rgba(9, 23, 37, 0.98) 52%,
            rgba(16, 43, 68, 0.98) 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 0 0 1px rgba(8, 15, 20, 0.70),
        0 30px 68px rgba(0, 0, 0, 0.42);
}

.hero-recommendation-card::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 0;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0) 28%
        ),
        radial-gradient(
            circle at 88% 10%,
            rgba(245, 154, 35, 0.20) 0%,
            rgba(245, 154, 35, 0) 32%
        );
}

.hero-recommendation-card > * {
    position: relative;
    z-index: 2;
}

.hero-recommendation-card__header {
    display: flex;

    min-height: 80px;

    padding:
        17px
        22px;

    align-items: center;
    justify-content: space-between;
    gap: 18px;

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

    background:
        linear-gradient(
            90deg,
            rgba(5, 15, 26, 0.88),
            rgba(17, 43, 67, 0.82)
        );
}

.hero-recommendation-card__header > div {
    display: flex;

    min-width: 0;

    flex-direction: column;
    gap: 4px;
}

.hero-recommendation-card__kicker {
    color: #ffc35a;

    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.18em;
}

.hero-recommendation-card__header strong {
    color: #ffffff;

    font-size: 19px;
    font-weight: 900;
    line-height: 1.2;
}

.hero-recommendation-card__league {
    display: inline-flex;

    min-height: 28px;

    padding:
        6px
        11px;

    flex: 0 0 auto;

    align-items: center;

    border: 1px solid rgba(255, 195, 90, 0.34);
    border-radius: 999px;

    color: #ffc35a;
    background: rgba(245, 154, 35, 0.10);

    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.hero-recommendation-card__meta {
    display: flex;

    min-height: 48px;

    padding:
        12px
        22px;

    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 7px 15px;

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

    color: rgba(221, 233, 243, 0.68);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}


/* =========================================================
   對戰隊伍
========================================================= */

.hero-recommendation-card__teams {
    display: grid;

    min-height: 220px;

    padding:
        24px
        25px
        21px;

    grid-template-columns:
        minmax(0, 1fr)
        76px
        minmax(0, 1fr);

    align-items: center;
    gap: 12px;
}

.hero-recommendation-team {
    display: flex;

    min-width: 0;

    align-items: center;
    flex-direction: column;

    text-align: center;
}

.hero-recommendation-team__logo {
    display: flex;

    width: 84px;
    height: 84px;

    margin-bottom: 12px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(180, 192, 201, 0.26);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.18);
}

.hero-recommendation-team__logo img {
    display: block;

    width: 67px;
    height: 67px;

    max-width: none;

    object-fit: contain;
}

.hero-recommendation-team strong {
    max-width: 100%;

    overflow: hidden;

    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-recommendation-team > span:last-child {
    margin-top: 6px;

    color: rgba(214, 228, 240, 0.50);

    font-size: 10px;
    font-weight: 700;
}

.hero-recommendation-card__versus {
    display: flex;

    min-width: 0;

    align-items: center;
    flex-direction: column;
    gap: 9px;

    text-align: center;
}

.hero-recommendation-card__versus > span {
    color: #ffc35a;

    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.hero-recommendation-card__versus > strong {
    color: rgba(239, 245, 250, 0.76);

    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}


/* =========================================================
   本場推薦
========================================================= */

.hero-recommendation-pick {
    display: grid;

    margin:
        0
        20px
        18px;

    overflow: hidden;

    grid-template-columns:
        132px
        minmax(0, 1fr);

    border: 1px solid rgba(255, 195, 90, 0.54);
    border-radius: 17px;

    background:
        linear-gradient(
            100deg,
            rgba(7, 17, 29, 0.98) 0%,
            rgba(14, 35, 56, 0.98) 58%,
            rgba(29, 56, 80, 0.96) 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 12px 26px rgba(0, 0, 0, 0.20);
}

.hero-recommendation-pick__label {
    position: relative;

    display: flex;

    min-height: 104px;

    padding:
        16px
        15px;

    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #07111d;

    background:
        linear-gradient(
            145deg,
            #ffe3a5,
            #ffc35a 52%,
            #f59a23
        );

    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.hero-recommendation-pick__label::after {
    content: "";

    position: absolute;
    top: 0;
    right: -18px;

    width: 36px;
    height: 100%;

    background:
        linear-gradient(
            145deg,
            #ffc35a,
            #f59a23
        );

    clip-path:
        polygon(
            0 0,
            42% 0,
            100% 50%,
            42% 100%,
            0 100%,
            58% 50%
        );
}

.hero-recommendation-pick__content {
    display: flex;

    min-width: 0;
    min-height: 104px;

    padding:
        17px
        21px
        15px
        32px;

    justify-content: center;
    flex-direction: column;
}

.hero-recommendation-pick__content > span {
    color: rgba(221, 233, 243, 0.66);

    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
}

.hero-recommendation-pick__content > strong {
    margin-top: 3px;

    color: #ffc35a;

    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
}

.hero-recommendation-pick__content > p {
    margin:
        8px
        0
        0;

    color: rgba(232, 240, 247, 0.78);

    font-size: 12px;
    line-height: 1.55;
}

.hero-recommendation-card__footer {
    display: flex;

    min-height: 52px;

    padding:
        12px
        21px;

    align-items: center;
    justify-content: space-between;
    gap: 15px;

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

    color: rgba(207, 224, 237, 0.50);

    font-size: 10px;
    font-weight: 700;
}

.hero-recommendation-card__footer a {
    color: #ffc35a;

    font-size: 11px;
    font-weight: 900;

    transition: color 0.18s ease;
}

.hero-recommendation-card__footer a:hover {
    color: #ffe3a5;
}


/* =========================================================
   尚未發布狀態
========================================================= */

.hero-recommendation-card--empty {
    display: flex;

    min-height: 470px;

    padding:
        55px
        34px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    text-align: center;
}

.hero-recommendation-empty__icon {
    display: flex;

    width: 74px;
    height: 74px;

    margin-bottom: 20px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 195, 90, 0.34);
    border-radius: 24px;

    color: #ffc35a;
    background: rgba(245, 154, 35, 0.09);

    box-shadow:
        0 0 30px rgba(245, 154, 35, 0.12);

    font-size: 31px;
}

.hero-recommendation-card--empty h3 {
    margin:
        10px
        0
        0;

    color: #ffffff;

    font-size: 26px;
    font-weight: 900;
}

.hero-recommendation-card--empty p {
    max-width: 360px;

    margin:
        13px
        0
        25px;

    color: rgba(219, 233, 244, 0.65);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   中型桌機
========================================================= */

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero__container--recommendation {
        min-height: 565px;
    }

    .hero-recommendation-stage {
        min-height: 565px;
    }

    .hero-recommendation-card {
        width: min(560px, 100%);
    }

    .hero-recommendation-card__teams {
        min-height: 195px;
    }

    .hero-recommendation-team__logo {
        width: 74px;
        height: 74px;
    }

    .hero-recommendation-team__logo img {
        width: 59px;
        height: 59px;
    }

    .hero-recommendation-team strong {
        font-size: 15px;
    }

    .hero-carousel__controls {
        bottom: 13px;
    }

}


/* =========================================================
   平板與手機
========================================================= */

@media (max-width: 1023px) {

    .hero-carousel__slides {
        display: grid;
    }

    .hero-carousel__slide {
        transform: translateX(18px);
    }

    .hero__container--recommendation {
        min-height: 0;
    }

    .hero__content--recommendation {
        align-self: auto;
    }

    .hero__visual--recommendation {
        margin-left: 0;
    }

    .hero-recommendation-stage {
        min-height: 0;

        margin-right: auto;
        margin-left: auto;
    }

    .hero-carousel__controls {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;

        z-index: 30;

        margin:
            18px
            auto
            0;

        transform: none;
    }

}


/* =========================================================
   手機
========================================================= */

@media (max-width: 639px) {

    .hero-carousel__slide {
        transform: translateX(12px);
    }

    .hero__title--recommendation {
        font-size: clamp(37px, 11.5vw, 49px);
    }

    .hero-recommendation-card {
        border-radius: 21px;
    }

    .hero-recommendation-card__header {
        min-height: 68px;

        padding:
            14px
            15px;
    }

    .hero-recommendation-card__header strong {
        font-size: 16px;
    }

    .hero-recommendation-card__meta {
        padding:
            10px
            15px;

        font-size: 10px;
    }

    .hero-recommendation-card__teams {
        min-height: 186px;

        padding:
            20px
            10px
            17px;

        grid-template-columns:
            minmax(0, 1fr)
            46px
            minmax(0, 1fr);

        gap: 6px;
    }

    .hero-recommendation-team__logo {
        width: 65px;
        height: 65px;

        margin-bottom: 10px;

        border-radius: 19px;
    }

    .hero-recommendation-team__logo img {
        width: 52px;
        height: 52px;
    }

    .hero-recommendation-team strong {
        font-size: 13px;
    }

    .hero-recommendation-card__versus > span {
        font-size: 26px;
    }

    .hero-recommendation-pick {
        display: block;

        margin:
            0
            12px
            13px;
    }

    .hero-recommendation-pick__label {
        min-height: 45px;

        padding:
            10px
            14px;

        font-size: 13px;
    }

    .hero-recommendation-pick__label::after {
        display: none;
    }

    .hero-recommendation-pick__content {
        min-height: 88px;

        padding:
            14px
            15px;
    }

    .hero-recommendation-pick__content > strong {
        font-size: 18px;
    }

    .hero-recommendation-card__footer {
        padding:
            11px
            14px;
    }

    .hero-carousel__controls {
        min-height: 38px;

        margin-top: 14px;
    }

}


/* =========================================================
   減少動畫
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-carousel__slide {
        transition: none;
        transform: none;
    }

    .hero-carousel__dot,
    .hero-carousel__arrow {
        transition: none;
    }

}


/* =========================================================
   HERO CAROUSEL V2
   輪播控制改為常見純圓點樣式
========================================================= */

/*
 * 隱藏左右箭頭與頁碼，只保留圓點。
 */
.hero-carousel__arrow,
.hero-carousel__counter {
    display: none;
}

/*
 * 移除膠囊底框，改成一般輪播常見的純圓點排列。
 */
.hero-carousel__controls {
    min-height: 0;

    padding: 0;

    gap: 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/*
 * 圓點區域。
 */
.hero-carousel__dots {
    min-height: 24px;

    padding:
        5px
        8px;

    gap: 9px;
}

/*
 * 未選取圓點。
 */
.hero-carousel__dot {
    width: 8px;
    height: 8px;

    border: 1px solid rgba(255, 255, 255, 0.22);

    background: rgba(226, 237, 246, 0.34);

    box-shadow: none;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

/*
 * 目前顯示中的圓點。
 * 維持圓形，不再拉成長條。
 */
.hero-carousel__dot.is-active {
    width: 9px;
    height: 9px;

    border-color: #ffc35a;

    background: #ffc35a;

    box-shadow:
        0 0 0 3px rgba(255, 195, 90, 0.13),
        0 0 10px rgba(255, 195, 90, 0.42);

    transform: scale(1.08);
}

.hero-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.68);
}

.hero-carousel__dot.is-active:hover {
    background: #ffc35a;
}

@media (max-width: 1023px) {

    .hero-carousel__controls {
        margin-top: 13px;
    }

}

@media (max-width: 639px) {

    .hero-carousel__controls {
        min-height: 0;

        margin-top: 11px;
    }

    .hero-carousel__dots {
        min-height: 22px;

        gap: 8px;
    }

    .hero-carousel__dot {
        width: 7px;
        height: 7px;
    }

    .hero-carousel__dot.is-active {
        width: 8px;
        height: 8px;
    }

}


/* =========================================================
   HERO CAROUSEL V3
   PC 滑鼠左右拖曳
========================================================= */

/*
 * 桌機顯示可拖曳游標。
 * 連結與圓點仍維持原本的 pointer 游標。
 */
@media (min-width: 1024px) {

    .hero-carousel__slides {
        cursor: grab;

        -webkit-user-select: none;
        user-select: none;
    }

    .hero--carousel.is-mouse-dragging,
    .hero--carousel.is-mouse-dragging * {
        cursor: grabbing !important;
    }

    /*
     * 拖曳時取消原本切換動畫，
     * 讓畫面跟著滑鼠移動，不會延遲。
     */
    .hero--carousel.is-mouse-dragging
    .hero-carousel__slide.is-active {
        transition: none;
    }

    .hero-carousel__slide a,
    .hero-carousel__dot {
        cursor: pointer;
    }

}

/*
 * 防止圖片原生拖曳與文字反白。
 */
.hero-carousel__slides img {
    -webkit-user-drag: none;
    user-drag: none;
}

/* =========================================================
   HERO CAROUSEL V5
   第二張移除預設 LOGO＋放大球隊名稱
========================================================= */

/*
 * 停用前一版自製推薦卡舞台。
 */
.hero-recommendation-stage,
.hero-recommendation-card {
    display: none;
}


/* =========================================================
   第二張舞台
========================================================= */

.hero__container--recommendation {
    min-height: 610px;
}

.hero__content--recommendation {
    align-self: center;
}

.hero__title--recommendation {
    font-size: clamp(43px, 4.15vw, 62px);
}

.hero-match-stage {
    position: relative;

    display: flex;

    width: 100%;
    max-width: 760px;
    min-height: 610px;

    margin-left: auto;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   iMac / Pro Display 混合式螢幕外框
========================================================= */

.hero-match-monitor {
    position: relative;
    z-index: 4;

    width: min(720px, 100%);

    padding-bottom: 48px;
}

.hero-match-monitor__body {
    position: relative;

    padding:
        11px
        11px
        28px;

    border: 1px solid rgba(155, 166, 176, 0.80);
    border-radius: 28px;

    background:
        linear-gradient(
            180deg,
            #78838c 0%,
            #616c75 14%,
            #48535c 42%,
            #323c44 72%,
            #20282f 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.30),
        inset 0 -1px 0 rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(8, 14, 19, 0.80),
        0 24px 54px rgba(0, 0, 0, 0.40);
}

.hero-match-monitor__camera {
    position: absolute;
    top: 5px;
    left: 50%;
    z-index: 5;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #72c7eb;

    box-shadow:
        0 0 0 2px rgba(33, 43, 51, 0.70),
        0 0 7px rgba(114, 199, 235, 0.34);

    transform: translateX(-50%);
}

.hero-match-monitor__screen {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    border: 1px solid rgba(187, 198, 207, 0.62);
    border-radius: 17px;

    background: #f4f6f8;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.13),
        0 0 0 1px rgba(8, 15, 20, 0.72),
        0 3px 10px rgba(0, 0, 0, 0.24);
}

.hero-match-monitor__brand-dot {
    position: absolute;
    right: 50%;
    bottom: 9px;

    width: 18px;
    height: 7px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(214, 221, 226, 0.68) 0%,
            rgba(146, 157, 166, 0.36) 50%,
            rgba(80, 90, 98, 0) 75%
        );

    transform: translateX(50%);
}

.hero-match-monitor__neck {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 2;

    width: 19%;
    height: 36px;

    border-right: 1px solid rgba(159, 169, 178, 0.54);
    border-left: 1px solid rgba(159, 169, 178, 0.54);

    background:
        linear-gradient(
            90deg,
            #52606a 0%,
            #9aa5ae 22%,
            #c3cbd1 50%,
            #929da6 78%,
            #49555f 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24);

    transform: translateX(-50%);
    clip-path:
        polygon(
            16% 0,
            84% 0,
            100% 100%,
            0 100%
        );
}

.hero-match-monitor__base {
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 3;

    width: 34%;
    height: 13px;

    border: 1px solid rgba(151, 161, 170, 0.56);
    border-radius: 50% 50% 8px 8px;

    background:
        linear-gradient(
            180deg,
            #c1c9cf 0%,
            #939ea7 42%,
            #56616a 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 7px 15px rgba(0, 0, 0, 0.28);

    transform: translateX(-50%);
}


/* =========================================================
   螢幕內：正式推薦服務頁面縮圖
========================================================= */

.hero-match-page-preview {
    height: 100%;

    padding:
        12px
        13px;

    color: #172033;

    background: #f4f6f8;
}

.hero-match-page-preview,
.hero-match-page-preview * {
    box-sizing: border-box;
}

.hero-match-service-header {
    position: relative;

    display: flex;

    min-height: 54px;

    padding:
        9px
        11px;

    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;

    border: 1px solid #e4e8ee;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 4px 10px rgba(15, 27, 45, 0.05);
}

.hero-match-service-main {
    min-width: 0;
}

.hero-match-service-title {
    color: #172033;

    font-size: 17px;
    font-weight: 900;
    line-height: 1.15;
}

.hero-match-service-subtitle {
    margin-top: 3px;

    overflow: hidden;

    color: #7a8494;

    font-size: 8px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-match-service-meta {
    display: flex;

    margin-top: 5px;

    align-items: center;
    gap: 7px;

    color: #687386;

    font-size: 7px;
    font-weight: 700;
    line-height: 1;
}

.hero-match-service-meta b {
    color: #3d4a5e;

    font-weight: 900;
}

.hero-match-service-meta i {
    width: 1px;
    height: 9px;

    background: #dde2e8;
}

.hero-match-service-status {
    display: inline-flex;

    min-height: 22px;

    padding:
        4px
        8px;

    flex: 0 0 auto;

    align-items: center;

    border: 1px solid #d5efe3;
    border-radius: 999px;

    color: #047857;
    background: #f0fbf6;

    font-size: 7px;
    font-weight: 900;
    line-height: 1;
}


/* =========================================================
   螢幕內：主推薦場次
========================================================= */

.hero-match-main-card {
    margin-top: 8px;

    overflow: hidden;

    border: 1px solid #e4e8ee;
    border-radius: 11px;

    background: #ffffff;

    box-shadow:
        0 5px 13px rgba(15, 27, 45, 0.055);
}

.hero-match-main-topbar {
    display: flex;

    min-height: 31px;

    padding:
        6px
        10px;

    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            #102033 0%,
            #172a43 100%
        );
}

.hero-match-main-league {
    display: inline-flex;

    min-height: 18px;

    padding:
        3px
        7px;

    align-items: center;

    border-radius: 999px;

    color: #07111d;
    background: #ffc35a;

    font-size: 7px;
    font-weight: 900;
    line-height: 1;
}

.hero-match-main-time {
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
}

.hero-match-main-stage {
    padding:
        10px
        14px
        11px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfd 100%
        );
}

.hero-match-versus-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        62px
        minmax(0, 1fr);

    align-items: center;
    gap: 12px;

    max-width: 560px;

    min-height: 92px;

    margin:
        0
        auto;
}

.hero-match-team {
    display: flex;

    min-width: 0;
    min-height: 82px;

    padding:
        10px
        12px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    border: 1px solid rgba(211, 218, 225, 0.72);
    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9fb 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.80),
        0 4px 11px rgba(15, 27, 45, 0.055);

    text-align: center;
}

.hero-match-team > span {
    display: block;

    margin-bottom: 6px;

    color: #8a95a3;

    font-size: 7px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.16em;
}

.hero-match-team > strong {
    display: block;

    width: 100%;
    max-width: 100%;

    overflow: hidden;

    color: #111b2d;

    font-size: 21px;
    font-weight: 1000;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-overflow: ellipsis;
    white-space: nowrap;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.70);
}

.hero-match-vs {
    color: #d97706;

    font-size: 34px;
    font-weight: 1000;
    line-height: 1;
    text-align: center;
}


/* =========================================================
   螢幕內：正式本場推薦橫幅
========================================================= */

.hero-match-pick-banner {
    display: grid;

    min-height: 42px;

    margin-top: 9px;

    overflow: hidden;

    grid-template-columns:
        113px
        34px
        minmax(0, 1fr);

    align-items: stretch;

    border: 1px solid #d5a84d;
    border-radius: 8px;

    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.014) 0,
            rgba(255, 255, 255, 0.014) 1px,
            transparent 1px,
            transparent 9px
        ),
        linear-gradient(
            110deg,
            #102b49 0%,
            #0c2946 48%,
            #071f38 100%
        );

    box-shadow:
        0 5px 12px rgba(7, 17, 29, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-match-pick-label {
    display: flex;

    min-width: 0;

    padding:
        0
        8px;

    align-items: center;
    gap: 7px;

    color: #ffffff;

    background:
        linear-gradient(
            115deg,
            #102c4b 0%,
            #0b213a 100%
        );

    font-size: 12px;
    font-weight: 1000;
    line-height: 1;
    white-space: nowrap;
}

.hero-match-pick-shield {
    display: inline-flex;

    width: 20px;
    height: 24px;

    flex: 0 0 auto;

    color: #edbd5d;
}

.hero-match-pick-shield svg {
    display: block;

    width: 100%;
    height: 100%;
}

.hero-match-pick-divider {
    position: relative;

    min-width: 34px;

    background:
        linear-gradient(
            90deg,
            #0b213a 0%,
            #102b48 100%
        );
}

.hero-match-pick-divider svg {
    position: absolute;
    top: -1px;
    right: -8px;

    width: 50px;
    height: calc(100% + 2px);
}

.hero-match-pick-content {
    display: flex;

    min-width: 0;

    padding:
        5px
        14px
        5px
        18px;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: #efbd59;

    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   螢幕內：其他兩場鎖定卡
========================================================= */

.hero-match-other-grid {
    display: grid;

    margin-top: 8px;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;
}

.hero-match-preview-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid #dfe3e8;
    border-radius: 9px;

    background:
        repeating-linear-gradient(
            135deg,
            #e8eaed 0,
            #e8eaed 8px,
            #dfe2e6 8px,
            #dfe2e6 16px
        );

    box-shadow:
        0 4px 10px rgba(15, 27, 45, 0.05);
}

.hero-match-preview-top {
    display: flex;

    min-height: 25px;

    padding:
        5px
        8px;

    align-items: center;
    justify-content: space-between;
    gap: 6px;

    color: #ffffff;
    background: #172234;

    font-size: 7px;
    font-weight: 900;
}

.hero-match-preview-league {
    display: inline-flex;

    min-height: 16px;

    padding:
        3px
        6px;

    align-items: center;

    border-radius: 999px;

    color: #07111d;
    background: #ffc35a;

    font-size: 6px;
    line-height: 1;
}

.hero-match-preview-body {
    padding:
        8px
        9px
        9px;
}

.hero-match-preview-teams {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        23px
        minmax(0, 1fr);

    align-items: center;
    gap: 4px;

    color: #172033;

    text-align: center;
}

.hero-match-preview-teams strong {
    min-width: 0;

    overflow: hidden;

    color: #172033;

    font-size: 11px;
    font-weight: 1000;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-match-preview-teams > span {
    color: #d97706;

    font-size: 16px;
    font-weight: 1000;
}

.hero-match-preview-lock {
    display: flex;

    min-height: 22px;

    margin-top: 7px;

    padding:
        4px
        7px;

    align-items: center;
    justify-content: center;
    gap: 4px;

    border-radius: 7px;

    color: #ffffff;
    background: rgba(71, 85, 105, 0.90);

    font-size: 7px;
    font-weight: 900;
    line-height: 1;
}


/* =========================================================
   第二張小虎爺
========================================================= */

.hero-match-mascot {
    position: absolute;
    right: -4px;
    bottom: 26px;
    z-index: 8;

    width: 138px;
    height: 154px;

    pointer-events: none;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            #ffffff 0%,
            #ffffff 94%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to bottom,
            #ffffff 0%,
            #ffffff 94%,
            transparent 100%
        );
}

.hero-match-mascot img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: contain;
    object-position: center bottom;

    filter:
        drop-shadow(
            0 12px 18px rgba(0, 0, 0, 0.38)
        );
}


/* =========================================================
   無推薦資料
========================================================= */

.hero-match-empty {
    display: flex;

    height: 100%;

    padding:
        30px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    color: #172033;
    background: #f4f6f8;

    text-align: center;
}

.hero-match-empty > span {
    display: flex;

    width: 56px;
    height: 56px;

    margin-bottom: 12px;

    align-items: center;
    justify-content: center;

    border: 1px solid #edcf82;
    border-radius: 18px;

    color: #d97706;
    background: #fff3d6;

    font-size: 24px;
}

.hero-match-empty > strong {
    font-size: 20px;
    font-weight: 900;
}

.hero-match-empty > p {
    margin:
        8px
        0
        0;

    color: #7a8494;

    font-size: 11px;
}


/* =========================================================
   中型桌機
========================================================= */

@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-match-stage {
        min-height: 565px;
    }

    .hero-match-monitor {
        width: min(650px, 100%);
    }

    .hero-match-mascot {
        right: -3px;
        bottom: 35px;

        width: 116px;
        height: 132px;
    }

    .hero-match-page-preview {
        padding:
            10px
            11px;
    }

    .hero-match-service-subtitle {
        max-width: 330px;
    }

}


/* =========================================================
   平板與手機
========================================================= */

@media (max-width: 1023px) {

    .hero__container--recommendation {
        min-height: 0;
    }

    .hero-match-stage {
        min-height: 0;

        margin-right: auto;
        margin-left: auto;
    }

    .hero-match-monitor {
        width: min(720px, 100%);
    }

    .hero-match-mascot {
        display: none;
    }

}


/* =========================================================
   手機
========================================================= */

@media (max-width: 639px) {

    .hero__title--recommendation {
        font-size: clamp(35px, 10.8vw, 47px);
    }

    .hero-match-monitor {
        padding-bottom: 34px;
    }

    .hero-match-monitor__body {
        padding:
            6px
            6px
            18px;

        border-radius: 18px;
    }

    .hero-match-monitor__screen {
        border-radius: 11px;
    }

    .hero-match-monitor__neck {
        bottom: 13px;

        height: 25px;
    }

    .hero-match-monitor__base {
        bottom: 5px;

        height: 9px;
    }

    .hero-match-page-preview {
        padding:
            6px;
    }

    .hero-match-service-header {
        min-height: 42px;

        padding:
            6px
            7px;

        border-radius: 7px;
    }

    .hero-match-service-title {
        font-size: 11px;
    }

    .hero-match-service-subtitle {
        display: none;
    }

    .hero-match-service-meta {
        margin-top: 4px;

        font-size: 5px;
    }

    .hero-match-service-status {
        min-height: 17px;

        padding:
            3px
            5px;

        font-size: 5px;
    }

    .hero-match-main-card {
        margin-top: 5px;

        border-radius: 7px;
    }

    .hero-match-main-topbar {
        min-height: 23px;

        padding:
            4px
            6px;

        gap: 5px;
    }

    .hero-match-main-league {
        min-height: 14px;

        padding:
            2px
            5px;

        font-size: 5px;
    }

    .hero-match-main-time {
        font-size: 5px;
    }

    .hero-match-main-stage {
        padding:
            5px
            7px
            6px;
    }

    .hero-match-versus-grid {
        grid-template-columns:
            minmax(0, 1fr)
            32px
            minmax(0, 1fr);

        min-height: 58px;

        gap: 4px;
    }

    .hero-match-team {
        min-height: 54px;

        padding:
            6px
            5px;

        border-radius: 8px;
    }

    .hero-match-team > span {
        margin-bottom: 4px;

        font-size: 4px;
    }

    .hero-match-team > strong {
        font-size: 11px;
        line-height: 1.08;
    }

    .hero-match-vs {
        font-size: 20px;
    }

    .hero-match-pick-banner {
        min-height: 28px;

        margin-top: 5px;

        grid-template-columns:
            66px
            18px
            minmax(0, 1fr);

        border-radius: 5px;
    }

    .hero-match-pick-label {
        padding:
            0
            4px;

        gap: 3px;

        font-size: 7px;
    }

    .hero-match-pick-shield {
        width: 12px;
        height: 14px;
    }

    .hero-match-pick-divider {
        min-width: 18px;
    }

    .hero-match-pick-divider svg {
        right: -4px;

        width: 28px;
    }

    .hero-match-pick-content {
        padding:
            3px
            6px
            3px
            8px;

        font-size: 7px;
    }

    .hero-match-other-grid {
        margin-top: 5px;

        gap: 4px;
    }

    .hero-match-preview-card {
        border-radius: 6px;
    }

    .hero-match-preview-top {
        min-height: 17px;

        padding:
            3px
            4px;

        font-size: 4px;
    }

    .hero-match-preview-league {
        min-height: 11px;

        padding:
            2px
            3px;

        font-size: 4px;
    }

    .hero-match-preview-body {
        padding:
            4px;
    }

    .hero-match-preview-teams {
        grid-template-columns:
            minmax(0, 1fr)
            12px
            minmax(0, 1fr);

        gap: 2px;
    }

    .hero-match-preview-teams strong {
        font-size: 6px;
    }

    .hero-match-preview-teams > span {
        font-size: 9px;
    }

    .hero-match-preview-lock {
        min-height: 14px;

        margin-top: 3px;

        padding:
            2px
            3px;

        gap: 2px;

        border-radius: 4px;

        font-size: 4px;
    }

}


/* =========================================================
   HERO CAROUSEL V6
   第二張小虎爺尺寸同步第一張
========================================================= */

/*
 * 大型桌機：
 * 第一張小虎爺正式尺寸為 215px 高，
 * 第二張同步使用相同高度與原圖比例。
 */
@media (min-width: 1200px) {

    .hero-match-mascot {
        width: auto;
        height: 215px;

        aspect-ratio: 1003 / 896;
    }

}

/*
 * 中型桌機：
 * 第一張小虎爺正式尺寸為 195px 高，
 * 第二張同步使用相同高度與原圖比例。
 */
@media (min-width: 1024px) and (max-width: 1199px) {

    .hero-match-mascot {
        width: auto;
        height: 195px;

        aspect-ratio: 1003 / 896;
    }

}

/*
 * 淡出範圍同步第一張：
 * 95% 前完整顯示，只在最後 5% 快速淡出。
 */
.hero-match-mascot,
.hero-match-mascot img {
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 95%,
            rgba(255, 255, 255, 0.70) 97%,
            rgba(255, 255, 255, 0.28) 99%,
            rgba(255, 255, 255, 0) 100%
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 95%,
            rgba(255, 255, 255, 0.70) 97%,
            rgba(255, 255, 255, 0.28) 99%,
            rgba(255, 255, 255, 0) 100%
        );

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}


/* =========================================================
   MOBILE V1：移動端 Hero 高度與排列修正
   只作用於 639px 以下，PC／平板不變
========================================================= */

@media (max-width: 639px) {

    /*
     * 關鍵修正：
     * 原本兩張 slide 疊在同一個 grid area，
     * 隱藏的第一張仍會撐高第二張 Hero。
     * 手機版只讓目前啟用的 slide 參與高度計算。
     */
    .hero-carousel__slides {
        display: block;
    }

    .hero-carousel__slide {
        display: none;

        opacity: 1;
        visibility: visible;

        transform: none;
        transition: none;
    }

    .hero-carousel__slide.is-active {
        display: block;
    }

    /*
     * 收斂整個 Hero 上下空間。
     */
    .hero {
        min-height: 0;

        padding:
            82px
            14px
            26px;
    }

    .hero__container,
    .hero__container--recommendation {
        min-height: 0;

        gap: 24px;
    }

    .hero__content,
    .hero__content--recommendation {
        padding-top: 0;
    }

    .hero__eyebrow {
        min-height: 27px;

        padding:
            4px
            9px;

        font-size: 10px;
    }

    .hero__title,
    .hero__title--recommendation {
        margin-top: 15px;

        font-size: clamp(33px, 10.2vw, 42px);
        line-height: 1.08;
    }

    .hero__description {
        margin-top: 15px;

        font-size: 13px;
        line-height: 1.68;
    }

    .hero__actions {
        margin-top: 19px;

        gap: 8px;
    }

    .hero__button {
        min-height: 46px;

        padding:
            9px
            14px;

        border-radius: 11px;

        font-size: 13px;
    }

    .hero__service-overview {
        margin-top: 16px;

        font-size: 11px;
        line-height: 1.5;
    }

    /*
     * 第一張：兩個服務畫面改成緊湊堆疊。
     * 第二張畫面略往上重疊，避免 Hero 過長。
     */
    .hero__stage {
        display: block;

        width: 100%;
        min-height: 0;
    }

    .hero-shot--compare {
        width: 96%;

        margin-right: auto;
        margin-left: 0;
    }

    .hero-shot--odds {
        width: 92%;

        margin:
            -22px
            0
            0
            auto;
    }

    .hero-shot--compare::before,
    .hero-shot--odds::before {
        top: -4px;
        right: -4px;
        bottom: -7px;
        left: -4px;

        border-radius: 18px;
    }

    .hero-shot--compare .hero-shot__image-wrap,
    .hero-shot--odds .hero-shot__image-wrap {
        border-radius: 14px;
    }

    /*
     * 第二張：推薦螢幕底部與底座縮短。
     */
    .hero-match-stage {
        display: block;

        width: 100%;
        min-height: 0;
    }

    .hero-match-monitor {
        width: 100%;

        padding-bottom: 25px;
    }

    .hero-match-monitor__body {
        padding:
            5px
            5px
            16px;

        border-radius: 17px;
    }

    .hero-match-monitor__neck {
        bottom: 9px;

        height: 20px;
    }

    .hero-match-monitor__base {
        bottom: 2px;

        height: 8px;
    }

    /*
     * 圓點緊貼目前 slide，
     * 不再落在大片空白區底部。
     */
    .hero-carousel__controls {
        margin-top: 9px;
    }

    .hero-carousel__dots {
        min-height: 20px;

        padding:
            4px
            7px;
    }

}


/* =========================================================
   MOBILE V1：超小手機微調
========================================================= */

@media (max-width: 374px) {

    .hero {
        padding:
            78px
            10px
            24px;
    }

    .hero__title,
    .hero__title--recommendation {
        font-size: 32px;
    }

    .hero-shot--odds {
        margin-top: -17px;
    }

}


/* =========================================================
   HERO CAROUSEL V8：新會員註冊贈點標籤
   兩張 Hero 共用
========================================================= */

.hero__signup-bonus {
    display: inline-flex;

    min-height: 38px;

    margin-top: 15px;

    padding:
        7px
        13px
        7px
        8px;

    align-items: center;
    gap: 8px;

    border: 1px solid rgba(255, 211, 124, 0.58);
    border-radius: 999px;

    color: #ffffff;

    background:
        linear-gradient(
            100deg,
            rgba(245, 154, 35, 0.19) 0%,
            rgba(255, 195, 90, 0.10) 48%,
            rgba(255, 255, 255, 0.035) 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 22px rgba(0, 0, 0, 0.16);

    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.hero__signup-bonus-icon {
    display: inline-flex;

    width: 24px;
    height: 24px;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #07111d;
    background:
        linear-gradient(
            135deg,
            #ffe3a5 0%,
            #ffc35a 52%,
            #f59a23 100%
        );

    box-shadow:
        0 0 14px rgba(255, 195, 90, 0.30);

    font-size: 12px;
    font-weight: 900;
}

.hero__signup-bonus-label {
    color: rgba(255, 227, 165, 0.82);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.hero__signup-bonus strong {
    color: #ffc35a;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.015em;
}

.hero__signup-bonus + .hero__title,
.hero__signup-bonus + .hero__title--recommendation {
    margin-top: 17px;
}

@media (max-width: 1023px) {

    .hero__signup-bonus {
        margin-right: auto;
        margin-left: auto;
    }

}

@media (max-width: 639px) {

    .hero__signup-bonus {
        min-height: 34px;

        margin-top: 11px;

        padding:
            6px
            10px
            6px
            6px;

        gap: 6px;

        font-size: 10px;
    }

    .hero__signup-bonus-icon {
        width: 21px;
        height: 21px;

        font-size: 10px;
    }

    .hero__signup-bonus-label {
        font-size: 8px;
    }

    .hero__signup-bonus strong {
        font-size: 10px;
    }

    .hero__signup-bonus + .hero__title,
    .hero__signup-bonus + .hero__title--recommendation {
        margin-top: 13px;
    }

}

@media (max-width: 374px) {

    .hero__signup-bonus {
        width: 100%;

        justify-content: center;
    }

    .hero__signup-bonus-label {
        display: none;
    }

}


/* =========================================================
   HERO V8.1：註冊贈點標籤收斂版
   小型膠囊／橘金色／禮物 icon
========================================================= */

.hero__signup-bonus {
    min-height: 34px;

    margin-top: 13px;

    padding:
        5px
        12px
        5px
        6px;

    gap: 7px;

    border-color: rgba(255, 195, 90, 0.50);

    background:
        linear-gradient(
            100deg,
            rgba(245, 154, 35, 0.20) 0%,
            rgba(255, 195, 90, 0.10) 58%,
            rgba(255, 255, 255, 0.025) 100%
        );

    font-size: 11px;
}

.hero__signup-bonus-icon {
    width: 22px;
    height: 22px;

    background:
        linear-gradient(
            135deg,
            #ffe3a5 0%,
            #ffc35a 55%,
            #f59a23 100%
        );

    font-family:
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        sans-serif;

    font-size: 12px;
    line-height: 1;
}

.hero__signup-bonus-label {
    font-size: 9px;
    letter-spacing: 0.04em;
}

.hero__signup-bonus strong {
    font-size: 11px;
    font-weight: 900;
}

.hero__signup-bonus + .hero__title,
.hero__signup-bonus + .hero__title--recommendation {
    margin-top: 16px;
}

@media (max-width: 639px) {

    .hero__signup-bonus {
        min-height: 31px;

        margin-top: 10px;

        padding:
            4px
            9px
            4px
            5px;

        gap: 5px;
    }

    .hero__signup-bonus-icon {
        width: 20px;
        height: 20px;

        font-size: 11px;
    }

    .hero__signup-bonus-label {
        font-size: 8px;
    }

    .hero__signup-bonus strong {
        font-size: 9.5px;
    }

}


/* =========================================================
   HERO V8.2：註冊贈點改為非膠囊式標籤
========================================================= */

.hero__signup-bonus {
    position: relative;

    display: inline-flex;
    min-height: 0;

    margin-top: 14px;

    padding:
        0
        0
        5px
        0;

    align-items: center;
    gap: 8px;

    border: 0;
    border-radius: 0;

    color: #ffffff;
    background: transparent;

    box-shadow: none;

    white-space: nowrap;
}

.hero__signup-bonus::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 30px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 195, 90, 0.95) 0%,
            rgba(245, 154, 35, 0.58) 58%,
            rgba(245, 154, 35, 0) 100%
        );
}

.hero__signup-bonus-icon {
    width: 22px;
    height: 22px;

    border-radius: 6px;

    color: #07111d;
    background:
        linear-gradient(
            135deg,
            #ffe3a5 0%,
            #ffc35a 55%,
            #f59a23 100%
        );

    box-shadow:
        0 4px 12px rgba(245, 154, 35, 0.18);
}

.hero__signup-bonus-label {
    color: rgba(255, 227, 165, 0.76);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.hero__signup-bonus strong {
    color: #ffc35a;

    font-size: 11px;
    font-weight: 900;
}

@media (max-width: 639px) {

    .hero__signup-bonus {
        margin-top: 10px;
        padding-bottom: 4px;

        gap: 6px;
    }

    .hero__signup-bonus::after {
        left: 26px;
    }

    .hero__signup-bonus-icon {
        width: 20px;
        height: 20px;

        border-radius: 5px;
    }

    .hero__signup-bonus-label {
        font-size: 8px;
    }

    .hero__signup-bonus strong {
        font-size: 9.5px;
    }

}


/* =========================================================
   HERO V8.3：擴音器＋斜角促銷布條
   參考促銷旗幟樣式，但控制尺寸避免搶主標
========================================================= */

.hero__signup-bonus {
    position: relative;

    display: inline-flex;
    min-height: 42px;

    margin-top: 14px;
    padding: 0;

    align-items: center;
    gap: 0;

    border: 0;
    border-radius: 0;

    background: transparent;
    box-shadow: none;

    white-space: nowrap;
}

.hero__signup-bonus::after {
    display: none;
}

.hero__signup-bonus-megaphone {
    position: relative;
    z-index: 3;

    display: inline-flex;

    width: 42px;
    height: 42px;

    margin-right: -5px;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    color: #ffe3a5;

    filter:
        drop-shadow(
            0 5px 10px rgba(0, 0, 0, 0.24)
        );
}

.hero__signup-bonus-megaphone svg {
    display: block;

    width: 100%;
    height: 100%;

    fill: #f59a23;
    stroke: #ffe3a5;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__signup-bonus-ribbon {
    position: relative;
    z-index: 2;

    display: inline-flex;
    min-height: 38px;

    padding:
        7px
        18px
        7px
        19px;

    align-items: center;
    gap: 8px;

    color: #07111d;

    background:
        linear-gradient(
            110deg,
            #ffe3a5 0%,
            #ffc35a 48%,
            #f59a23 100%
        );

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.18);

    clip-path:
        polygon(
            0 0,
            94% 0,
            100% 50%,
            94% 100%,
            0 100%,
            5% 50%
        );
}

.hero__signup-bonus-ribbon::after {
    content: "";

    position: absolute;
    right: 14px;
    bottom: -9px;

    width: 24px;
    height: 11px;

    background: #a95a00;

    clip-path:
        polygon(
            0 0,
            100% 0,
            74% 100%,
            12% 66%
        );

    opacity: 0.88;
}

.hero__signup-bonus-label {
    color: rgba(7, 17, 29, 0.68);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.hero__signup-bonus strong {
    color: #07111d;

    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.01em;
}

.hero__signup-bonus + .hero__title,
.hero__signup-bonus + .hero__title--recommendation {
    margin-top: 15px;
}

@media (max-width: 639px) {

    .hero__signup-bonus {
        min-height: 35px;

        margin-top: 10px;
    }

    .hero__signup-bonus-megaphone {
        width: 34px;
        height: 34px;

        margin-right: -4px;
    }

    .hero__signup-bonus-ribbon {
        min-height: 32px;

        padding:
            6px
            14px
            6px
            15px;

        gap: 6px;
    }

    .hero__signup-bonus-label {
        font-size: 7.5px;
    }

    .hero__signup-bonus strong {
        font-size: 9.5px;
    }

    .hero__signup-bonus-ribbon::after {
        right: 10px;
        bottom: -7px;

        width: 19px;
        height: 9px;
    }

}

@media (max-width: 374px) {

    .hero__signup-bonus {
        width: auto;
    }

    .hero__signup-bonus-label {
        display: none;
    }

    .hero__signup-bonus-ribbon {
        padding-right: 13px;
        padding-left: 14px;
    }

}


/* =========================================================
   HERO V8.4：高質感新會員贈點標籤
   深藍金屬面板＋金色細框＋獨立 300 點重點
========================================================= */

.hero__signup-bonus {
    position: relative;

    display: inline-flex;
    min-height: 46px;

    margin-top: 15px;
    padding: 0;

    align-items: center;

    border: 0;
    border-radius: 0;

    background: transparent;
    box-shadow: none;

    white-space: nowrap;
}

.hero__signup-bonus::after {
    display: none;
}

.hero__signup-bonus-megaphone {
    position: relative;
    z-index: 4;

    display: inline-flex;

    width: 46px;
    height: 46px;

    margin-right: -8px;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    color: #ffe6a3;

    filter:
        drop-shadow(
            0 7px 14px rgba(0, 0, 0, 0.34)
        );
}

.hero__signup-bonus-megaphone::before {
    content: "";

    position: absolute;
    inset: 5px;

    border: 1px solid rgba(255, 211, 124, 0.42);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 211, 124, 0.14),
            rgba(245, 154, 35, 0.04)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 8px 18px rgba(0, 0, 0, 0.20);

    transform: rotate(-6deg);
}

.hero__signup-bonus-megaphone svg {
    position: relative;
    z-index: 2;

    display: block;

    width: 35px;
    height: 35px;

    fill: #f59a23;
    stroke: #ffe6a3;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__signup-bonus-panel {
    position: relative;
    z-index: 2;

    display: inline-flex;
    min-height: 40px;

    padding:
        6px
        11px
        6px
        18px;

    align-items: center;
    gap: 8px;

    border: 1px solid rgba(255, 211, 124, 0.54);
    border-radius: 8px;

    color: #ffffff;

    background:
        linear-gradient(
            110deg,
            rgba(18, 37, 58, 0.98) 0%,
            rgba(10, 26, 42, 0.98) 62%,
            rgba(22, 48, 73, 0.98) 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 10px 24px rgba(0, 0, 0, 0.24);

    overflow: hidden;
}

.hero__signup-bonus-panel::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 72px;

    background:
        linear-gradient(
            120deg,
            rgba(255, 195, 90, 0) 0%,
            rgba(255, 195, 90, 0.08) 50%,
            rgba(255, 195, 90, 0.16) 100%
        );

    pointer-events: none;
}

.hero__signup-bonus-panel::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 8px;

    width: 3px;
    height: 22px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #ffe3a5 0%,
            #ffc35a 50%,
            #f59a23 100%
        );

    box-shadow:
        0 0 10px rgba(255, 195, 90, 0.26);

    transform: translateY(-50%);
}

.hero__signup-bonus-label {
    position: relative;
    z-index: 2;

    color: #ffc35a;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero__signup-bonus-copy {
    position: relative;
    z-index: 2;

    color: rgba(240, 246, 251, 0.90);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.hero__signup-bonus-points {
    position: relative;
    z-index: 2;

    display: inline-flex;
    min-height: 26px;

    padding:
        5px
        9px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 224, 156, 0.70);
    border-radius: 6px;

    color: #07111d;

    background:
        linear-gradient(
            135deg,
            #ffe7ae 0%,
            #ffc35a 58%,
            #f59a23 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.44),
        0 4px 10px rgba(0, 0, 0, 0.16);

    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 0.01em;
}

.hero__signup-bonus + .hero__title,
.hero__signup-bonus + .hero__title--recommendation {
    margin-top: 16px;
}

@media (max-width: 639px) {

    .hero__signup-bonus {
        min-height: 39px;

        margin-top: 11px;
    }

    .hero__signup-bonus-megaphone {
        width: 39px;
        height: 39px;

        margin-right: -6px;
    }

    .hero__signup-bonus-megaphone svg {
        width: 30px;
        height: 30px;
    }

    .hero__signup-bonus-panel {
        min-height: 35px;

        padding:
            5px
            8px
            5px
            15px;

        gap: 6px;

        border-radius: 7px;
    }

    .hero__signup-bonus-panel::after {
        left: 6px;

        width: 2px;
        height: 18px;
    }

    .hero__signup-bonus-label {
        font-size: 7.5px;
    }

    .hero__signup-bonus-copy {
        font-size: 9px;
    }

    .hero__signup-bonus-points {
        min-height: 23px;

        padding:
            4px
            7px;

        border-radius: 5px;

        font-size: 10px;
    }

}

@media (max-width: 374px) {

    .hero__signup-bonus-label {
        display: none;
    }

    .hero__signup-bonus-panel {
        padding-left: 13px;
    }

}


/* =========================================================
   HERO V8.5：高級金線促銷橫幅
   取消按鈕感，改為深藍金線長條
========================================================= */

.hero__signup-bonus {
    position: relative;

    display: inline-flex;
    min-height: 40px;

    margin-top: 16px;
    padding: 0;

    align-items: center;

    border: 0;
    border-radius: 0;

    background: transparent;
    box-shadow: none;

    white-space: nowrap;
}

.hero__signup-bonus::after {
    display: none;
}

.hero__signup-bonus-megaphone {
    position: relative;
    z-index: 4;

    display: inline-flex;

    width: 44px;
    height: 44px;

    margin-right: -5px;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    color: #ffe3a5;
}

.hero__signup-bonus-megaphone::before {
    content: "";

    position: absolute;
    inset: 3px;

    border: 1px solid rgba(255, 195, 90, 0.62);
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255, 227, 165, 0.14) 0%,
            rgba(255, 195, 90, 0.05) 46%,
            rgba(7, 17, 29, 0.30) 100%
        );

    box-shadow:
        0 0 0 2px rgba(7, 17, 29, 0.82),
        0 6px 16px rgba(0, 0, 0, 0.24);
}

.hero__signup-bonus-megaphone svg {
    position: relative;
    z-index: 2;

    display: block;

    width: 31px;
    height: 31px;

    fill: #f59a23;
    stroke: #ffe3a5;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__signup-bonus-strip {
    position: relative;
    z-index: 2;

    display: inline-flex;
    min-height: 36px;

    padding:
        6px
        24px
        6px
        16px;

    align-items: center;
    gap: 8px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(10, 26, 42, 0.96) 0%,
            rgba(13, 31, 50, 0.96) 58%,
            rgba(16, 40, 64, 0.96) 100%
        );

    clip-path:
        polygon(
            0 0,
            calc(100% - 14px) 0,
            100% 50%,
            calc(100% - 14px) 100%,
            0 100%
        );

    box-shadow:
        0 9px 22px rgba(0, 0, 0, 0.22);

    overflow: hidden;
}

.hero__signup-bonus-strip::before,
.hero__signup-bonus-strip::after {
    content: "";

    position: absolute;
    left: 0;
    right: 13px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 195, 90, 0.90) 0%,
            rgba(255, 227, 165, 0.72) 55%,
            rgba(245, 154, 35, 0.82) 100%
        );
}

.hero__signup-bonus-strip::before {
    top: 0;
}

.hero__signup-bonus-strip::after {
    bottom: 0;
}

.hero__signup-bonus-label {
    position: relative;
    z-index: 2;

    color: #ffc35a;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero__signup-bonus-separator {
    position: relative;
    z-index: 2;

    color: rgba(255, 195, 90, 0.72);

    font-size: 11px;
    font-weight: 700;
}

.hero__signup-bonus-copy {
    position: relative;
    z-index: 2;

    color: rgba(242, 247, 251, 0.92);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.hero__signup-bonus-points {
    position: relative;
    z-index: 2;

    color: #ffc35a;

    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    padding: 0;

    font-size: 14px;
    font-weight: 1000;
    letter-spacing: 0.01em;

    text-shadow:
        0 0 10px rgba(255, 195, 90, 0.18);
}

.hero__signup-bonus + .hero__title,
.hero__signup-bonus + .hero__title--recommendation {
    margin-top: 15px;
}

@media (max-width: 639px) {

    .hero__signup-bonus {
        min-height: 35px;

        margin-top: 11px;
    }

    .hero__signup-bonus-megaphone {
        width: 37px;
        height: 37px;

        margin-right: -4px;
    }

    .hero__signup-bonus-megaphone svg {
        width: 27px;
        height: 27px;
    }

    .hero__signup-bonus-strip {
        min-height: 31px;

        padding:
            5px
            18px
            5px
            13px;

        gap: 6px;
    }

    .hero__signup-bonus-label {
        font-size: 7.5px;
    }

    .hero__signup-bonus-separator {
        font-size: 9px;
    }

    .hero__signup-bonus-copy {
        font-size: 9px;
    }

    .hero__signup-bonus-points {
        font-size: 11px;
    }

}

@media (max-width: 374px) {

    .hero__signup-bonus-label,
    .hero__signup-bonus-separator {
        display: none;
    }

    .hero__signup-bonus-strip {
        padding-left: 12px;
    }

}


/* =========================================================
   HERO V8.6：最終修正版
   重點：
   1. 與上方服務標籤分成兩行，不再擠在同一排
   2. 提高 300 點可讀性
   3. 縮短橫幅、降低廉價促銷感
========================================================= */

.hero__signup-bonus {
    display: flex;

    width: fit-content;
    width: -moz-fit-content;

    min-height: 42px;

    margin-top: 12px;

    align-items: center;

    white-space: nowrap;
}

.hero__signup-bonus-strip {
    min-height: 34px;

    padding:
        5px
        21px
        5px
        15px;

    gap: 7px;

    background:
        linear-gradient(
            90deg,
            rgba(9, 24, 39, 0.98) 0%,
            rgba(12, 31, 49, 0.98) 62%,
            rgba(17, 41, 64, 0.98) 100%
        );

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.20);
}

.hero__signup-bonus-strip::before,
.hero__signup-bonus-strip::after {
    right: 12px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 195, 90, 0.94) 0%,
            rgba(255, 222, 151, 0.82) 62%,
            rgba(245, 154, 35, 0.88) 100%
        );
}

.hero__signup-bonus-megaphone {
    width: 40px;
    height: 40px;

    margin-right: -4px;
}

.hero__signup-bonus-megaphone svg {
    width: 28px;
    height: 28px;
}

.hero__signup-bonus-label {
    color: #ffc35a;

    font-size: 9px;
    font-weight: 900;
}

.hero__signup-bonus-copy {
    color: #f4f8fb;

    font-size: 11px;
    font-weight: 800;
}

.hero__signup-bonus-points {
    color: #ffd77f !important;

    opacity: 1 !important;

    font-size: 13px;
    font-weight: 1000;

    text-shadow:
        0 0 8px rgba(255, 195, 90, 0.22);
}

.hero__signup-bonus + .hero__title,
.hero__signup-bonus + .hero__title--recommendation {
    margin-top: 14px;
}

@media (max-width: 1023px) {

    .hero__signup-bonus {
        margin-right: auto;
        margin-left: auto;
    }

}

@media (max-width: 639px) {

    .hero__signup-bonus {
        min-height: 36px;

        margin-top: 9px;
    }

    .hero__signup-bonus-strip {
        min-height: 30px;

        padding:
            4px
            17px
            4px
            12px;

        gap: 5px;
    }

    .hero__signup-bonus-megaphone {
        width: 34px;
        height: 34px;
    }

    .hero__signup-bonus-megaphone svg {
        width: 24px;
        height: 24px;
    }

    .hero__signup-bonus-label {
        font-size: 7px;
    }

    .hero__signup-bonus-copy {
        font-size: 8.5px;
    }

    .hero__signup-bonus-points {
        font-size: 10.5px;
    }

}


/* =========================================================
   HERO V8.8：官方圖示＋同排高質感資訊帶
   圖示來源：Bootstrap Icons / megaphone-fill
   本版放大註冊贈點文字，提高辨識與強調效果
========================================================= */

.hero__topline {
    display: flex;

    width: 100%;

    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
}

.hero__topline .hero__eyebrow {
    flex: 0 0 auto;
}

.hero__signup-bonus {
    position: relative;

    display: inline-flex;
    min-width: 0;
    min-height: 36px;

    margin: 0;
    padding: 0;

    align-items: center;
    gap: 10px;

    border: 0;
    border-radius: 0;

    background: transparent;
    box-shadow: none;

    white-space: nowrap;
}

.hero__signup-bonus::before {
    content: "";

    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 195, 90, 0.88) 0%,
            rgba(255, 195, 90, 0.52) 58%,
            rgba(255, 195, 90, 0) 100%
        );
}

.hero__signup-bonus::after {
    display: none;
}

.hero__signup-bonus-megaphone {
    display: inline-flex;

    width: 22px;
    height: 22px;

    margin: 0;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    color: #ffc35a;

    background: transparent;

    filter:
        drop-shadow(
            0 2px 6px rgba(245, 154, 35, 0.22)
        );
}

.hero__signup-bonus-megaphone::before {
    display: none;
}

.hero__signup-bonus-megaphone svg {
    display: block;

    width: 100%;
    height: 100%;

    fill: currentColor;
    stroke: none;
}

.hero__signup-bonus-strip {
    display: inline-flex;

    min-width: 0;
    min-height: 0;

    padding: 0;

    align-items: center;
    gap: 8px;

    color: #ffffff;
    background: transparent;

    clip-path: none;
    box-shadow: none;

    overflow: visible;
}

.hero__signup-bonus-strip::before,
.hero__signup-bonus-strip::after {
    display: none;
}

.hero__signup-bonus-label {
    color: #e4b45c;

    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero__signup-bonus-separator {
    color: rgba(255, 195, 90, 0.52);

    font-size: 12px;
    font-weight: 800;
}

.hero__signup-bonus-copy {
    color: rgba(245, 249, 252, 0.96);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.hero__signup-bonus-points {
    padding: 0;

    color: #ffc35a !important;
    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    opacity: 1 !important;

    font-size: 14px;
    font-weight: 1000;
    letter-spacing: 0.01em;

    text-shadow:
        0 0 10px rgba(255, 195, 90, 0.16);
}

.hero__topline + .hero__title,
.hero__topline + .hero__title--recommendation {
    margin-top: 22px;
}

@media (min-width: 1024px) {

    .hero__topline {
        max-width: 640px;
    }

}

@media (max-width: 1023px) {

    .hero__topline {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .hero__signup-bonus {
        margin-right: 0;
        margin-left: 0;
    }

}

@media (max-width: 639px) {

    .hero__topline {
        gap: 8px 11px;
    }

    .hero__signup-bonus {
        min-height: 30px;

        gap: 7px;
    }

    .hero__signup-bonus-megaphone {
        width: 20px;
        height: 20px;
    }

    .hero__signup-bonus-strip {
        gap: 6px;
    }

    .hero__signup-bonus-label {
        font-size: 8px;
    }

    .hero__signup-bonus-separator {
        font-size: 9px;
    }

    .hero__signup-bonus-copy {
        font-size: 10.5px;
    }

    .hero__signup-bonus-points {
        font-size: 12px;
    }

    .hero__topline + .hero__title,
    .hero__topline + .hero__title--recommendation {
        margin-top: 16px;
    }

}

@media (max-width: 374px) {

    .hero__signup-bonus-label,
    .hero__signup-bonus-separator {
        display: none;
    }

}


/* =========================================================
   MOBILE V2：主標與按鈕縮小
   只作用於 639px 以下，PC／平板不變
========================================================= */

@media (max-width: 639px) {

    /*
     * 兩張輪播主標同步縮小。
     * 原本：33px～42px
     * 調整：29px～36px
     */
    .hero__title,
    .hero__title--recommendation {
        font-size: clamp(29px, 8.8vw, 36px);
        line-height: 1.10;
        letter-spacing: 0.008em;
    }

    /*
     * 主標與上方標籤距離稍微收斂。
     */
    .hero__topline + .hero__title,
    .hero__topline + .hero__title--recommendation {
        margin-top: 14px;
    }

    /*
     * 按鈕整體縮小。
     * 原本高度 46px、字體 13px。
     */
    .hero__actions {
        margin-top: 17px;

        gap: 8px;
    }

    .hero__button {
        min-height: 42px;

        padding:
            8px
            12px;

        gap: 8px;

        border-radius: 10px;

        font-size: 12px;
    }

    .hero__button svg {
        width: 16px;
        height: 16px;
    }

    .hero__button-arrow {
        font-size: 16px;
    }

}


/* =========================================================
   MOBILE V2：超小手機
========================================================= */

@media (max-width: 374px) {

    .hero__title,
    .hero__title--recommendation {
        font-size: 28px;
    }

    .hero__button {
        min-height: 40px;

        padding:
            7px
            11px;

        font-size: 11.5px;
    }

}


/* =========================================================
   MOBILE V3：大幅收斂主標、按鈕與整體垂直空間
   只作用於 639px 以下，PC／平板不變
========================================================= */

@media (max-width: 639px) {

    /*
     * Hero 整體再壓縮：
     * 上下留白減少，讓首屏更快看到服務畫面。
     */
    .hero {
        padding:
            76px
            12px
            22px;
    }

    .hero__container,
    .hero__container--recommendation {
        gap: 18px;
    }

    /*
     * 頂部兩個標籤再縮小並拉近。
     */
    .hero__topline {
        gap: 7px 9px;
    }

    .hero__eyebrow {
        min-height: 24px;

        padding:
            3px
            8px;

        gap: 6px;

        font-size: 8.5px;
    }

    .hero__eyebrow-dot {
        width: 5px;
        height: 5px;
    }

    .hero__signup-bonus {
        min-height: 25px;

        gap: 5px;
    }

    .hero__signup-bonus-megaphone {
        width: 17px;
        height: 17px;
    }

    .hero__signup-bonus-strip {
        gap: 4px;
    }

    .hero__signup-bonus-label {
        font-size: 6.5px;
    }

    .hero__signup-bonus-separator {
        font-size: 7px;
    }

    .hero__signup-bonus-copy {
        font-size: 7.8px;
    }

    .hero__signup-bonus-points {
        font-size: 9px;
    }

    /*
     * 兩張輪播主標大幅縮小。
     * 第一張、第二張統一尺寸，避免切換時視覺跳動。
     */
    .hero__title,
    .hero__title--recommendation {
        margin-top: 12px;

        font-size: clamp(25px, 7.7vw, 31px);
        line-height: 1.08;
        letter-spacing: 0.004em;
    }

    .hero__title > strong {
        margin-top: 4px;
    }

    /*
     * 說明文字縮小並壓縮上下距離。
     */
    .hero__description {
        max-width: 340px;

        margin:
            12px
            auto
            0;

        font-size: 11.5px;
        line-height: 1.58;
    }

    /*
     * 按鈕改成更扁、更像行動版操作列。
     */
    .hero__actions {
        width: 100%;

        margin-top: 14px;

        gap: 7px;
    }

    .hero__button {
        min-height: 38px;

        padding:
            6px
            10px;

        gap: 7px;

        border-radius: 9px;

        font-size: 11px;
        font-weight: 800;
    }

    .hero__button svg {
        width: 14px;
        height: 14px;
    }

    .hero__button-arrow {
        font-size: 14px;
    }

    /*
     * 下方服務說明同步縮小。
     */
    .hero__service-overview {
        margin-top: 13px;

        font-size: 10px;
        line-height: 1.4;
    }

    .hero__service-overview span {
        margin-top: 3px;
    }

    /*
     * 第一張與第二張服務畫面再往上靠，
     * 減少文字區與畫面區之間的空隙。
     */
    .hero__stage,
    .hero-match-stage {
        margin-top: -2px;
    }

    /*
     * 推薦頁與數據對決頁的螢幕外框稍微縮小，
     * 避免首屏畫面過度壓迫。
     */
    .hero-match-monitor,
    .hero-shot--compare,
    .hero-shot--odds {
        max-width: 96%;
    }

    .hero-match-monitor {
        margin-right: auto;
        margin-left: auto;
    }

    /*
     * 輪播圓點再靠近內容。
     */
    .hero-carousel__controls {
        margin-top: 5px;
    }

}


/* =========================================================
   MOBILE V3：超小手機
========================================================= */

@media (max-width: 374px) {

    .hero {
        padding:
            72px
            9px
            20px;
    }

    .hero__title,
    .hero__title--recommendation {
        font-size: 24px;
    }

    .hero__description {
        font-size: 11px;
    }

    .hero__button {
        min-height: 36px;

        padding:
            6px
            9px;

        font-size: 10.5px;
    }

}


/* =========================================================
   MOBILE V4：兩個 CTA 按鈕改為同一行
   只作用於 639px 以下，PC／平板不變
========================================================= */

@media (max-width: 639px) {

    .hero__actions {
        display: flex;

        width: 100%;

        flex-direction: row;
        flex-wrap: nowrap;

        gap: 8px;
    }

    .hero__button {
        width: auto;
        min-width: 0;
        min-height: 38px;

        padding:
            6px
            7px;

        flex: 1 1 0;

        gap: 5px;

        font-size: 10.5px;
        white-space: nowrap;
    }

    .hero__button svg {
        width: 13px;
        height: 13px;
    }

    .hero__button-arrow {
        margin-left: 0;

        font-size: 13px;
    }

}


/* =========================================================
   MOBILE V4：超小手機仍維持同一行
========================================================= */

@media (max-width: 374px) {

    .hero__actions {
        gap: 6px;
    }

    .hero__button {
        min-height: 36px;

        padding:
            5px
            5px;

        gap: 4px;

        font-size: 9.5px;
    }

    .hero__button svg {
        width: 12px;
        height: 12px;
    }

    .hero__button-arrow {
        font-size: 12px;
    }

}


/* =========================================================
   MOBILE V5：註冊贈點訊息左移 2px
   只作用於 639px 以下，其他版面不變
========================================================= */

@media (max-width: 639px) {

    .hero__signup-bonus {
        transform: translateX(-16px);
    }

}
