/* ==========================================================================
   WIN财神 電腦版（pc/）— 站台專屬補充樣式（疊在 assets/css/desktop.css 的 pc-* 模板之上）
   模板本體不改；這裡只放娛樂城需要而模板沒有的：品牌字標、頁首錢包、彩種卡格、
   海報人數、合作夥伴 Logo 尺寸、登入彈窗品牌與錯誤訊息、密碼眼睛兩態。
   ========================================================================== */

/* 品牌字標（模板 logo 是 114×32 的 svg，這裡用圓 Logo + 文字） */
.pcw-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--pc-text-1); font-family: var(--pc-font); font-size: 22px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.pcw-brand img { width: 34px; height: 34px; border-radius: 50%; }
.pcw-brand em { font-style: normal; color: var(--pc-primary-deep); }
.pc-logo { height: 60px; display: flex; align-items: center; }

/* 頂欄：語言切換 + 登入後的錢包列 */
.pc-topbar__link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 12px; }
.pc-topbar__link.is-active { color: var(--pc-primary); font-weight: 700; }
.pcw-wallet { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; white-space: nowrap; }
.pcw-wallet__name { font-weight: 700; }
.pcw-wallet__vip { padding: 1px 7px; border-radius: 10px; background: linear-gradient(117deg, #f7be65, #ffe99e); color: #7a4a00; font-size: 11px; font-weight: 700; }
.pcw-wallet__bal { font-family: var(--pc-font-num); font-size: 15px; font-weight: 700; color: #7be0ff; }
.pcw-wallet .pcw-ibtn { width: 26px; height: 26px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.pcw-wallet .pcw-ibtn svg { width: 14px; height: 14px; }
.pcw-wallet .pcw-ibtn:hover { background: rgba(255, 255, 255, .24); }
.pcw-wallet .pcw-ibtn.spin svg { animation: pcwSpin .5s linear; }
@keyframes pcwSpin { to { transform: rotate(360deg); } }
.pcw-wallet a.pc-topbar__link { margin: 0; color: #c7c7c7; }
.pcw-wallet a.pc-topbar__link:hover { color: #fff; }

/* 主視覺：本站橫幅比例不一，用 cover 置中裁切 */
.pc-hero__img, .pc-listhero img { object-fit: cover; object-position: center; }
.pc-listhero img { width: 1920px; max-width: none; height: 460px; position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
.pc-listhero { position: relative; height: 460px; }

/* 熱門海報：人數副標 */
.pc-poster { background: #dfeefb; }
.pcw-poster__meta { position: absolute; top: 232px; right: 0; left: 0; padding: 0 10px; color: rgba(255, 255, 255, .85); font-size: 13px; }
.pcw-poster__meta b { font-family: var(--pc-font-num); color: #fff; }
.pc-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7)); pointer-events: none; }
.pc-poster__label, .pcw-poster__meta { z-index: 1; }

/* 彩種卡格（首頁「彩票大廳」與 pc/caipiao.html 共用）：4 欄白卡 */
.pcw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcw-card {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px;
  border-radius: 4px; background: var(--pc-surface); box-shadow: var(--pc-shadow-card);
  transition: transform .2s, box-shadow .2s; color: inherit;
}
.pcw-card:hover { transform: translateY(-4px); box-shadow: var(--pc-shadow-card-h); }
.pcw-card__img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.pcw-card__body { min-width: 0; flex: 1; }
.pcw-card__name { display: flex; align-items: center; gap: 6px; color: var(--pc-text); font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcw-tag { flex: none; padding: 1px 7px; border-radius: 10px; background: var(--pc-red); color: #fff; font-size: 11px; font-weight: 700; }
.pcw-tag--official { background: var(--pc-primary-pale); color: var(--pc-primary-deep); }
.pcw-card__meta { margin-top: 3px; color: var(--pc-text-3); font-size: 12px; }
.pcw-card__pill { margin-top: 6px; color: var(--pc-text-2); font-size: 13px; }
.pcw-card__pill b { font-family: var(--pc-font-num); font-size: 16px; color: var(--pc-primary-deep); }
.pcw-card__pill.h5-wait b { color: var(--pc-red); }
.pcw-card--maint { opacity: .55; }
.pcw-card__go { position: absolute; right: 14px; bottom: 14px; color: var(--pc-primary); font-size: 12px; font-weight: 700; opacity: 0; transition: opacity .2s; }
.pcw-card:hover .pcw-card__go { opacity: 1; }
.pcw-empty { grid-column: 1 / -1; padding: 60px 0; color: var(--pc-text-3); text-align: center; }
.pc-filters { justify-content: center; margin-bottom: 30px; }

/* 真人主打帶（首頁）：左圖右文 */
.pcw-live { display: flex; align-items: center; gap: 40px; padding: 30px 40px; border-radius: 4px; background: var(--pc-surface); box-shadow: var(--pc-shadow-card); }
.pcw-live__img { flex: 0 0 520px; width: 520px; height: 260px; border-radius: 4px; object-fit: cover; }
.pcw-live__h { color: var(--pc-text); font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.pcw-live__p { color: var(--pc-text-2); font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
.pcw-live__stat { display: flex; gap: 30px; margin-bottom: 22px; }
.pcw-live__stat b { display: block; font-family: var(--pc-font-num); font-size: 28px; color: var(--pc-primary-deep); }
.pcw-live__stat span { color: var(--pc-text-3); font-size: 12px; }

/* 優惠卡：無圖時的占位、狀態色 */
.pc-promo__img.pcw-ph { object-fit: contain; padding: 40px; background: linear-gradient(160deg, #eaf3ff, #cfe4ff); }
.pc-promo__scope { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

/* 頁尾合作夥伴（本站 Logo 為正方形 png） */
.pc-footer__logo img { width: auto; height: 46px; max-width: 100px; object-fit: contain; background: none; border-radius: 0; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.pc-footer__logo { display: flex; align-items: center; justify-content: center; }
.pc-footer__links a { background: none; border: 0; cursor: pointer; font: inherit; }

/* 登入彈窗：品牌、合作夥伴 Logo、錯誤訊息、密碼眼睛兩態 */
.pc-dialog__box .pcw-brand { justify-content: center; width: 100%; margin: 0 auto 10px; }
.pc-dialog__partner { background: none; }
.pc-dialog__partner img { width: 100%; height: 100%; border-radius: 0; object-fit: contain; display: block; }
.pcw-err { margin: -14px 0 12px 4px; color: var(--pc-red); font-size: 12px; line-height: 16px; min-height: 0; }
.pcw-err:empty { display: none; }
.pc-field.is-invalid { border-color: var(--pc-red); }
.pc-field__eye[aria-pressed="false"] .h5-eye-on, .pc-field__eye[aria-pressed="true"] .h5-eye-off { display: none; }
.pc-field__eye[aria-pressed="true"] { color: var(--pc-primary-deep); }
.pc-dialog__foot button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; display: inline-flex; align-items: center; }

/* 側欄工具列：客服鈕為 button */
.pc-aside__item { font: inherit; }

/* 官方社群 CTA 沒設定時整段隱藏 */
.pc-cta[hidden] { display: none; }

/* 導覽列首推優惠膠囊（後台可設，取代模板的 ribbon 圖） */
.pc-nav__promo.pcw-pill { width: auto; min-width: 84px; max-width: 120px; height: 28px; margin: 16px 0 0 6px; padding: 0 14px; letter-spacing: 1px; border-radius: 14px; background: linear-gradient(117deg, #f7be65, #ffe99e); color: #7a4a00; font-family: var(--pc-font); font-size: 13px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 3px 10px rgba(247, 190, 101, .45); animation: pcwPill 2.4s ease-in-out infinite; }
.pc-nav__promo.pcw-pill:hover { transform: translateY(-1px); }
@keyframes pcwPill { 0%, 100% { box-shadow: 0 3px 10px rgba(247, 190, 101, .45); } 50% { box-shadow: 0 3px 16px rgba(247, 190, 101, .85); } }

/* 電腦版主視覺文字疊層（左側 40% 區域，垂直置中） */
.pc-hero__cap { position: absolute; left: 50%; top: 50%; transform: translate(-600px, -50%); z-index: 2; width: 480px; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); pointer-events: none; }
.pc-hero__cap b { display: block; font-size: 44px; font-weight: 800; line-height: 1.2; letter-spacing: 2px; margin-bottom: 12px; }
.pc-hero__cap small { display: block; font-size: 18px; opacity: .92; }
.pc-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0) 55%); pointer-events: none; }
@media (max-width: 1260px) { .pc-hero__cap { transform: translate(-480px, -50%); width: 420px; } .pc-hero__cap b { font-size: 36px; } }
/* 篩選列（彩票大廳 10 類）：單列置中、按鈕依文字寬度，避免最後一顆掉到第二排 */
.pc-filters { flex-wrap: nowrap; justify-content: center; gap: 10px; }
.pc-filters .pc-fbtn { min-width: 0; margin: 0; padding: 0 18px; white-space: nowrap; }

/* 優質服務三欄：高度依內容、內距一致，文字不會撐出卡片底部 */
.pc-features { align-items: stretch; }
.pc-feature { height: auto; min-height: 493px; padding-bottom: 28px; }
.pc-feature__row { padding: 0 28px; }
.pc-feature__v { font-size: 13px; line-height: 1.7; }

/* 字型：同手機版，微軟雅黑優先 */
.pc-body { --pc-font: "PingFang SC", "PingFang TC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, "Microsoft JhengHei", sans-serif; }

/* 賭王大賽入口：預設隱藏，等站點設定確認 event_king_show=1（H5.pruneKing 加上 html.h5-king）才顯示，避免載入瞬間閃一下 */
html:not(.h5-king) [data-king] { display: none !important; }

/* ===== 字級放大（css/pc-fontscale.css）後的版面補正：固定高度／底圖尺寸跟不上較大的字 ===== */
.pc-body .pc-feature { background-size: 100% 100%; }                                  /* 特色卡底圖原本只鋪 493px 高，內容變高後下半段沒有底 */
.pc-body .pc-nav__promo.pcw-pill { height: 30px; line-height: 30px; font-size: 16px; margin-top: 15px; }   /* 導覽膠囊：固定 28px 高裝不下 18.5px 字 */
.pc-body .pc-ticker { height: auto; }
.pc-body .pc-ticker__viewport, .pc-body .pc-ticker__track { height: 26px; line-height: 26px; }            /* 頂欄跑馬燈：16px 字在 20px 視窗裡被切 */
.pc-body .pc-promo__scope { max-height: 99px; }                                                          /* 優惠卡摘要：維持 3 行（3 × 33px 行高） */
/* 優惠卡：固定 308px 高裝不下放大後的文字，改成隨內容長高、按鈕固定貼在卡片底部 */
.pc-body .pc-promo { height: auto; min-height: 308px; align-items: stretch; }
.pc-body .pc-promo .pc-promo__img { height: auto; min-height: 258px; align-self: stretch; }
.pc-body .pc-promo .pc-promo__body { height: auto; padding-bottom: 52px; }
.pc-body .pc-promo .pc-btn.pc-promo__btn { top: auto; bottom: 25px; }
/* 特色卡：不再用 SVG 當整張底圖（SVG 不會非等比拉伸，卡片變高後上下會露空、標題像浮在卡外），改為 CSS 畫卡片與藍色標題帶 */
.pc-body .pc-feature { background: #fff; border: 1px solid #e3eef6; border-radius: 8px; box-shadow: 0 4px 14px rgba(23, 58, 122, .06); }
.pc-body .pc-feature__title { top: 0; left: 0; right: 0; height: 58px; line-height: 58px; border-radius: 7px 7px 0 0; background: linear-gradient(90deg, #25e1fe, #1b91ff); }
.pc-body .pc-feature__title::after { content: ''; position: absolute; right: 18px; top: 16px; width: 34px; height: 26px; opacity: .75; background: radial-gradient(circle, #fff 1.6px, transparent 2.1px) 0 0 / 8px 8px; }

/* ===== 三方遊戲（星汇）電腦版：遊戲商卡 / 錢包列 / 大選單卡 ===== */
.pcw-provgrid .pcw-card.pcw-prov { background: linear-gradient(160deg, #2670ca, #63b4fb); color: #fff; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; position: relative; overflow: hidden; border-radius: 10px; cursor: pointer; text-decoration: none; }
.pcw-prov--live { background: linear-gradient(160deg, #7a1fa2, #c86dd7) !important; }
.pcw-prov--slot { background: linear-gradient(160deg, #c2410c, #fb923c) !important; }
.pcw-prov--fish { background: linear-gradient(160deg, #0e7490, #22d3ee) !important; }
.pcw-prov--card { background: linear-gradient(160deg, #15803d, #4ade80) !important; }
.pcw-prov--sport { background: linear-gradient(160deg, #1d4ed8, #60a5fa) !important; }
.pcw-prov--esport { background: linear-gradient(160deg, #be123c, #fb7185) !important; }
.pcw-prov__logo { position: absolute; right: 12px; top: 12px; width: 44%; height: 50%; object-fit: contain; object-position: right top; opacity: .95; }
.pcw-prov__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcw-prov__type { position: absolute; left: 14px; top: 12px; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.pcw-prov__name { position: relative; font-size: 22px; font-weight: 800; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.pcw-prov__code { position: relative; font-size: 13px; opacity: .85; margin-top: 2px; }
.pcw-prov__btn { position: relative; margin-top: 12px; align-self: flex-start; padding: 8px 18px; border-radius: 999px; background: #fff; color: #2670ca; font-weight: 700; font-size: 14px; }
.pcw-prov:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 58, 122, .25); transition: .2s; }
.pcw-gwallet { display: flex; align-items: center; gap: 28px; margin: 0 auto 18px; padding: 16px 24px; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(23, 58, 122, .08); max-width: 720px; }
.pcw-gwallet__col { display: flex; flex-direction: column; gap: 2px; color: #6b7280; font-size: 14px; }
.pcw-gwallet__col b { font-size: 24px; color: #173a7a; }
.pcw-gwallet .pc-btn { margin-left: auto; }
.pcw-gwallet .pc-btn[disabled] { opacity: .5; cursor: not-allowed; }
.pcw-back { display: inline-block; margin: 0 0 14px; color: #2670ca; font-weight: 700; }
.pc-mega__card.pcw-megaprov { background: linear-gradient(160deg, #2670ca, #63b4fb); color: #fff; display: flex; align-items: center; justify-content: center; min-height: 163px; border-radius: 10px; font-size: 20px; font-weight: 800; text-align: center; }

.pc-mega__card.pcw-megaprov.pcw-prov--slot, .pc-mega__card.pcw-megaprov.pcw-prov--sport, .pc-mega__card.pcw-megaprov.pcw-prov--card, .pc-mega__card.pcw-megaprov.pcw-prov--esport, .pc-mega__card.pcw-megaprov.pcw-prov--fish { color: #fff; }
.pc-mega__dl a { color: inherit; text-decoration: none; display: block; }

/* 電腦版主打帶（各類型首推） */
.pcw-featured { position: relative; }
.pcw-featured .pcw-live__img--none { opacity: 0; }
.pcw-featured--live .pcw-live__img, .pcw-featured--sport .pcw-live__img, .pcw-featured--slot .pcw-live__img, .pcw-featured--card .pcw-live__img, .pcw-featured--esport .pcw-live__img, .pcw-featured--fish .pcw-live__img { background: linear-gradient(160deg, #2670ca, #63b4fb); border-radius: 12px; }
.pcw-featured--live .pcw-live__img { background: linear-gradient(160deg, #7a1fa2, #c86dd7); }
.pcw-featured--slot .pcw-live__img { background: linear-gradient(160deg, #c2410c, #fb923c); }
.pcw-featured--sport .pcw-live__img { background: linear-gradient(160deg, #1d4ed8, #60a5fa); }
.pcw-featured--card .pcw-live__img { background: linear-gradient(160deg, #15803d, #4ade80); }
.pcw-featured--esport .pcw-live__img { background: linear-gradient(160deg, #be123c, #fb7185); }
.pcw-featured--fish .pcw-live__img { background: linear-gradient(160deg, #0e7490, #22d3ee); }
.pcw-featured__flag { display: inline-block; margin-bottom: 8px; padding: 3px 12px; border-radius: 999px; background: linear-gradient(90deg, #f7be65, #e9a53a); color: #5b3a00; font-size: 13px; font-weight: 800; }

.pcw-live__ph { display: block; width: 520px; height: 260px; border-radius: 12px; }
.pcw-featured .pcw-live__ph { background: linear-gradient(160deg, #2670ca, #63b4fb); }
.pcw-featured--live .pcw-live__ph { background: linear-gradient(160deg, #7a1fa2, #c86dd7); }
.pcw-featured--slot .pcw-live__ph { background: linear-gradient(160deg, #c2410c, #fb923c); }
.pcw-featured--sport .pcw-live__ph { background: linear-gradient(160deg, #1d4ed8, #60a5fa); }
.pcw-featured--card .pcw-live__ph { background: linear-gradient(160deg, #15803d, #4ade80); }
.pcw-featured--esport .pcw-live__ph { background: linear-gradient(160deg, #be123c, #fb7185); }
.pcw-featured--fish .pcw-live__ph { background: linear-gradient(160deg, #0e7490, #22d3ee); }

/* 遊戲大廳彩票頁籤：「查看全部 N 个彩种」卡 */
.pcw-provgrid .pcw-card.pcw-morecard { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 180px; border: 2px dashed rgba(38, 112, 202, .45); background: #f3f8ff; color: #2670ca; font-size: 16px; font-weight: 700; text-align: center; border-radius: 10px; }
.pcw-provgrid .pcw-card.pcw-morecard b { font-size: 34px; line-height: 1; }
.pcw-provgrid .pcw-card.pcw-morecard:hover { background: #e6f0ff; }

/* ===== 登入後頂欄（採樣 ld197）：中心钱包余额 + 充值/提款 + 消息中心/个人中心 下拉 ===== */
.pcw-wallet { gap: 8px; }
.pcw-wallet__lbl { color: #c7c7c7; font-size: 12px; }
.pcw-wallet .pc-btn--tiny { margin: 0 0 0 2px; }
.pcw-dd { position: relative; display: inline-flex; align-items: center; height: 32px; margin-left: 6px; }
.pcw-dd__btn { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 0 4px; height: 32px; background: none; border: 0; color: #c7c7c7; font-size: 12px; cursor: pointer; font-family: inherit; }
.pcw-dd__btn svg { width: 14px; height: 14px; }
.pcw-dd__btn .pcw-dd__caret { width: 10px; height: 10px; transition: transform .15s; }
.pcw-dd.is-open .pcw-dd__btn, .pcw-dd__btn:hover { color: #fff; }
.pcw-dd.is-open .pcw-dd__caret { transform: rotate(180deg); }
.pcw-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #f04b4b; color: #fff; font-size: 10px; font-weight: 700; line-height: 1; }
.pcw-dd__panel { position: absolute; top: calc(100% + 6px); right: 0; z-index: 320; width: 320px; background: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(16, 32, 64, .18), 0 0 0 1px rgba(16, 32, 64, .06); color: #29343d; text-align: left; }
.pcw-dd__panel::before { content: ""; position: absolute; top: -6px; right: 22px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); box-shadow: -1px -1px 0 rgba(16, 32, 64, .06); }
.pcw-dd__panel::after { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }   /* 滑鼠從按鈕移到面板的緩衝 */
.pcw-dd__head { display: flex; align-items: center; gap: 6px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: #2670ca; border-bottom: 1px solid #eef1f6; }
.pcw-dd__head svg { width: 16px; height: 16px; }
.pcw-dd__head a { margin-left: auto; font-size: 12px; font-weight: 500; color: #8a93a6; }
.pcw-dd__head a:hover { color: #2670ca; }
.pcw-msgpanel__list { max-height: 360px; overflow-y: auto; }
.pcw-msgpanel__empty { padding: 26px 14px; text-align: center; color: #9aa3b5; font-size: 13px; }
.pcw-msgitem { display: block; padding: 11px 14px; border-bottom: 1px solid #f1f3f7; color: inherit; text-decoration: none; }
.pcw-msgitem:hover { background: #f6f9ff; }
.pcw-msgitem__t { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.pcw-msgitem__t b { font-weight: 700; color: #1f2a3a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcw-msgitem__dot { width: 6px; height: 6px; border-radius: 50%; background: #d9dee8; flex: 0 0 auto; }
.pcw-msgitem.is-unread .pcw-msgitem__dot { background: #f04b4b; }
.pcw-msgitem__tag { flex: 0 0 auto; padding: 1px 6px; border-radius: 4px; background: #eaf3ff; color: #2670ca; font-size: 11px; }
.pcw-msgitem__p { margin: 4px 0 0 12px; font-size: 12px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcw-msgitem__f { display: flex; justify-content: space-between; margin: 4px 0 0 12px; font-size: 11px; color: #9aa3b5; }
.pcw-msgitem__f span { color: #2670ca; }
.pcw-msgpanel__more { margin: 10px 14px 14px; width: calc(100% - 28px); height: 36px; font-size: 13px; }
/* 个人中心 面板 */
.pcw-userpanel { width: 340px; padding: 14px; }
.pcw-userpanel__top { display: flex; align-items: center; gap: 12px; }
.pcw-userpanel__top img { width: 52px; height: 52px; border-radius: 50%; background: #eaf3ff; object-fit: cover; }
.pcw-userpanel__name { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: #1f2a3a; }
.pcw-userpanel__acc { margin-top: 3px; font-size: 12px; color: #8a93a6; }
.pcw-userpanel__vip { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: linear-gradient(135deg, #f7f1e1, #efe4c6); }
.pcw-userpanel__viptop { display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: #8a6d2b; }
.pcw-userpanel__viptop b { font-size: 18px; color: #7a4a00; font-style: italic; }
.pcw-userpanel__bar { margin-top: 6px; font-size: 11px; color: #8a6d2b; }
.pcw-userpanel__bar span { display: block; margin-bottom: 3px; }
.pcw-userpanel__bar i { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #f7be65, #e0a92e); min-width: 4px; }
.pcw-userpanel__bar { position: relative; }
.pcw-userpanel__bar::after { content: ""; display: block; height: 5px; margin-top: -5px; border-radius: 3px; background: rgba(122, 74, 0, .12); position: relative; z-index: -1; }
.pcw-userpanel__wallet { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #f3f8ff; }
.pcw-userpanel__wallet > div { flex: 1; display: flex; flex-direction: column; font-size: 11px; color: #6b7280; }
.pcw-userpanel__wallet b { font-size: 16px; color: #2670ca; font-family: var(--pc-font-num); }
.pcw-userpanel__wallet .pc-btn--tiny { height: 28px; padding: 0 12px; }
.pcw-userpanel__quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.pcw-userpanel__q { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 2px; border-radius: 8px; font-size: 12px; color: #4b5563; text-decoration: none; }
.pcw-userpanel__q:hover { background: #f6f9ff; color: #2670ca; }
.pcw-userpanel__qi { width: 34px; height: 34px; border-radius: 50%; background: #eaf3ff; color: #2670ca; display: grid; place-items: center; }
.pcw-userpanel__qi svg { width: 18px; height: 18px; }
.pcw-userpanel__group { margin: 12px 0 4px; font-size: 12px; font-weight: 700; color: #9aa3b5; }
.pcw-userpanel__item { display: flex; align-items: center; gap: 8px; padding: 8px 6px; border-radius: 8px; font-size: 13px; color: #29343d; text-decoration: none; }
.pcw-userpanel__item:hover { background: #f6f9ff; color: #2670ca; }
.pcw-userpanel__item i { margin-left: auto; color: #c0c7d4; font-style: normal; }
.pcw-userpanel__item .pcw-badge { margin-left: auto; }
.pcw-userpanel__item .pcw-badge + i { margin-left: 6px; }
.pcw-userpanel__logout { display: block; width: 100%; margin-top: 10px; height: 36px; border: 1px solid #e1e4e8; border-radius: 9px; background: #fff; color: #6b7280; font-size: 13px; cursor: pointer; font-family: inherit; }
.pcw-userpanel__logout:hover { color: #d9444f; border-color: #f5c2c2; background: #fff6f6; }

/* 電腦版遊戲商卡專屬底圖（同一張 <code>-card.jpg，cover 取中段） */
.pcw-prov__card { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; border-radius: inherit; }
.pcw-prov.has-card::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(6, 16, 40, .66), rgba(6, 16, 40, .04) 60%), linear-gradient(0deg, rgba(6, 16, 40, .6), rgba(6, 16, 40, 0) 50%); }
.pcw-prov.has-card .pcw-prov__logo { display: none; }
.pcw-prov.has-card > *:not(.pcw-prov__card) { position: relative; z-index: 1; }
.pcw-prov.has-card .pcw-prov__name { text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }

/* 懸停大選單的遊戲商卡：有底圖就鋪滿、名稱壓在底部漸層上 */
.pc-mega__card.pcw-megaprov { position: relative; overflow: hidden; }

/* 大選單：卡片不超過 4 張就不顯示左右切換 */
.pcw-rail--few .pc-mega__arrow { display: none; }

/* ===== 電子／捕魚：官方遊戲圖示 ===== */
.pcw-prov__mosaic { position: absolute; right: 16px; bottom: 20px; display: flex; gap: 4px; z-index: 1; }   /* 右下一排 4 個遊戲圖示（左下是進入鈕） */
.pcw-prov__mosaic img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .28)); }
.pcw-prov.has-card .pcw-prov__mosaic, .pcw-prov__logo + .pcw-prov__mosaic { display: none; }
.pc-mega__card.pcw-megaprov { flex-direction: column; gap: 8px; }
.pcw-megaprov__mosaic { display: grid; grid-template-columns: repeat(2, 46px); gap: 4px; }
.pcw-megaprov__mosaic img { width: 46px; height: 46px; object-fit: contain; }
.pc-mega__card.pcw-megaprov.has-card .pcw-megaprov__mosaic { display: none; }
.pcw-live__covers { display: none; }   /* 只當作資料來源：主圖載不到時搬進佔位塊 */
.pcw-live__ph { display: flex !important; align-items: center; justify-content: center; gap: 18px; }
.pcw-live__ph img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); }
/* 子遊戲清單：圖示磚 */
.pcw-grid.pcw-subgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.pcw-sub { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(23, 58, 122, .08); color: #1f2a3a; text-decoration: none; text-align: center; transition: transform .15s, box-shadow .15s; }
.pcw-sub:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(23, 58, 122, .16); }
.pcw-sub__ico { position: relative; width: 110px; height: 110px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(160deg, #eaf3ff, #cfe4ff); overflow: hidden; }
.pcw-sub__ico::before { content: attr(data-ini); font-size: 40px; font-weight: 800; color: #2670ca; }
.pcw-sub__ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pcw-sub__name { font-size: 15px; font-weight: 600; line-height: 1.35; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== 大選單遊戲商卡（有專屬圖）：同 BG 卡——上方 150×163 圖、下方灰字名稱；圖在框內下移 20px 留頭頂空間，上方接同色系淡彩底 ===== */
.pcw-megaprov__pic { display: none; }
.pc-mega__card.pcw-megaprov.has-card { display: block; min-height: 0; overflow: visible; border-radius: 4px; background: none !important; color: inherit; font-size: inherit; font-weight: inherit; }
.pc-mega__card.pcw-megaprov.has-card .pcw-megaprov__pic { position: relative; display: block; width: 150px; height: 163px; overflow: hidden; border-radius: 4px; }
.pc-mega[data-pc-mega="live"] .pcw-megaprov.has-card .pcw-megaprov__pic { background: linear-gradient(90deg, #d6deed, #d1d6de 50%, #f4ddc2); }
.pc-mega__card.pcw-megaprov .pcw-megaprov__img { position: absolute; left: 0; top: 0; width: 150px; height: 163px; border-radius: 0; object-fit: cover; object-position: 50% 0; }
.pc-mega[data-pc-mega="live"] .pcw-megaprov .pcw-megaprov__img { top: 20px; height: 150px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px); mask-image: linear-gradient(180deg, transparent 0, #000 12px); }
.pc-mega__card.pcw-megaprov.has-card .pcw-megaprov__name { display: block; margin-top: 15px; overflow: hidden; color: var(--pc-text-2); font-size: 21.5px; font-weight: 500; line-height: 29.5px; white-space: nowrap; text-overflow: ellipsis; transition: color .2s; }
@media (hover: hover) {
  .pc-mega__card.pcw-megaprov.has-card:hover { background: var(--pc-bg) !important; }
  .pc-mega__card.pcw-megaprov.has-card:hover .pcw-megaprov__name { color: var(--pc-primary); }
}

/* ===== 大選單開合動畫：滑鼠移入慢慢下拉、移開慢慢收起（由上往下揭開＋內容跟著下滑） ===== */
.pc-mega { display: block; visibility: hidden; pointer-events: none; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); transition: clip-path .4s cubic-bezier(.4, 0, .2, 1), -webkit-clip-path .4s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .4s; }
.pc-mega .pc-mega__inner { transform: translateY(-18px); transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
.pc-mega--open { z-index: 100; visibility: visible; pointer-events: auto; -webkit-clip-path: inset(0 0 -40px 0); clip-path: inset(0 0 -40px 0); transition: clip-path .45s cubic-bezier(.22, .8, .3, 1), -webkit-clip-path .45s cubic-bezier(.22, .8, .3, 1), visibility 0s; }
.pc-mega--open .pc-mega__inner { transform: none; transition: transform .45s cubic-bezier(.22, .8, .3, 1); }
@media (prefers-reduced-motion: reduce) { .pc-mega, .pc-mega .pc-mega__inner { transition: none; } }

/* ===== 大廳／首頁遊戲商卡（有專屬圖）：圖靠上對齊並下移 16px，人物頭頂留空間；上緣淡入接底色 ===== */
.pcw-prov__card { object-position: 50% 0; }
.pcw-prov--live .pcw-prov__card { top: 16px; height: calc(100% - 16px); border-radius: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px); mask-image: linear-gradient(180deg, transparent 0, #000 12px); }
.pcw-provgrid .pcw-card.pcw-prov--live.has-card, .pcw-prov--live.has-card { background: linear-gradient(90deg, #d6deed, #d1d6de 50%, #f4ddc2) !important; }
.pcw-prov.has-card::before { content: none; }   /* 原本的壓暗層其實被圖蓋住沒作用；圖下移後會在頂端露出一條深色，拿掉 */
/* 有專屬圖的卡：左側加一層淡淡的深色，白字在淺色圖上才清楚（::after 疊在圖上、文字之下） */
.pcw-prov.has-card::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, rgba(10, 20, 45, .42), rgba(10, 20, 45, 0) 64%); }
.pcw-prov.has-card .pcw-prov__name, .pcw-prov.has-card .pcw-prov__code { align-self: flex-start; text-align: left; }   /* 人物在右側，名稱靠左才不會壓到臉 */
.pcw-prov.has-card .pcw-prov__code { opacity: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.pcw-live__img.pcw-live__img--card { object-position: 50% 10%; }   /* 主打帶沒有主圖 → 退回字卡圖，取上半（人物頭胸） */

/* ===== 彩種卡：同遊戲商卡版型（深色底、右側彩種主圖向左淡出、左側白字資訊） ===== */
.pcw-card.pcw-lot { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0; min-height: 180px; padding: 18px; overflow: hidden; border-radius: 10px; background: linear-gradient(120deg, #34100b, #5a2416 62%, #47190f); color: #fff; text-decoration: none; }
.pcw-lot__bg { position: absolute; top: 0; right: 0; z-index: 0; width: 66%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%); mask-image: linear-gradient(90deg, transparent, #000 42%); }
.pcw-card.pcw-lot::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20, 6, 4, .55), rgba(20, 6, 4, 0) 62%); }
.pcw-lot .pcw-card__body, .pcw-lot__btn { position: relative; z-index: 1; }
.pcw-lot .pcw-card__body { flex: none; width: 100%; }
.pcw-lot .pcw-card__name { color: #fff; font-size: 22px; font-weight: 800; line-height: 1.3; text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.pcw-lot .pcw-card__meta { margin-top: 2px; color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 1.4; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.pcw-lot .pcw-card__pill { margin-top: 2px; color: rgba(255, 255, 255, .92); font-size: 14px; line-height: 1.4; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.pcw-lot .pcw-card__pill b { color: #ffd76a; font-size: 20px; }
.pcw-lot .pcw-card__pill.h5-wait b { color: #ff9aa8; }
.pcw-lot__btn { margin-top: 10px; align-self: flex-start; padding: 8px 18px; border-radius: 999px; background: #fff; color: #2670ca; font-weight: 700; font-size: 14px; }
.pcw-card.pcw-lot:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60, 20, 10, .3); }

/* 大選單右側的介紹區塊已移除：卡片列吃滿標題右邊的寬度 */
.pc-mega__rail { flex: 1 1 auto; width: auto; min-width: 0; margin-left: 40px; }

/* ===== 頂欄下拉面板（消息中心／个人中心）：行高不要繼承頂欄的 40px；个人中心超過視窗高度時可上下捲動 ===== */
.pcw-dd__panel { line-height: 1.45; }
.pcw-userpanel { max-height: calc(100vh - 62px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c5cede transparent; }
.pcw-userpanel::-webkit-scrollbar { width: 6px; }
.pcw-userpanel::-webkit-scrollbar-thumb { border-radius: 3px; background: #c5cede; }
.pcw-userpanel::-webkit-scrollbar-track { background: transparent; }
.pcw-userpanel.pcw-dd__panel::before { display: none; }   /* 可捲動的容器會把尖角裁掉，直接不畫 */
.pcw-userpanel__wallet .pc-btn { font-size: 14px !important; line-height: 28px; }
.pcw-userpanel__item { padding: 9px 6px; font-size: 14px; }
.pcw-userpanel__bar span { font-size: 12px; }

/* ===== 頂欄下拉面板改模板版型（2026-10-03）：个人中心＝頭像列＋綁定狀態＋錢包＋VIP 小卡＋圖示列表；消息中心＝標題粗字、漸層「更多」鈕 ===== */
.pcw-userpanel { width: 320px; padding: 0; color: #000; }
.pcw-up__top { display: flex; align-items: center; justify-content: space-between; padding: 16px 14px 6px; }
.pcw-up__who { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.pcw-up__who img { flex: 0 0 auto; width: 46px; height: 46px; padding: 2px; border-radius: 50%; background: linear-gradient(to left, #25e1fe, #1b91ff); object-fit: cover; }
.pcw-up__who b { display: block; overflow: hidden; max-width: 150px; color: #000; font-size: 16px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.pcw-up__who span { display: block; color: #666; font-size: 12px; }
.pcw-up__cs { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; color: #32c5ff; font-size: 11px; cursor: pointer; font-family: inherit; }
.pcw-up__cs svg { width: 20px; height: 20px; }
.pcw-up__cs span { color: #666; }
.pcw-userpanel .mpc-auth { justify-content: space-between; margin: 6px 14px 12px; }
.pcw-userpanel .mpc-acc { margin: 0 0 14px; padding: 0 6px 14px; border-bottom: 1px solid #ebeef3; }
.pcw-up__wallet { display: flex; align-items: center; gap: 8px; margin: 0 14px 12px; color: #000; font-size: 14px; }
.pcw-up__wallet svg { width: 16px; height: 16px; color: #32c5ff; }
.pcw-up__wallet b { color: #1b91ff; font-family: var(--pc-font-num); font-size: 15px; font-weight: 700; }
.pcw-userpanel .vipx--side { margin: 0 14px 8px; }
.pcw-up__list { padding: 0 0 8px; }
.pcw-up__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; border: 0; background: none; color: #000; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; font-family: inherit; transition: background-color .15s, color .15s; }
.pcw-up__item:hover { background: #f4f9ff; color: #1b91ff; }
.pcw-up__item svg { flex: 0 0 auto; width: 16px; height: 16px; color: #32c5ff; }
.pcw-up__item span { flex: 1 1 0; }
.pcw-up__item i { color: #b7c0cd; font-style: normal; }
.pcw-up__item .pcw-badge { margin-left: auto; }
.pcw-up__item--out { border-top: 1px solid #ebeef3; color: #666; }
/* 消息中心 */
.pcw-dd__head { border-bottom: 1px solid #ebeef3; color: #000; font-size: 15px; }
.pcw-dd__head svg { color: #32c5ff; }
.pcw-dd__head a:hover { color: #1b91ff; }
.pcw-msgitem { padding: 12px 16px; border-bottom: 1px solid #ebeef3; }
.pcw-msgitem:hover { background: #f4f9ff; }
.pcw-msgitem__t { font-size: 14px; }
.pcw-msgitem__t b { color: #333; }
.pcw-msgitem__tag { border-radius: 2px; background: #eaf8ff; color: #1b91ff; }
.pcw-msgitem__p { color: #000; }
.pcw-msgitem__f { color: #666; }
.pcw-msgitem__f span { color: #666; }
.pcw-msgpanel__more { border: 0; border-radius: 4px; background: linear-gradient(to left, #25e1fe, #1b91ff); box-shadow: 0 2px 8px 0 rgba(60, 160, 255, .47); color: #fff; }
.pcw-userpanel { --mpc-primary: #32c5ff; --mpc-deep: #1b91ff; --mpc-grad: linear-gradient(to left, #25e1fe, #1b91ff); --mpc-t1: #333; --mpc-t2: #666; --mpc-t3: #999; --mpc-line: #d8d8d8; --mpc-grey: #f4f5f8; }   /* 下拉面板用到會員中心的元件，別頁沒有 body.sh-desktop 的變數 */
