*{box-sizing:border-box}.mh-page{margin:0;background:#efedf5;color:#171717;font:14px/1.5 Arial,"Microsoft YaHei",sans-serif;-webkit-tap-highlight-color:transparent}.mh-page a{color:inherit;text-decoration:none}.mh-page button,.mh-page input{font:inherit}.mh-page button{cursor:pointer;border:0;background:none;color:inherit}.mh-page button:focus-visible,.mh-page a:focus-visible{outline:2px solid #a51123;outline-offset:-2px}.mh-page [hidden]{display:none!important}.mh-shell{max-width:540px;margin:auto;min-height:100dvh;padding:51px 7px calc(67px + env(safe-area-inset-bottom));position:relative}.mh-header{height:51px;position:fixed;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:540px;z-index:20;background:#df353c;display:flex;align-items:center;justify-content:center;color:#fff}.mh-header img{display:block;width:156px;height:36px;object-fit:contain;filter:brightness(0) invert(1)}.mh-header .mh-app{position:absolute;right:10px;top:12px;font-size:17px;padding:0}.mh-carousel{margin-top:7px;border-radius:5px 5px 0 0;overflow:hidden;position:relative;touch-action:pan-y;background:#b31320}.mh-slides{position:relative;aspect-ratio:2.38}.mh-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .4s}.mh-slide.active{opacity:1;visibility:visible}.mh-slide img{width:100%;height:100%;object-fit:cover;display:block}.mh-slide:not(:first-child) img{object-fit:contain;background:linear-gradient(135deg,#d52c45,#46164e)}.mh-dots{position:absolute;bottom:5px;left:0;width:100%;display:flex;justify-content:center;gap:6px}.mh-dots button{width:6px;height:6px;background:#ffffff66;border:1px solid #fff;border-radius:50%;padding:0}.mh-dots button.active{background:white}.mh-announcement{height:39px;display:flex;align-items:center;background:#fff;margin-bottom:8px;overflow:hidden}.mh-announcement .home-ticker{flex:1;min-width:0;border:0;height:36px;margin:0;background:#fff}.mh-announcement .home-ticker-speaker{width:31px;flex:0 0 31px;padding:5px}.mh-announcement .home-ticker-speaker svg{width:18px;height:18px}.mh-announcement .home-ticker-copy{font-size:13px;color:#111}.mh-announcement .mh-more{font-size:14px;color:#999;width:57px;flex-shrink:0;padding:6px 2px}.mh-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:113px;overflow:hidden;border-radius:5px;margin:0 0 8px;background:linear-gradient(100deg,#ff6a53,#ff9936 99%)}.mh-shortcuts>a,.mh-shortcuts>button{display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;color:white;border-right:1px solid #ffffff70;border-bottom:1px solid #ffffff70;padding:0;min-width:0;font-size:16px}.mh-shortcuts>:nth-child(4n){border-right:0}.mh-shortcuts>:nth-child(n+5){background:linear-gradient(110deg,#4789f5,#39d0f4);border-bottom:0}.mh-shortcuts>:nth-child(6){background:linear-gradient(110deg,#409ff7,#36b6f8)}.mh-shortcuts>:nth-child(7){background:linear-gradient(110deg,#3bb4f5,#3ac3f6)}.mh-shortcuts>:nth-child(8){background:#35caf5}.mh-shortcuts span{z-index:1;white-space:nowrap}.mh-shortcuts i{font-size:39px;color:#ffffff25;position:absolute;right:0;bottom:-13px;line-height:1.3;font-style:normal;transform:rotate(-12deg)}.mh-lottery{background:#fff;border-radius:5px;overflow:hidden}.mh-categories{height:46px;display:grid;grid-template-columns:repeat(3,1fr)}.mh-categories button{font-size:16px;color:#0bbe6c;padding:9px 0}.mh-categories button:nth-child(3){color:#ff7442}.mh-categories button.active{background:#f1404d;color:#fff}.mh-categories span{font-size:21px;vertical-align:-1px}.mh-category-heading{display:flex;align-items:center;justify-content:space-between;height:39px;padding:0 21px;border-bottom:1px solid #eeedf5}.mh-category-heading h1{font-size:14px;font-weight:400;margin:0}.mh-category-heading button{color:#aaa;padding:5px 0}.mh-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.mh-game{min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-bottom:1px solid #eeedf5;border-right:1px solid #eeedf5;padding:10px 3px;text-align:center}.mh-game:nth-child(3n){border-right:0}.mh-game img{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 2px 2px #0002);margin:1px 0}.mh-game strong{font-size:14px;font-weight:400;line-height:20px}.mh-game small{font-size:12px;color:#999;line-height:18px}.mh-end{color:#aaa;text-align:center;font-size:12px;padding:18px;margin:0}.mh-bottom{position:fixed;z-index:25;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:540px;display:grid;grid-template-columns:repeat(5,1fr);height:calc(55px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e4e4e4}.mh-bottom>a,.mh-bottom>button{padding:4px 0 2px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9da4ac;font-size:13px;line-height:20px}.mh-bottom svg{display:block;width:24px;height:24px;stroke:currentColor;stroke-width:1.5;fill:none}.mh-bottom .active{color:#ed3e47}.mh-assistant{position:fixed;right:max(18px,calc((100vw - 510px)/2));top:50%;z-index:28;text-align:center}.mh-assistant>button{width:47px;height:47px;border-radius:50%;background:#ef6474;color:white;border:4px solid #f5919d;font-size:14px;padding:0}.mh-assistant>div{display:flex;flex-direction:column;gap:5px;margin-bottom:5px}.mh-assistant>div>*{display:flex;align-items:center;justify-content:center;background:#fff;color:#e64253;box-shadow:0 2px 8px #0002;border-radius:50%;height:44px;width:44px}#mh-dialog{border:0;padding:0;border-radius:5px;width:calc(100% - 48px);max-width:500px;max-height:85dvh;background:#fff;color:#222;overflow:hidden}#mh-dialog::backdrop{background:#0008}#mh-dialog>header{position:relative;display:flex;align-items:center;justify-content:center;height:51px;color:white;background:linear-gradient(#cb1417,#fa3435)}#mh-dialog-title{font-size:20px;font-weight:400;margin:0}#mh-dialog-close{position:absolute;right:8px;top:6px;font-size:31px;line-height:36px;padding:0 4px}#mh-dialog-back{position:absolute;left:8px;font-size:30px}#mh-dialog-body{max-height:calc(85dvh - 51px);overflow:auto;overscroll-behavior:contain;padding:14px}.mh-notice-item{display:block;width:100%;text-align:left;padding:12px 8px!important;border-bottom:1px solid #ddd!important;background:#f4f4f4!important}.mh-notice-item b{font-size:15px;font-weight:400}.mh-notice-item b:before{content:'●';color:red;margin-right:6px}.mh-notice-item time{display:block;text-align:right;color:#8b98a5;font-size:12px}.mh-notice-frame{width:100%;height:160px;max-height:57dvh;border:0;display:block;background:white;transition:height .15s ease}.mh-dialog-links{display:grid;gap:9px}.mh-dialog-links a,.mh-dialog-links button{padding:12px;background:#f9f0f1;border:1px solid #f2d7db;border-radius:5px;color:#b93245;text-align:center}.mh-dialog-note{color:#888;font-size:13px;line-height:1.8}.mh-search{width:100%;border:1px solid #ddd;border-radius:4px;padding:9px;margin-bottom:10px}.mh-filter{display:flex;gap:6px;margin:8px 0 12px;flex-wrap:wrap}.mh-filter button{padding:6px 9px;border-radius:4px;background:#f1f1f1}.mh-filter button.active{background:#ef404a;color:white}.mh-ranking{list-style:none;padding:0;margin:0}.mh-ranking li{display:flex;align-items:center;gap:14px;padding:12px 3px;border-bottom:1px solid #eee}.mh-ranking em{width:26px;text-align:center;color:#e33;font-style:normal}.mh-ranking strong{margin-left:auto;color:#e3414c;font-size:17px}.mh-trend{display:block;border:1px solid #eee;border-radius:5px;padding:12px;margin:9px 0}.mh-trend strong{font-weight:500}.mh-trend p{margin:7px 0 0;font-size:13px;color:#999}.mh-trend b{display:inline-block;color:#e83b49;margin:8px 8px 0 0;background:#fff0f0;padding:3px 7px;border-radius:3px}#mh-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:85px;z-index:99;max-width:85%;padding:10px 16px;border-radius:5px;background:#333e;color:white}.mh-qr{display:block;width:170px;max-width:100%;margin:12px auto}.mh-empty{text-align:center;color:#999;padding:28px 12px;grid-column:1/-1}@media(prefers-reduced-motion:reduce){.mh-slide{transition:none}}@media(max-width:350px){.mh-shortcuts>a,.mh-shortcuts>button{font-size:14px}.mh-game strong{font-size:13px}.mh-game small{font-size:11px}.mh-header img{width:145px}.mh-bottom>a,.mh-bottom>button{font-size:12px}}

@font-face{font-family:mh-reference-icons;src:url('/resources/fonts/mobile-home-icons.woff2') format('woff2');font-display:swap}
.mh-game[data-type] img{display:none}.mh-game[data-type]::before{font-family:mh-reference-icons!important;font-size:44px;line-height:46px;font-weight:normal;font-style:normal;display:block;width:46px;height:46px;margin:1px 0;filter:drop-shadow(0 2px 2px #0002);background:radial-gradient(circle,white 58%,transparent 59%)}.mh-game[data-type=k3]::before{content:"\e635";color:#e41404}.mh-game[data-type=pk10]::before{content:"\e80e";color:#f22751}.mh-game[data-type=ssc]::before{content:"\e634";color:#f96e00}.mh-app svg{vertical-align:-2px}

/* ---- 对齐参考站手机版（2026-09-21）----
   实测参考站取值（视口 526px）：tab 行白底、三等分；选中项整格铺 linear-gradient(to top,#da3a3f,#f74d53)
   白字加粗，未选保留各自品牌色（体育绿 #0fbc69 / 视讯橙）；底部导航深炭底 #22292c、选中 #e54042、共 5 项。
   tab 数量自适应：彩票常驻，体育/视讯/棋牌 只在后台配好商户参数后由 JS 追加，
   不会出现点进去是空的死 tab。 */
.mh-categories{display:grid;grid-template-columns:repeat(3,1fr);height:44px;background:#fff;border-bottom:1px solid #efeef4}
.mh-categories button{height:44px;padding:0;background:none;font-size:15px;line-height:44px}
.mh-categories button.active{background:linear-gradient(to top,#da3a3f,#f74d53);color:#fff;font-weight:600}
.mh-categories span{font-size:18px;vertical-align:-2px}
.mh-bottom{grid-template-columns:repeat(5,minmax(0,1fr));background:#22292c;border-top:0}
.mh-bottom>a,.mh-bottom>button{color:#98a1a7}
.mh-bottom .active{color:#e54042}
