/* BUILD 572(老板:「你看还有能优化的,各个方面 我先睡觉 你自行决定」→ 画面巡检 38 款 × 四种尺寸)
 *  老板规矩:每个弹窗右上角都要有 ✕、按钮要真的点得到。只动外观 / 点击范围,赔率 / 结果 / 下注规则都没动。骰宝 / 闪电骰宝没碰(老板:「骰宝别碰」)。 */

/* ① 规则 / 赔付表弹窗右上角的 ✕(ui572.js 放进去,点它 = 按底下那颗「知道了」):贴在框的右上角,框往下卷它也一直在 */
#app .x572{position:sticky;top:0;z-index:6;display:grid;place-items:center;flex:0 0 auto;align-self:flex-end;width:34px;height:34px;margin:-4px -6px -30px auto;padding:0;
  border-radius:50%;border:1px solid rgba(255,220,150,.6);background:rgba(8,10,22,.86);color:#ffe7a8;font:700 16px/1 system-ui,sans-serif;cursor:pointer;
  box-shadow:0 2px 10px rgba(0,0,0,.55);-webkit-tap-highlight-color:transparent}
#app .x572:active{transform:scale(.92)}
/* 牌桌规则框:手机横版的台面比较矮,以前框比台面高、底下的「知道了」被切掉一半 —— 最高到台面高度减一点 */
.uth-ov .uth-rulesbox{max-height:min(calc(var(--u)*50),calc(100% - 16px))}

/* ② 太小、手指点不准的按钮:多给一圈看不见的点击范围(样子一点没变) */
/* 鱼虾蟹 / 闪电鱼虾蟹 / 星际 / 西游 / 捕鱼 顶上那排「‹ 大厅 · 规则 · 画质 · 公平性」:26 高 → 点得到 34 */
#app :is(#fishview,#lfishview,#starview,#xiyouview,#fishingview) .lstb{position:relative}
#app :is(#fishview,#lfishview,#starview,#xiyouview,#fishingview) .lstb::after{content:"";position:absolute;left:-2px;right:-2px;top:-4px;bottom:-4px}
/* 轮盘 / 闪电轮盘:「热门 / 冷门」开关 14 高 → 32;「台面 / 赛道」20 高 → 32 */
#app :is(#rouletteview,#lroulview) .rlhch::after{content:"";position:absolute;left:0;right:0;top:-9px;bottom:-9px}
#app :is(#rouletteview,#lroulview) .rlview button::after{content:"";position:absolute;left:0;right:0;top:-6px;bottom:-6px}
/* 飞机 / 扫雷 / 高低牌 / 戳戳乐 顶上的「游戏名 ▾」(换游戏):22 高 → 34 */
#app .gh .ght{position:relative}
#app .gh .ght::after{content:"";position:absolute;left:-4px;right:-4px;top:-6px;bottom:-6px}
/* 星际 / 捕鱼 左下角的「公平性」:以前是 30 × 16 的小字链接 */
#app :is(#starview,#fishingview) .acFairBtn{display:inline-block;padding:9px 8px;margin:-9px -8px}
/* 德州对庄 / 三张牌 / Andar Bahar / 闪电百家乐 / Ludo / 幸运轮 的筹码:手机上 26–30 → 点得到 32–36 */
.uth-chiprow button::before{content:"";position:absolute;inset:-3px;border-radius:50%}
/* 飞机:页签 / 快选 / ± 再大一点 */
#app .crwrap .avtabs button{padding-top:7px;padding-bottom:7px}
#app .crwrap .avquick button{padding-top:8px;padding-bottom:8px}
#app .crwrap .avstep button{position:relative}
#app .crwrap .avstep button::after{content:"";position:absolute;inset:-3px;border-radius:50%}

/* ③ 企鹅:360 宽的手机上副标题「PENGUIN RUSH」被余额挤掉最后一个字 —— 字距收一点 */
@media (max-width:370px){#app :is(#plinkoview,#penguinview) :is(#pkwrap,#pgwrap) .p9name i{letter-spacing:.16em}}
