/* ---- 圓角與字體設定 ---- */
:root {
    --gp-radius: 8px;
    --gp-radius-sm: 5px;
    --gp-font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---- 以下為版型樣式，一般不需更動 ---- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 56px;
}

body {
    font-family: var(--gp-font);
    background-color: var(--gp-bg);
    background-image:
        radial-gradient(1100px 560px at 82% -8%, rgba(108, 92, 231, 0.22), transparent 60%),
        radial-gradient(900px 500px at -8% 18%, rgba(74, 108, 240, 0.14), transparent 55%),
        var(--gp-bg-layer);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto, auto, cover;
    padding-bottom: 92px;
}

div span,
main a {
    color: var(--gp-accent);
    font-weight: 500;
}

div a span,
main a {
    text-decoration: underline;
}

.gp-grad {
    background: var(--gp-surface);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    background: var(--gp-table-head-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gp-hero {
    width: 100%;
    height: auto;
    aspect-ratio: 114 / 50;
    background-size: 100% 100%, 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--gp-bg);
}

/* .zh-tw .gp-hero {
    background-image:
        linear-gradient(to bottom, rgba(10, 11, 28, 0) 100%),
        var(--gp-hero-image);
}


.en-us .gp-hero {
    background-image:
        linear-gradient(to bottom, rgba(10, 11, 28, 0) 100%),
        var(--gp-hero-image-enus);
}

.id-id .gp-hero {
    background-image:
        linear-gradient(to bottom, rgba(10, 11, 28, 0) 100%),
        var(--gp-hero-image-idid);
} */

@media (min-width: 1280px) {
    .gp-hero {
        width: 100%;
        height: 600px !important;
        aspect-ratio: 1140 / 500;

        background-size: 1368px 600px, 1368px 600px;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--gp-bg);
    }

    /* 
    .zh-tw .gp-hero {
        background-image:
            linear-gradient(to right,
                var(--gp-bg) 0%,
                transparent 12%,
                transparent 88%,
                var(--gp-bg) 100%),
            var(--gp-hero-image);
    }


    .en-us .gp-hero {
        background-image:
            linear-gradient(to right,
                var(--gp-bg) 0%,
                transparent 12%,
                transparent 88%,
                var(--gp-bg) 100%),
            var(--gp-hero-image-enus);
    } */
}

.gp-h2 {
    position: relative;
    color: var(--gp-section-title);
    font-weight: 700;
    letter-spacing: .02em;
}

.gp-p {
    color: var(--gp-text);
    line-height: 1.75;
}

.gp-note {
    font-size: .875rem;
    line-height: 1.65;
    color: var(--gp-text-muted);
}

.gp-card {
    background-image: var(--gp-surface);
    border-top: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
}

.gp-btn {
    background: var(--gp-primary);
    color: var(--gp-btn-text);
    transition: background .15s ease, transform .15s ease;
    text-decoration: none !important;
}

.gp-btn:hover {
    background: var(--gp-primary-hover);
    transform: translateY(-1px);
}

.gp-btn:active {
    transform: translateY(0);
}

.gp-btn-outline {
    background: rgb(189, 189, 189);
    color: var(--gp-text-invert);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.gp-btn-outline:hover {
    background: var(--gp-primary);
    border-color: var(--gp-primary);
    color: var(--gp-btn-text);
    transform: translateY(-1px);
}

.gp-btn-outline:active {
    transform: translateY(0);
}

/* 回饋表格 */
.gp-table {
    width: 100%;
    border-collapse: collapse;
}

.gp-table thead th {
    background-image: var(--gp-table-head-bg);
    color: var(--gp-table-head-text);
    font-weight: 700;
    /* padding: 14px 16px; */
    padding: 10px 10px;
    text-align: left;
    /* white-space: nowrap; */
}

.gp-table tbody td {
    padding: 10px 10px;
    border-bottom: 1px solid var(--gp-border);
    color: var(--gp-text);
    vertical-align: middle;
}

.gp-table tbody tr:nth-child(odd) {
    background: var(--gp-table-stripe);
}

.gp-table tbody tr:last-child td {
    border-bottom: none;
}

.gp-table-alt {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gp-table-alt-head {
    display: none;
    grid-template-columns: 1.1fr 1.4fr 1.5fr;
    padding: 0 18px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--gp-text-muted);
    text-transform: uppercase;
}

@media (min-width:640px) {
    .gp-table-alt-head {
        display: grid;
    }
}

.gp-table-alt-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 18px;
    border-radius: var(--gp-radius);
    background: var(--gp-surface-2);
    border: 1px solid var(--gp-border);
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

@media (min-width:640px) {
    .gp-table-alt-row {
        grid-template-columns: 1.1fr 1.4fr 1.5fr;
        gap: 12px;
        align-items: center;
    }
}

.gp-table-alt-row:hover {
    transform: translateY(-2px);
    border-color: var(--gp-primary);
    background: rgba(108, 92, 231, 0.08);
}

.gp-table-alt-row.is-highlight {
    border-color: var(--gp-primary);
    background: linear-gradient(90deg, rgba(108, 92, 231, 0.16), rgba(108, 92, 231, 0.04));
}

.gp-table-alt-label {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--gp-text-muted);
    text-transform: uppercase;
}

@media (min-width:640px) {
    .gp-table-alt-label {
        display: none;
    }
}

.gp-table-alt-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.gp-table-alt-amount b {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gp-text);
}

.gp-table-alt-mid {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gp-table-alt-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--gp-primary);
    color: var(--gp-btn-text);
    font-size: .75rem;
    font-weight: 800;
    white-space: nowrap;
}

.gp-table-alt-pts {
    font-weight: 700;
    color: var(--gp-accent);
}

.gp-table-alt-gift {
    font-size: .875rem;
    color: var(--gp-text);
    line-height: 1.5;
}

.gp-block-group>*+* {
    margin-top: 1rem;
}

.gp-block-group-sm>*+* {
    margin-top: 1.5rem;
}

.gp-time-block {
    display: flex;
    flex-direction: column;
    gap: 12px;


}

@media (min-width:640px) {
    .gp-time-block {
        gap: 20px;
    }
}

.reward-time {
    width: fit-content;
    padding: 6px 12px;
    border: 1px solid var(--gp-border);
    color: var(--gp-section-title);
    background: var(--time-bg);
    font-size: 15px;
    font-weight: 700;
}

.gp-time-block-note {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    border-radius: var(--gp-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
}

.info-grid {
    display: grid;
    gap: 6px;
    align-content: start;
    min-height: 100%;
    padding: 18px;
    border: 1px solid var(--gp-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
}

.gp-carousel-nav {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: var(--gp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gp-text);
    background: transparent;
    border: 1px solid var(--gp-border);
    transition: background .15s ease;
}

.gp-carousel-nav:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 條列 */
.gp-list li {
    position: relative;
    padding-left: 20px;
    margin: 0px 0px 8px 0px;
    color: var(--gp-text);
    line-height: 1.7;
}

.gp-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gp-primary);
}

/* ---- 輪播 ---- */
.gp-carousel {
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

.gp-carousel:active {
    cursor: grabbing;
}

.gp-track {
    display: flex;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.gp-slide {
    flex: 0 0 100%;
    padding: 0 8px;
    box-sizing: border-box;
}

/* 圖片容器 */
.gp-step-image {
    position: relative;
}

/* 步驟編號 */
.gp-step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gp-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@media(max-width:768px) {
    .gp-step-number {
        top: 6px;
        left: 6px;
        width: 26px;
        height: 26px;
    }
}

.payment .gp-slide img,
.mmevent .gp-slide img {
    max-width: 90px;
    border-radius: 10px;
}


@media (min-width:640px) {
    .gp-slide {
        flex-basis: 50%;
    }
}

@media (min-width:1024px) {
    .gp-slide {
        flex-basis: 33.3333%;
    }
}

.gp-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--gp-primary);
    transition: all .2s;
    opacity: 0.4;
}

.gp-dot[aria-current="true"] {
    width: 24px;
    background: var(--gp-primary);
    opacity: 1;
}

.memberChannel a.gp-card {
    display: flex;
    flex-direction: column;
    height: stretch;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

@media (max-width:768px) {
    .memberChannel a.gp-card img {
        min-width: 120px;
        max-width: 120px;
    }
}

@media (min-width: 640px) {
    .sm\:text-base {
        font-size: 1rem !important;
    }
}

.gp-tab {
    padding: 8px 18px;
    border-radius: var(--gp-radius-sm);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    color: var(--gp-text-muted);
    background: #c3c3c3;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
    width: 100%;
    text-align: center;
}

@media (min-width:640px) {
    .gp-tab {
        width: auto;
    }
}

.gp-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.gp-tab-list .gp-tab {
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}

@media (min-width:480px) {
    .gp-tab-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width:640px) {
    .gp-tab-list {
        display: flex;
        align-items: center;
    }
}

.gp-tab:hover {
    color: var(--gp-text);
    border-color: rgba(255, 255, 255, 0.28);
}

.gp-tab.is-active {
    background: var(--gp-primary);
    color: var(--gp-btn-text);
    border-color: var(--gp-primary);
}

.gp-tab-panel[hidden] {
    display: none;
}

/* 第二層頁籤外框 */
.tab-sm-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 14px;
    background: #f0f4f8;
    border: 1px solid #e0e7ef;
    border-radius: 24px;
}

/* 左側提示文字 */
.tab-sm-label {
    color: #647891;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    margin-right: 4px;
}

/* 頁籤按鈕：依文字寬度排列，不平均分配 */
.tab-sm-group .gp-tab.tab-sm {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* 選中狀態 */
.tab-sm-group .gp-tab.tab-sm.is-active {
    background: var(--gp-primary);
    color: #fff;
}

/* 滑鼠移入 */
.tab-sm-group .gp-tab.tab-sm:not(.is-active):hover {
    background: #e2eaf2;
}

/* 手機版 */
@media (max-width: 640px) {
    .tab-sm-group {
        gap: 4px;
        padding: 8px;
        border-radius: 50px;
        width: 100%;
    }

    .tab-sm-label {
        width: 100%;
        margin-bottom: 4px;
    }

    .tab-sm-group .gp-tab.tab-sm {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* ---- 右側固定快速連結 ---- */
#gpSide {
    position: fixed;
    right: 12px;
    bottom: 104px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(14px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}

#gpSide.is-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

@media (min-width:640px) {
    #gpSide {
        right: 16px;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%) translateX(14px);
    }

    #gpSide.is-visible {
        transform: translateY(-50%) translateX(0);
    }
}

.gp-side-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 56px;
    padding: 9px 4px;
    border-radius: var(--gp-radius-sm);
    background: var(--gp-primary);
    color: var(--gp-btn-text);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .20);
    transition: background .15s ease, transform .15s ease;
}

.gp-side-link:hover {
    background: var(--gp-primary-hover);
    transform: translateY(-2px);
}

.gp-side-link .lbl {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1;
}

@media (max-width:639px) {
    .gp-side-link {
        width: 50px;
    }

    .gp-side-link .lbl {
        font-size: 11px;
    }
}

.gp-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 45;
    transform: translateX(-50%);
    width: min(800px, calc(100% - 24px));
    display: flex;
    align-items: center;
    background: var(--gp-surface);
    border: 1px solid var(--gp-border);
    border-radius: calc(var(--gp-radius) + 10px);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
    padding: 6px;
}

.gp-bottom-nav-body {
    flex: 1 1 auto;
    min-width: 0;
}

.gp-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: var(--gp-radius-sm);
    color: var(--gp-text-muted);
    transition: background .15s ease, color .15s ease;
}

.gp-bottom-nav-item svg {
    width: 22px;
    height: 22px;
}

.gp-bottom-nav-item span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.gp-bottom-nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gp-text);
}

.gp-bottom-nav-item.is-active {
    background: var(--gp-primary);
    color: var(--gp-btn-text);
}

.gp-bottom-nav .gp-dots {
    margin-top: 4px;
}

.gp-bottom-nav .gp-dot {
    width: 6px;
    height: 6px;
}

.gp-bottom-nav .gp-dot[aria-current="true"] {
    width: 16px;
}

.gp-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.gp-modal[hidden] {
    display: none;
}

.gp-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 18, 0.72);
    backdrop-filter: blur(2px);
}

.gp-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: min(84vh, 720px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--gp-surface);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.65);
    animation: gp-modal-in .2s ease;
}

@media (min-width:1024px) {
    .gp-modal-dialog {
        max-width: 900px;
    }
}

@keyframes gp-modal-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gp-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gp-border);
    flex: 0 0 auto;
}

.gp-modal-close {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: var(--gp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gp-text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background .15s ease, color .15s ease;
}

.gp-modal-close:hover {
    background: var(--gp-primary);
    color: var(--gp-btn-text);
    border-color: var(--gp-primary);
}

.gp-modal-body {
    padding: 20px 22px 24px;
    overflow-y: auto;
}

body.gp-modal-open {
    overflow: hidden;
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--gp-primary) var(--gp-bg-2);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gp-bg-2);
}

::-webkit-scrollbar-thumb {
    background-color: var(--gp-primary);
    border-radius: 999px;
    border: 2px solid var(--gp-bg-2);
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--gp-primary-hover);
}

::-webkit-scrollbar-corner {
    background: var(--gp-bg-2);
}

/* 彈窗內文捲軸：軌道跟隨卡片底色，融入深色玻璃卡片 */
.gp-modal-body {
    scrollbar-color: var(--gp-primary) var(--gp-surface);
}

.gp-modal-body::-webkit-scrollbar-track {
    background: var(--gp-surface);
}

.gp-modal-body::-webkit-scrollbar-thumb {
    border-color: var(--gp-surface);
}

.gp-collapse-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.gp-collapse-wrap.is-open {
    grid-template-rows: 1fr;
}

.gp-collapse-wrap>div {
    overflow: hidden;
}

.gp-collapse-wrap .gp-list {
    margin: 0;
}

.gp-collapse-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: var(--gp-radius-sm);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--gp-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.gp-collapse-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.gp-collapse-toggle:active {
    transform: translateY(1px);
}

.gp-collapse-toggle .gp-collapse-chevron {
    transition: transform .25s ease;
}

.gp-collapse-toggle.is-open .gp-collapse-chevron {
    transform: rotate(180deg);
}

.displayNone {
    display: none !important;
}

.grad_copyRight {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grad {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.grad .cf_img {
    flex: 0 0 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grad .cf_img img {
    display: block;
    width: 50px;
    max-width: 50px;
    max-height: 50px;
    height: auto;
    object-fit: contain;
}

.grad p {
    margin: 0;
    font-size: .8125rem;
    line-height: 1.65;
    color: var(--gp-text-muted);
}

/* 導覽列 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
    padding: 10px clamp(18px, 4vw, 56px);
    border-bottom: 1px solid rgba(255, 242, 0, 0.26);
    background: #000;
    backdrop-filter: blur(16px);
}

.brand img {
    width: 81px;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}

.header-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 26px);
    color: #fff8fd;
    font-size: 15px;
    font-weight: 400;
}

.header-nav a {
    position: relative;
    padding: 8px 0;
}

.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--yellow), var(--yellow), #000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.header-nav a:hover::after {
    transform: scaleX(1);
}

.header-menu-toggle {
    display: none;
}

/* 底部快速導覽樣式 */
.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(var(--item-count, 6), minmax(0, 1fr));
    width: min(820px, calc(100% - 24px));
    padding: 8px;
    border: 1px solid rgba(64, 75, 216, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -12px 34px rgba(30, 0, 23, 0.18);
    transform: translateX(-50%);
    backdrop-filter: blur(16px);
}

.bottom-nav a {
    display: grid;
    place-items: center;
    gap: 2px;
    min-height: 54px;
    padding: 5px 4px;
    border-radius: 16px;
    color: #35233c;
    font-size: 12px;
    font-weight: 900;
}

.bottom-nav a:active {
    background: rgba(255, 242, 0, 0.2);
}

.bottom-nav a.is-desktop-hidden {
    display: none;
}

.bottom-nav span.has-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
}

.bottom-nav img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(184, 17, 142, 0.16));
}

/* 響應式 RWD 樣式（行動裝置） */
@media (max-width: 760px) {
    .site-header {
        min-height: 58px;
        padding: 8px 14px;
    }

    .brand img {
        width: 71px;
    }

    .header-menu-toggle {
        display: inline-grid;
        gap: 5px;
        place-content: center;
        width: 42px;
        height: 42px;
        margin-left: auto;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .header-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-header.is-menu-open .header-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.is-menu-open .header-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .header-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        max-height: 260px;
        overflow-y: auto;
        gap: 0;
        border: 1px solid rgba(255, 242, 0, 0.22);
        background: rgb(0, 0, 0);
        box-shadow: 0 18px 34px rgba(68, 0, 52, 0.22);
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        font-size: 12px;
    }

    .site-header.is-menu-open .header-nav {
        display: flex;
        max-height: 260px;
        opacity: 1;
        transform: translateY(0);
    }

    .header-nav a {
        padding: 12px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .header-nav a:last-child {
        border-bottom: 0;
    }

    .bottom-nav {
        width: min(100% - 16px, 620px);
        padding: 7px;
        border-radius: 22px;
    }

    .bottom-nav a {
        min-height: 56px;
        gap: 1px;
        padding: 4px 2px;
        font-size: 11px;
        line-height: 1.12;
    }

    .bottom-nav a.is-desktop-hidden {
        display: grid;
    }

    .bottom-nav a.is-mobile-hidden {
        display: none;
    }

    .bottom-nav span.has-icon,
    .bottom-nav img {
        width: 44px;
        height: 44px;
    }

    .side-tools {
        right: 10px;
        bottom: 15vh
    }
}

.side-tools {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: 15vh;
    z-index: 28;
    display: grid;
    gap: 8px
}

.side-tools a,
.side-tools button {
    display: grid;
    place-items: center;
    width: 58px;
    min-height: 58px;
    /* padding: 7px; */
    padding: 0px;
    border: 1px solid rgba(216, 239, 117, .48);
    border-radius: 50%;
    color: #17213a;
    background: var(--gp-surface);
    box-shadow: 0 12px 24px rgba(0, 8, 30, .28);
    text-align: center;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 900
}

.side-tools a:hover,
.side-tools a:focus-visible,
.side-tools button:hover,
.side-tools button:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-1px)
}

.side-tools .top-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease
}

.side-tools .top-button.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0)
}



/* 第一層tab改 */
#mmevent .gp-block-group.mmeventcontent .gp-tab-list,
.gp-tab-list.grid.grid-cols-3.gap-2.mt-4 {
    padding: 4px;
    background-color: #fff;
    border-radius: 50px;
    border: 1px solid var(--gp-border);
    box-shadow: 1px 1px 5px 0px #9292922e;
    display: flex;
}

#mmevent .gp-block-group.mmeventcontent .gp-tab-list {
    max-width: 402px;
    margin: -4.8% 0px 0px auto;
}

.gp-tab-list.grid.grid-cols-3.gap-2.mt-4 {
    max-width: 402px;
    margin: -3.5% 0px 0px auto;
}

.th-th .gp-tab-list.grid.grid-cols-3.gap-2.mt-4,
.id-id .gp-tab-list.grid.grid-cols-3.gap-2.mt-4,
.ja-jp .gp-tab-list.grid.grid-cols-3.gap-2.mt-4 {
    max-width: 606px;
    margin: -3.5% 0px 0px auto;
}


@media (max-width: 1180px) {

    .th-th .gp-tab-list.grid.grid-cols-3.gap-2.mt-4,
    .id-id .gp-tab-list.grid.grid-cols-3.gap-2.mt-4,
    .ja-jp .gp-tab-list.grid.grid-cols-3.gap-2.mt-4 {
        max-width: inherit;
        margin: inherit;
        margin-top: 12px;
    }

}

@media (max-width: 1050px) {
    #mmevent .gp-block-group.mmeventcontent .gp-tab-list {
        max-width: 402px;
        margin: -5.8% 0px 0px auto;
    }

    .gp-tab-list.grid.grid-cols-3.gap-2.mt-4 {
        max-width: 402px;
        margin: -5.5% 0px 0px auto;
    }
}

@media (max-width: 1024px) {
    #mmevent .gp-block-group.mmeventcontent .gp-tab-list {
        max-width: 402px;
        margin: -6.8% 0px 0px auto;
    }

    .gp-tab-list.grid.grid-cols-3.gap-2.mt-4 {
        max-width: inherit;
        margin: inherit;
        margin-top: 12px;
    }
}

@media (max-width: 900px) {
    #mmevent .gp-block-group.mmeventcontent .gp-tab-list {
        max-width: 402px;
        margin: -7.8% 0px 0px auto;
    }

}

@media (max-width: 899px) {
    #mmevent .gp-block-group.mmeventcontent .gp-tab-list {
        max-width: inherit;
        margin: auto 0px 0px auto;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

#mmevent .gp-block-group.mmeventcontent .gp-tab-list .gp-tab.is-active,
.gp-tab-list.grid.grid-cols-3.gap-2.mt-4 .gp-tab.is-active {
    background: var(--gp-primary);
    color: var(--gp-btn-text);
    border-color: var(--gp-primary);
    border-radius: 50px;
}

#mmevent .gp-block-group.mmeventcontent .gp-tab-list .gp-tab,
.gp-tab-list.grid.grid-cols-3.gap-2.mt-4 .gp-tab {
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 50px;
    background: none;
    color: var(--gp-section-title);
    box-shadow: none;
}

@media(max-width:576px) {
    button.gp-tab.flex-1.inline-flex.items-center.justify-center.gap-2.rounded-gp-sm.px-6.py-3.text-sm {
        text-wrap: balance;
    }
}


/* 20261027 20261030 20261102 20261102 20261102 20261102 20261102*/