/* 新增彩种页面样式（PC + 移动端，对齐 macaujc.com 目标站：主题蓝 #1a3d96、灰底 tab #ded9d9） */
.gt-wrap { max-width: 1184px; margin: 0 auto; padding: 0 10px; }

/* 彩种tab网格：3列 + 展开按钮（移动端，目标 frequency-box） */
.gt-tabgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 0 5px 16px 5px; background: #fff; }
.gt-tabgrid a { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 5px; background: #ded9d9; color: #000; font-size: 20px; font-weight: bolder; border-radius: 5px; text-decoration: none; }
.gt-tabgrid a.on { background: #1a3d96; color: #fff; }
.gt-tabgrid a.gt-hidden, .game-tabs a.gt-hidden, .game-tabs-m a.gt-hidden { display: none; }
.gt-tabgrid button.gt-more { min-height: 42px; background: #ded9d9; border: none; border-radius: 5px; font-size: 22px; font-weight: 700; color: #111; cursor: pointer; }
.gt-tabgrid.expanded a.gt-hidden,
.game-tabs.expanded a.gt-hidden { display: inline-flex; }
.game-tabs-m.expanded a.gt-hidden { display: flex; }

/* PC 横排 tab 折叠 */
.game-tabs.collapsed a.gt-hidden { display: none; }
.game-tabs button.gt-more { min-width: 40px; height: 40px; padding: 10px 0; background: #ded9d9; border: none; border-radius: 4px; font-size: 20px; font-weight: 700; color: #111; cursor: pointer; }
.game-tabs button.gt-more:hover { background: #ded9d9; color: #111; }

/* 标题卡：目标站 1px #1a3d96 蓝边框 */
.gt-title { display: flex; justify-content: space-between; align-items: center; border: 1px solid #1a3d96; border-radius: 6px; background: #fff; padding: 12px 20px; margin: 10px 0; }
.gt-title .gt-name { color: #1a3d96; font-size: 20px; font-weight: 700; }
.gt-title .gt-info { color: #1a3d96; font-size: 14px; font-weight: 700; text-align: right; line-height: 1.7; }
.gt-title .gt-info i { font-style: normal; }

/* 读秒白框：目标 41x49 / 38px */
.gt-cdrow { display: flex; align-items: center; justify-content: center; gap: 0; margin: 16px 0; flex-wrap: wrap; }
.gt-cd { display: flex; align-items: center; justify-content: center; width: 41px; height: 49px; background: #fff; border: 1px solid #d0d0d0; border-radius: 5px; font-size: 38px; font-weight: 400; color: #000; margin-left: 10px; font-family: "Microsoft JhengHei", Arial, sans-serif; }
.gt-cd:first-child { margin-left: 0; }
.gt-cd-colon { font-size: 38px; font-weight: 700; color: #000; margin: 0 2px; }
.gt-gua { color: #1a3d96; font-size: 15px; font-weight: 700; cursor: pointer; user-select: none; }
.gt-gua i { font-style: normal; }

/* 结果区：PC 最新一期号码方块 74x74 / 44px（明显大于历史行 52/46） */
.gt-res { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 8px 4px; padding: 8px 0 4px 0; }
.gt-ball { width: 74px; text-align: center; }
.gt-ball i { display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 4px; font-style: normal; font-size: 44px; font-weight: 700; color: #fff; }
.gt-ball u { display: block; text-decoration: none; font-size: 15px; color: #111; margin-top: 2px; font-weight: bolder; }
.gt-ball i.white { background: #fff !important; color: #111 !important; border: 1px solid #999; }
.gt-ball i.dice { background: none; border: none; padding: 0; }
.dice-svg { width: 100%; height: 100%; display: block; }
.gt-op { font-size: 30px; font-weight: 800; color: #d21e1e; align-self: center; height: 74px; line-height: 74px; }
.gt-sum { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 4px; background: #d21e1e; color: #fff; font-size: 26px; font-weight: 800; }
.gt-tag { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #999; border-radius: 4px; background: #fff; font-size: 22px; font-weight: 800; }
.gt-tag.red { color: #d21e1e; }
.gt-tag.blue { color: #1a3d96; }
.gt-mask i { background: #ccc !important; color: #ccc !important; }

/* 当期开奖信息卡（gt-now）：灰底圆角，期号/时间/中奖号码+回放 */
.gt-now { background: #f8f8f8; border-radius: 6px; padding: 10px 12px; margin: 10px 0 4px 0; }
.gt-now-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px; color: #111; flex-wrap: wrap; }
.gt-now-l { color: #666; font-weight: 700; min-width: 64px; }
.gt-now-v { color: #111; font-weight: 700; }
.gt-tag-live { display: inline-block; background: #1a3d96; color: #fff; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 2px 8px; }
.gt-tag-play { display: inline-block; background: #d21e1e; color: #fff; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 2px 8px; text-decoration: none; }
.gt-now-balls { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: flex-start; }
.gt-now-balls .one { display: flex; flex-direction: column; align-items: center; }
.gt-now-balls i { width: 36px; height: 36px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-size: 20px; font-weight: 800; }
.gt-now-balls u { font-size: 12px; color: #111; text-decoration: none; margin-top: 2px; }
.gt-now-balls .op { color: #d21e1e; font-weight: 800; align-self: center; }

/* 刮奖遮挡区：号码 + 玩法特征表整块盖「刮一刮」灰块（对齐目标站） */
.gt-sc-area { position: relative; }
.gt-sc-area.scratched:after {
    content: "刮一刮"; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
    background: #b7b5b5; border-radius: 6px; color: #fff; display: flex;
    align-items: center; justify-content: center; font-size: 30px; font-weight: 700;
    letter-spacing: 6px; z-index: 30; cursor: pointer;
}

/* 玩法表 */
.gt-feat { width: 92%; max-width: 560px; margin: 12px auto; border-collapse: collapse; }
.gt-feat td { border: 1px solid #e3e3e3; text-align: center; padding: 8px 2px; font-size: 15px; }
.gt-feat td.hd { background: #f4f4f4; font-weight: 800; color: #111; }
.gt-feat td b { font-weight: 800; }
.gt-feat .red { color: #d21e1e; }
.gt-feat .blue { color: #1a3d96; }
.gt-feat .green { color: #1c7a2d; }

/* 历史表 */
.gt-his-wrap { margin-top: 18px; overflow-x: auto; }
.gt-his-switch { text-align: center; margin: 10px 0; }
.gt-his-switch button { border: none; background: none; font-size: 16px; font-weight: 700; color: #111; padding: 8px 16px; cursor: pointer; }
.gt-his-switch button.on { background: #1a3d96; color: #fff; border-radius: 6px; }
table.gt-table { width: 100%; border-collapse: collapse; background: #fff; }
.gt-table th { background: #ececec; font-size: 15px; font-weight: 800; color: #111; padding: 10px 4px; border-bottom: 1px solid #ddd; }
.gt-table th button { border: none; background: #1a3d96; color: #fff; font-size: 13px; padding: 5px 10px; border-radius: 5px; cursor: pointer; margin: 0 2px; }
.gt-table th button.off { background: #ececec; color: #111; }
.gt-table td { border-bottom: 1px solid #eee; font-size: 14px; color: #111; padding: 8px 4px; text-align: center; vertical-align: middle; }
.gt-table tr:nth-child(even) td { background: #fafafa; }
.gt-table .balls { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.gt-table .balls i { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; font-style: normal; font-size: 24px; font-weight: 800; color: #fff; }
.gt-table .balls i.white { background: #fff !important; color: #111 !important; border: 1px solid #999; }
.gt-table .balls u { font-size: 12px; color: #333; text-decoration: none; display: block; font-weight: 700; }
.gt-table .balls span.one { display: inline-flex; flex-direction: column; align-items: center; }
.gt-table .t-red { color: #d21e1e; font-weight: 800; }
.gt-table .t-blue { color: #1a3d96; font-weight: 800; }
.gt-loadmore { text-align: center; padding: 14px 0; }
.gt-loadmore button { background: #1a3d96; color: #fff; border: none; padding: 8px 34px; border-radius: 6px; font-size: 15px; cursor: pointer; }
.gt-btn-row { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 10px 0; flex-wrap: wrap; }
.gt-btn-gold { background: linear-gradient(180deg,#deb030,#e59e10); border: 1px solid #bb8215; color: #fff; font-weight: 700; border-radius: 4px; padding: 6px 16px; text-decoration: none; font-size: 14px; box-shadow: 0 0 3px inset; }
.gt-btn-red { background: linear-gradient(180deg,#d21e1e,#b02b21); border: 1px solid #b02b21; color: #fff; font-weight: 700; border-radius: 4px; padding: 6px 16px; text-decoration: none; font-size: 14px; box-shadow: 0 0 3px inset; }
.gt-link { color: #111; font-size: 15px; font-weight: 700; text-decoration: none; }
.gt-link i { color: #d21e1e; font-style: normal; }

/* ===== rem 缩放（移动端 ≤899px：rem 基准 = 视口宽/10，对齐目标站移动组件） ===== */
@media (max-width: 899px) {
    .gt-card { background: #fff; border-radius: 8px; padding: 10px 6px 16px 6px; position: relative; }
    .gt-card .gt-right { display: none; }
    .gt-title { padding: .107rem .16rem; margin: .16rem 0; }
    .gt-title .gt-name { font-size: .4rem; }
    .gt-title .gt-info { font-size: .3rem; line-height: 1.35; }
    /* 彩种网格：目标站移动端 15px 字号、两行摆开 */
    .gt-tabgrid { gap: .16rem; padding: .107rem .107rem .213rem .107rem; }
    .gt-tabgrid a { font-size: .4rem; min-height: .96rem; padding: .107rem .053rem; }
    .gt-tabgrid button.gt-more { min-height: .96rem; font-size: .427rem; }
    /* 表头模式按钮/号码 pill 调小（目标站） */
    .gt-table .th-btn { font-size: .3rem; padding: 3px 5px; margin: 0; }
    .th-pill { font-size: .3rem; padding: .06rem .22rem; }
    /* 期數+時間 合并单元（生肖等目标站同框两行） */
    .gt-table td.td-it { line-height: 1.45; }
    .gt-table td.td-it .t2 { color: #999; }
    .gt-table th.th-it { white-space: normal; }

    /* ===== 移动端 rem 缩放（rem 基准 = 视口宽/10，对齐目标站） ===== */
    /* 主结果区：六合彩类 0.95rem；PK10/生肖 单行10~12个；28/快三 方块缩小 */
    .gt-res { gap: 6px 3px; padding: 8px 2px 4px 2px; }
    .gt-ball { width: 1.05rem; }
    .gt-ball i { width: 1.05rem; height: 1.05rem; font-size: .62rem; border-radius: 0; }
    .gt-ball u { font-size: .34rem; margin-top: 1px; }
    .gt-op { font-size: .42rem; height: 1.05rem; line-height: 1.05rem; }
    .gt-sum, .gt-tag { width: 1.05rem; height: 1.05rem; font-size: .52rem; border-radius: 0; }
    /* 六合彩类主区：7 球 + 特码强制同一行（目标站），球略缩 + 等距缝隙 */
    .gt-macaujc .gt-res, .gt-macaujc2 .gt-res, .gt-macaujc3 .gt-res { flex-wrap: nowrap; justify-content: center; gap: .107rem; }
    .gt-macaujc .gt-ball, .gt-macaujc2 .gt-ball, .gt-macaujc3 .gt-ball { width: .92rem; }
    .gt-macaujc .gt-ball i, .gt-macaujc2 .gt-ball i, .gt-macaujc3 .gt-ball i { width: .92rem; height: .92rem; font-size: .59rem; }
    .gt-macaujc .gt-ball u, .gt-macaujc2 .gt-ball u, .gt-macaujc3 .gt-ball u { font-size: .40rem; }
    /* 切换贴图风格(1-6)的球：数字再收小，与球体贴图比例协调（纯色方块风格0不带该背景，维持原字号） */
    .gt-ball i[style*="ballstyle"] { font-size: .57rem; }
    .rp-info .gt-ball i[style*="ballstyle"] { font-size: .34rem; }
    .gt-macaujc .gt-op, .gt-macaujc2 .gt-op, .gt-macaujc3 .gt-op { font-size: .4rem; height: .92rem; line-height: .92rem; }
    .gt-macaupk10 .gt-ball, .gt-macau12sx .gt-ball { width: .8rem; }
    .gt-macaupk10 .gt-ball i, .gt-macau12sx .gt-ball i { width: .8rem; height: .8rem; font-size: .5rem; }
    .gt-macau12sx .gt-ball u { font-size: .32rem; }
    .gt-macau28 .gt-ball i, .gt-macauks3 .gt-ball i { width: .95rem; height: .95rem; font-size: .55rem; }
    .gt-macau28 .gt-sum, .gt-macau28 .gt-tag,
    .gt-macauks3 .gt-sum, .gt-macauks3 .gt-tag { width: .95rem; height: .95rem; font-size: .52rem; }
    .gt-macau28 .gt-op, .gt-macauks3 .gt-op { height: .95rem; line-height: .95rem; }
    /* 十二生肖：1-6正负/冠亚和下方 1~12 号生肖对照行（单行 12 个小球） */
    .sx-map { display: flex; justify-content: center; gap: .053rem; flex-wrap: nowrap; margin: .053rem 0 .107rem; }
    .sx-map .sxb { min-width: 0; text-align: center; }
    .sx-map .sxb i { display: flex; align-items: center; justify-content: center; width: .6rem; height: .6rem; font-style: normal; font-size: .347rem; font-weight: 700; color: #fff; border-radius: 0; }
    .sx-map .sxb u { display: block; text-decoration: none; font-size: .293rem; color: #111; font-weight: 700; margin-top: 1px; }
    /* 快三：白色圆点骰子方块（SVG 自绘白底描边） */
    .gt-ball i.dice, .gt-table .balls i.dice { background: none !important; border: none !important; padding: 0; overflow: hidden; }
    .dice-svg { width: 100%; height: 100%; display: block; }
    /* 历史开奖/走势图切换按钮（移动端） */
    .gt-his-switch { margin: .213rem 0; }
    .gt-his-switch button { font-size: .453rem; padding: .133rem .32rem; }

    /* 历史表：统一小压缩；六合彩3分隐藏 時間/回放 列（对齐目标 mhide） */
    .gt-table th { font-size: .36rem; padding: 8px 2px; }
    .gt-table td { font-size: .32rem; padding: 6px 2px; }
    .gt-table .balls { gap: 3px; flex-wrap: nowrap; }
    .gt-table td.td-code { white-space: nowrap; }
    .gt-table .balls i { width: .64rem; height: .64rem; font-size: .4rem; border-radius: 0; }
    .gt-table .balls .one u { font-size: .26rem; }
    .gt-table .balls i.dice { width: .72rem; height: .72rem; }
    .gt-table .balls i.sum { width: .8rem; height: .8rem; font-size: .48rem; }
    .gt-table .balls i.tg { width: .8rem; height: .8rem; font-size: .46rem; }
    .gt-table .balls .op { width: .45rem !important; height: .72rem !important; font-size: .4rem !important; }
    .gt-macaujc3 .balls i { width: .72rem; height: .72rem; font-size: .44rem; }
    .gt-macaujc3 .balls .one u { font-size: .3rem; }
    .gt-macaujc3 .balls .plus { font-size: .4rem; margin: 0 1px; align-self: center; }
    .gt-macaujc3 .th-time, .gt-macaujc3 .td-time,
    .gt-macaujc3 .th-play, .gt-macaujc3 .td-play { display: none; }
    .gt-table .tag-col.lh span { display: inline-block; min-width: .42rem; margin: 0 1px; }
    .gt-table .tag-col.lh span + span { margin-left: 3px; }
    /* 拆分属性列（大小/单双/生肖/合平冲/家禽野兽/冠亚和/龙虎）：横向排列不换行，容器横向滚动 */
    .gt-table td.td-attr { white-space: nowrap; padding: 6px 1px; }
    .gt-table td.td-attr .ttxt { display: inline-block; min-width: .52rem; margin: 0; font-size: .36rem; text-align: center; }
    .gt-table th { white-space: nowrap; }
    .gt-table .th-code { min-width: 1rem; }
    .th-pill { display: inline-block; background: #1a3d96; color: #fff; font-size: .34rem; font-weight: 700; border-radius: .107rem; padding: .08rem .3rem; }
    .gt-table .th-btn { border: none; background: none; font-size: .34rem; font-weight: 700; color: #111; padding: 4px 6px; cursor: pointer; border-radius: 4px; margin: 0 1px; }
    .gt-table .th-btn-active { background: #1a3d96; color: #fff; }
    .gt-btn-more { background: #1a3d96; color: #fff; border: none; border-radius: 4px; font-size: .36rem; padding: .2rem .4rem; cursor: pointer; }
    .gt-no-more { font-size: .4rem; color: #1a3d96; font-weight: 700; }

    /* 玩法特征表移动端 */
    .gt-feat td { font-size: .36rem; padding: 6px 1px; }
    .gt-feat td.hd { font-size: .38rem; }

    /* 走势图单元 */
    .th-trend { white-space: normal; }
    .th-trend .th-btn { border: none; background: none; font-size: .34rem; color: #111; font-weight: 700; padding: 4px 6px; cursor: pointer; border-radius: 4px; }
    .th-trend .th-btn-active { background: #1a3d96; color: #fff; }
    .td-trend { white-space: nowrap; }
    .tcell { display: inline-flex; align-items: center; justify-content: center; width: .62rem; height: .62rem; font-size: .38rem; font-weight: 700; color: #fff; border-radius: 0; margin: 1px 2px; vertical-align: middle; }
    .tcell.sum { background: #d21e1e; }
    .ttxt { display: inline-block; min-width: .48rem; font-size: .38rem; font-weight: 800; margin: 0 2px; }
    .t-plus { color: #d21e1e; font-weight: 800; margin: 0 2px; font-size: .4rem; }
    .t-dice { display: inline-block; width: .62rem; height: .62rem; margin: 0 2px; vertical-align: middle; }
    .t-green { color: #1c7a2d; font-weight: 800; }

    /* 刮奖画布（目标站：#c5c2c2 + 白色“滑動開獎”，逐点擦除） */
    canvas.gt-sc { position: absolute; left: 0; top: 0; z-index: 60; touch-action: none; border-radius: 6px; cursor: crosshair; }

    /* 刮奖未刮开时遮挡下一期历史（目标站 .hide:after backdrop-blur 50px） */
    .gt-his-wrap.scratched tbody tr:first-child td { position: relative; }
    .gt-his-wrap.scratched tbody tr:first-child td:after {
        content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
        z-index: 10; -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px);
    }
    .hm .his-wrapper.scratched .his-row:first-child { position: relative; }
    .hm .his-wrapper.scratched .his-row:first-child:after {
        content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%;
        z-index: 10; -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px);
    }
    /* 表头类目独立胶囊列（目标站：号码/大小/单双…每列可点，激活蓝底） */
    .gt-table th.th-md { padding: 6px 1px; white-space: normal; }
    .gt-table th.th-md .th-btn { border: none; background: none; font-size: .34rem; font-weight: 700; color: #111; padding: .08rem .12rem; cursor: pointer; border-radius: .107rem; white-space: nowrap; }
    .gt-table th.th-md .th-btn-active { background: #1a3d96; color: #fff; }
    /* 28/快三 静态属性格：命中才显示，色框文字 */
    .gt-table td.td-md { text-align: center; white-space: nowrap; }
    .gt-table td.td-sum { text-align: center; font-weight: 800; }
    .gt-table .sxbox { display: inline-block; border: 1px solid currentColor; border-radius: .053rem; padding: 0 .08rem; font-weight: 700; font-size: .32rem; line-height: 1.5; }
    /* 期數/時間 拆分两列（十二生肖以外的游戏彩种历史表） */
    .gt-table td.td-i1 { text-align: center; white-space: nowrap; }
    .gt-table td.td-i2 { text-align: center; white-space: nowrap; color: #666; }
}

/* ===== 走势/拆分表通用单元（PC 基准，移动端在上方媒体查询里缩放） ===== */
.gt-table .tcell { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; font-size: 15px; font-weight: 700; color: #fff; border-radius: 2px; margin: 1px 2px; vertical-align: middle; box-sizing: border-box; }
.gt-table .ttxt { display: inline-block; min-width: 16px; font-size: 14px; font-weight: 800; margin: 0 3px; }
.gt-table .t-black { color: #111; }
.gt-table .t-green { color: #1c7a2d; font-weight: 800; }
.gt-table .t-plus, .gt-table .t-op { color: #d21e1e; font-weight: 800; margin: 0 2px; }
.gt-table .t-dice { display: inline-block; width: 26px; height: 26px; margin: 0 2px; vertical-align: middle; }
.gt-table .th-trend { white-space: normal; min-width: 240px; }
.gt-table .th-trend .th-btn { border: none; background: none; font-size: 13px; font-weight: 700; color: #111; padding: 4px 8px; cursor: pointer; border-radius: 4px; }
.gt-table .th-trend .th-btn-active { background: #1a3d96; color: #fff; }
.gt-table .td-trend { white-space: normal; }
.gt-table .th-n { font-weight: 700; color: #666; font-size: 12px; padding: 6px 1px; }
.gt-table .mx { background: #f4f4f4; }
.gt-table .mx:nth-child(even) { background: #fff; }
.gt-table .mx-on { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: #d21e1e; color: #fff; font-weight: 800; font-size: 13px; border-radius: 2px; }
.gt-table .mx-miss { color: #b5b5b5; font-size: 12px; }
.gt-table .mx-sum { font-weight: 800; }
.gt-table .balls .plus { font-size: 16px; margin: 0 1px; align-self: center; color: #d21e1e; font-weight: 800; }
.gt-table .balls .op { width: 18px !important; height: 26px !important; font-size: 14px !important; }
.gt-table .balls .sum { background: #d21e1e !important; color: #fff !important; }
.gt-table .balls .tg.red { color: #d21e1e !important; }
.gt-table .balls .tg.blue { color: #1a2b6f !important; }
/* 快三数字方块（全局兜底）：灰底黑字，对齐目标站 */
.gt-ball i.dice, .gt-table .balls i.dice { background: #ccc; color: #000; }

/* ===== PC（≥900px）：目标站 PC 规格（读秒 41x49/38px，球按彩种 46~52px，堆叠行） ===== */
@media (min-width: 900px) {
    .gt-wrap { max-width: 1180px; }
    .gt-card { background: #fff; border-radius: 8px; padding: 12px 10px 18px; position: relative; margin-bottom: 18px; }
    /* 桌面端隐藏左列内嵌倒计时行（读秒统一在右列，避免重复两套倒计时/刮奖） */
    .gt-cd-m { display: none !important; }
    /* PC 彩种卡：目标站左右布局（左：号码行+正负/冠亚和行；右：读秒+刮奖+按钮） */
    .gt-card.gt-two { display: flex; align-items: center; gap: 14px; }
    .gt-two .gt-left { flex: 1 1 auto; min-width: 0; }
    .gt-two .gt-right { flex: 0 0 392px; width: 392px; }
    .gt-two .gt-title { flex-basis: auto; }
    /* PC 历史表最新一期：整格盖「刮一刮」灰块 */
    .gt-his-wrap.scratched tbody tr:first-child td.td-code,
    .gt-his-wrap.scratched tbody tr:first-child td.td-trend { position: relative; }
    .gt-his-wrap.scratched tbody tr:first-child td.td-code:after,
    .gt-his-wrap.scratched tbody tr:first-child td.td-trend:after {
        content: "刮一刮"; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
        background: #b7b5b5; color: #fff; display: flex; align-items: center;
        justify-content: center; font-size: 22px; font-weight: 700; letter-spacing: 4px; z-index: 5;
    }
    .gt-his-wrap.scratched .his-row:first-child .his-line-balls { position: relative; }
    .gt-his-wrap.scratched .his-row:first-child .his-line-balls:after {
        content: "刮一刮"; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
        background: #b7b5b5; color: #fff; display: flex; align-items: center;
        justify-content: center; font-size: 22px; font-weight: 700; letter-spacing: 4px; z-index: 5;
    }
    /* 读秒：目标站 PC .countdown-item 41x49 / 38px */
    .gt-cd { width: 41px; height: 49px; line-height: 49px; font-size: 38px; margin-left: 10px; }
    .gt-cd-colon { font-size: 38px; }
    .gt-cdrow { flex-wrap: nowrap; }
    /* 号码球按彩种（目标站 number-item：六合彩 52/30，多球彩种 46/26） */
    .gt-res .gt-ball { width: 52px; }
    .gt-res .gt-ball i { width: 52px; height: 52px; font-size: 30px; }
    .gt-res .gt-ball u { font-size: 14px; }
    .gt-macau12sx .gt-res .gt-ball, .gt-macaupk10 .gt-res .gt-ball, .gt-macauttc .gt-res .gt-ball,
    .gt-macau28 .gt-res .gt-ball, .gt-macauks3 .gt-res .gt-ball { width: 46px; }
    .gt-macau12sx .gt-res .gt-ball i, .gt-macaupk10 .gt-res .gt-ball i, .gt-macauttc .gt-res .gt-ball i,
    .gt-macau28 .gt-res .gt-ball i, .gt-macauks3 .gt-res .gt-ball i { width: 46px; height: 46px; font-size: 26px; }
    .gt-macau12sx .gt-res .gt-ball u { font-size: 13px; }
    .gt-res .gt-sum { font-size: 30px; }
    /* 刮奖遮罩：号码+正负/冠亚和特征表一起盖灰块“刮一刮”（对齐目标站） */
    .gt-res-wrap { position: relative; }
    .gt-res-wrap.scratched { background: #c5c2c2; border-radius: 6px; min-height: 130px; }
    .gt-res-wrap.scratched > * { visibility: hidden; }
    .gt-res-wrap.scratched:after { content: "刮一刮"; position: absolute; left: 0; top: 0; right: 0; bottom: 0; visibility: visible; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; font-weight: 700; letter-spacing: 6px; }
    .gt-table .balls i, .gt-table .balls .one i { width: 52px; height: 52px; font-size: 30px; border-radius: 4px; }
    .gt-table .balls .one u { font-size: 14px; }
    .gt-table .balls i.dice { width: 52px; height: 52px; }
    .gt-table .balls i.sum { width: 52px; height: 52px; font-size: 26px; border-radius: 4px; }
    .gt-table .balls i.tg { width: 52px; height: 52px; font-size: 22px; border-radius: 4px; }
    .gt-table td.td-code, .gt-table .balls { white-space: nowrap; flex-wrap: nowrap; }
    .gt-table td.td-trend { white-space: nowrap; }
    .th-pill { display: inline-block; background: #1a3d96; color: #fff; font-size: 15px; font-weight: 700; border-radius: 5px; padding: 4px 14px; }
    .gt-table .th-btn { border: none; background: none; font-size: 15px; font-weight: 700; color: #111; padding: 4px 16px; cursor: pointer; border-radius: 4px; margin: 0 8px; }
    .gt-table .th-btn-active { background: #1a3d96; color: #fff; }
    .gt-btn-more { background: #1a3d96; color: #fff; border: none; border-radius: 4px; font-size: 15px; padding: 8px 30px; cursor: pointer; }
    .gt-no-more { font-size: 15px; color: #1a3d96; font-weight: 700; }
    /* 3 分/六合彩堆叠行（目标站 PC hisCode：球 46px、生肖 14px） */
    .gt-his-wrap .his-wrapper { background: #fff; border: 1px solid #d4d4d4; }
    .gt-his-wrap .his-row { padding: 12px 8px 2px; border-bottom: 2px solid #a19999; }
    .gt-his-wrap .his-row:last-of-type { border-bottom: 0; }
    .gt-his-wrap .his-line { display: flex; align-items: center; margin-bottom: 8px; }
    .gt-his-wrap .his-k { width: 96px; text-align: right; color: #1a3d96; font-weight: 700; font-size: 16px; padding-right: 10px; box-sizing: border-box; }
    .gt-his-wrap .his-v { flex: 1; font-weight: 700; font-size: 16px; color: #7e7c7c; display: flex; align-items: center; flex-wrap: wrap; }
    .gt-his-wrap .his-v i { font-style: normal; }
    .gt-his-wrap .his-v i { color: #d21e1e; }
    .gt-his-wrap .btn_video { border-radius: 13px; padding: 0 10px; color: #fff; background: #1a3d96; font-size: 12px; height: 22px; line-height: 22px; margin-left: 8px; display: inline-block; }
    .gt-his-wrap .his-code-item { display: flex; flex-direction: column; align-items: center; margin-right: 4px; }
    .gt-his-wrap .his-code-number { width: 52px; height: 52px; color: #fff; font-size: 34px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
    .gt-his-wrap .his-code-zodiac { width: 52px; font-size: 14px; font-weight: 700; color: #000; text-align: center; line-height: 1.4; }
    .gt-his-wrap .his-code-plus { width: 20px; height: 52px; color: #da0f1f; font-size: 30px; font-weight: bolder; display: flex; align-items: center; justify-content: center; }
    /* PC GT 卡刮奖/滚动遮罩 */
    .gt-his-wrap.scratched tbody tr:first-child td, .gt-card .his-wrapper.scratched .his-row:first-child { position: relative; }
    .gt-his-wrap.scratched tbody tr:first-child td:after, .gt-card .his-wrapper.scratched .his-row:first-child:after {
        content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 10;
        -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px);
    }
    canvas.gt-sc { position: absolute; left: 0; z-index: 60; touch-action: none; border-radius: 6px; cursor: crosshair; }
}
