/* =====================================================================
   會員中心手機版外觀（2026-10-03 採樣模板 vip.html／inbox.html／recharge.html／withdraw.html／profile.html）
   只作用在 body.sh-mobile；電腦版用 css/member-pc.css。功能與 DOM 掛鉤不變，
   由 js/member-pc.js（MPC）補上橫式等級卡、福利特權格、金流頁首與分組卡片。
   設計稿寬 375（外殼會整頁 zoom），所以這裡直接寫 px。
   ===================================================================== */
body.sh-mobile { --mm-blue: #3590ec; --mm-deep: #2670ca; --mm-grad: linear-gradient(180deg, #6db7fb, #3590ec); --mm-card-shadow: 0 2px 10px rgba(23, 58, 122, .08); --mm-t1: #0b0d12; --mm-t2: #5b6b82; --mm-t3: #9aa3b5; --mm-line: #e3e8f0; }

/* 這幾個面板不要外層白卡，改成一塊一塊的卡片直接放在頁面底色上 */
body.sh-mobile #panel-vip, body.sh-mobile #panel-messages, body.sh-mobile #panel-deposit, body.sh-mobile #panel-consign, body.sh-mobile #panel-account { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.mpc-card { margin: 0 0 12px; padding: 16px 14px; border-radius: 16px; background: #fff; box-shadow: 0 2px 10px rgba(23, 58, 122, .08); }
.mpc-sec { margin: 0 0 12px; color: #0b0d12; font-size: 17px; font-weight: 700; }

/* ---------- 我的 VIP ---------- */
body.sh-mobile .vipsys { padding: 0; border: 0; background: none; }
body.sh-mobile .vip-carousel { position: relative; margin: -4px -14px 0; padding: 0; background: none; }
body.sh-mobile .vip-nav { display: none; }
body.sh-mobile .vip-cards { display: flex; gap: 12px; margin: 0; padding: 6px 0 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
body.sh-mobile .vip-cards::-webkit-scrollbar { display: none; }
body.sh-mobile .vip-cards::before, body.sh-mobile .vip-cards::after { content: ""; flex: 0 0 calc(50% - 156px); }
body.sh-mobile .vip-cards.drag { scroll-snap-type: none; }
body.sh-mobile .vip-card.vipx { flex: 0 0 288px; width: 288px; min-width: 0; height: 168px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 12px; background: none; box-shadow: none; opacity: .7; text-align: left; transform: none; scroll-snap-align: center; transition: opacity .25s; }
body.sh-mobile .vip-card.vipx::before, body.sh-mobile .vip-card.vipx::after { content: none; }
body.sh-mobile .vip-card.vipx.is-picked { opacity: 1; box-shadow: 0 8px 18px rgba(var(--vx-g, 241, 185, 100), .35); }
.vipx--m .vipx__tag { min-width: 62px; height: 22px; border-radius: 12px 0 12px 0; font-size: 11px; line-height: 22px; }
.vipx--m .vipx__in { display: block; padding: 28px 16px 0 20px; }
.vipx--m .vipx__left { display: contents; }
.vipx--m .vipx__lv { font-size: 40px; }
.vipx--m .vipx__nm { position: absolute; left: 20px; bottom: 12px; font-size: 15px; }
.vipx--m .vipx__right { margin-top: 10px; }
.vipx--m .vipx__row + .vipx__row { margin-top: 4px; }
.vipx--m .vipx__bar { width: 62%; height: 6px; border-radius: 6px; }
.vipx--m .vipx__txt { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; }
.vipx--m .vipx__state { margin-top: 6px; font-size: 18px; line-height: 26px; }
.vipx--m .vipx__foot { position: absolute; right: 14px; bottom: 12px; font-size: 11px; line-height: 16px; text-align: right; }
.vipx--m .vipx__state + .vipx__foot { position: static; margin-top: 4px; font-size: 13px; text-align: left; }
body.sh-mobile .vipx-tabs { display: none; }
body.sh-mobile .vipx-welfare h3, body.sh-mobile #panel-vip .mpanel__sub { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 0; color: #0b0d12; font-size: 18px; font-weight: 700; text-align: center; }
body.sh-mobile .vipx-welfare h3::before, body.sh-mobile .vipx-welfare h3::after, body.sh-mobile #panel-vip .mpanel__sub::before, body.sh-mobile #panel-vip .mpanel__sub::after { content: ""; flex: 1 1 0; height: 1px; background: linear-gradient(90deg, rgba(53, 144, 236, 0), rgba(53, 144, 236, .7)); }
body.sh-mobile .vipx-welfare h3::after, body.sh-mobile #panel-vip .mpanel__sub::after { transform: scaleX(-1); }
body.sh-mobile .vipx-welfare__tip { margin: 14px 0 12px; color: var(--mm-t2); font-size: 15px; text-align: center; }
body.sh-mobile .vipx-welfare__tip b { color: #c08a3e; font-weight: 700; }
body.sh-mobile .vipx-medals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
body.sh-mobile .vipx-medal { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-end; width: auto; height: auto; min-height: 84px; margin: 0; padding: 8px 2px 9px; border-radius: 12px; background: linear-gradient(180deg, #ffeccd, #ffd6a3); box-shadow: 0 3px 6px rgba(214, 150, 70, .22); color: #7a5527; font-size: 12px; }
body.sh-mobile .vipx-medal__bg { display: none; }
body.sh-mobile .vipx-medal__top { width: auto; height: auto; margin: 4px 0 0; padding: 0; }
body.sh-mobile .vipx-medal__top span:first-child { font-size: 13px; font-weight: 700; }
body.sh-mobile .vipx-medal__top span { line-height: 17px; }
body.sh-mobile .vipx-medal__ic { position: static; width: 30px; height: 30px; margin: 0; }
body.sh-mobile .vipx-medal:not(.on) { background: linear-gradient(180deg, #f1f3f7, #e4e8ef); box-shadow: none; color: #8b94a5; }
body.sh-mobile .vip-prog, body.sh-mobile .rebate-note, body.sh-mobile .vip-rules { margin-top: 14px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile #panel-vip .mpanel__sub { margin-bottom: 14px; }
body.sh-mobile .rwd-tabs { margin-bottom: 12px; border-radius: 12px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .giftlist { padding: 0; border: 0; background: none; box-shadow: none; }
body.sh-mobile .giftrow { margin-bottom: 10px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .giftrow .rwd-claim { min-width: 76px; height: 34px; border: 0; border-radius: 17px; background: var(--mm-grad); box-shadow: 0 3px 0 #2670ca; color: #fff; font-weight: 700; }

/* ---------- 訊息中心：圓形圖示頁籤＋扁平列表 ---------- */
body.sh-mobile #panel-messages > .panel-actions { justify-content: flex-end; margin: -6px 2px 8px; }
body.sh-mobile #panel-messages .ghost-link { padding: 0; border: 0; border-radius: 0; background: none; color: var(--mm-blue); font-size: 14px; font-weight: 500; }
body.sh-mobile .msg-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: auto; height: auto; margin: 0 -14px 6px; padding: 10px 0 12px; overflow: visible; border: 0; border-radius: 0; background: #fff; box-shadow: 0 1px 0 var(--mm-line); }
body.sh-mobile .msg-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 0; height: auto; padding: 0; border: 0; border-left: 1px solid var(--mm-line); border-radius: 0; background: none; color: var(--mm-t2); font-size: 14px; font-weight: 400; }
body.sh-mobile .msg-tabs button:first-child { border-left: 0; }
body.sh-mobile .msg-tabs button::before { content: ""; width: 38px; height: 38px; border-radius: 50%; background: #eef1f6 var(--mm-ic) center/20px no-repeat; }
body.sh-mobile .msg-tabs button[data-cat="all"] { --mm-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b94a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E"); }
body.sh-mobile .msg-tabs button[data-cat="notice"] { --mm-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b94a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E"); }
body.sh-mobile .msg-tabs button[data-cat="personal"] { --mm-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b94a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
body.sh-mobile .msg-tabs button.is-active { background: none; color: var(--mm-t1); font-weight: 700; }
body.sh-mobile .msg-tabs button.is-active::before { background-color: var(--mm-blue); background-image: var(--mm-ic-on, var(--mm-ic)); filter: none; }
body.sh-mobile .msg-tabs button.is-active[data-cat="all"] { --mm-ic-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E"); }
body.sh-mobile .msg-tabs button.is-active[data-cat="notice"] { --mm-ic-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E"); }
body.sh-mobile .msg-tabs button.is-active[data-cat="personal"] { --mm-ic-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
body.sh-mobile .msg-tabs button span { position: absolute; bottom: 1px; left: 50%; margin-left: 17px; padding: 0; background: none; color: var(--mm-t3); font-size: 12px; font-weight: 400; line-height: 18px; }   /* 這是該分類的總筆數，不是未讀數，所以不用紅色徽章 */
body.sh-mobile .msg-item { display: block; margin: 0; padding: 12px 6px 13px; border: 0; border-bottom: 1px solid var(--mm-line); border-radius: 0; background: none; box-shadow: none; }
body.sh-mobile .msg-item__body { display: flex; flex-direction: column; }
body.sh-mobile .msg-item__body time { order: -1; margin-bottom: 4px; color: var(--mm-t3); font-size: 11px; }
body.sh-mobile .msg-item__head { display: flex; align-items: center; gap: 6px; min-width: 0; }
body.sh-mobile .msg-item__head h4 { margin: 0; overflow: hidden; color: var(--mm-t1); font-size: 16px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile .msg-item.is-read .msg-item__head h4 { color: var(--mm-t2); font-weight: 500; }
body.sh-mobile .msg-item:not(.is-read) .msg-item__head::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #f56c6c; }
body.sh-mobile .msg-item__body p { margin: 5px 0 0; overflow: hidden; color: var(--mm-t2); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile .msg-item__arw { display: none; }

/* ---------- 帳號與資料：分組白卡＋列 ---------- */
body.sh-mobile #panel-account .info-grid { display: block; }
body.sh-mobile #panel-account .info-grid > div, body.sh-mobile #panel-account .pref-block { margin: 0 0 12px; padding: 14px 14px 4px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile #panel-account .mpanel__sub { margin: 0 0 6px; color: var(--mm-t1); font-size: 16px; font-weight: 700; }
body.sh-mobile #panel-account .info-row { min-height: 46px; margin: 0; padding: 0 2px; border: 0; border-top: 1px solid var(--mm-line); background: none; }
body.sh-mobile #panel-account .mpanel__sub + .info-row { border-top: 0; }
body.sh-mobile #panel-account .info-row .k { color: var(--mm-t2); font-size: 15px; font-weight: 400; }
body.sh-mobile #panel-account .info-row .v { color: var(--mm-t1); font-size: 15px; }
body.sh-mobile #panel-account .info-row .v.link { color: var(--mm-blue); }

/* ---------- 充值／提款：藍色頁首＋分頁卡、餘額卡、方式卡、圓角大輸入框、整排主按鈕 ---------- */
body.sh-mobile .mpc-fin { display: flex; flex-direction: column-reverse; margin: -18px -14px 12px; padding: 14px 14px 0; background: linear-gradient(180deg, #4d9ff0 0, #63b0f8 58%, rgba(99, 176, 248, 0) 100%); }
body.sh-mobile .mpc-fin__tabs { display: flex; gap: 8px; margin: 0 0 12px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
body.sh-mobile .mpc-fin__tabs button { flex: 1 1 0; height: 54px; border: 2px solid #fff; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(23, 58, 122, .12); color: var(--mm-t3); font-size: 17px; font-weight: 700; }
body.sh-mobile .mpc-fin__tabs button.is-active { border-color: var(--mm-blue); background: #fff; box-shadow: 0 2px 8px rgba(23, 58, 122, .12); color: var(--mm-t1); }
body.sh-mobile .mpc-fin__tabs button svg { width: 18px; height: 18px; }
body.sh-mobile .mpc-fin__top { display: flex; flex-wrap: wrap; align-items: center; height: auto; margin: 0; padding: 14px 14px 16px; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); color: var(--mm-t1); font-size: 17px; font-weight: 700; }
body.sh-mobile .mpc-fin__top > span { flex: 1 1 auto; }
body.sh-mobile .mpc-fin__top a { margin: 0; padding: 0; border: 0; border-radius: 0; color: var(--mm-blue); font-size: 14px; font-weight: 500; }
body.sh-mobile .mpc-fin__top b { flex: 0 0 100%; margin: 10px 0 0; padding: 0 16px; border-radius: 24px; background: #eef1f6; color: var(--mm-t1); font-size: 22px; font-weight: 700; line-height: 46px; }
body.sh-mobile #panel-deposit > .panel-actions, body.sh-mobile #panel-consign > .panel-actions, body.sh-mobile #panel-consign .wbal { display: none; }
body.sh-mobile #panel-deposit .mpanel__sub, body.sh-mobile #panel-consign .mpanel__sub, body.sh-mobile #panel-deposit .field > label, body.sh-mobile #panel-consign .field > label { display: block; margin: 0 0 12px; color: var(--mm-t1); font-size: 17px; font-weight: 700; }
body.sh-mobile #panel-deposit .field, body.sh-mobile #panel-consign .field { margin: 0; }
body.sh-mobile .pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
body.sh-mobile .pay-method { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 92px; padding: 10px 6px; border: 2px solid transparent; border-radius: 14px; background: #f3f7fd; box-shadow: none; text-align: center; }
body.sh-mobile .pay-method.is-active { border-color: var(--mm-blue); background: #eaf3ff; }
body.sh-mobile .pay-method.is-active::after { content: ""; position: absolute; top: -2px; right: -2px; width: 24px; height: 22px; border-radius: 0 12px 0 16px; background: var(--mm-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") 7px 4px/12px no-repeat; }
body.sh-mobile .pay-method .pm-n { margin-top: 4px; color: var(--mm-t1); font-size: 14px; font-weight: 700; }
body.sh-mobile .pay-method .pm-l { color: var(--mm-t3); font-size: 11px; }
body.sh-mobile #panel-deposit .field input, body.sh-mobile #panel-consign .field input { height: 50px; padding: 0 20px; border: 1.5px solid #c9d3e0; border-radius: 25px; background: #fff; color: var(--mm-t1); font-size: 20px; font-weight: 700; }
body.sh-mobile #panel-deposit .field input::placeholder, body.sh-mobile #panel-consign .field input::placeholder { color: #a9b2c2; font-size: 15px; font-weight: 400; }
body.sh-mobile #panel-deposit .field input:focus, body.sh-mobile #panel-consign .field input:focus { border-color: var(--mm-blue); box-shadow: 0 0 0 3px rgba(53, 144, 236, .15); outline: 0; }
body.sh-mobile .amt-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
body.sh-mobile .amt-chips button { width: auto; height: 46px; padding: 0; border: 1px solid var(--mm-line); border-radius: 14px; background: #fff; color: var(--mm-t1); font-size: 17px; font-weight: 700; }
body.sh-mobile .amt-chips button.is-active { border-color: var(--mm-blue); background: #eaf3ff; color: var(--mm-deep); }
body.sh-mobile #panel-deposit .btn-primary, body.sh-mobile #panel-consign .btn-primary { display: block; width: 100%; height: 52px; margin-top: 4px; padding: 0; border: 0; border-radius: 26px; background: var(--mm-grad); box-shadow: 0 4px 0 #2670ca; color: #fff; font-size: 18px; font-weight: 700; }
body.sh-mobile #panel-deposit .btn-primary:disabled, body.sh-mobile #panel-consign .btn-primary:disabled { background: #e1e5ee; box-shadow: none; color: #9aa3b5; }
body.sh-mobile #panel-deposit .hint, body.sh-mobile #panel-consign .hint { margin-top: 14px; color: var(--mm-t2); font-size: 13px; line-height: 1.6; }
body.sh-mobile .addr-card, body.sh-mobile .addr-empty { border-radius: 14px; }
body.sh-mobile .addr-card { border: 2px solid transparent; background: #f3f7fd; }
body.sh-mobile .addr-card.is-active { border-color: var(--mm-blue); background: #eaf3ff; }
body.sh-mobile .addr-card .info b { display: block; }
body.sh-mobile .addr-card .info span { display: block; margin-top: 2px; color: var(--mm-t2); font-size: 13px; }
body.sh-mobile .mpc-fin__top > span { order: 1; } body.sh-mobile .mpc-fin__top a { order: 2; } body.sh-mobile .mpc-fin__top b { order: 3; }
body.sh-mobile #panel-deposit .mpc-card > .field, body.sh-mobile #panel-consign .mpc-card > .field { margin: 0 !important; }
body.sh-mobile #panel-consign #wdPwdArea { margin: 0 0 12px; }

/* =====================================================================
   簽到／反水／流水詳情（含充值、提現記錄）／優惠 —— 手機版（2026-10-03）
   紀錄與優惠照模板 records.html／promo.html；模板沒有簽到與反水頁，套模板的福利磚與領取卡樣式。
   ===================================================================== */
body.sh-mobile #panel-bets, body.sh-mobile #panel-dep-records, body.sh-mobile #panel-wd-records, body.sh-mobile #panel-promo, body.sh-mobile #panel-signin, body.sh-mobile #panel-rebate { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
/* 文字頁籤（選中＝藍色漸層膠囊） */
body.sh-mobile .rec-cats, body.sh-mobile .promo-tabs { display: flex; gap: 2px; margin: -4px -14px 8px; padding: 2px 14px 6px; overflow-x: auto; scrollbar-width: none; border: 0; background: none; }
body.sh-mobile .rec-cats::-webkit-scrollbar, body.sh-mobile .promo-tabs::-webkit-scrollbar { display: none; }
body.sh-mobile .rec-cats button, body.sh-mobile .promo-tabs button { flex: 0 0 auto; height: 34px; padding: 0 14px; border: 0; border-radius: 17px; background: none; box-shadow: none; color: var(--mm-t2); font-size: 16px; font-weight: 500; white-space: nowrap; }
body.sh-mobile .rec-cats button.on, body.sh-mobile .promo-tabs button.is-active { background: linear-gradient(90deg, #3590ec, #8fd0ff); color: #fff; font-weight: 700; }
/* 日期區間：白色圓角卡裡的小膠囊 */
body.sh-mobile .rec-ranges, body.sh-mobile .rec-filter { display: flex; gap: 8px; margin: 0 0 10px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .rec-ranges button, body.sh-mobile .rec-filter button { flex: 1 1 0; min-width: 0; height: 34px; padding: 0 6px; border: 1px solid transparent; border-radius: 17px; background: #f1f4f9; color: var(--mm-t2); font-size: 14px; font-weight: 500; white-space: nowrap; }
body.sh-mobile .rec-ranges button.on, body.sh-mobile .rec-filter button.is-active { border-color: var(--mm-blue); background: #eaf3ff; color: var(--mm-deep); font-weight: 700; }
body.sh-mobile .rec-sum__bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); margin: 0 0 10px; padding: 12px 6px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .rec-sum__it { padding: 0 4px; border-left: 1px solid var(--mm-line); text-align: center; }
body.sh-mobile .rec-sum__it:first-child { border-left: 0; }
body.sh-mobile .rec-sum__it span { display: block; color: var(--mm-t2); font-size: 12px; }
body.sh-mobile .rec-sum__it b { display: block; margin-top: 3px; font-size: 15px; font-weight: 700; font-style: normal; }
/* 注單卡：左上角類型標、三欄數字框、底部單號與時間 */
body.sh-mobile .bet-row { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0 0 10px; padding: 0 0 10px; overflow: hidden; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .bet-row__l { display: contents; }
body.sh-mobile .bet-row__h { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; order: 1; min-height: 40px; padding-right: 14px; font-size: 15px; }
body.sh-mobile .bet-row .bet-tag { align-self: stretch; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 64px; padding: 0 14px; border-radius: 16px 0 16px 0; background: linear-gradient(120deg, #3590ec, #7cc3fb); color: #fff; font-size: 14px; font-style: normal; font-weight: 700; }
body.sh-mobile .bet-row .bet-tag.live { background: linear-gradient(120deg, #8a4fd6, #c48bf0); }
body.sh-mobile .bet-row .bet-tag.lottery { background: linear-gradient(120deg, #f59a23, #ffd36b); }
body.sh-mobile .bet-row .bet-g { overflow: hidden; color: var(--mm-t1); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile .bet-row__ct { overflow: hidden; color: var(--mm-t2); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile .bet-row__r { display: grid; grid-template-columns: repeat(3, 1fr); order: 2; gap: 0; margin: 10px 14px; padding: 10px 0; border: 1px solid var(--mm-line); border-radius: 12px; }
body.sh-mobile .bet-row__amt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 0 12px; border-left: 1px solid var(--mm-line); color: var(--mm-t1); font-size: 17px; font-weight: 700; }
body.sh-mobile .bet-row__amt:first-child { border-left: 0; }
body.sh-mobile .bet-row__amt > span { color: var(--mm-t2); font-size: 13px; font-weight: 400; }
body.sh-mobile .bet-row__meta { order: 3; padding: 0 14px; color: var(--mm-t3); font-size: 12px; line-height: 1.7; }
body.sh-mobile .rec-row { margin: 0 0 10px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .rec-summary .card { border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
/* 優惠卡：左文右圖（圖向左淡出）、左上角標 */
body.sh-mobile .promo-card { position: relative; display: flex; flex-direction: row-reverse; min-height: 124px; margin: 0 0 12px; overflow: hidden; border: 0; border-radius: 16px; background: linear-gradient(#f9fafd 2%, #eceef5 89%, #edf3fd); box-shadow: var(--mm-card-shadow); }
body.sh-mobile .promo-card__banner { position: static; flex: 0 0 42%; height: auto; background: none; }
body.sh-mobile .promo-card__banner img { position: absolute; top: 0; right: 0; width: 46%; height: 100%; object-fit: cover; object-position: 50% 22%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
body.sh-mobile .promo-card__banner img.ph-img { object-fit: contain; opacity: .35; }
body.sh-mobile .promo-card__tag { top: 0; left: 0; padding: 4px 12px; border-radius: 16px 0 14px 0; background: linear-gradient(90deg, #ff5a7a, #ff3b5c); color: #fff; font-size: 12px; font-weight: 700; }
body.sh-mobile .promo-card__body { position: relative; flex: 1 1 0; min-width: 0; padding: 34px 6px 14px 14px; }
body.sh-mobile .promo-card__body h4 { margin: 0 0 4px; color: var(--mm-t1); font-size: 16px; font-weight: 700; }
body.sh-mobile .promo-card__body p { display: -webkit-box; overflow: hidden; color: var(--mm-t2); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.sh-mobile .promo-card__date { margin-top: 6px; color: var(--mm-t3); font-size: 11px; }
/* 簽到：四欄獎勵磚 */
body.sh-mobile .signin-hero { border-radius: 16px; }
body.sh-mobile .signin-head { margin: 14px 2px 12px; }
body.sh-mobile .signin-head .t b { color: var(--mm-blue); }
body.sh-mobile .signin-head .ghost-link { padding: 0; border: 0; background: none; color: var(--mm-blue); font-size: 14px; font-weight: 500; }
body.sh-mobile .signin-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
body.sh-mobile .si-day { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 88px; padding: 10px 2px 9px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #f1f3f7, #e4e8ef); box-shadow: none; opacity: 1; color: #8b94a5; text-align: center; }
body.sh-mobile .si-day .d { color: inherit; font-size: 12px; font-weight: 500; }
body.sh-mobile .si-day .r { color: inherit; font-size: 17px; font-style: normal; font-weight: 700; }
body.sh-mobile .si-day .st { margin: 4px 0 0; padding: 2px 8px; border-radius: 10px; background: rgba(255, 255, 255, .6); color: inherit; font-size: 11px; font-weight: 500; }
body.sh-mobile .si-day.today { background: linear-gradient(180deg, #ffeccd, #ffd6a3); box-shadow: 0 0 0 2px var(--mm-blue), 0 3px 6px rgba(214, 150, 70, .22); color: #7a5527; }
body.sh-mobile .si-day.today .st { background: var(--mm-grad); color: #fff; }
body.sh-mobile .si-day.done { background: linear-gradient(180deg, #ffeccd, #ffd6a3); box-shadow: 0 3px 6px rgba(214, 150, 70, .22); color: #7a5527; }
body.sh-mobile .si-day.done .st { background: #e3f6ea; color: #1f8f4d; }
body.sh-mobile .signin-prog { margin: 0 0 12px; padding: 14px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .signin-prog .row b { color: var(--mm-blue); }
body.sh-mobile .signin-prog .pbar i { background: linear-gradient(90deg, #3590ec, #8fd0ff); }
body.sh-mobile #panel-signin .btn-primary { display: block; width: 100%; height: 52px; border: 0; border-radius: 26px; background: var(--mm-grad); box-shadow: 0 4px 0 #2670ca; color: #fff; font-size: 18px; font-weight: 700; }
body.sh-mobile #panel-signin .btn-primary:disabled { background: #e1e5ee; box-shadow: none; color: #9aa3b5; }
body.sh-mobile #panel-signin .promo-rules { margin-top: 16px; padding: 14px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
/* 反水：藍色總額卡＋領取卡 */
body.sh-mobile .rebate-top { margin-bottom: 4px; padding: 20px 16px 18px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #2670ca, #3590ec 55%, #63b4fb); box-shadow: var(--mm-card-shadow); }
body.sh-mobile .rebate-top .v { font-style: normal; }
body.sh-mobile .rebate-top button { min-width: 160px; height: 44px; border: 0; border-radius: 22px; background: #fff; box-shadow: none; color: var(--mm-deep); font-size: 16px; font-weight: 700; }
body.sh-mobile .rebate-top.is-empty { background: linear-gradient(135deg, #9aa3b2, #b7bfcc); }
body.sh-mobile .rebate-top.is-empty button { background: rgba(255, 255, 255, .5); color: #7b8494; }
body.sh-mobile #panel-rebate .mpanel__sub { margin: 18px 2px 10px; color: var(--mm-t1); font-size: 17px; font-weight: 700; }
body.sh-mobile .rebate-cat { margin: 0 0 10px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .rebate-cat.is-empty { background: #fff; }
body.sh-mobile .rebate-cat .amt .n { color: #c08a3e; font-size: 17px; font-style: normal; font-weight: 700; }
body.sh-mobile .rebate-cat.is-empty .amt .n { color: var(--mm-t3); }
body.sh-mobile .rebate-cat .amt button { min-width: 78px; height: 34px; margin-top: 6px; padding: 0 12px; border: 0; border-radius: 17px; background: var(--mm-grad); box-shadow: 0 3px 0 #2670ca; color: #fff; font-size: 14px; font-weight: 700; }
body.sh-mobile .rebate-cat .amt button:disabled { background: #e1e5ee; box-shadow: none; color: #9aa3b5; }
body.sh-mobile #panel-rebate .hint { margin: 12px 2px 0; color: var(--mm-t2); font-size: 13px; line-height: 1.6; }
body.sh-mobile .rec-sum__it { border-right: 0; }

/* =====================================================================
   彩金中心／代理計劃／在線客服 —— 手機版（2026-10-03）
   彩金照模板 coupons.html（票券卡：虛線＋左右缺口）；客服照模板 help.html（藍色橫幅＋白卡列表）；
   模板沒有代理頁，套模板的橫幅與白卡樣式。
   ===================================================================== */
body.sh-mobile #panel-bonus, body.sh-mobile #panel-affiliate, body.sh-mobile #panel-help { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.sh-mobile #panel-bonus .mpanel__sub, body.sh-mobile #panel-affiliate .mpanel__sub { margin: 18px 2px 10px; color: var(--mm-t1); font-size: 17px; font-weight: 700; }
/* 彩金 */
body.sh-mobile .bonus-top { margin-bottom: 4px; padding: 18px 16px 24px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #2670ca, #3590ec 55%, #63b4fb); box-shadow: var(--mm-card-shadow); }
body.sh-mobile .bonus-top::before, body.sh-mobile .bonus-top::after { display: none; }
body.sh-mobile .bonus-top .l, body.sh-mobile .bonus-top .s { color: #fff; opacity: .95; }
body.sh-mobile .bonus-top .v { text-shadow: none; }
body.sh-mobile .bonus-task__chip { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .16); color: #fff; }
body.sh-mobile .bonus-task__chip .dot { background: #fff; }
body.sh-mobile .bonus-task__track { background: rgba(255, 255, 255, .28); }
body.sh-mobile .bonus-task__track i { background: #fff; }
body.sh-mobile .bonus-task.is-clear { background: linear-gradient(135deg, #1fa565, #5ed09a); box-shadow: var(--mm-card-shadow); }
body.sh-mobile .bonus-task.is-clear .l, body.sh-mobile .bonus-task.is-clear .s { color: #fff; opacity: .95; }
body.sh-mobile .bonus-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 58px auto; align-items: center; column-gap: 10px; margin: 0 0 12px; padding: 0 16px 12px; border: 1px solid #dfe6f0; border-radius: 12px; background: radial-gradient(circle at 0 58px, #eef1f6 7px, transparent 7.5px), radial-gradient(circle at 100% 58px, #eef1f6 7px, transparent 7.5px), linear-gradient(180deg, #eaf4ff, #fff 46px); box-shadow: none; }
body.sh-mobile .bonus-card::before { content: ""; position: absolute; top: 58px; right: 12px; left: 12px; border-top: 1px dashed #cfd8e6; }
body.sh-mobile .bonus-card .info, body.sh-mobile .bonus-card .amt { display: contents; }
body.sh-mobile .bonus-card .info b { grid-column: 1; grid-row: 1; overflow: hidden; color: var(--mm-t1); font-size: 16px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile .bonus-card .amt .n { grid-column: 2; grid-row: 1; color: var(--mm-t1); font-size: 18px; font-style: normal; font-weight: 700; text-align: right; }
body.sh-mobile .bonus-card .usdt-eq { grid-column: 2; grid-row: 1; align-self: end; padding-bottom: 4px; color: var(--mm-t3); font-size: 11px; text-align: right; }
body.sh-mobile .bonus-card .usdt-eq ~ * { }
body.sh-mobile .bonus-card .info span { grid-column: 1; grid-row: 2; margin: 12px 0 0; color: var(--mm-t3); font-size: 12px; line-height: 1.5; }
body.sh-mobile .bonus-card .amt button { grid-column: 2; grid-row: 2; min-width: 84px; height: 34px; margin: 12px 0 0; padding: 0 12px; border: 0; border-radius: 17px; background: var(--mm-grad); box-shadow: 0 3px 0 #2670ca; color: #fff; font-size: 14px; font-weight: 700; }
body.sh-mobile #panel-bonus .hint { margin: 12px 2px 0; color: var(--mm-t2); font-size: 13px; line-height: 1.6; }
/* 代理 */
body.sh-mobile .agent-hero { margin-bottom: 12px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #2670ca, #3590ec 55%, #63b4fb); box-shadow: var(--mm-card-shadow); }
body.sh-mobile .agent-hero__badge { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .16); color: #fff; }
body.sh-mobile .agent-code { margin-bottom: 12px; padding: 16px 14px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .agent-code__v { color: var(--mm-deep); font-style: normal; }
body.sh-mobile .agent-code__btns button { height: 42px; padding: 0 8px; border: 1.5px solid var(--mm-blue); border-radius: 21px; background: #fff; color: var(--mm-deep); font-size: 14px; font-weight: 700; }
body.sh-mobile .agent-code__btns button.gold { border: 0; background: var(--mm-grad); box-shadow: 0 3px 0 #2670ca; color: #fff; }
body.sh-mobile .agent-code input { border: 0; border-radius: 12px; background: #f1f4f9; color: var(--mm-t2); }
body.sh-mobile .agent-stats { gap: 10px; margin-bottom: 12px; }
body.sh-mobile .agent-stats .card { padding: 14px 8px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .agent-stats .card .v { color: var(--mm-deep); font-style: normal; font-weight: 700; }
body.sh-mobile .agent-est { border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .giftrow .amt { color: #c08a3e; font-style: normal; font-weight: 700; }
body.sh-mobile .giftrow button.st { min-width: 72px; height: 34px; padding: 0 12px; border-radius: 17px !important; background: var(--mm-grad) !important; box-shadow: 0 3px 0 #2670ca; color: #fff !important; font-size: 14px; font-weight: 700; }
/* 客服 */
body.sh-mobile .contact-row, body.sh-mobile .contact-card { border: 0; box-shadow: none; }
body.sh-mobile #csOnline { margin-bottom: 12px; padding: 20px 16px; border-radius: 16px; background: linear-gradient(135deg, #2670ca, #3590ec 55%, #63b4fb); box-shadow: var(--mm-card-shadow); }
body.sh-mobile #csOnline .ic { background: rgba(255, 255, 255, .2); }
body.sh-mobile #csOnline .ic svg { fill: #fff; }
body.sh-mobile #csOnline .info b, body.sh-mobile #csOnline .info span, body.sh-mobile #csOnline .arr { color: #fff; }
body.sh-mobile #csTg { margin: 0; padding: 14px 14px; border-radius: 16px 16px 0 0; background: #fff; box-shadow: none; }
body.sh-mobile .contact-grid { display: block; margin: 0 0 12px; border-radius: 0 0 16px 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .contact-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-top: 1px solid var(--mm-line); border-radius: 0; background: none; text-align: left; }
body.sh-mobile #csTg .ic, body.sh-mobile .contact-card .ic { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #eaf3ff; font-size: 0; }
body.sh-mobile #csTg .ic svg, body.sh-mobile .contact-card .ic svg { width: 20px; height: 20px; fill: var(--mm-blue); }
body.sh-mobile #csTg .info b, body.sh-mobile .contact-card b { margin: 0; color: var(--mm-t1); font-size: 16px; font-weight: 700; }
body.sh-mobile .contact-card b { flex: 0 0 auto; }
body.sh-mobile .contact-card span:not(.ic) { flex: 1 1 0; min-width: 0; overflow: hidden; color: var(--mm-t3); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile .contact-card::after { content: "›"; color: #b7c0cd; font-size: 20px; }
body.sh-mobile .feedback-box { padding: 16px 14px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .feedback-box .btn-primary { display: block; width: 100%; height: 50px; border: 0; border-radius: 25px; background: var(--mm-grad); box-shadow: 0 4px 0 #2670ca; color: #fff; font-size: 17px; font-weight: 700; }
body.sh-mobile .faq-list { padding: 2px 14px; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .faq__q { padding: 15px 0; border-bottom: 1px solid var(--mm-line); color: var(--mm-t1); font-size: 16px; font-weight: 500; }
body.sh-mobile .faq:last-child .faq__q { border-bottom: 0; }
body.sh-mobile .faq.open .faq__q { color: var(--mm-blue); }
body.sh-mobile .faq__a { padding: 12px 0 16px; border-bottom: 1px solid var(--mm-line); color: var(--mm-t2); font-size: 14px; }

/* =====================================================================
   充值／提現／彩金記錄卡（模板「帳戶明細」）、放不下可左右拖曳的頁籤列、大數字不擠出格子 —— 手機版（2026-10-03）
   ===================================================================== */
/* 放不下的橫向列：右側淡出提示還有內容（捲到底就取消），js/h5.js 的 dragScroll 負責拖曳與滾輪 */
body.sh-mobile .rec-cats.h5-scrollable:not(.at-end), body.sh-mobile .promo-tabs.h5-scrollable:not(.at-end), body.sh-mobile .rec-ranges.h5-scrollable:not(.at-end) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); }
body.sh-mobile .rec-cats, body.sh-mobile .promo-tabs, body.sh-mobile .rec-ranges, body.sh-mobile .msg-tabs { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x; }
/* 總計：四格的（流水）改 2×2，數字再長也放得下；三格的維持一列 */
body.sh-mobile .rec-sum__bar--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; padding: 14px 6px; }
body.sh-mobile .rec-sum__bar--4 .rec-sum__it:nth-child(odd) { border-left: 0; }
body.sh-mobile .rec-sum__bar--4 .rec-sum__it:nth-child(n+3) { padding-top: 12px; border-top: 1px solid var(--mm-line); }
body.sh-mobile .rec-sum__bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.sh-mobile .rec-sum__bar.rec-sum__bar--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.sh-mobile .rec-sum__it { min-width: 0; }
body.sh-mobile .rec-sum__it b { overflow: hidden; font-size: 17px; white-space: nowrap; }
/* 注單卡三欄數字：欄寬固定，放不下由 MPC.fit 縮字 */
body.sh-mobile .bet-row__r { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.sh-mobile .bet-row__amt { min-width: 0; overflow: hidden; white-space: nowrap; }
/* 記錄卡：狀態標 → 名稱＋金額 → 單號 → 時間＋動作 */
body.sh-mobile .rec-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; padding: 12px 14px; }
body.sh-mobile .rec-row__i, body.sh-mobile .rec-row__r { display: contents; }
body.sh-mobile .rec-row .rec-st { grid-column: 1; grid-row: 1; justify-self: start; margin: 0 0 6px; padding: 1px 9px; border: 1px solid currentColor; border-radius: 10px; font-size: 12px; font-weight: 500; line-height: 18px; }
body.sh-mobile .rec-row__i b { grid-column: 1; grid-row: 2; color: var(--mm-t1); font-size: 17px; font-weight: 700; }
body.sh-mobile .rec-row .rec-amt { grid-column: 2; grid-row: 2; max-width: 190px; overflow: hidden; font-size: 20px; font-style: normal; font-weight: 700; text-align: right; white-space: nowrap; }
body.sh-mobile .rec-row .rec-no { grid-column: 1 / -1; grid-row: 3; margin: 6px 0 0; overflow: hidden; color: var(--mm-t2); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile .rec-row__i time { grid-column: 1; grid-row: 4; margin: 10px 0 0; padding: 9px 0 0; border-top: 1px solid var(--mm-line); color: var(--mm-t3); font-size: 12px; }
body.sh-mobile .rec-row .rec-view { grid-column: 2; grid-row: 4; margin: 10px 0 0; padding: 9px 0 0; border-top: 1px solid var(--mm-line); color: var(--mm-blue); font-size: 13px; font-weight: 700; white-space: nowrap; }
body.sh-mobile .rec-row__i time:last-child { grid-column: 1 / -1; }
body.sh-mobile .rec-row--link { cursor: pointer; }
body.sh-mobile .rec-end { padding: 14px 0 4px; color: var(--mm-t3); font-size: 13px; text-align: center; }
/* 其他會出現大數字的地方 */
body.sh-mobile .mpc-fin__top b { overflow: hidden; white-space: nowrap; }
body.sh-mobile .agent-stats .card { min-width: 0; }
body.sh-mobile .agent-stats .card .v { overflow: hidden; white-space: nowrap; }
body.sh-mobile .vipx--m .vipx__txt { max-width: 100%; overflow: hidden; }
body.sh-mobile .rebate-cat .amt .n, body.sh-mobile .bonus-card .amt .n { max-width: 150px; overflow: hidden; white-space: nowrap; }
body.sh-mobile .rec-row { row-gap: 0; }
body.sh-mobile .rec-row__i time { grid-column: 1 / -1; }
body.sh-mobile .rec-row .rec-view { z-index: 1; border-top: 0; }

/* =====================================================================
   個人資料／帳號安全／偏好設定＋編輯彈窗 —— 手機版（2026-10-03 採樣模板 profile.html、security.html、settings.html）
   頂端藍色漸層帶、白卡列表（標籤深色粗字、值靠右）；帳號安全＝彩色方形圖示＋標題說明＋右側狀態；最下方藍色膠囊登出鈕。
   ===================================================================== */
body.sh-mobile #panel-account::before { content: ""; display: block; height: 76px; margin: -18px -14px -58px; background: linear-gradient(180deg, #4d9ff0 0, #63b0f8 58%, rgba(99, 176, 248, 0) 100%); }
body.sh-mobile #panel-account .info-grid, body.sh-mobile #panel-account .pref-block { position: relative; }
body.sh-mobile #panel-account .mpanel__sub { display: none; }   /* 模板是一張卡直接列項目，不另外放小標 */
body.sh-mobile #panel-account .info-grid > div, body.sh-mobile #panel-account .pref-block { padding: 2px 14px; }
body.sh-mobile #panel-account .info-row { min-height: 54px; }
body.sh-mobile #panel-account .info-row:first-of-type, body.sh-mobile #panel-account .mpanel__sub + .info-row { border-top: 0; }
body.sh-mobile #panel-account .info-row .k { color: var(--mm-t1); font-size: 16px; font-weight: 700; }
body.sh-mobile #panel-account .info-row .v { color: var(--mm-t2); font-size: 15px; }
body.sh-mobile #panel-account .info-row .v.link { color: var(--mm-t1); }
body.sh-mobile #panel-account .info-row.mpc-sec { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 0; padding: 12px 2px; }
body.sh-mobile .mpc-sec__ic { width: 38px; height: 38px; border-radius: 10px; background: #e8f1ff; color: #3590ec; }
body.sh-mobile .mpc-sec__ic svg { width: 20px; height: 20px; }
body.sh-mobile .mpc-sec__ic--phone { background: #e3f8ec; color: #22a55b; }
body.sh-mobile .mpc-sec__ic--wdpwd { background: #ffe8ee; color: #e5486b; }
body.sh-mobile .mpc-sec__ic--lang { background: #fff1dc; color: #e08a1e; }
body.sh-mobile #panel-account .info-row.mpc-sec .k { grid-column: 2; }
body.sh-mobile .mpc-sec__d { grid-column: 2; overflow: hidden; color: var(--mm-t3); font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile #panel-account .info-row.mpc-sec .v { grid-column: 3; grid-row: 1 / span 2; max-width: 150px; overflow: hidden; color: var(--mm-t3); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile #panel-account .info-row.mpc-sec .v.link { color: var(--mm-t2); }
body.sh-mobile #panel-account .pref-block .info-row.mpc-sec { grid-template-columns: 38px minmax(0, 1fr) auto; }
body.sh-mobile .mpc-logout { display: block; width: 100%; height: 50px; margin: 4px 0 6px; border: 0; border-radius: 25px; background: var(--mm-grad); box-shadow: 0 4px 0 #2670ca; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 2px; }
/* 編輯彈窗：圓角白卡、膠囊輸入框、灰色取消＋藍色確認 */
body.sh-mobile .ac-mask { background: rgba(10, 20, 40, .5); backdrop-filter: none; }
body.sh-mobile .ac-modal { width: calc(100vw - 48px); max-width: 360px; padding: 24px 20px 20px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(10, 30, 70, .25); }
body.sh-mobile .ac-modal h3 { margin: 0 0 18px; color: #0b0d12; font-size: 19px; font-weight: 700; text-align: center; }
body.sh-mobile .ac-field { display: block; margin-bottom: 14px; }
body.sh-mobile .ac-field > span { display: block; margin: 0 4px 8px; color: #5b6b82; font-size: 14px; font-weight: 700; }
body.sh-mobile .ac-field input { width: 100%; height: 48px; padding: 0 18px; border: 1.5px solid #c9d3e0; border-radius: 24px; background: #fff; box-shadow: none; color: #0b0d12; font-size: 16px; }
body.sh-mobile .ac-field input:focus { border-color: #3590ec; box-shadow: 0 0 0 3px rgba(53, 144, 236, .15); outline: 0; }
body.sh-mobile .ac-acts { display: flex; gap: 12px; margin-top: 20px; }
body.sh-mobile .ac-acts button { flex: 1 1 0; height: 48px; border: 0; border-radius: 24px; font-size: 16px; font-weight: 700; }
body.sh-mobile .ac-cancel { background: #eef1f6; color: #5b6b82; }
body.sh-mobile .ac-ok { background: linear-gradient(180deg, #6db7fb, #3590ec); box-shadow: 0 4px 0 #2670ca; color: #fff; }
body.sh-mobile .mpc-sec__d, body.sh-mobile #panel-account .info-row.mpc-sec .v { font-weight: 400; }
body.sh-mobile #panel-account .pref-block .info-row.mpc-sec { grid-template-columns: 38px auto minmax(0, 1fr); }
body.sh-mobile #panel-account .pref-block .mpc-sec__d { display: none; }
body.sh-mobile #panel-account .pref-block .info-row.mpc-sec .k { white-space: nowrap; font-size: 15px; }
body.sh-mobile #panel-account .pref-block .lang-pick { grid-row: 1; justify-self: end; }
body.sh-mobile #panel-account .pref-block .lang-pick button { padding: 0 10px; min-width: 0; }
body.sh-mobile #panel-account .pref-block .info-row.mpc-sec { column-gap: 10px; }
body.sh-mobile #panel-account .pref-block .info-row.mpc-sec .k { font-size: 14px; }
body.sh-mobile #panel-account .pref-block .lang-pick { display: inline-flex; gap: 5px; }
body.sh-mobile #panel-account .pref-block .lang-pick button { height: 32px; padding: 0 9px; font-size: 13px; white-space: nowrap; }

/* =====================================================================
   其餘畫面收尾 —— 手機版（2026-10-03）
   頂欄（模板內頁導覽列：返回箭頭＋置中標題＋客服）、訊息內文、彈窗、優惠詳情、空狀態、通用表單欄位。
   ===================================================================== */
/* 會員頁頂欄：藏掉品牌列，改用模板內頁導覽列（MPC.nav() 在 body 加 mpc-nav） */
body.sh-mobile.mpc-nav .sh-top { display: none; }
body.sh-mobile.mpc-nav #detailBar, body.sh-mobile.mpc-nav #detailBar.show { position: fixed; top: 0; left: 50%; z-index: 900; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 375px; height: calc(50px + env(safe-area-inset-top, 0px)); margin: 0; padding: env(safe-area-inset-top, 0px) 50px 0; background: linear-gradient(180deg, #4aa3f7 0%, #5cb0fa 100%); box-shadow: none; transform: translateX(-50%); }
body.sh-mobile.mpc-nav #detailBar h2 { overflow: hidden; margin: 0; color: #fff; font-size: 18px; font-weight: 700; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile.mpc-nav #detailBar #backBtn, body.sh-mobile.mpc-nav #detailBar .mpc-nav__cs { position: absolute; bottom: 5px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #fff; font-size: 0; cursor: pointer; }
body.sh-mobile.mpc-nav #detailBar #backBtn { left: 6px; }
body.sh-mobile.mpc-nav #detailBar .mpc-nav__cs { right: 6px; }
body.sh-mobile.mpc-nav #detailBar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
body.sh-mobile.mpc-nav #overview { display: none !important; }   /* 手機的「總覽」改由 mine 頁負責 */
body.sh-mobile.mpc-nav #detail { display: flex !important; }
/* 訊息內文 */
body.sh-mobile .msg-read { padding: 16px 14px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .msg-read__head time { color: var(--mm-t3); }
body.sh-mobile .msg-read__title { color: var(--mm-t1); font-size: 18px; font-weight: 700; }
body.sh-mobile .msg-read__body { color: #3a4555; font-size: 15px; line-height: 1.8; }
/* 通用彈窗（簽到記錄等） */
body.sh-mobile .app-modal { background: rgba(10, 20, 40, .5); backdrop-filter: none; }
body.sh-mobile .app-modal__box { max-width: 340px; padding: 22px 18px 18px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(10, 30, 70, .25); }
body.sh-mobile .app-modal__t { color: #0b0d12; font-size: 18px; font-weight: 700; }
body.sh-mobile .app-modal__b { color: #5b6b82; font-size: 14px; }
body.sh-mobile .app-modal__b .rec-line { border-bottom: 1px solid var(--mm-line); }
body.sh-mobile .app-modal__b .rec-line b { color: #c08a3e; }
body.sh-mobile .app-modal__ok { height: 48px; padding: 0; border-radius: 24px; background: linear-gradient(180deg, #6db7fb, #3590ec); box-shadow: 0 4px 0 #2670ca; color: #fff; font-size: 16px; font-weight: 700; }
/* 通用表單欄位與主按鈕（沒有另外指定樣式的面板） */
body.sh-mobile #detail .field > label { color: var(--mm-t2); font-size: 14px; font-weight: 700; }
body.sh-mobile #detail .field input, body.sh-mobile #detail .field select, body.sh-mobile #detail .field textarea { border: 1.5px solid #c9d3e0; border-radius: 14px; background: #fff; color: var(--mm-t1); font-size: 16px; }
body.sh-mobile #detail .field input, body.sh-mobile #detail .field select { height: 48px; padding: 0 16px; }
body.sh-mobile #detail .field input:focus, body.sh-mobile #detail .field select:focus, body.sh-mobile #detail .field textarea:focus { border-color: var(--mm-blue); box-shadow: 0 0 0 3px rgba(53, 144, 236, .15); outline: 0; }
body.sh-mobile #detail .btn-primary { min-height: 50px; border: 0; border-radius: 25px; background: var(--mm-grad); box-shadow: 0 4px 0 #2670ca; color: #fff; font-size: 17px; font-weight: 700; }
body.sh-mobile #detail .btn-primary:disabled { background: #e1e5ee; box-shadow: none; color: #9aa3b5; }
body.sh-mobile .pwd-banner { border: 0; border-radius: 14px; background: #f3f7fd; }
body.sh-mobile .addr-empty { border: 1.5px dashed #b9c6d8; background: #fafcff; }
body.sh-mobile .addr-empty .plus { color: var(--mm-blue); }
/* 優惠詳情 */
body.sh-mobile .promo-hero { border-radius: 16px; }
body.sh-mobile .promo-hero__tag { background: linear-gradient(90deg, #ff5a7a, #ff3b5c); color: #fff; }
body.sh-mobile .promo-sec { margin-top: 12px; padding: 14px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .promo-sec__h { color: var(--mm-t1); font-size: 16px; }
body.sh-mobile .promo-cta { height: 52px; margin-top: 14px; padding: 0; border-radius: 26px; background: var(--mm-grad); box-shadow: 0 4px 0 #2670ca; color: #fff; font-size: 18px; font-weight: 700; }
body.sh-mobile .promo-cta.is-done { background: #e1e5ee; box-shadow: none; color: #9aa3b5; }
body.sh-mobile .promo-date-chip { border-radius: 12px; background: #f1f4f9; color: var(--mm-t2); }
/* 空狀態：模板插圖 */
body.sh-mobile #detail .empty { padding: 30px 20px 36px; color: var(--mm-t2); font-size: 15px; }
body.sh-mobile #detail .empty::before { content: ""; display: block; width: 140px; height: 110px; margin: 0 auto 10px; background: url(../assets/img/empty-data.svg) center/contain no-repeat; }
body.sh-mobile #panel-messages .empty::before { background-image: url(../assets/img/empty-notify.svg); }
body.sh-mobile #detail .empty .ico { display: none; }
body.sh-mobile #detail #panel-deposit .field input, body.sh-mobile #detail #panel-consign .field input { height: 50px; padding: 0 20px; border-radius: 25px; font-size: 20px; font-weight: 700; }
body.sh-mobile #detail #panel-deposit .field > label, body.sh-mobile #detail #panel-consign .field > label { color: var(--mm-t1); font-size: 17px; }

/* ===== VIP 福利領取（模板手機版「福利領取」）：白卡一列——名稱、金色金額、藍色膠囊領取鈕；取代原本十級的長列表 ===== */
body.sh-mobile #panel-vip .vipx-claims__h { flex-wrap: wrap; }
body.sh-mobile .vipx-claims__h small { display: none; }
body.sh-mobile .vipx-claim { display: flex; align-items: center; margin: 0 0 10px; padding: 14px 14px 14px 16px; border-radius: 16px; background: #fff; box-shadow: var(--mm-card-shadow); }
body.sh-mobile .vipx-claim__ic { display: none; }
body.sh-mobile .vipx-claim__r { display: grid; flex: 1 1 0; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 10px; min-width: 0; }
body.sh-mobile .vipx-claim__t { position: relative; padding-left: 12px; color: var(--mm-t1); font-size: 16px; font-weight: 700; }
body.sh-mobile .vipx-claim__t::before { content: ""; position: absolute; top: 9px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #e0a45a; }
body.sh-mobile .vipx-claim__t small { display: block; margin: 2px 0 0; color: var(--mm-t3); font-size: 12px; font-weight: 400; }
body.sh-mobile .vipx-claim__m { color: #c08a3e; font-size: 17px; font-weight: 700; white-space: nowrap; }
body.sh-mobile .vipx-claim__btn, body.sh-mobile .vipx-claim__st { display: inline-flex; align-items: center; justify-content: center; min-width: 86px; height: 36px; padding: 0 12px; border: 0; border-radius: 18px; font-size: 14px; font-weight: 700; white-space: nowrap; }
body.sh-mobile .vipx-claim__btn { background: var(--mm-grad); box-shadow: 0 3px 0 #2670ca; color: #fff; }
body.sh-mobile .vipx-claim__st { background: #e9edf3; color: #9aa3b5; }
body.sh-mobile .vipx-claim.is-off .vipx-claim__m { color: var(--mm-t3); }

/* =====================================================================
   充值／提款 再次採樣 —— 手機版（2026-10-04，模板 recharge.html／withdraw.html）
   藍色頁首：充值／提款分段鈕 → 方式卡（角標、可左右滑）→ 餘額卡；
   下面一塊塊白卡：方式與說明、金額（膠囊輸入＋四欄快選）、注意事項、推薦活動；送出鈕吸在底部分頁列上方。
   共用元件（.mpc-fx／.mpc-amt／.mpc-note／出款帳戶卡…）的基本樣式在 member-pc.css。
   ===================================================================== */
/* 充值／提款切換：改成藍底上的分段鈕（模板的方式卡要佔原本大分頁卡的位置） */
body.sh-mobile .mpc-fx-on .mpc-fin__tabs { gap: 0; margin: 0 0 10px; padding: 3px; border-radius: 22px; background: rgba(255, 255, 255, .28); box-shadow: none; }
body.sh-mobile .mpc-fx-on .mpc-fin__tabs button { height: 38px; border: 0; border-radius: 19px; background: none; box-shadow: none; color: #fff; font-size: 16px; font-weight: 700; }
body.sh-mobile .mpc-fx-on .mpc-fin__tabs button.is-active { border: 0; background: #fff; box-shadow: 0 2px 6px rgba(23, 58, 122, .18); color: var(--mm-deep, #2670ca); }
/* 方式卡：一排可左右滑，選中才顯示說明、框線是角標色 */
body.sh-mobile .mpc-fx-on .pay-grid { display: flex; grid-template-columns: none; gap: 6px; overflow-x: auto; margin: 0 -14px 6px; padding: 4px 14px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
body.sh-mobile .mpc-fx-on .pay-grid::-webkit-scrollbar { display: none; }
body.sh-mobile .mpc-fx-on .pay-method { position: relative; display: block; flex: 0 0 112px; box-sizing: border-box; min-height: 0; height: 60px; padding: 0 6px; border: 2px solid transparent; border-radius: 11px 13px 13px; background: #fff; box-shadow: 0 2px 8px 1px rgba(0, 0, 0, .08); text-align: center; }
body.sh-mobile .mpc-fx-on .mpc-wtypes .pay-method { flex: 1 1 0; }
body.sh-mobile .mpc-fx-on .pay-method .pm-tag { min-width: 34px; height: 16px; padding: 0 6px; border-radius: 10px 0; font-size: 10px; line-height: 16px; letter-spacing: 0; }
body.sh-mobile .mpc-fx-on .pay-method .pm-ic, body.sh-mobile .mpc-fx-on .pay-method .pm-l { display: none; }
body.sh-mobile .mpc-fx-on .pay-method .pm-n { overflow: hidden; margin: 19px 0 0; color: var(--mm-t3); font-size: 15px; font-weight: 500; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile .mpc-fx-on .pay-method .pm-d { display: none; overflow: hidden; margin-top: 2px; color: var(--mm-t2); font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
body.sh-mobile .mpc-fx-on .pay-method.is-active { border-color: var(--tag); background: #fff; }
body.sh-mobile .mpc-fx-on .pay-method.is-active::after { content: none; }
body.sh-mobile .mpc-fx-on .pay-method.is-active .pm-n { margin-top: 12px; color: var(--mm-t1); font-weight: 700; }
body.sh-mobile .mpc-fx-on .pay-method.is-active .pm-d { display: block; }
/* 白卡 */
body.sh-mobile .mpc-fx { display: block; }
body.sh-mobile .mpc-waygrp, body.sh-mobile .mpc-fx__main > .mpc-box, body.sh-mobile .mpc-fx__main > .mpc-note { margin: 0 0 12px; padding: 14px 12px 16px; border: 0; border-radius: 13px; background: linear-gradient(0deg, #fff 0, #f2f3f7 4px, #fefefe 36px, #fff); box-shadow: 0 2px 5px rgba(130, 137, 145, .15); }
body.sh-mobile .mpc-waygrp > .mpc-box { margin: 0; padding: 0; background: none; box-shadow: none; }
body.sh-mobile .mpc-fx__head { margin: 0 0 12px; }
body.sh-mobile .mpc-fx__head b, body.sh-mobile .mpc-lead { color: var(--mm-t1); font-size: 16px; font-weight: 700; }
body.sh-mobile .mpc-fx__pill { background: #f0f3f8; color: var(--mm-t2); font-size: 11px; line-height: 24px; }
body.sh-mobile .mpc-lead { margin-bottom: 10px; }
body.sh-mobile .mpc-lead small { color: var(--mm-t2); font-size: 12px; white-space: nowrap; }
body.sh-mobile .mpc-lead small b { color: var(--mm-blue); }
body.sh-mobile .mpc-lead small button { height: 24px; padding: 0 12px; border-radius: 12px; background: #eaf3ff; color: var(--mm-deep, #2670ca); font-size: 12px; font-weight: 700; }
body.sh-mobile .mpc-lead--sep { border-top-color: #e8ebed; }
/* 目前方式＋說明 */
body.sh-mobile .mpc-chan { width: 25%; min-width: 78px; }
body.sh-mobile .mpc-chan__ic { width: 100%; height: 60px; border-radius: 6px; outline: 0; border: 2px solid var(--mm-blue); background: #f0f3f8; box-shadow: 0 2px 4px rgba(113, 152, 209, .3); box-sizing: border-box; }
body.sh-mobile .mpc-chan__ic::after { top: -2px; right: -2px; border-radius: 0 6px 0 18px; background-color: var(--mm-blue); }
body.sh-mobile .mpc-chan__n { color: var(--mm-t1); font-size: 12px; font-weight: 500; }
body.sh-mobile .mpc-hints { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #e8ebed; color: var(--mm-t1); font-size: 12px; line-height: 1.66; }
body.sh-mobile .mpc-hints:empty { display: none; }
body.sh-mobile .mpc-hints li::before { color: var(--mm-blue); }
/* 金額 */
body.sh-mobile .mpc-amt { height: 48px; padding: 0 6px 0 14px; border: 1px solid #b4bdc5; border-radius: 24px; box-shadow: none; }
body.sh-mobile .mpc-amt:focus-within { border-color: var(--mm-blue); box-shadow: 0 0 0 3px rgba(53, 144, 236, .15); }
body.sh-mobile .mpc-amt__pre { flex: 0 0 auto; padding-right: 4px; border: 0; background: none; color: var(--mm-t1); font-size: 20px; }
body.sh-mobile .mpc-amt input { padding: 0 6px !important; color: var(--mm-t1); font-size: 19px; font-weight: 700; }
body.sh-mobile .mpc-amt input::placeholder { color: #a9b2c2; font-size: 14px; }
body.sh-mobile .mpc-amt__x { color: #6d7a8a; }
body.sh-mobile .mpc-range { margin: 8px 0 2px; color: var(--mm-t2); font-size: 12px; }
body.sh-mobile .mpc-fx-on .amt-chips, body.sh-mobile .mpc-pct { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 5px; margin: 8px 0 0; }
body.sh-mobile .mpc-fx-on .amt-chips button, body.sh-mobile .mpc-pct button { position: relative; overflow: hidden; width: auto; height: 50px; padding: 0; border: 1px solid #e8ebed; border-radius: 13px; background: #fff; color: var(--mm-t1); font-size: 15px; font-weight: 700; }
body.sh-mobile .mpc-fx-on .amt-chips button.is-active, body.sh-mobile .mpc-pct button.is-active { border: 2px solid var(--mm-blue); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M0 0h20v20z' fill='%233590ec'/%3E%3Cpath d='m10.5 5.5 3 3 5-5.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 100% 0 / 20px 20px no-repeat; color: var(--mm-t1); }
body.sh-mobile .mpc-fx-on .amt-chips button:disabled { background: #f4f6f9; color: #b9c2cf; }
body.sh-mobile .mpc-pct button { height: 44px; }
body.sh-mobile .mpc-kv { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e8ebed; color: var(--mm-t1); font-size: 13px; }
body.sh-mobile .mpc-fx-on #usdtHint { color: #c08a3e !important; font-size: 13px !important; }
/* 提款說明 */
body.sh-mobile .mpc-quota { padding: 12px 10px; border-radius: 13px; background: #f0f3f8; }
body.sh-mobile .mpc-quota__row span { color: var(--mm-t2); font-size: 12px; }
body.sh-mobile .mpc-quota__row b { color: var(--mm-t1); font-size: 16px; font-weight: 700; }
body.sh-mobile .mpc-quota__tip { border-top-color: rgba(113, 152, 209, .3); color: var(--mm-t1); font-size: 12px; }
/* 出款帳戶卡 */
body.sh-mobile .mpc-fx-on #wdAccList { display: grid; gap: 10px; }
body.sh-mobile .mpc-fx-on .addr-card { min-height: 124px; padding: 14px 12px; border-radius: 20px; }
body.sh-mobile .mpc-fx-on .addr-card .ic { flex-basis: 38px; width: 38px; height: 38px; }
body.sh-mobile .mpc-fx-on .addr-card.is-active::after { border-radius: 0 20px 0 22px; }
body.sh-mobile .mpc-fx-on .addr-empty { min-height: 84px; border: 1px solid rgba(113, 152, 209, .3) !important; border-radius: 13px; background: #f0f3f8 !important; color: var(--mm-t2); }
body.sh-mobile .mpc-fx-on .addr-empty .plus { color: var(--mm-blue); }
/* 注意事項（手機顯示標題、不放燈泡） */
body.sh-mobile .mpc-note { display: block; }
body.sh-mobile .mpc-note > svg { display: none; }
body.sh-mobile .mpc-note__t { display: block; margin: 0 0 10px; color: var(--mm-t1); font-size: 16px; font-weight: 700; }
body.sh-mobile .mpc-note ul { color: var(--mm-t1); font-size: 12px; line-height: 1.66; }
body.sh-mobile .mpc-note li.is-red { color: #f65d62; }
/* 推薦活動：橫向一排 */
body.sh-mobile .mpc-rec { margin: 0 -14px 4px; padding: 0 14px; }
body.sh-mobile .mpc-rec__t { margin: 4px 0 10px; color: var(--mm-t1); font-size: 16px; font-weight: 700; }
body.sh-mobile .mpc-rec__list { display: flex; gap: 8px; overflow-x: auto; margin: 0 -14px; padding: 0 14px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
body.sh-mobile .mpc-rec__list::-webkit-scrollbar { display: none; }
body.sh-mobile .mpc-rec__card { flex: 0 0 145px; height: 80px; border-radius: 13px; box-shadow: 0 2px 5px rgba(130, 137, 145, .15); }
body.sh-mobile .mpc-rec__card span { top: 0; display: flex; align-items: flex-end; justify-content: center; max-height: none; padding: 0 8px 8px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent 70%); font-weight: 600; text-align: center; }
/* 送出鈕：吸在底部分頁列上方（同模板的底部送出列） */
body.sh-mobile .mpc-submit { position: sticky; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); z-index: 20; margin: 0 -14px; padding: 12px 14px 10px; background: #fff; box-shadow: 0 -2px 10px rgba(23, 58, 122, .08); }
body.sh-mobile .mpc-submit .btn-primary { margin: 0 !important; }
body.sh-mobile .mpc-link { margin-top: 10px; color: var(--mm-blue); font-size: 13px; }
body.sh-mobile .mpc-quota__row b.is-warn, body.sh-mobile .mpc-quota__tip.is-warn { color: #f65d62; }
body.sh-mobile #panel-consign.mpc-fx-on #wdPwdArea { margin: 12px 0 0; }
/* 送出列停在頁面最底時貼齊底部分頁列（抵掉 #detail 的 70px 底部留白） */
body.sh-mobile #panel-deposit.mpc-fx-on, body.sh-mobile #panel-consign.mpc-fx-on { margin-bottom: -70px; }

/* =====================================================================
   反向圓角（內凹圓角，2026-10-06）：藍色導覽列下緣左右各掛一個，內容像一張圓角紙從列底下滑出來（同首頁模板頁首的做法）。
   掛在固定的 #detailBar 上，所以手機會員中心每個面板（流水、反水、彩金、充值記錄、優惠與優惠詳情…）都有。
   充值／提款／個人資料的列底下緊接著藍色頁首，那裡看起來是「藍色那塊」有圓角，一樣成立。
   ===================================================================== */
body.sh-mobile.mpc-nav #detailBar::before, body.sh-mobile.mpc-nav #detailBar::after { content: ""; position: absolute; top: 100%; width: 20px; height: 21px; margin-top: -1px; pointer-events: none; }
body.sh-mobile.mpc-nav #detailBar::before { left: 0; background: radial-gradient(circle at 100% 100%, transparent 19.5px, #5cb0fa 20px); }
body.sh-mobile.mpc-nav #detailBar::after { right: 0; background: radial-gradient(circle at 0 100%, transparent 19.5px, #5cb0fa 20px); }
